projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* aoutx.h (NAME(aout,swap_ext_reloc_out)): Don't set r_extern for
[platform/upstream/binutils.git]
/
bfd
/
aoutx.h
diff --git
a/bfd/aoutx.h
b/bfd/aoutx.h
index
2a44a1f
..
e41f724
100644
(file)
--- a/
bfd/aoutx.h
+++ b/
bfd/aoutx.h
@@
-2050,7
+2050,11
@@
NAME(aout,swap_ext_reloc_out) (abfd, g, natptr)
}
else if ((sym->flags & BSF_SECTION_SYM) == 0)
{
- r_extern = 1;
+ if (bfd_is_und_section (bfd_get_section (sym))
+ || (sym->flags & BSF_GLOBAL) != 0)
+ r_extern = 1;
+ else
+ r_extern = 0;
r_index = (*(g->sym_ptr_ptr))->KEEPIT;
}
else