From: Alan Modra Date: Fri, 5 May 2006 13:08:49 +0000 (+0000) Subject: * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. X-Git-Tag: newlib-csl-sourcerygxx-3_4_4-25~653 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d1b46e8025d11e7120fe71c7cee304ddaa2cd4a2;p=platform%2Fupstream%2Fbinutils.git * ld-powerpc/tlsexetoc.r: Update for correction to tls optimization. * ld-powerpc/tlsexetoc.g: Likewise. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dec2aed..de20832 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 00dc0fe..06be9d1 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 d6664cd..98eda7e 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: