From ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 6 Jun 2012 10:50:18 +0000 Subject: bfd/ * elflink.c (elf_link_input_bfd): Provide a file symbol for each input file with local syms, if the input lacks such. (bfd_elf_final_link): Add a file symbol to mark end of locals for which we can associate with input files. (struct elf_final_link_info): Add filesym_count field. (struct elf_outext_info): Add need_second_pass and second_pass. (elf_link_output_extsym): Detect symbols defined in the output file, emit them on second pass over locals. ld/testsuite/ Update to suit added STT_FILE symbols. --- ld/testsuite/ld-mmix/bpo-9.d | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/testsuite/ld-mmix/bpo-9.d') diff --git a/ld/testsuite/ld-mmix/bpo-9.d b/ld/testsuite/ld-mmix/bpo-9.d index 4273f34..773943e 100644 --- a/ld/testsuite/ld-mmix/bpo-9.d +++ b/ld/testsuite/ld-mmix/bpo-9.d @@ -13,6 +13,7 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+10 l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) +#... 0+ l \.init 0+ _start #... 0+14 g \.text 0+ x -- cgit v1.1