mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
Miscellaneous ld tidies
Localise a struct, prevent an unneeded symbol lookup, and fix a testcase. ld/ * ld.h (struct map_symbol_def): Move to.. * ldlang.h: ..here. * ldlang.c (print_assignment): Don't set expld.assign_name to dot. ld/testsuite/ * ld-scripts/pr14962-2.d: Correct target triple.
This commit is contained in:
@@ -313,6 +313,11 @@ typedef struct
|
||||
asection *section;
|
||||
} lang_input_section_type;
|
||||
|
||||
struct map_symbol_def {
|
||||
struct bfd_link_hash_entry *entry;
|
||||
struct map_symbol_def *next;
|
||||
};
|
||||
|
||||
/* For input sections, when writing a map file: head / tail of a linked
|
||||
list of hash table entries for symbols defined in this section. */
|
||||
typedef struct input_section_userdata_struct
|
||||
|
||||
Reference in New Issue
Block a user