diff options
author | Jakub Jelinek <jakub@redhat.com> | 2001-09-07 22:41:03 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2001-09-07 22:41:03 +0000 |
commit | 891937bff42160a2d4ef2b52b06a29eecf30ca6d (patch) | |
tree | ac8d914d94c67cbcfec87b9e1a89defe8e3f4f04 /gas/config/tc-sparc.c | |
parent | f9c696d277e3c63524ddd995edac66fa6770395b (diff) | |
download | gdb-891937bff42160a2d4ef2b52b06a29eecf30ca6d.zip gdb-891937bff42160a2d4ef2b52b06a29eecf30ca6d.tar.gz gdb-891937bff42160a2d4ef2b52b06a29eecf30ca6d.tar.bz2 |
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
section symbols the same way as externs.
Diffstat (limited to 'gas/config/tc-sparc.c')
-rw-r--r-- | gas/config/tc-sparc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c index a0a1d31..33ea071 100644 --- a/gas/config/tc-sparc.c +++ b/gas/config/tc-sparc.c @@ -2908,6 +2908,7 @@ md_apply_fix3 (fixP, value, segment) if (symbol_used_in_reloc_p (fixP->fx_addsy) && (S_IS_EXTERNAL (fixP->fx_addsy) || S_IS_WEAK (fixP->fx_addsy) + || (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) || (sparc_pic_code && ! fixP->fx_pcrel) || (S_GET_SEGMENT (fixP->fx_addsy) != segment && ((bfd_get_section_flags (stdoutput, |