This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: PATCH: PR ld/11218: --gc-sections does not detect unresolved symbol


I tried the patch. This is the error message I get:

/data/t-toolchain/t-20100224/usr/bin/../lib/gcc/armeb-linux-uclibceabi/4.2.0/../../../../armeb-linux-uclibceabi/bin/ld generated: undefined reference to `unresolved_detected_at_runtime_not_at_linktime'
collect2: ld returned 1 exit status

Thanx

Eli Stern

-----Original Message-----
From: H.J. Lu [mailto:hjl.tools@gmail.com] 
Sent: Monday, January 25, 2010 9:26 PM
snip
>
>

Here is a patch.  OK to install?

Thanks.

-- 
H.J.
---
bfd/

2010-01-25  Alan Modra  <amodra@gmail.com>
	    H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11218
	* elflink.c (elf_link_output_extsym): Do not ignore undefined
	symbols with ref_regular set when gc_sections is active.

ld/testsuite/

2010-01-25  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11218
	* ld-gc/dummy.s: New.
	* ld-gc/pr11218-1.c: Likewise.
	* ld-gc/pr11218-2.c: Likewise.
	* ld-gc/pr11218.d: Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]