summaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2000-07-15 18:42:01 +0000
committerH.J. Lu <hjl@lucon.org>2000-07-15 18:42:01 +0000
commit9e4233517b527ecec296a4843712102dd7426caf (patch)
tree6614d65cfdc7b4e6b18f4c34911cbead36226742 /bfd/aoutx.h
parent87c53dd67dff3af4ce9ef786eec0eff3264af1c4 (diff)
downloadbinutils-redhat-9e4233517b527ecec296a4843712102dd7426caf.tar.gz
2000-07-15 H.J. Lu <hjl@gnu.org>
* aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h2
1 files changed, 2 insertions, 0 deletions
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)
{