2000-07-15 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Jul 2000 18:42:01 +0000 (18:42 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 15 Jul 2000 18:42:01 +0000 (18:42 +0000)
* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.

bfd/ChangeLog
bfd/aoutx.h

index 073556fa8bbb39dd8ca1fee60f8eb4e4c0e7a844..6277928cbef415ac174304379d63b83c6e8603fb 100644 (file)
@@ -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
index 4b0940d7ad5c47fe91b0192b1f6d59f73b8d0585..a7e46b7d21db4c31873a313553805a963dedb503 100644 (file)
@@ -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)
     {