diff options
author | Alan Modra <amodra@gmail.com> | 2014-01-22 12:51:19 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-01-22 12:51:19 +1030 |
commit | 7dd9c6eb050bb23bff18b3139589f202d4c63a33 (patch) | |
tree | 38c444910178181f931c7582c436099ab1c1391b /ld/ldlang.h | |
parent | 2edab91c10dcae30a93ce7d9f8088b8b33ee55eb (diff) | |
download | binutils-gdb-7dd9c6eb050bb23bff18b3139589f202d4c63a33.tar.gz |
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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 8c815c67c16..c64ded0445b 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -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 |