mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1263 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check --just-symbols on DSO.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2005-09-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
PR ld/1263
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
|
||||||
|
--just-symbols on DSO.
|
||||||
|
|
||||||
2005-08-18 Alan Modra <amodra@bigpond.net.au>
|
2005-08-18 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* scripttempl/elf.sc: Remove commented out defines.
|
* scripttempl/elf.sc: Remove commented out defines.
|
||||||
|
@ -124,6 +124,11 @@ gld${EMULATION_NAME}_load_symbols (lang_input_statement_type *entry)
|
|||||||
if (!entry->add_needed)
|
if (!entry->add_needed)
|
||||||
class |= DYN_NO_ADD_NEEDED;
|
class |= DYN_NO_ADD_NEEDED;
|
||||||
|
|
||||||
|
if (entry->just_syms_flag
|
||||||
|
&& (bfd_get_file_flags (entry->the_bfd) & DYNAMIC) != 0)
|
||||||
|
einfo (_("%P%F: --just-symbols may not be used on DSO: %B\n"),
|
||||||
|
entry->the_bfd);
|
||||||
|
|
||||||
if (!class
|
if (!class
|
||||||
|| (bfd_get_file_flags (entry->the_bfd) & DYNAMIC) == 0)
|
|| (bfd_get_file_flags (entry->the_bfd) & DYNAMIC) == 0)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user