From 4c6d802e592b3762a149c343bc5722e065e57841 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 26 Mar 2014 12:18:59 -0700 Subject: Scan all input files for symbol reference warning This patch scans all input files for symbol reference warning if the symbol reference doesn't exist in the current input file. ld/ PR ld/16756 * ldmain.c (symbol_warning): New function. (warning_callback): Use it. Scan all input files for a reference to SYMBOL. ld/testsuite/ PR ld/16756 * ld-plugin/lto.exp: Expect filename and line number for PR ld/12760 test. --- ld/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index 292459b..1c691fe 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2014-03-27 H.J. Lu + + PR ld/16756 + * ldmain.c (symbol_warning): New function. + (warning_callback): Use it. Scan all input files for a reference + to SYMBOL. + 2014-03-17 Christopher Faylor * ld.texinfo: Document change in handling of --enable-auto-image-base. -- cgit v1.1