diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-03-14 10:02:42 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-03-14 10:02:42 +0000 |
commit | 2be11e7eccaec6de8a45797741d2331181819a95 (patch) | |
tree | a7cdbafc6d991e14f0ef9f4010e2dc2b953754a9 /gas/config | |
parent | c295a5111b2c1c8caf535cf79be64768195f3e04 (diff) | |
download | gdb-2be11e7eccaec6de8a45797741d2331181819a95.zip gdb-2be11e7eccaec6de8a45797741d2331181819a95.tar.gz gdb-2be11e7eccaec6de8a45797741d2331181819a95.tar.bz2 |
* config/tc-mmix.c (md_estimate_size_before_relax): Don't consider
a weak symbol in same section to be within reach.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-mmix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index a8c7e23..a908781 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -2172,7 +2172,8 @@ md_estimate_size_before_relax (fragP, segment) #define HANDLE_RELAXABLE(state) \ case ENCODE_RELAX (state, STATE_UNDF): \ if (fragP->fr_symbol != NULL \ - && S_GET_SEGMENT (fragP->fr_symbol) == segment) \ + && S_GET_SEGMENT (fragP->fr_symbol) == segment \ + && !S_IS_WEAK (fragP->fr_symbol)) \ { \ /* The symbol lies in the same segment - a relaxable case. */ \ fragP->fr_subtype \ |