aff1a65ecb
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.
14 lines
306 B
Makefile
14 lines
306 B
Makefile
#PROG: strip
|
|
#source: empty.s
|
|
#strip: -g
|
|
#readelf: -S --wide
|
|
#name: strip -g empty file
|
|
# The RL78 linker scripts always PROVIDE a __rl78_abs__ symbol so the stripped symbol table is never empty.
|
|
#not-target: rl78-*-*
|
|
|
|
#...
|
|
\[ 0\] +NULL +0+ .*
|
|
#...
|
|
\[ .\] \.shstrtab +STRTAB +0+ .*
|
|
Key to Flags:
|
|
#pass
|