forked from Imagelibrary/binutils-gdb
gas * config/tc-rl78.c (rl78_abs_sym): New local variable.
(md_begin): Initialise the new symbol.
(OPIMM): Define the value to be relative to the new symbol and not
the absolute section symbol.
ld * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for
the _-rl78_abs__ symbol.
tests * gas/all/struct.d: Allow for extra symbols in the output.
* gas/macros/test1.d: Likewise.
* gas/elf/elf.exp: Add an rl78 machine.
* gas/elf/sections2e-rl78: New file.
tests * binutils-all/localize-hidden-1.d: Allow for extra symbols in the
output.
* binutils-all/strip-11.d: Skip for the RL78.
21 lines
587 B
Makefile
21 lines
587 B
Makefile
#PROG: objcopy
|
|
#objdump: --syms
|
|
#objcopy: --localize-hidden
|
|
#name: --localize-hidden test 1
|
|
#...
|
|
0+1200 l .*\*ABS\* 0+ \.hidden Lhidden
|
|
0+1300 l .*\*ABS\* 0+ \.internal Linternal
|
|
0+1400 l .*\*ABS\* 0+ \.protected Lprotected
|
|
0+1100 l .*\*ABS\* 0+ Ldefault
|
|
#...
|
|
0+2200 l .*\*ABS\* 0+ \.hidden Ghidden
|
|
0+2300 l .*\*ABS\* 0+ \.internal Ginternal
|
|
0+3200 l .*\*ABS\* 0+ \.hidden Whidden
|
|
0+3300 l .*\*ABS\* 0+ \.internal Winternal
|
|
#...
|
|
0+2100 g .*\*ABS\* 0+ Gdefault
|
|
0+2400 g .*\*ABS\* 0+ \.protected Gprotected
|
|
0+3100 w.*\*ABS\* 0+ Wdefault
|
|
0+3400 w.*\*ABS\* 0+ \.protected Wprotected
|
|
#pass
|