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-10.d | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ld/testsuite/ld-mmix/bpo-10.d') diff --git a/ld/testsuite/ld-mmix/bpo-10.d b/ld/testsuite/ld-mmix/bpo-10.d index 931ed24..576ce98 100644 --- a/ld/testsuite/ld-mmix/bpo-10.d +++ b/ld/testsuite/ld-mmix/bpo-10.d @@ -12,7 +12,9 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+7f8 l +d \.MMIX.reg_contents 0+ (|\.MMIX\.reg_contents) +0+ l df \*ABS\* 0+ .* 0+ l \.init 0+ _start +0+ l df \*ABS\* 0+ .* 2000000000000000 l \*ABS\* 0+ __bss_start 2000000000000000 l \*ABS\* 0+ _edata 2000000000000000 l \*ABS\* 0+ _end -- cgit v1.1