binutils-gdb/ld/testsuite/ld-elf/global1.d
H.J. Lu b039ef0457 Implement ELF linker -z global option
ld/

	* ld.texinfo: Document "-z global".

	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support
	"-z global".
	(gld${EMULATION_NAME}_list_options): Likewise.

ld/testsuite/

	* ld-elf/global1.d: New file.
2012-11-20 22:16:05 +00:00

9 lines
135 B
Makefile

#source: start.s
#ld: -shared -z global
#readelf: -d
#target: *-*-linux* *-*-gnu*
#...
0x0*6ffffffb \(FLAGS_1\) *Flags: GLOBAL
#pass