Add rdynamic-1 test
[binutils-gdb.git] / ld / ChangeLog
1 2014-01-28 Nick Clifton <nickc@redhat.com>
2
3 * Makefile.am: Remove obsolete MSP430 emulations.
4 * configure.tgt: Likewise.
5 * emulparams/msp430all.sh: Likewise.
6 * Makefile.in: Regenerate.
7
8 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
9
10 PR ld/16498
11 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
12 orphaned TLS section handling.
13
14 2014-01-24 Alan Modra <amodra@gmail.com>
15
16 * ldlang.c (lang_output_section_find_by_flags): Be careful to
17 test look->bfd_section->flags if available rather than
18 look->flags. Separate SEC_THREAD_LOCAL handling from
19 SEC_READONLY loop, and rewrite.
20
21 2014-01-22 Alan Modra <amodra@gmail.com>
22
23 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
24 (lang_init): Initialise them.
25 (lang_print_asneeded): New function.
26 (lang_process): Call lang_print_asneeded.
27 * ldlang.h (struct asneeded_minfo): New.
28 (asneeded_list_tail): Declare.
29 * ldmain.c (add_archive_element): Improve archive map heading.
30 * ldmisc.c (minfo): Stash --as-needed info.
31
32 2014-01-22 Alan Modra <amodra@gmail.com>
33
34 * ld.h (struct map_symbol_def): Move to..
35 * ldlang.h: ..here.
36 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
37
38 2014-01-22 Alan Modra <amodra@gmail.com>
39
40 * ld.texinfo (Output Section Discarding): Mention assigning to dot
41 as a way of keeping otherwise empty sections.
42 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
43 is_dot_plus_0, is_align_conditional): New predicates.
44 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
45 output section, except for some special cases.
46 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
47 end of .heap and .stack.
48
49 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
50
51 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
52
53 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
54
55 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
56
57 2014-01-20 Alan Modra <amodra@gmail.com>
58
59 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
60 by_script. Make iteration a single bit field.
61 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
62 (lang_symbol_defined): Declare.
63 * ldlang.c (lang_statement_iteration): Expand comment a little.
64 (lang_init <lang_definedness_table>): Make it bigger.
65 (lang_track_definedness, lang_symbol_definition): Delete.
66 (lang_definedness_newfunc): Update.
67 (lang_symbol_defined): New function.
68 (lang_update_definedness): Create entries here. Do track whether
69 script definition of symbol is valid, even when also defined in
70 an object file.
71 * ldexp.c (fold_name <DEFINED>): Update.
72 (fold_name <NAME>): Allow self-assignment for absolute symbols
73 defined in a linker script.
74
75 2014-01-20 Guy Martin <gmsoft@tuxicoman.be>
76 Alan Modra <amodra@gmail.com>
77
78 * ldlang.h (lang_output_section_get): Define.
79 * ldlang.c (lang_output_section_get): Likewise.
80 (init_os): Set the output_section userdata to the output
81 section statement.
82 * emultempl/hppaelf.em: Use lang_output_section_get instead of
83 lang_output_section_find where applicable.
84 * emultempl/aarch64elf.em: Likewise.
85 * emultempl/aix.em: Likewise.
86 * emultempl/armelf.em: Likewise.
87 * emultempl/m68hc1xelf.em: Likewise.
88 * emultempl/metagelf.em: Likewise.
89 * emultempl/mipself.em: Likewise.
90 * emultempl/ppc64elf.em: Likewise.
91 * emultempl/spuelf.em: Likewise.
92
93 2014-01-17 Alan Modra <amodra@gmail.com>
94
95 * genscripts.sh (COMPILE_IN): Don't set if already set.
96 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
97 COMPILE_IN=no.
98 * emulparams/nds32elf16m.sh: Likewise.
99 * emulparams/nds32elf_linux.sh: Likewise.
100 * emultempl/aix.em: Test COMPILE_IN value is "yes".
101 * emultempl/armcoff.em: Likewise.
102 * emultempl/elf32.em: Likewise.
103 * emultempl/generic.em: Likewise.
104 * emultempl/gld960.em: Likewise.
105 * emultempl/gld960c.em: Likewise.
106 * emultempl/linux.em: Likewise.
107 * emultempl/lnk960.em: Likewise.
108 * emultempl/m68kcoff.em: Likewise.
109 * emultempl/sunos.em: Likewise.
110 * emultempl/ticoff.em: Likewise.
111
112 2014-01-16 H.J. Lu <hongjiu.lu@intel.com>
113
114 PR ld/16456
115 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
116 suffix.
117 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
118 for elf32_x86_64 emulation.
119 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
120 for elf_i386 emulation.
121
122 2014-01-16 Alan Modra <amodra@gmail.com>
123
124 * ld.h (fat_section_userdata_type, get_userdata): Move to..
125 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
126 * ldlang.c (init_map_userdata): Delete. Fold into..
127 (sort_def_symbol): ..here. Don't attach input section userdata
128 to output sections or global bfd sections.
129 (lang_map): Don't pre-allocate input section userdata.
130 (init_os): Don't allocate userdata for output sections.
131 (print_all_symbols): Update.
132
133 2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
134
135 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
136 Silence uninitialized warning on ehdr_start_save with older
137 GCC.
138
139 2014-01-15 Alan Modra <amodra@gmail.com>
140
141 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
142 __ehdr_start before size_dynamic_sections and restore afterwards.
143
144 2014-01-10 Alan Modra <amodra@gmail.com>
145
146 PR ld/14207
147 PR ld/16322
148 PR binutils/16323
149 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
150 adjust. Tidy comments.
151 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
152
153 2014-01-10 Hans-Peter Nilsson <hp@axis.com>
154
155 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
156
157 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
158
159 PR ld/14207
160 PR ld/16322
161 PR binutils/16323
162 * ldlang.c (lang_size_sections): Properly align RELRO base.
163
164 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
165
166 * ldver.c (ldversion): Update copyright year to 2014.
167
168 For older changes see ChangeLog-2013
169 \f
170 Copyright (C) 2014 Free Software Foundation, Inc.
171
172 Copying and distribution of this file, with or without modification,
173 are permitted in any medium without royalty provided the copyright
174 notice and this notice are preserved.
175
176 Local Variables:
177 mode: change-log
178 left-margin: 8
179 fill-column: 74
180 version-control: never
181 End: