From d1b46e8025d11e7120fe71c7cee304ddaa2cd4a2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 5 May 2006 13:08:49 +0000 Subject: [PATCH] * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. * ld-powerpc/tlsexetoc.g: Likewise. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-powerpc/tlsexetoc.g | 2 +- ld/testsuite/ld-powerpc/tlsexetoc.r | 5 +++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dec2aed1b44..de2083257df 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-05-05 Alan Modra + + * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. + * ld-powerpc/tlsexetoc.g: Likewise. + 2006-05-02 H.J. Lu * ld-cdtest/cdtest-foo.cc (Foo::Foo): Add const to char *. diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.g b/ld/testsuite/ld-powerpc/tlsexetoc.g index 00dc0feb7fe..06be9d15dc6 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.g +++ b/ld/testsuite/ld-powerpc/tlsexetoc.g @@ -7,7 +7,7 @@ .*: +file format elf64-powerpc Contents of section \.got: -.* 00000000 10018558 00000000 00000000 .* +.* 00000000 10018570 00000000 00000000 .* .* 00000000 00000000 00000000 00000000 .* .* 00000000 00000000 00000000 00000001 .* .* 00000000 00000000 00000000 00000001 .* diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r index d6664cdd19a..98eda7e5a6b 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -51,9 +51,10 @@ Program Headers: +04 +\.dynamic +05 +\.tdata \.tbss -Relocation section '\.rela\.dyn' at offset .* contains 2 entries: +Relocation section '\.rela\.dyn' at offset .* contains 3 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend -[0-9a-f ]+R_PPC64_TPREL64 +0+ gd \+ 0 +[0-9a-f ]+R_PPC64_DTPMOD64 +0+ gd \+ 0 +[0-9a-f ]+R_PPC64_DTPREL64 +0+ gd \+ 0 [0-9a-f ]+R_PPC64_DTPMOD64 +0+ ld \+ 0 Relocation section '\.rela\.plt' at offset .* contains 1 entries: -- 2.30.2