This is the mail archive of the binutils@sourceware.org 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]

Re: link script PROVIDE bugfix


On Mon, Aug 08, 2005 at 06:20:50PM -0700, H. J. Lu wrote:
> A project I am working on for ia32, ia64 and x86-64 uses additional
> bss sections.

OK, OTHER_BSS_SECTIONS can be brought back when you contribute that
patch.

I see I left .tbss in hppa64linux.sh LARGE_SECTIONS.  I meant to remove
it, as elf.sc already has a .tbss section.

	* emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.

Index: ld/emulparams/hppa64linux.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/hppa64linux.sh,v
retrieving revision 1.6
diff -u -p -r1.6 hppa64linux.sh
--- ld/emulparams/hppa64linux.sh	5 Aug 2005 04:29:56 -0000	1.6
+++ ld/emulparams/hppa64linux.sh	9 Aug 2005 03:36:00 -0000
@@ -27,13 +27,9 @@ OTHER_READWRITE_SECTIONS="
   .plt          ${RELOCATING-0} : { *(.plt) }
   .dlt          ${RELOCATING-0} : { *(.dlt) }"
 
-# The PA64 ELF port has two additional bss sections. huge bss and thread bss.
-# Make sure they end up in the appropriate location.  We also have to set
-# __TLS_SIZE to the size of the thread bss section.
-LARGE_SECTIONS="
-  .hbss         ${RELOCATING-0} : { *(.hbss) }
-  .tbss         ${RELOCATING-0} : { *(.tbss) }
-"
+# The PA64 ELF port has an additional huge bss section.
+LARGE_SECTIONS=".hbss         ${RELOCATING-0} : { *(.hbss) }"
+
 #OTHER_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));'
 OTHER_SYMBOLS='
   PROVIDE (__TLS_SIZE = 0);

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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