old-cross-binutils/binutils/testsuite/binutils-all/note-1.d
Nathan Sidwell 0930eddd65 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
sections.

	testsuite/
	* binutils-all/note-1.d: New.
	* binutils-all/objcopy.exp: Add it.
2010-02-01 09:59:46 +00:00

12 lines
248 B
Makefile

#PROG: objcopy
#readelf: -S --wide
#objcopy: --add-section .note=$srcdir/note-1.d
#name: add notes section
#source: copytest.s
There are .*
Section Headers:
#...
\[[ 0-9]*\] .note NOTE 0*0000000 0*...... 0*000... .*
#...