diff options
author | Nick Clifton <nickc@redhat.com> | 2010-05-04 16:21:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-05-04 16:21:05 +0000 |
commit | ec63ca5646ee62a694668029a78aa3b65675f748 (patch) | |
tree | 56d851d5c1e2a8e4ecff28f6069ee31cc429bee7 /gas/write.c | |
parent | 03bb621376e2cab28996c79fce5e0ef792a0f876 (diff) | |
download | binutils-redhat-ec63ca5646ee62a694668029a78aa3b65675f748.tar.gz |
* write.c (fixup_segment): Revert previous delta.
* config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
generation of relocations for fixups against weak symbols.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/write.c b/gas/write.c index b50b0d491e..a148b248d2 100644 --- a/gas/write.c +++ b/gas/write.c @@ -992,9 +992,7 @@ fixup_segment (fixS *fixP, segT this_segment) if (fixP->fx_addsy) { - if (S_IS_WEAK (fixP->fx_addsy)) - ; // even if it is defined, it might be overridden later - else if (add_symbol_segment == this_segment + if (add_symbol_segment == this_segment && !TC_FORCE_RELOCATION_LOCAL (fixP)) { /* This fixup was made when the symbol's segment was |