
ld/ * emulparams/cskyelf.sh (TEXT_START_ADDR): Change to 0x60000000. (DATA_ADDR) : Define. (OTHER_SYMBOLS) : Define. (OTHER_BSS_SYMBOLS) : Set symbol __sbss__. (OTHER_BSS_END_SYMBOLS) : Set symbol __ebss__. * ld/emulparams/cskyelf_linux.sh : Don't include cskyelf.sh. * testsuite/ld-csky/data.d : Fix '/s*' to match spaces. * testsuite/ld-csky/hilo16.d : Likewise. Change-Id: Ia29b32eab4157ae5be0fc0b6125fb5b7d9dac939
18 lines
683 B
Makefile
18 lines
683 B
Makefile
#name: GB(r28) relative .data section references
|
|
#source: data.s
|
|
#source: data_section.s
|
|
#ld: -e __start
|
|
#objdump: -dr
|
|
|
|
.*: file format .*
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
[0-9a-f]+ <__start>:
|
|
\s*[0-9a-f]+: cd400004 lrs.b r10, \[0x4\] // the offset is based on .data
|
|
\s*[0-9a-f]+: cd440002 lrs.h r10, \[0x2\] // the offset is based on .data
|
|
\s*[0-9a-f]+: cd480001 lrs.w r10, \[0x1\] // the offset is based on .data
|
|
\s*[0-9a-f]+: cd700004 srs.b r11, \[0x4\] // the offset is based on .data
|
|
\s*[0-9a-f]+: cd740002 srs.h r11, \[0x2\] // the offset is based on .data
|
|
\s*[0-9a-f]+: cd780001 srs.w r11, \[0x1\] // the offset is based on .data
|