diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-23 00:16:12 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-04-23 00:16:12 +0000 |
commit | 48f0216494efd6a916518c31e551b9a416ba191f (patch) | |
tree | 85fa8f606f06465ae26f7ebd1033edfc597f7ec0 /gnu/usr.bin/gas/config/obj-aout.c | |
parent | d0a03bf14a2903828ffaf6d0fbcf845f33f3df0c (diff) |
Merge of NetBSD 960418
Diffstat (limited to 'gnu/usr.bin/gas/config/obj-aout.c')
-rw-r--r-- | gnu/usr.bin/gas/config/obj-aout.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/gas/config/obj-aout.c b/gnu/usr.bin/gas/config/obj-aout.c index 2129e53e5d7..4cbca4ad09f 100644 --- a/gnu/usr.bin/gas/config/obj-aout.c +++ b/gnu/usr.bin/gas/config/obj-aout.c @@ -522,12 +522,12 @@ object_headers *headers; || (S_GET_NAME(symbolP)[0] != '\001' && (flagseen['L'] || ! S_LOCAL_NAME(symbolP)) #ifdef PIC - || (flagseen['k'] && symbolP->sy_forceout) + || (picmode && symbolP->sy_forceout) #endif ) ) #ifdef PIC - && (!flagseen['k'] || + && (!picmode || symbolP != GOT_symbol || got_referenced != 0 ) #endif @@ -551,7 +551,7 @@ object_headers *headers; * some its terms may not have had their final values * set. We defer this until `obj_emit_symbols()' */ - if (flagseen['k'] && + if (picmode && S_GET_TYPE(symbolP) != N_SIZE && #ifndef GRACE_PERIOD_EXPIRED /*Can be enabled when no more old ld's around*/ @@ -585,7 +585,7 @@ object_headers *headers; } else { if ((S_IS_EXTERNAL(symbolP) || !S_IS_DEFINED(symbolP)) #ifdef PIC - && (!flagseen['k'] || + && (!picmode || symbolP != GOT_symbol || got_referenced != 0 ) #endif |