OSDN Git Service
(root)
/
uclinux-h8
/
elf2flt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09bce90
)
PT_GNU_STACK markings make no sense with FLAT binaries, so discard the
author
David McCullough
<davidm@snapgear.com>
Wed, 6 May 2009 23:39:42 +0000
(23:39 +0000)
committer
David McCullough
<davidm@snapgear.com>
Wed, 6 May 2009 23:39:42 +0000
(23:39 +0000)
related section when linking.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
elf2flt.ld
patch
|
blob
|
history
diff --git
a/elf2flt.ld
b/elf2flt.ld
index
7f043ef
..
947a072
100644
(file)
--- a/
elf2flt.ld
+++ b/
elf2flt.ld
@@
-165,6
+165,7
@@
SINGLE_LINK: KEEP (*(SORT(.dtors.*)))
}
.junk 0 : { *(.rel*) *(.rela*) }
+ /DISCARD/ : { *(.note.GNU-stack) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }