diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-07-15 18:42:01 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-07-15 18:42:01 +0000 |
commit | 930d924dd4454c4e4cb0c8fd12eaba029fde23d9 (patch) | |
tree | 4eac3a948d816d26eb78d03465c8b8cd4e203c0a /bfd | |
parent | 802db21b617808df4dd4a47aec3ccbe828f694f5 (diff) | |
download | gdb-930d924dd4454c4e4cb0c8fd12eaba029fde23d9.zip gdb-930d924dd4454c4e4cb0c8fd12eaba029fde23d9.tar.gz gdb-930d924dd4454c4e4cb0c8fd12eaba029fde23d9.tar.bz2 |
2000-07-15 H.J. Lu <hjl@gnu.org>
* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/aoutx.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 073556f..6277928c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2000-07-15 H.J. Lu <hjl@gnu.org> + + * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. + 2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 4b0940d..a7e46b7 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -1681,6 +1681,8 @@ translate_to_native_sym_flags (abfd, cache_ptr, sym_pointer) sym_pointer->e_type[0] = ((aout_symbol_type *) cache_ptr)->type; else if ((cache_ptr->flags & BSF_GLOBAL) != 0) sym_pointer->e_type[0] |= N_EXT; + else if ((cache_ptr->flags & BSF_LOCAL) != 0) + sym_pointer->e_type[0] &= ~N_EXT; if ((cache_ptr->flags & BSF_CONSTRUCTOR) != 0) { |