From e7e7b26f6363c687325f56e0e72ea8e37ac768dd Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sat, 15 Jul 2000 18:42:01 +0000 Subject: [PATCH] 2000-07-15 H.J. Lu * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. --- bfd/ChangeLog | 4 ++++ bfd/aoutx.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 073556fa8b..6277928cbe 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2000-07-15 H.J. Lu + + * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL. + 2000-07-12 Charles Wilson * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 4b0940d7ad..a7e46b7d21 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) { -- 2.11.0