diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh1.d binutils-2.19.1/ld/testsuite/ld-elf/eh1.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh1.d 2008-01-28 15:15:32.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-elf/eh1.d 2009-09-23 23:47:01.479852559 +0000 @@ -22,11 +22,11 @@ DW_CFA_nop DW_CFA_nop -00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078 - DW_CFA_advance_loc: 0 to 00400078 +00000018 0000001c 0000001c FDE cie=00000000 pc=004000b0..004000b0 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r6 \(rbp\) at cfa-16 - DW_CFA_advance_loc: 0 to 00400078 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_register: r6 \(rbp\) 00000038 ZERO terminator diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh2.d binutils-2.19.1/ld/testsuite/ld-elf/eh2.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh2.d 2008-01-28 15:15:32.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-elf/eh2.d 2009-09-23 23:47:24.266572347 +0000 @@ -22,11 +22,11 @@ DW_CFA_nop DW_CFA_nop -00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078 - DW_CFA_advance_loc: 0 to 00400078 +00000018 0000001c 0000001c FDE cie=00000000 pc=004000b0..004000b0 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r6 \(rbp\) at cfa-16 - DW_CFA_advance_loc: 0 to 00400078 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_register: r6 \(rbp\) 00000038 ZERO terminator diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh3.d binutils-2.19.1/ld/testsuite/ld-elf/eh3.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/eh3.d 2008-01-28 15:15:32.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-elf/eh3.d 2009-09-23 23:47:41.356612156 +0000 @@ -22,11 +22,11 @@ DW_CFA_nop DW_CFA_nop -00000018 0000001c 0000001c FDE cie=00000000 pc=00400078..00400078 - DW_CFA_advance_loc: 0 to 00400078 +00000018 0000001c 0000001c FDE cie=00000000 pc=004000b0..004000b0 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_offset: 16 DW_CFA_offset: r6 \(rbp\) at cfa-16 - DW_CFA_advance_loc: 0 to 00400078 + DW_CFA_advance_loc: 0 to 004000b0 DW_CFA_def_cfa_register: r6 \(rbp\) 00000038 ZERO terminator diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/seg.d binutils-2.19.1/ld/testsuite/ld-elf/seg.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-elf/seg.d 2008-02-22 23:10:45.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-elf/seg.d 2009-09-24 00:16:53.745700829 +0000 @@ -10,6 +10,7 @@ #... LOAD .* LOAD 0x0*001000 0xf*fffff000 0xf*fffff000 0x0*1000 0x0*1000 .* + PAX_FLAGS 0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x(4|8) Section to Segment mapping: Segment Sections... @@ -17,3 +18,4 @@ # On MIPS, the first segment is for .reginfo. #... 0. reset boot + 02 diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/hidden2.d binutils-2.19.1/ld/testsuite/ld-i386/hidden2.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/hidden2.d 2008-03-16 22:26:23.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/hidden2.d 2009-09-23 23:06:22.612907986 +0000 @@ -8,6 +8,6 @@ Disassembly of section .text: [a-f0-9]+ : -[ ]*[a-f0-9]+: e8 cf fe ff ff call 0 +[ ]*[a-f0-9]+: e8 af fe ff ff call 0 [ ]*[a-f0-9]+: c3 ret #pass diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsbin.rd binutils-2.19.1/ld/testsuite/ld-i386/tlsbin.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsbin.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlsbin.rd 2009-09-24 00:11:20.609931897 +0000 @@ -44,7 +44,7 @@ LOAD.* DYNAMIC.* TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... @@ -54,7 +54,7 @@ 03 +.tdata .dynamic .got .got.plt * 04 +.dynamic * 05 +.tdata .tbss * - 06 * + 06 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsbindesc.rd binutils-2.19.1/ld/testsuite/ld-i386/tlsbindesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsbindesc.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlsbindesc.rd 2009-09-24 00:12:01.770840037 +0000 @@ -42,7 +42,7 @@ LOAD.* DYNAMIC.* TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... @@ -52,7 +52,7 @@ 03 +.tdata .dynamic .got .got.plt * 04 +.dynamic * 05 +.tdata .tbss * - 06 * + 06 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsdesc.rd binutils-2.19.1/ld/testsuite/ld-i386/tlsdesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsdesc.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlsdesc.rd 2009-09-24 00:12:42.543705224 +0000 @@ -39,7 +39,7 @@ LOAD.* DYNAMIC.* TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... @@ -47,7 +47,7 @@ 01 +.tdata .dynamic .got .got.plt * 02 +.dynamic * 03 +.tdata .tbss * - 04 * + 04 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsgdesc.rd binutils-2.19.1/ld/testsuite/ld-i386/tlsgdesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsgdesc.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlsgdesc.rd 2009-09-24 00:13:31.481549392 +0000 @@ -36,14 +36,14 @@ LOAD.* LOAD.* DYNAMIC.* - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... 00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * 01 +.dynamic .got .got.plt * 02 +.dynamic * - 03 * + 03 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsnopic.rd binutils-2.19.1/ld/testsuite/ld-i386/tlsnopic.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlsnopic.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlsnopic.rd 2009-09-24 00:14:31.524719354 +0000 @@ -37,7 +37,7 @@ LOAD.* DYNAMIC.* TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... @@ -45,7 +45,7 @@ 01 +.dynamic .got .got.plt * 02 +.dynamic * 03 +.tbss * - 04 * + 04 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlspic.rd binutils-2.19.1/ld/testsuite/ld-i386/tlspic.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-i386/tlspic.rd 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-i386/tlspic.rd 2009-09-24 00:15:12.873656731 +0000 @@ -40,7 +40,7 @@ LOAD.* DYNAMIC.* TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 - PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x4 Section to Segment mapping: Segment Sections... @@ -48,7 +48,7 @@ 01 +.tdata .dynamic .got .got.plt * 02 +.dynamic * 03 +.tdata .tbss * - 04 * + 04 + Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: Offset +Info +Type +Sym.Value +Sym. Name diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-scripts/empty-aligned.d binutils-2.19.1/ld/testsuite/ld-scripts/empty-aligned.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-scripts/empty-aligned.d 2009-09-23 23:11:52.940359108 +0000 +++ binutils-2.19.1/ld/testsuite/ld-scripts/empty-aligned.d 2009-09-24 00:16:22.453964716 +0000 @@ -7,7 +7,7 @@ Program Headers: +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ [RWE ]+ +0x[0-9a-f]+ - +PAX_FLAGS +0x000000 0x00000000 0x00000000 0x00000 0x00000 +0x4 + +PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x(4|8) Section to Segment mapping: +Segment Sections\.\.\. diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/hidden2.d binutils-2.19.1/ld/testsuite/ld-x86-64/hidden2.d --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/hidden2.d 2008-03-16 22:26:23.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/hidden2.d 2009-09-23 23:34:49.220508448 +0000 @@ -8,6 +8,6 @@ Disassembly of section .text: [a-f0-9]+ : -[ ]*[a-f0-9]+: e8 33 fe ff ff callq 0 +[ ]*[a-f0-9]+: e8 fb fd ff ff callq 0 [ ]*[a-f0-9]+: c3 retq #pass diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsbin.rd binutils-2.19.1/ld/testsuite/ld-x86-64/tlsbin.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsbin.rd 2007-09-30 01:33:15.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlsbin.rd 2009-09-23 23:52:08.896541327 +0000 @@ -44,6 +44,7 @@ LOAD +0x0+122a 0x0+60122a 0x0+60122a 0x0+1e6 0x0+1e6 RW 0x200000 DYNAMIC +0x0+1290 0x0+601290 0x0+601290 0x0+140 0x0+140 RW 0x8 TLS +0x0+122a 0x0+60122a 0x0+60122a 0x0+60 0x0+a0 R +0x1 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 Section to Segment mapping: Segment Sections... @@ -53,6 +54,7 @@ 03 +.tdata .dynamic .got .got.plt * 04 +.dynamic * 05 +.tdata .tbss * + 06 + Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsbindesc.rd binutils-2.19.1/ld/testsuite/ld-x86-64/tlsbindesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsbindesc.rd 2008-07-28 18:07:05.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlsbindesc.rd 2009-09-23 23:52:41.264403801 +0000 @@ -42,6 +42,7 @@ LOAD +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+19a 0x0+19a RW 0x200000 DYNAMIC +0x0+1258 0x0+601258 0x0+601258 0x0+100 0x0+100 RW 0x8 TLS +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+60 0x0+a0 R +0x1 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 Section to Segment mapping: Segment Sections... @@ -51,6 +52,7 @@ 03 +.tdata .dynamic .got .got.plt * 04 +.dynamic * 05 +.tdata .tbss * + 06 + Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsdesc.rd binutils-2.19.1/ld/testsuite/ld-x86-64/tlsdesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsdesc.rd 2007-09-30 01:33:15.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlsdesc.rd 2009-09-24 00:00:08.453758946 +0000 @@ -15,7 +15,7 @@ +\[[ 0-9]+\] .dynstr +.* +\[[ 0-9]+\] .rela.dyn +.* +\[[ 0-9]+\] .rela.plt +.* - +\[[ 0-9]+\] .plt +PROGBITS +0+450 0+450 0+20 10 +AX +0 +0 +4 + +\[[ 0-9]+\] .plt +PROGBITS +0+488 0+488 0+20 10 +AX +0 +0 +4 +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+154 00 +AX +0 +0 4096 +\[[ 0-9]+\] .tdata +PROGBITS +0+201154 0+1154 0+60 00 WAT +0 +0 +1 +\[[ 0-9]+\] .tbss +NOBITS +0+2011b4 0+11b4 0+20 00 WAT +0 +0 +1 @@ -40,6 +40,7 @@ LOAD +0x0+1154 0x0+201154 0x0+201154 0x0+264 0x0+264 RW +0x200000 DYNAMIC +0x0+11b8 0x0+2011b8 0x0+2011b8 0x0+150 0x0+150 RW +0x8 TLS +0x0+1154 0x0+201154 0x0+201154 0x0+60 0x0+80 R +0x1 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 Section to Segment mapping: Segment Sections... @@ -47,6 +48,7 @@ 01 +.tdata .dynamic .got .got.plt * 02 +.dynamic * 03 +.tdata .tbss * + 04 + Dynamic section at offset 0x[0-9a-f]+ contains 16 entries: +Tag +Type +Name/Value @@ -59,7 +61,7 @@ 0x[0-9a-f]+ +\(PLTRELSZ\).* 0x[0-9a-f]+ +\(PLTREL\).* 0x[0-9a-f]+ +\(JMPREL\).* - 0x[0-9a-f]+ +\(TLSDESC_PLT\) +0x460 + 0x[0-9a-f]+ +\(TLSDESC_PLT\) +0x498 0x[0-9a-f]+ +\(TLSDESC_GOT\) +0x201348 0x[0-9a-f]+ +\(RELA\).* 0x[0-9a-f]+ +\(RELASZ\).* diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsgdesc.dd binutils-2.19.1/ld/testsuite/ld-x86-64/tlsgdesc.dd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsgdesc.dd 2007-04-27 04:22:01.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlsgdesc.dd 2009-09-24 00:06:26.502854359 +0000 @@ -20,7 +20,7 @@ +[0-9a-f]+: 00 00 * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 03 0d 5e 02 20 00[ ]+add 0x20025e\(%rip\),%rcx +# 200660 <.*> + +[0-9a-f]+: 48 03 0d 5e 02 20 00[ ]+add 0x20025e\(%rip\),%rcx +# 200698 <.*> # -> R_X86_64_TPOFF64 sG3 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * @@ -31,14 +31,14 @@ +[0-9a-f]+: 00 00 * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 03 0d 68 02 20 00[ ]+add 0x200268\(%rip\),%rcx +# 200680 <.*> + +[0-9a-f]+: 48 03 0d 68 02 20 00[ ]+add 0x200268\(%rip\),%rcx +# 2006b8 <.*> # -> R_X86_64_TPOFF64 sG4 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * # GD, gd first - +[0-9a-f]+: 66 48 8d 3d 6c 02 20[ ]+lea 0x20026c\(%rip\),%rdi +# 200690 <.*> + +[0-9a-f]+: 66 48 8d 3d 6c 02 20[ ]+lea 0x20026c\(%rip\),%rdi +# 2006c8 <.*> +[0-9a-f]+: 00 * # -> R_X86_64_DTPMOD64 sG1 +[0-9a-f]+: 66 66 48 e8 9c ff ff[ ]+callq [0-9a-f]+ <.*> @@ -48,7 +48,7 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 8d 05 a1 02 20 00[ ]+lea 0x2002a1\(%rip\),%rax +# 2006d8 <.*> + +[0-9a-f]+: 48 8d 05 a1 02 20 00[ ]+lea 0x2002a1\(%rip\),%rax +# 200710 <.*> # -> R_X86_64_TLSDESC sG1 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\) +[0-9a-f]+: 90[ ]+nop * @@ -56,14 +56,14 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * # GD, desc first - +[0-9a-f]+: 48 8d 05 84 02 20 00[ ]+lea 0x200284\(%rip\),%rax +# 2006c8 <.*> + +[0-9a-f]+: 48 8d 05 84 02 20 00[ ]+lea 0x200284\(%rip\),%rax +# 200700 <.*> # -> R_X86_64_TLSDESC sG2 +[0-9a-f]+: ff 10[ ]+callq \*\(%rax\) +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 66 48 8d 3d 1e 02 20[ ]+lea 0x20021e\(%rip\),%rdi +# 200670 <.*> + +[0-9a-f]+: 66 48 8d 3d 1e 02 20[ ]+lea 0x20021e\(%rip\),%rdi +# 2006a8 <.*> +[0-9a-f]+: 00 * # -> R_X86_64_DTPMOD64 sG2 +[0-9a-f]+: 66 66 48 e8 6e ff ff[ ]+callq [0-9a-f]+ <.*> @@ -76,13 +76,13 @@ # GD -> IE, gd first, after IE use +[0-9a-f]+: 64 48 8b 04 25 00 00[ ]+mov %fs:0x0,%rax +[0-9a-f]+: 00 00 * - +[0-9a-f]+: 48 03 05 f2 01 20 00[ ]+add 0x2001f2\(%rip\),%rax +# 200660 <.*> + +[0-9a-f]+: 48 03 05 f2 01 20 00[ ]+add 0x2001f2\(%rip\),%rax +# 200698 <.*> # -> R_X86_64_TPOFF64 sG3 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 8b 05 e7 01 20 00[ ]+mov 0x2001e7\(%rip\),%rax +# 200660 <.*> + +[0-9a-f]+: 48 8b 05 e7 01 20 00[ ]+mov 0x2001e7\(%rip\),%rax +# 200698 <.*> # -> R_X86_64_TPOFF64 sG3 +[0-9a-f]+: 66 90[ ]+xchg %ax,%ax +[0-9a-f]+: 90[ ]+nop * @@ -90,7 +90,7 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * # GD -> IE, desc first, after IE use - +[0-9a-f]+: 48 8b 05 fa 01 20 00[ ]+mov 0x2001fa\(%rip\),%rax +# 200680 <.*> + +[0-9a-f]+: 48 8b 05 fa 01 20 00[ ]+mov 0x2001fa\(%rip\),%rax +# 2006b8 <.*> # -> R_X86_64_TPOFF64 sG4 +[0-9a-f]+: 66 90[ ]+xchg %ax,%ax +[0-9a-f]+: 90[ ]+nop * @@ -99,7 +99,7 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 64 48 8b 04 25 00 00[ ]+mov %fs:0x0,%rax +[0-9a-f]+: 00 00 * - +[0-9a-f]+: 48 03 05 e4 01 20 00[ ]+add 0x2001e4\(%rip\),%rax +# 200680 <.*> + +[0-9a-f]+: 48 03 05 e4 01 20 00[ ]+add 0x2001e4\(%rip\),%rax +# 2006b8 <.*> # -> R_X86_64_TPOFF64 sG4 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * @@ -108,13 +108,13 @@ # GD -> IE, gd first, before IE use +[0-9a-f]+: 64 48 8b 04 25 00 00[ ]+mov %fs:0x0,%rax +[0-9a-f]+: 00 00 * - +[0-9a-f]+: 48 03 05 b8 01 20 00[ ]+add 0x2001b8\(%rip\),%rax +# 200668 <.*> + +[0-9a-f]+: 48 03 05 b8 01 20 00[ ]+add 0x2001b8\(%rip\),%rax +# 2006a0 <.*> # -> R_X86_64_TPOFF64 sG5 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 8b 05 ad 01 20 00[ ]+mov 0x2001ad\(%rip\),%rax +# 200668 <.*> + +[0-9a-f]+: 48 8b 05 ad 01 20 00[ ]+mov 0x2001ad\(%rip\),%rax +# 2006a0 <.*> # -> R_X86_64_TPOFF64 sG5 +[0-9a-f]+: 66 90[ ]+xchg %ax,%ax +[0-9a-f]+: 90[ ]+nop * @@ -122,7 +122,7 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * # GD -> IE, desc first, before IE use - +[0-9a-f]+: 48 8b 05 c0 01 20 00[ ]+mov 0x2001c0\(%rip\),%rax +# 200688 <.*> + +[0-9a-f]+: 48 8b 05 c0 01 20 00[ ]+mov 0x2001c0\(%rip\),%rax +# 2006c0 <.*> # -> R_X86_64_TPOFF64 sG6 +[0-9a-f]+: 66 90[ ]+xchg %ax,%ax +[0-9a-f]+: 90[ ]+nop * @@ -131,7 +131,7 @@ +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 64 48 8b 04 25 00 00[ ]+mov %fs:0x0,%rax +[0-9a-f]+: 00 00 * - +[0-9a-f]+: 48 03 05 aa 01 20 00[ ]+add 0x2001aa\(%rip\),%rax +# 200688 <.*> + +[0-9a-f]+: 48 03 05 aa 01 20 00[ ]+add 0x2001aa\(%rip\),%rax +# 2006c0 <.*> # -> R_X86_64_TPOFF64 sG6 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * @@ -142,7 +142,7 @@ +[0-9a-f]+: 00 00 * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 03 0d 74 01 20 00[ ]+add 0x200174\(%rip\),%rcx +# 200668 <.*> + +[0-9a-f]+: 48 03 0d 74 01 20 00[ ]+add 0x200174\(%rip\),%rcx +# 2006a0 <.*> # -> R_X86_64_TPOFF64 sG5 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * @@ -153,7 +153,7 @@ +[0-9a-f]+: 00 00 * +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * - +[0-9a-f]+: 48 03 0d 7e 01 20 00[ ]+add 0x20017e\(%rip\),%rcx +# 200688 <.*> + +[0-9a-f]+: 48 03 0d 7e 01 20 00[ ]+add 0x20017e\(%rip\),%rcx +# 2006c0 <.*> # -> R_X86_64_TPOFF64 sG6 +[0-9a-f]+: 90[ ]+nop * +[0-9a-f]+: 90[ ]+nop * diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsgdesc.rd binutils-2.19.1/ld/testsuite/ld-x86-64/tlsgdesc.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlsgdesc.rd 2007-09-30 01:33:15.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlsgdesc.rd 2009-09-23 23:53:11.816049473 +0000 @@ -36,12 +36,14 @@ LOAD.* LOAD.* DYNAMIC.* + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 Section to Segment mapping: Segment Sections... 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * 01 +.dynamic .got .got.plt * 02 +.dynamic * + 03 + Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend diff -Naur binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlspic.rd binutils-2.19.1/ld/testsuite/ld-x86-64/tlspic.rd --- binutils-2.19.1.pt-pax-flags-200811041810/ld/testsuite/ld-x86-64/tlspic.rd 2007-09-30 01:33:15.000000000 +0000 +++ binutils-2.19.1/ld/testsuite/ld-x86-64/tlspic.rd 2009-09-23 23:48:50.148822682 +0000 @@ -40,6 +40,7 @@ LOAD +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+244 0x0+244 RW +0x200000 DYNAMIC +0x0+1210 0x0+201210 0x0+201210 0x0+130 0x0+130 RW +0x8 TLS +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+60 0x0+80 R +0x1 + PAX_FLAGS +0x0+ 0x0+ 0x0+ 0x0+ 0x0+ +0x8 Section to Segment mapping: Segment Sections... @@ -47,6 +48,7 @@ 01 +.tdata .dynamic .got .got.plt * 02 +.dynamic * 03 +.tdata .tbss * + 04 + Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend