mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
eae25ec577
ld: * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here. (output_bfd_hash_table_free_fn): New variable. (open_output): Save the _bfd_link_hash_table_free function for the output_bfd into output_bfd_hash_table_free_fn. * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn on link_info.hash. * ldlang.h (output_bfd_hash_table_free_fn): Declare. ld/testsuite: * ld-mmix/wrap1.d, ld-mmix/wrap1a.s, ld-mmix/wrap1b.s, ld-mmix/wrap1c.s, ld-mmix/wrap2.d, ld-mmix/wrap3.d, ld-mmix/wrap3a.s, ld-mmix/wrap3b.s, ld-mmix/wrap4.d: New tests.
22 lines
365 B
Makefile
22 lines
365 B
Makefile
#source: start.s
|
|
#source: wrap3a.s
|
|
#source: wrap3b.s
|
|
#source: wrap1c.s
|
|
#ld: -m elf64mmix
|
|
#as: -no-expand
|
|
#objdump: -d
|
|
|
|
.*: file format elf64-mmix
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0+ <(_start|Main)>:
|
|
0: e3fd0001 setl \$253,0x1
|
|
4: f2000001 pushj \$0,8 <__wrap_deal>
|
|
|
|
0+8 <__wrap_deal>:
|
|
8: f0000001 jmp c <deal>
|
|
|
|
0+c <deal>:
|
|
c: fd000000 swym 0,0,0
|