Enable empty section removal

Alan Modra amodra@bigpond.net.au
Mon Mar 21 12:08:00 GMT 2005


Enables HJ's removal of useless sections for powerpc64, hppa and m68hc1x
which all defined their own *_finish function that didn't bother calling
the elf32.em one (because it previously was just the do-nothing default).

ld/
	* emultempl/ppc64elf.em (ppc_finish): Rename from
	gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
	(LDEMUL_FINISH): Update.
	* emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
	* emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
ld/testsuite/
	* ld-powerpc/tlsexe.r: Update.
	* ld-powerpc/tlsexetoc.r: Update.
	* ld-powerpc/tlsso.r: Update.
	* ld-powerpc/tlstocso.r: Update.

Index: ld/emultempl/hppaelf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/hppaelf.em,v
retrieving revision 1.37
diff -u -p -r1.37 hppaelf.em
--- ld/emultempl/hppaelf.em	3 Mar 2005 11:52:04 -0000	1.37
+++ ld/emultempl/hppaelf.em	21 Mar 2005 00:34:12 -0000
@@ -256,7 +256,7 @@ build_section_lists (lang_statement_unio
    to build linker stubs.  */
 
 static void
-gld${EMULATION_NAME}_finish (void)
+hppaelf_finish (void)
 {
   /* bfd_elf_discard_info just plays with debugging sections,
      ie. doesn't affect any code, so we can delay resizing the
@@ -312,9 +312,14 @@ gld${EMULATION_NAME}_finish (void)
       if (stub_file != NULL && stub_file->the_bfd->sections != NULL)
 	{
 	  if (! elf32_hppa_build_stubs (&link_info))
-	    einfo ("%X%P: can not build stubs: %E\n");
+	    {
+	      einfo ("%X%P: can not build stubs: %E\n");
+	      return;
+	    }
 	}
     }
+
+  gld${EMULATION_NAME}_finish ();
 }
 
 
@@ -387,5 +392,5 @@ PARSE_AND_LIST_ARGS_CASES='
 # Put these extra hppaelf routines in ld_${EMULATION_NAME}_emulation
 #
 LDEMUL_AFTER_PARSE=hppaelf_after_parse
-LDEMUL_FINISH=gld${EMULATION_NAME}_finish
+LDEMUL_FINISH=hppaelf_finish
 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=hppaelf_create_output_section_statements
Index: ld/emultempl/m68hc1xelf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/m68hc1xelf.em,v
retrieving revision 1.4
diff -u -p -r1.4 m68hc1xelf.em
--- ld/emultempl/m68hc1xelf.em	24 Oct 2003 09:54:41 -0000	1.4
+++ ld/emultempl/m68hc1xelf.em	21 Mar 2005 00:34:12 -0000
@@ -289,7 +289,7 @@ m68hc11elf_add_stub_section (const char 
    to build linker stubs.  */
 
 static void
-gld${EMULATION_NAME}_finish (void)
+m68hc11elf_finish (void)
 {
   /* Now build the linker stubs.  */
   if (stub_file->the_bfd->sections != NULL)
@@ -308,6 +308,8 @@ gld${EMULATION_NAME}_finish (void)
       if (!elf32_m68hc11_build_stubs (output_bfd, &link_info))
 	einfo ("%X%P: can not build stubs: %E\n");
     }
+
+  gld${EMULATION_NAME}_finish ();
 }
 
 
@@ -369,5 +371,5 @@ PARSE_AND_LIST_ARGS_CASES='
 # Put these extra m68hc11elf routines in ld_${EMULATION_NAME}_emulation
 #
 LDEMUL_BEFORE_ALLOCATION=m68hc11_elf_${EMULATION_NAME}_before_allocation
-LDEMUL_FINISH=gld${EMULATION_NAME}_finish
+LDEMUL_FINISH=m68hc11elf_finish
 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=m68hc11elf_create_output_section_statements
Index: ld/emultempl/ppc64elf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/ppc64elf.em,v
retrieving revision 1.39
diff -u -p -r1.39 ppc64elf.em
--- ld/emultempl/ppc64elf.em	3 Mar 2005 11:52:04 -0000	1.39
+++ ld/emultempl/ppc64elf.em	21 Mar 2005 00:34:12 -0000
@@ -314,7 +314,7 @@ build_section_lists (lang_statement_unio
 /* Final emulation specific call.  */
 
 static void
-gld${EMULATION_NAME}_finish (void)
+ppc_finish (void)
 {
   /* e_entry on PowerPC64 points to the function descriptor for
      _start.  If _start is missing, default to the first function
@@ -389,6 +389,7 @@ gld${EMULATION_NAME}_finish (void)
     }
 
   ppc64_elf_restore_symbols (&link_info);
+  gld${EMULATION_NAME}_finish ();
 }
 
 
@@ -576,6 +577,6 @@ PARSE_AND_LIST_ARGS_CASES='
 #
 LDEMUL_BEFORE_ALLOCATION=ppc_before_allocation
 LDEMUL_AFTER_ALLOCATION=gld${EMULATION_NAME}_after_allocation
-LDEMUL_FINISH=gld${EMULATION_NAME}_finish
+LDEMUL_FINISH=ppc_finish
 LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS=ppc_create_output_section_statements
 LDEMUL_NEW_VERS_PATTERN=gld${EMULATION_NAME}_new_vers_pattern
Index: ld/testsuite/ld-powerpc/tlsexe.r
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlsexe.r,v
retrieving revision 1.10
diff -u -p -r1.10 tlsexe.r
--- ld/testsuite/ld-powerpc/tlsexe.r	5 Mar 2005 11:56:47 -0000	1.10
+++ ld/testsuite/ld-powerpc/tlsexe.r	21 Mar 2005 00:34:16 -0000
@@ -5,7 +5,7 @@
 #readelf: -WSsrl
 #target: powerpc64*-*-*
 
-There are 20 section headers.*
+There are 16 section headers.*
 
 Section Headers:
  +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
@@ -20,15 +20,11 @@ Section Headers:
  +\[ 8\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8
  +\[ 9\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8
  +\[10\] \.dynamic +DYNAMIC .* 0+150 10 +WA +4 +0 +8
- +\[11\] \.data +PROGBITS .* 0+ 0+ +WA +0 +0 +1
- +\[12\] \.branch_lt +.*
- +\[13\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +8
- +\[14\] \.sbss +.*
- +\[15\] \.plt +.*
- +\[16\] \.bss +.*
- +\[17\] \.shstrtab +.*
- +\[18\] \.symtab +.*
- +\[19\] \.strtab +.*
+ +\[11\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +8
+ +\[12\] \.plt +.*
+ +\[13\] \.shstrtab +.*
+ +\[14\] \.symtab +.*
+ +\[15\] \.strtab +.*
 #...
 
 Elf file type is EXEC \(Executable file\)
@@ -76,7 +72,7 @@ Symbol table '\.dynsym' contains 9 entri
 .* 0+10010620 +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
 .* 0+10010650 +0 NOTYPE +GLOBAL DEFAULT +ABS _end
 
-Symbol table '\.symtab' contains 43 entries:
+Symbol table '\.symtab' contains 39 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 .* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 
@@ -91,13 +87,9 @@ Symbol table '\.symtab' contains 43 entr
 .* 0+100104a0 +0 SECTION LOCAL +DEFAULT +10 
 .* 0+100105f0 +0 SECTION LOCAL +DEFAULT +11 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 
-.* 0+100105f0 +0 SECTION LOCAL +DEFAULT +13 
+.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
-.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 
-.* 0+ +0 SECTION LOCAL +DEFAULT +17 
-.* 0+ +0 SECTION LOCAL +DEFAULT +18 
-.* 0+ +0 SECTION LOCAL +DEFAULT +19 
 .* 0+ +0 TLS +LOCAL +DEFAULT +8 gd4
 .* 0+8 +0 TLS +LOCAL +DEFAULT +8 ld4
 .* 0+10 +0 TLS +LOCAL +DEFAULT +8 ld5
Index: ld/testsuite/ld-powerpc/tlsexetoc.r
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlsexetoc.r,v
retrieving revision 1.10
diff -u -p -r1.10 tlsexetoc.r
--- ld/testsuite/ld-powerpc/tlsexetoc.r	5 Mar 2005 11:56:48 -0000	1.10
+++ ld/testsuite/ld-powerpc/tlsexetoc.r	21 Mar 2005 00:34:16 -0000
@@ -5,7 +5,7 @@
 #readelf: -WSsrl
 #target: powerpc64*-*-*
 
-There are 20 section headers.*
+There are 16 section headers.*
 
 Section Headers:
  +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
@@ -20,15 +20,11 @@ Section Headers:
  +\[ 8\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8
  +\[ 9\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8
  +\[10\] \.dynamic +DYNAMIC .* 0+150 10 +WA +4 +0 +8
- +\[11\] \.data +PROGBITS .* 0+ 0+ +WA +0 +0 +1
- +\[12\] \.branch_lt +.*
- +\[13\] \.got +PROGBITS .* 0+58 08 +WA +0 +0 +8
- +\[14\] \.sbss +.*
- +\[15\] \.plt +.*
- +\[16\] \.bss +.*
- +\[17\] \.shstrtab +.*
- +\[18\] \.symtab +.*
- +\[19\] \.strtab +.*
+ +\[11\] \.got +PROGBITS .* 0+58 08 +WA +0 +0 +8
+ +\[12\] \.plt +.*
+ +\[13\] \.shstrtab +.*
+ +\[14\] \.symtab +.*
+ +\[15\] \.strtab +.*
 #...
 
 Elf file type is EXEC \(Executable file\)
@@ -74,7 +70,7 @@ Symbol table '\.dynsym' contains 8 entri
 .* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
 .* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
 
-Symbol table '\.symtab' contains 44 entries:
+Symbol table '\.symtab' contains 40 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
 .* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 
@@ -89,13 +85,9 @@ Symbol table '\.symtab' contains 44 entr
 .* 0+10010430 +0 SECTION LOCAL +DEFAULT +10 
 .* 0+10010580 +0 SECTION LOCAL +DEFAULT +11 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 
-.* 0+10010580 +0 SECTION LOCAL +DEFAULT +13 
+.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 
 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
-.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 
-.* 0+ +0 SECTION LOCAL +DEFAULT +17 
-.* 0+ +0 SECTION LOCAL +DEFAULT +18 
-.* 0+ +0 SECTION LOCAL +DEFAULT +19 
 .* 0+ +0 TLS +LOCAL +DEFAULT +8 gd4
 .* 0+8 +0 TLS +LOCAL +DEFAULT +8 ld4
 .* 0+10 +0 TLS +LOCAL +DEFAULT +8 ld5
@@ -103,7 +95,7 @@ Symbol table '\.symtab' contains 44 entr
 .* 0+20 +0 TLS +LOCAL +DEFAULT +8 ie4
 .* 0+28 +0 TLS +LOCAL +DEFAULT +8 le4
 .* 0+30 +0 TLS +LOCAL +DEFAULT +8 le5
-.* 0+100105d0 +0 NOTYPE +LOCAL +DEFAULT +13 \.Lie0
+.* 0+100105d0 +0 NOTYPE +LOCAL +DEFAULT +11 \.Lie0
 .* 0+ +0 FUNC +LOCAL +DEFAULT +UND \.__tls_get_addr
 .* 0+10010430 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
 .* 0+ +0 TLS +GLOBAL DEFAULT +UND gd
Index: ld/testsuite/ld-powerpc/tlsso.r
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlsso.r,v
retrieving revision 1.10
diff -u -p -r1.10 tlsso.r
--- ld/testsuite/ld-powerpc/tlsso.r	1 Feb 2005 04:22:40 -0000	1.10
+++ ld/testsuite/ld-powerpc/tlsso.r	21 Mar 2005 00:34:16 -0000
@@ -4,7 +4,7 @@
 #readelf: -WSsrl
 #target: powerpc64*-*-*
 
-There are 19 section headers.*
+There are 15 section headers.*
 
 Section Headers:
  +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
@@ -18,15 +18,11 @@ Section Headers:
  +\[ 7\] \.tdata +PROGBITS +0+106c8 0+6c8 0+38 0+ WAT +0 +0 +8
  +\[ 8\] \.tbss +NOBITS +0+10700 0+700 0+38 0+ WAT +0 +0 +8
  +\[ 9\] \.dynamic +DYNAMIC +0+10700 0+700 0+150 10 +WA +3 +0 +8
- +\[10\] \.data +PROGBITS +0+10850 0+850 0+ 0+ +WA +0 +0 +1
- +\[11\] \.branch_lt +.*
- +\[12\] \.got +PROGBITS +0+10850 0+850 0+60 08 +WA +0 +0 +8
- +\[13\] \.sbss +.*
- +\[14\] \.plt +.*
- +\[15\] \.bss +.*
- +\[16\] \.shstrtab +.*
- +\[17\] \.symtab +.*
- +\[18\] \.strtab +.*
+ +\[10\] \.got +PROGBITS +0+10850 0+850 0+60 08 +WA +0 +0 +8
+ +\[11\] \.plt +.*
+ +\[12\] \.shstrtab +.*
+ +\[13\] \.symtab +.*
+ +\[14\] \.strtab +.*
 #...
 
 Elf file type is DYN \(Shared object file\)
@@ -76,9 +72,9 @@ Symbol table '\.dynsym' contains 22 entr
  +[0-9]+: 0+5c8 +0 SECTION LOCAL +DEFAULT +6 
  +[0-9]+: 0+106c8 +0 SECTION LOCAL +DEFAULT +7 
  +[0-9]+: 0+10700 +0 SECTION LOCAL +DEFAULT +8 
- +[0-9]+: 0+10850 +0 SECTION LOCAL +DEFAULT +10 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
  +[0-9]+: 0+10700 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
  +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd
  +[0-9]+: 0+60 +0 TLS +GLOBAL DEFAULT +8 le0
@@ -95,7 +91,7 @@ Symbol table '\.dynsym' contains 22 entr
  +[0-9]+: 0+38 +0 TLS +GLOBAL DEFAULT +8 gd0
  +[0-9]+: 0+58 +0 TLS +GLOBAL DEFAULT +8 ie0
 
-Symbol table '\.symtab' contains 42 entries:
+Symbol table '\.symtab' contains 38 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
  +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 
@@ -112,10 +108,6 @@ Symbol table '\.symtab' contains 42 entr
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +16 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +17 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +18 
  +[0-9]+: 0+ +0 TLS +LOCAL +DEFAULT +7 gd4
  +[0-9]+: 0+8 +0 TLS +LOCAL +DEFAULT +7 ld4
  +[0-9]+: 0+10 +0 TLS +LOCAL +DEFAULT +7 ld5
Index: ld/testsuite/ld-powerpc/tlstocso.r
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/tlstocso.r,v
retrieving revision 1.11
diff -u -p -r1.11 tlstocso.r
--- ld/testsuite/ld-powerpc/tlstocso.r	1 Feb 2005 04:22:41 -0000	1.11
+++ ld/testsuite/ld-powerpc/tlstocso.r	21 Mar 2005 00:34:16 -0000
@@ -4,7 +4,7 @@
 #readelf: -WSsrl
 #target: powerpc64*-*-*
 
-There are 19 section headers.*
+There are 15 section headers.*
 
 Section Headers:
  +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
@@ -18,15 +18,11 @@ Section Headers:
  +\[ 7\] \.tdata +PROGBITS +0+10610 0+610 0+38 0+ WAT +0 +0 +8
  +\[ 8\] \.tbss +NOBITS +0+10648 0+648 0+38 0+ WAT +0 +0 +8
  +\[ 9\] \.dynamic +DYNAMIC +0+10648 0+648 0+150 10 +WA +3 +0 +8
- +\[10\] \.data +PROGBITS +0+10798 0+798 0+ 0+ +WA +0 +0 +1
- +\[11\] \.branch_lt +.*
- +\[12\] \.got +PROGBITS +0+10798 0+798 0+58 08 +WA +0 +0 +8
- +\[13\] \.sbss +.*
- +\[14\] \.plt +.*
- +\[15\] \.bss +.*
- +\[16\] \.shstrtab +.*
- +\[17\] \.symtab +.*
- +\[18\] \.strtab +.*
+ +\[10\] \.got +PROGBITS +0+10798 0+798 0+58 08 +WA +0 +0 +8
+ +\[11\] \.plt +.*
+ +\[12\] \.shstrtab +.*
+ +\[13\] \.symtab +.*
+ +\[14\] \.strtab +.*
 #...
 
 Elf file type is DYN \(Shared object file\)
@@ -71,9 +67,9 @@ Symbol table '\.dynsym' contains 22 entr
  +[0-9]+: 0+550 +0 SECTION LOCAL +DEFAULT +6 
  +[0-9]+: 0+10610 +0 SECTION LOCAL +DEFAULT +7 
  +[0-9]+: 0+10648 +0 SECTION LOCAL +DEFAULT +8 
- +[0-9]+: 0+10798 +0 SECTION LOCAL +DEFAULT +10 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
+ +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
  +[0-9]+: 0+10648 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
  +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd
  +[0-9]+: 0+60 +0 TLS +GLOBAL DEFAULT +8 le0
@@ -90,7 +86,7 @@ Symbol table '\.dynsym' contains 22 entr
  +[0-9]+: 0+38 +0 TLS +GLOBAL DEFAULT +8 gd0
  +[0-9]+: 0+58 +0 TLS +GLOBAL DEFAULT +8 ie0
 
-Symbol table '\.symtab' contains 43 entries:
+Symbol table '\.symtab' contains 39 entries:
  +Num: +Value +Size Type +Bind +Vis +Ndx Name
  +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND 
  +[0-9]+: 0+120 +0 SECTION LOCAL +DEFAULT +1 
@@ -107,10 +103,6 @@ Symbol table '\.symtab' contains 43 entr
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 
  +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 
- +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +16 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +17 
- +[0-9]+: 0+ +0 SECTION LOCAL +DEFAULT +18 
  +[0-9]+: 0+ +0 TLS +LOCAL +DEFAULT +7 gd4
  +[0-9]+: 0+8 +0 TLS +LOCAL +DEFAULT +7 ld4
  +[0-9]+: 0+10 +0 TLS +LOCAL +DEFAULT +7 ld5
@@ -118,7 +110,7 @@ Symbol table '\.symtab' contains 43 entr
  +[0-9]+: 0+20 +0 TLS +LOCAL +DEFAULT +7 ie4
  +[0-9]+: 0+28 +0 TLS +LOCAL +DEFAULT +7 le4
  +[0-9]+: 0+30 +0 TLS +LOCAL +DEFAULT +7 le5
- +[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +12 \.Lie0
+ +[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +10 \.Lie0
  +[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +6 \.__tls_get_addr
  +[0-9]+: 0+10648 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
  +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list