Add ability for objcopy to insert new symbols into a binary.
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / add-symbol.d
1 #PROG: objcopy
2 #name: objcopy add-symbol
3 #source: symbols.s
4 #objcopy: --add-symbol NEW=0x1234 --add-symbol NEW_DATA=.data:0x4321,local
5 #objdump: --syms
6 # MIPS targets swap the order of the symbols in the output.
7 #not-target: mips-*-* tx39-*-*
8
9 .*: +file format .*
10
11 SYMBOL TABLE:
12 #...
13 0+04321 l[ ]+.data[ ]+0+00 NEW_DATA
14 #...
15 0+01234 g[ ]+\*ABS\*[ ]+0+00 NEW
16 #pass
This page took 0.031219 seconds and 4 git commands to generate.