]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-aarch64/emit-relocs-morello-6b.d
ld: Adjust bounds, base, and size for various symbols
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / emit-relocs-morello-6b.d
index 3d2ca260156ea4e83d99cce8962cf42fe9b19151..943b339a6d1b4350202a4d2716d41c59ef8579b4 100644 (file)
 # since objdump does not show us dynamic relocations on a non-dynamic binary.
 #source: emit-relocs-morello-6.s
 #as: -march=morello+c64
-#ld: -Ttext-segment 0x0 -static
-#objdump: -D -j .rela.dyn -j .got -j .text
+#ld: -Ttext-segment 0x100000 -Temit-relocs-morello-7.ld -static
+#objdump: -D -j .rela.dyn -j .got -j .text -j .data
 
 
 .*:     file format .*
 
 
+Disassembly of section \.text:
+
+0000000000100000 <_start>:
+  100000:      c2400c00        ldr     c0, \[c0, #48\]
+  100004:      c2400800        ldr     c0, \[c0, #32\]
+  100008:      c2401000        ldr     c0, \[c0, #64\]
+  10000c:      c2400400        ldr     c0, \[c0, #16\]
+
 Disassembly of section \.rela\.dyn:
 
-0000000000000000 <__rela_dyn_start>:
-   0:  00010060 .*
-   4:  00000000 .*
-   8:  0000e803 .*
+0000000000100010 <__rela_dyn_start>:
+  100010:      00101030        .*
+  100014:      00000000        .*
+  100018:      0000e803        .*
+  10001c:      00000000        .*
+  100020:      00000001        .*
+  100024:      00000000        .*
+  100028:      00101020        .*
+  10002c:      00000000        .*
+  100030:      0000e803        .*
        \.\.\.
-  18:  00010050 .*
-  1c:  00000000 .*
-  20:  0000e803 .*
+  100040:      00101040        .*
+  100044:      00000000        .*
+  100048:      0000e803        .*
+       \.\.\.
+  100058:      00101010        .*
+  10005c:      00000000        .*
+  100060:      0000e803        .*
        \.\.\.
 
-Disassembly of section \.text:
+Disassembly of section \.data:
+
+0000000000100070 <data_obj>:
+  100070:      0000000a        .*
 
-0000000000000030 <_start>:
-  30:  c2401800        ldr     c0, \[c0, #96\]
-  34:  c2401400        ldr     c0, \[c0, #80\]
+0000000000100074 <data_func>:
+  100074:      0000000a        .*
 
 Disassembly of section \.got:
 
-0000000000010040 <_GLOBAL_OFFSET_TABLE_>:
+0000000000101000 <_GLOBAL_OFFSET_TABLE_>:
        \.\.\.
-   10050:      00000030 .*
-   10054:      00000000 .*
-   10058:      00000101 .*
-   1005c:      00000000 .*
-   10060:      00000031 .*
-   10064:      00000000 .*
-   10068:      00000c01 .*
-   1006c:      00000000 .*
+  101010:      00100075        .*
+  101014:      00000000        .*
+  101018:      00000402        .*
+  10101c:      00000000        .*
+  101020:      00100000        .*
+  101024:      00000000        .*
+  101028:      00105001        .*
+  10102c:      00000000        .*
+  101030:      00100000        .*
+  101034:      00000000        .*
+  101038:      00105001        .*
+  10103c:      00000000        .*
+  101040:      00100070        .*
+  101044:      00000000        .*
+  101048:      00000402        .*
+  10104c:      00000000        .*