diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-04-20 17:40:01 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-04-20 17:40:01 +0000 |
commit | e97b3f28e2d1fd6dc42cdb6cd00a9c6c05e2f394 (patch) | |
tree | f49dedc3a834287b8a94ec326108504718006088 /gas/write.c | |
parent | 5f9084e9c2b99e4f8a56b62868116269e4f7ec63 (diff) | |
download | fsf-binutils-gdb-e97b3f28e2d1fd6dc42cdb6cd00a9c6c05e2f394.zip fsf-binutils-gdb-e97b3f28e2d1fd6dc42cdb6cd00a9c6c05e2f394.tar.gz fsf-binutils-gdb-e97b3f28e2d1fd6dc42cdb6cd00a9c6c05e2f394.tar.bz2 |
2005-04-20 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-aout.h (S_IS_EXTERN): Removed.
* config/obj-bout.h (S_IS_EXTERN): Likewise.
* config/obj-coff.h (S_IS_EXTERN): Likewise.
* symbols.c (S_IS_EXTERN): Likewise.
* symbols.h (S_IS_EXTERN): Likewise.
* config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
S_IS_EXTERNAL.
* config/tc-d10v.c (md_apply_fix3): Likewise.
* config/tc-ia64.c (ia64_fix_adjustable): Likewise.
* config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
* config/tc-m32r.c (m32r_fix_adjustable): Likewise.
* config/tc-mmix.c (mmix_adjust_symtab): Likewise.
* config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
(shmedia_md_convert_frag): Likewise.
* symbols.c (print_symbol_value_1): Likewise.
* write.c (write_object_file): Likewise.
Diffstat (limited to 'gas/write.c')
-rw-r--r-- | gas/write.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/write.c b/gas/write.c index b1941cb..e154cda 100644 --- a/gas/write.c +++ b/gas/write.c @@ -1956,10 +1956,10 @@ write_object_file (void) if (symp == abs_section_sym || (! EMIT_SECTION_SYMBOLS && symbol_section_p (symp)) - /* Note that S_IS_EXTERN and S_IS_LOCAL are not always + /* Note that S_IS_EXTERNAL and S_IS_LOCAL are not always opposites. Sometimes the former checks flags and the latter examines the name... */ - || (!S_IS_EXTERN (symp) + || (!S_IS_EXTERNAL (symp) && (punt || S_IS_LOCAL (symp)) && ! symbol_used_in_reloc_p (symp))) { |