projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e19f60
)
Do not set undefined symbols to BSF_OBJECT.
author
Michael Meissner
<gnu@the-meissners.org>
Thu, 15 Feb 1996 21:47:33 +0000
(21:47 +0000)
committer
Michael Meissner
<gnu@the-meissners.org>
Thu, 15 Feb 1996 21:47:33 +0000
(21:47 +0000)
gas/config/obj-elf.c
patch
|
blob
|
history
diff --git
a/gas/config/obj-elf.c
b/gas/config/obj-elf.c
index 29b442e728ee25b9b3eb8a81157c88632c1c0681..f4f523b998e9037207d9d5e7218b140c557eec6d 100644
(file)
--- a/
gas/config/obj-elf.c
+++ b/
gas/config/obj-elf.c
@@
-1171,7
+1171,8
@@
elf_frob_symbol (symp, puntp)
#ifdef TC_PPC
/* Frob the PowerPC, so that the symbol always has object type
if it is not some other type. VxWorks needs this. */
- if ((symp->bsym->flags & (BSF_FUNCTION | BSF_FILE | BSF_SECTION_SYM)) == 0)
+ if ((symp->bsym->flags & (BSF_FUNCTION | BSF_FILE | BSF_SECTION_SYM)) == 0
+ && S_IS_DEFINED (symp))
symp->bsym->flags |= BSF_OBJECT;
#endif
}