diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-03-05 22:43:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-03-05 22:43:39 +0000 |
commit | 9835ffab2f41a3eea894df5d85ec2387426d8081 (patch) | |
tree | 3278dcc1d4728deb3a9a006fa22f84f5d7269f0f /ld/ld.h | |
parent | fb82c2ad06c60b41471b75ba6c7fe37d0707051f (diff) | |
download | binutils-redhat-9835ffab2f41a3eea894df5d85ec2387426d8081.tar.gz |
* ldlang.h (struct lang_input_statement_flags): New, extract from..
(lang_input_statement_type): ..here. New field "flags".
(input_flags): Declare.
(missing_file): Delete.
* ldmain.h (whole_archive): Delete.
(add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
* ld.h (ld_config_type <dynamic_link>): Delete.
* ldmain.c (whole_archive): Delete.
(add_DT_NEEDED_for_regular, add_DT_NEEDED_for_dynamic): Delete.
* ldlang.c (missing_file, ldlang_sysrooted_script): Delete.
(input_flags): New variable. Replace all uses of config.dynamic_link,
missing_file, ldlang_sysrooted_script, whole_archive,
add_DT_NEEDED_for_regular and add_DT_NEEDED_for_dynamic with fields
from here.
* ldfile.c: Likewise.
* ldgram.y: Likewise.
* ldmain.c: Likewise.
* ldwrite.c: Likewise.
* lexsup.c: Likewise.
* plugin.c: Likewise.
* emultempl/aix.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/pep.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/sunos.em: Likewise.
* emultempl/vms.em: Likewise.
* ldlang.c (new_afile): Use memset to init zero fields.
(load_symbols): Simplify save and restore of flags around command
file processing.
* ldfile.c (is_sysrooted_pathname): Tidy.
Diffstat (limited to 'ld/ld.h')
-rw-r--r-- | ld/ld.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -250,9 +250,6 @@ typedef struct { bfd_boolean magic_demand_paged; bfd_boolean make_executable; - /* If TRUE, doing a dynamic link. */ - bfd_boolean dynamic_link; - /* If TRUE, -shared is supported. */ /* ??? A better way to do this is perhaps to define this in the ld_emulation_xfer_struct since this is really a target dependent |