This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

put TEXT_DYNAMIC back in mips n32 and 64 trad linker scripts


A couple of days ago, I removed the TEXT_DYNAMIC setting from the
elfn32 and elf64 traditional linker scripts.  Back then, I thought
TEXT_DYNAMIC had a different meaning.  Since then, I learned its
correct meaning and realized it was necessary for correct functioning,
so I'm putting it back in.  Approved by Eric Christopher.  Apologies
for the mistake.

Index: ld/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
	* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.

Index: ld/emulparams/elf32btsmipn32.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf32btsmipn32.sh,v
retrieving revision 1.3
diff -u -p -r1.3 elf32btsmipn32.sh
--- ld/emulparams/elf32btsmipn32.sh 17 Oct 2002 21:54:44 -0000 1.3
+++ ld/emulparams/elf32btsmipn32.sh 7 Nov 2002 00:46:09 -0000
@@ -12,3 +12,5 @@ OTHER_SECTIONS='
   .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
   .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
 '
+
+TEXT_DYNAMIC=
Index: ld/emulparams/elf64btsmip.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf64btsmip.sh,v
retrieving revision 1.8
diff -u -p -r1.8 elf64btsmip.sh
--- ld/emulparams/elf64btsmip.sh 22 Oct 2002 22:13:26 -0000 1.8
+++ ld/emulparams/elf64btsmip.sh 7 Nov 2002 00:46:09 -0000
@@ -13,3 +13,5 @@ OTHER_SECTIONS='
   .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
   .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
 '
+
+TEXT_DYNAMIC=
-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]