mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
8b89121d44
* binutils-all/add-symbol.d: Run test on mips. Support either order of NEW and NEWDATA symbols.
15 lines
354 B
Makefile
15 lines
354 B
Makefile
#PROG: objcopy
|
|
#name: objcopy add-symbol
|
|
#source: symbols.s
|
|
#objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local
|
|
#objdump: --syms
|
|
|
|
.*: +file format .*
|
|
|
|
SYMBOL TABLE:
|
|
#...
|
|
(0+04321 l[ ]+.data[ ]+0+00 NEW_DATA|0+01234 g[ ]+\*ABS\*[ ]+0+00 NEW)
|
|
#...
|
|
(0+01234 g[ ]+\*ABS\*[ ]+0+00 NEW|0+04321 l[ ]+.data[ ]+0+00 NEW_DATA)
|
|
#pass
|