mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 23:03:29 +08:00
1fd6d11190
bfd/ * coffgen.c (_bfd_coff_gc_mark_hook): Handle PE weak external symbols with a definition. (_bfd_coff_gc_mark_extra_sections): Fix typo. ld/ * testsuite/ld-pe/pe.exp: New test. * testsuite/ld-pe/weakdef-1.s: New test source. * testsuite/ld-pe/weakdef-1.d: New test.
9 lines
176 B
Makefile
9 lines
176 B
Makefile
#source: weakdef-1.s
|
|
#target: i*86-*-cygwin* i*86-*-pe i*86-*-mingw*
|
|
#ld: -e _start --gc-sections
|
|
#objdump: -d
|
|
|
|
#...
|
|
401003: a1 00 20 40 00 mov 0x402000,%eax
|
|
#pass
|