pkgsrc-ng/devel/binutils/patches/patch-ld_emulparams_shelf__nbsd.sh
2014-08-11 13:28:49 +02:00

18 lines
355 B
Bash

$NetBSD$
--- ld/emulparams/shelf_nbsd.sh.orig Tue Jan 15 23:05:46 2008
+++ ld/emulparams/shelf_nbsd.sh
@@ -9,7 +9,11 @@ MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
-ENTRY=_start
+ENTRY=__start
unset EMBEDDED
unset OTHER_SECTIONS
+
+OTHER_READWRITE_SECTIONS='
+ .note.ABI-tag : { *(.note.ABI-tag) }
+'