+2004-09-22 Alan Modra <amodra@bigpond.net.au>
+
+ * readelf.c (process_program_headers): Don't include .tbss in non-TLS
+ segments.
+
2004-09-17 Alan Modra <amodra@bigpond.net.au>
* Makefile.am: Run "make dep-am".
<= segment->p_vaddr + segment->p_memsz)
: ((bfd_vma) section->sh_offset >= segment->p_offset
&& (section->sh_offset + section->sh_size
- <= segment->p_offset + segment->p_filesz))))
+ <= segment->p_offset + segment->p_filesz)))
+ /* .tbss is special. It doesn't contribute memory space
+ to normal segments. */
+ && (!((section->sh_flags & SHF_TLS) != 0
+ && section->sh_type == SHT_NOBITS)
+ || segment->p_type == PT_TLS))
printf ("%s ", SECTION_NAME (section));
}
+2004-09-22 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-i386/tlsbin.rd: Update for changed segment map.
+ * ld-i386/tlsnopic.rd: Likewise.
+ * ld-i386/tlspic.rd: Likewise.
+ * ld-powerpc/tlsexe.r: Likewise.
+ * ld-powerpc/tlsexe32.r: Likewise.
+ * ld-powerpc/tlsexetoc.r: Likewise.
+ * ld-powerpc/tlsso.r: Likewise.
+ * ld-powerpc/tlsso32.r: Likewise.
+ * ld-powerpc/tlstocso.r: Likewise.
+ * ld-s390/tlsbin.rd: Likewise.
+ * ld-s390/tlsbin_64.rd: Likewise.
+ * ld-s390/tlspic.rd: Likewise.
+ * ld-s390/tlspic_64.rd: Likewise.
+ * ld-sh/tlsbin-2.d: Likewise.
+ * ld-sh/tlspic-2.d: Likewise.
+ * ld-x86-64/tlsbin.rd: Likewise.
+ * ld-x86-64/tlspic.rd: Likewise.
+
2004-09-22 Alan Modra <amodra@bigpond.net.au>
* ld-scripts/overlay-size.d: Don't check .mbss lma.
00 +
01 +.interp *
02 +.interp .hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text *
- 03 +.tdata .tbss .dynamic .got .got.plt *
- 04 +.tbss .dynamic *
+ 03 +.tdata .dynamic .got .got.plt *
+ 04 +.dynamic *
05 +.tdata .tbss *
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries:
Section to Segment mapping:
Segment Sections...
00 +.hash .dynsym .dynstr .rel.dyn .text *
- 01 +.tbss .dynamic .got .got.plt *
- 02 +.tbss .dynamic *
+ 01 +.dynamic .got .got.plt *
+ 02 +.dynamic *
03 +.tbss *
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries:
Section to Segment mapping:
Segment Sections...
00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text *
- 01 +.tdata .tbss .dynamic .got .got.plt *
- 02 +.tbss .dynamic *
+ 01 +.tdata .dynamic .got .got.plt *
+ 02 +.dynamic *
03 +.tdata .tbss *
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries:
+0+ +
+01 +\.interp
+02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +03 +\.tdata \.tbss \.dynamic \.got \.plt
- +04 +\.tbss \.dynamic
+ +03 +\.tdata \.dynamic \.got \.plt
+ +04 +\.dynamic
+05 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset .* contains 3 entries:
+00 +
+01 +\.interp
+02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +03 +\.tdata \.tbss \.dynamic \.got \.plt
- +04 +\.tbss \.dynamic
+ +03 +\.tdata \.dynamic \.got \.plt
+ +04 +\.dynamic
+05 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset 0x268 contains 2 entries:
+0+ +
+01 +\.interp
+02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +03 +\.tdata \.tbss \.dynamic \.got \.plt
- +04 +\.tbss \.dynamic
+ +03 +\.tdata \.dynamic \.got \.plt
+ +04 +\.dynamic
+05 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset .* contains 2 entries:
Section to Segment mapping:
+Segment Sections\.\.\.
+0+ +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +01 +\.tdata \.tbss \.dynamic \.got \.plt
- +02 +\.tbss \.dynamic
+ +01 +\.tdata \.dynamic \.got \.plt
+ +02 +\.dynamic
+03 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset .* contains 16 entries:
Section to Segment mapping:
+Segment Sections\.\.\.
+0+ +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +01 +\.tdata \.tbss \.dynamic \.got \.plt
- +02 +\.tbss \.dynamic
+ +01 +\.tdata \.dynamic \.got \.plt
+ +02 +\.dynamic
+03 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 18 entries:
Section to Segment mapping:
+Segment Sections\.\.\.
+0+ +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text
- +01 +\.tdata \.tbss \.dynamic \.got \.plt
- +02 +\.tbss \.dynamic
+ +01 +\.tdata \.dynamic \.got \.plt
+ +02 +\.dynamic
+03 +\.tdata \.tbss
Relocation section '\.rela\.dyn' at offset .* contains 11 entries:
00 *
01 +.interp *
02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
- 03 +.tdata .tbss .dynamic .got *
- 04 +.tbss .dynamic *
+ 03 +.tdata .dynamic .got *
+ 04 +.dynamic *
05 +.tdata .tbss *
Relocation section '.rela.dyn' at offset 0x268 contains 4 entries:
00 *
01 +.interp *
02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
- 03 +.tdata .tbss .dynamic .got *
- 04 +.tbss .dynamic *
+ 03 +.tdata .dynamic .got *
+ 04 +.dynamic *
05 +.tdata .tbss *
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
Section to Segment mapping:
Segment Sections...
+00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text
- +01 +.tdata .tbss .dynamic .got
- +02 +.tbss .dynamic
+ +01 +.tdata .dynamic .got
+ +02 +.dynamic
+03 +.tdata .tbss
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
Section to Segment mapping:
Segment Sections...
00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
- 01 +.tdata .tbss .dynamic .got *
- 02 +.tbss .dynamic *
+ 01 +.tdata .dynamic .got *
+ 02 +.dynamic *
03 +.tdata .tbss *
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
00 +
01 +\.interp *
02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
- 03 +\.tdata \.tbss \.dynamic \.got *
- 04 +\.tbss \.dynamic *
+ 03 +\.tdata \.dynamic \.got *
+ 04 +\.dynamic *
05 +\.tdata \.tbss *
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 4 entries:
Section to Segment mapping:
Segment Sections\.\.\.
00 +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text *
- 01 +\.tdata \.tbss \.dynamic \.got *
- 02 +\.tbss \.dynamic *
+ 01 +\.tdata \.dynamic \.got *
+ 02 +\.dynamic *
03 +\.tdata \.tbss *
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 10 entries:
00 *
01 +.interp *
02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
- 03 +.tdata .tbss .dynamic .got .got.plt *
+ 03 +.tdata .dynamic .got .got.plt *
04 +.dynamic *
05 +.tdata .tbss *
Section to Segment mapping:
Segment Sections...
00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
- 01 +.tdata .tbss .dynamic .got .got.plt *
+ 01 +.tdata .dynamic .got .got.plt *
02 +.dynamic *
03 +.tdata .tbss *