diff options
author | Stefan Kempf <stefan@cvs.openbsd.org> | 2007-12-28 12:32:56 +0000 |
---|---|---|
committer | Stefan Kempf <stefan@cvs.openbsd.org> | 2007-12-28 12:32:56 +0000 |
commit | 6b40d77897b948fb2f02ba5e64b02ad4c0ba3bbf (patch) | |
tree | fb532814adc6311bdf26eeb91ebd4d1ce32cd9b5 /usr.bin/pcc | |
parent | 392b65e965647899f7fc94e5c50e935369d426e3 (diff) |
Pull from master repo:
Use sclass and soffset to access hdr.h_sclass and hdr.h_offset.
Diffstat (limited to 'usr.bin/pcc')
-rw-r--r-- | usr.bin/pcc/powerpc/code.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/pcc/powerpc/code.c b/usr.bin/pcc/powerpc/code.c index 24291be59c6..74a6025b37d 100644 --- a/usr.bin/pcc/powerpc/code.c +++ b/usr.bin/pcc/powerpc/code.c @@ -1,4 +1,4 @@ -/* $OpenBSD: code.c,v 1.6 2007/12/22 14:05:04 stefan Exp $ */ +/* $OpenBSD: code.c,v 1.7 2007/12/28 12:32:55 stefan Exp $ */ /* * Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se). * All rights reserved. @@ -144,8 +144,8 @@ bfcode(struct symtab **a, int n) int reg = R3; for (i=0; i < m; i++) { NODE *r, *p; - a[i]->hdr.h_sclass = PARAM; - a[i]->hdr.h_offset = NOOFFSET; + a[i]->sclass = PARAM; + a[i]->soffset = NOOFFSET; oalloc(a[i], &passedargoff); spname = a[i]; p = buildtree(NAME, NIL, NIL); |