From cf7f2f7151d2c6c8489bae8238135762f5408df9 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 12 Sep 1995 20:34:49 +0000 Subject: [PATCH] * ldmain.c (struct warning_callback_info): Define. (warning_callback): Add new parameter symbol. Call warning_find_reloc to try to find the section and VMA. (warning_find_reloc): New static function. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Pass NULL as symbol parameter to warning callback. --- ld/ChangeLog | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7b92b2a3c0e..62b890e48e0 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,4 +1,4 @@ -Thu Sep 7 12:50:49 1995 steve chamberlain +Thu Sep 12 12:50:49 1995 steve chamberlain * scripttemp/pe.sc: Allow both spellings of .ctors/.dtors. Start .text section on the right boundary. Always align @@ -6,6 +6,13 @@ Thu Sep 7 12:50:49 1995 steve chamberlain Tue Sep 12 12:24:17 1995 Ian Lance Taylor + * ldmain.c (struct warning_callback_info): Define. + (warning_callback): Add new parameter symbol. Call + warning_find_reloc to try to find the section and VMA. + (warning_find_reloc): New static function. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Pass NULL as symbol parameter to warning callback. + * ld.texinfo: Clarify -L option. * ldlang.c (lang_one_common): Add cast to avoid warning. -- 2.30.2