PowerPC GOT_PCREL34 optimisation
[deliverable/binutils-gdb.git] / ld / testsuite / ld-powerpc / powerpc.exp
index a2dcfdce898a31858c517e0ef730e13c0a85beea..658f319739e611d230126c522187dd73db7b870d 100644 (file)
@@ -260,6 +260,10 @@ set ppc64elftests {
     {"notoc ext" "" "" "-a64" {ext.s} {} ""}
     {"notoc" "-melf64ppc --no-plt-localentry -T ext.lnk" "" "-a64" {notoc.s}
        {{objdump -d notoc.d} {readelf {-wf -W} notoc.wf}} "notoc"}
+    {"pcrelopt" "-melf64ppc --hash-style=gnu" "tmpdir/symtocbase.so"
+       "-a64 -mfuture" {pcrelopt.s}
+       {{objdump {-d -Mfuture} pcrelopt.d}
+        {readelf {-S --wide} pcrelopt.sec}} "pcrelopt" }
 }
 
 set ppceabitests {
This page took 0.024916 seconds and 4 git commands to generate.