Jivin Mike Frysinger lays it down ...
PT_GNU_STACK markings make no sense with FLAT binaries, so discard the
related section when linking.
Signed-off-by: Mike Frysinger vap...@gentoo.org
Applied,
thanks,
Davidm
---
elf2flt.ld |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/elf2flt.ld b/elf2flt.ld
index 7f043ef..947a072 100644
--- 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) }
--
1.6.2.5
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
David McCullough, david_mccullo...@securecomputing.com, Ph:+61 734352815
McAfee - SnapGear http://www.snapgear.comhttp://www.uCdot.org
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev