Enable PIEs for m68k-linux

Joseph S. Myers joseph@codesourcery.com
Sun Mar 2 18:22:00 GMT 2008


This patch makes ld generate the linker script required to build PIEs
on m68k-linux-gnu.  OK to commit?

2008-03-02  Joseph Myers  <joseph@codesourcery.com>

	* emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.

Index: emulparams/m68kelf.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/m68kelf.sh,v
retrieving revision 1.6
diff -u -r1.6 m68kelf.sh
--- emulparams/m68kelf.sh	9 Aug 2007 11:02:24 -0000	1.6
+++ emulparams/m68kelf.sh	2 Mar 2008 18:20:00 -0000
@@ -8,4 +8,5 @@
 TEMPLATE_NAME=elf32
 EXTRA_EM_FILE=m68kelf
 GENERATE_SHLIB_SCRIPT=yes
+GENERATE_PIE_SCRIPT=yes
 NO_SMALL_DATA=yes

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Binutils mailing list