binutils-gdb/ld/testsuite/ld-csky/hilo16.d
Cooper Qu 1b03c32c3b CSKY: Change default linker script for elf toolchain.
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
2020-10-26 17:13:21 +08:00

15 lines
282 B
Makefile

#name: address hi16/lo16 relocations
#source: hilo16.s
#source: hilo16_symbol.s
#ld: -e __start
#objdump: -dr
.*: file format .*
Disassembly of section .text:
[0-9a-f]+ <__start>:
\s*[0-9a-f]+: ea21dead movih r1, 57005
\s*[0-9a-f]+: ec21beef ori r1, r1, 48879