projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bfd/
[external/binutils.git]
/
gas
/
config
/
obj-elf.c
diff --git
a/gas/config/obj-elf.c
b/gas/config/obj-elf.c
index
dd91183
..
4441fb3
100644
(file)
--- a/
gas/config/obj-elf.c
+++ b/
gas/config/obj-elf.c
@@
-685,6
+685,8
@@
obj_elf_change_section (const char *name,
{
symbolS *secsym;
+ if (type == SHT_NULL)
+ type = bfd_elf_get_default_section_type (flags);
elf_section_type (sec) = type;
elf_section_flags (sec) = attr;