* emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / shared-1.d
index af5494bdeb7598708b21aadcf61361df8d10a149..f04f940ff46ddf4afdb67f95144e49fdaeddf839 100644 (file)
@@ -1,9 +1,9 @@
 #source: ldr1.s
 #source: ldr2.s
 #as: -little
-#ld: -shared -EL
+#ld: -shared -EL -z nocombreloc
 #readelf: -r -x4 -x5
-#target: sh*-*-elf sh*-*-linux*
+#target: sh*-*-elf
 
 # Make sure relocations against global and local symbols with relative and
 # absolute 32-bit relocs don't come out wrong after ld -r.  Remember that
 # about how, when, where and which addends to use.  A DSO must have the
 # same value in the addend as in the data, so either can be used.
 
-Relocation section '\.rela\.text' at offset 0x32c contains 1 entries:
- Offset     Info    Type            Symbol's Value  Symbol's Name          Addend
-00000340  000000a5 R_SH_RELATIVE                                          00000344
+Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
+.*
+00000220  000000a5 R_SH_RELATIVE +00000224
 
 Hex dump of section '\.rela\.text':
-  0x0000032c          00000344 000000a5 00000340 .*
+  0x0000020c          00000224 000000a5 00000220 .*
 
 Hex dump of section '\.text':
-  0x00000338          00000344 00090009 00090009 .*
+  0x00000218          00000224 00090009 00090009 .*
This page took 0.033331 seconds and 4 git commands to generate.