Enable ppc476 workaround for ld -r.
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12014-02-12 Alan Modra <amodra@gmail.com>
2
3 * emultempl/ppc32elf.em (pagesize): New static var.
4 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
5 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
6
72014-02-11 Andrew Pinski <apinski@cavium.com>
8
9 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
10 (ELF_INTERPRETER_NAME): Define.
11 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
12
132014-02-10 Alan Modra <amodra@gmail.com>
14
15 * po/ld.pot: Regenerate.
16
172014-02-03 Alan Modra <amodra@gmail.com>
18
19 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
20 plt_style): Delete. Adjust all refs to instead use..
21 (params): ..this. New variable.
22 (ppc_after_open_output): New function. Tweak params and pass to
23 ppc_elf_link_params.
24 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
25 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
26 relaxation for ppc476 workaround.
27 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
28 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
29
302014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
31
32 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
33 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
34 variable which reflects the VMA change due to alignment
35 requirements. Use dotdelta do change the LMA if
36 ALIGN_WITH_INPUT is requested.
37
382014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
39
40 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
41 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
42 change.
43
442014-01-30 Sandra Loosemore <sandra@codesourcery.com>
45
46 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
47 * Makefile.in: Regenerated.
48 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
49 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
50 * emultempl/nios2elf.em: New file.
51 * gen-doc.texi (NIOSII): Set.
52 * ld.texinfo (NIOSII): Set.
53
542014-01-28 Nick Clifton <nickc@redhat.com>
55
56 * Makefile.am: Remove obsolete MSP430 emulations.
57 * configure.tgt: Likewise.
58 * emulparams/msp430all.sh: Likewise.
59 * Makefile.in: Regenerate.
60
612014-01-24 H.J. Lu <hongjiu.lu@intel.com>
62
63 PR ld/16498
64 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
65 orphaned TLS section handling.
66
672014-01-24 Alan Modra <amodra@gmail.com>
68
69 * ldlang.c (lang_output_section_find_by_flags): Be careful to
70 test look->bfd_section->flags if available rather than
71 look->flags. Separate SEC_THREAD_LOCAL handling from
72 SEC_READONLY loop, and rewrite.
73
742014-01-22 Alan Modra <amodra@gmail.com>
75
76 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
77 (lang_init): Initialise them.
78 (lang_print_asneeded): New function.
79 (lang_process): Call lang_print_asneeded.
80 * ldlang.h (struct asneeded_minfo): New.
81 (asneeded_list_tail): Declare.
82 * ldmain.c (add_archive_element): Improve archive map heading.
83 * ldmisc.c (minfo): Stash --as-needed info.
84
852014-01-22 Alan Modra <amodra@gmail.com>
86
87 * ld.h (struct map_symbol_def): Move to..
88 * ldlang.h: ..here.
89 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
90
912014-01-22 Alan Modra <amodra@gmail.com>
92
93 * ld.texinfo (Output Section Discarding): Mention assigning to dot
94 as a way of keeping otherwise empty sections.
95 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
96 is_dot_plus_0, is_align_conditional): New predicates.
97 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
98 output section, except for some special cases.
99 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
100 end of .heap and .stack.
101
1022014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
103
104 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
105
1062014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
107
108 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
109
1102014-01-20 Alan Modra <amodra@gmail.com>
111
112 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
113 by_script. Make iteration a single bit field.
114 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
115 (lang_symbol_defined): Declare.
116 * ldlang.c (lang_statement_iteration): Expand comment a little.
117 (lang_init <lang_definedness_table>): Make it bigger.
118 (lang_track_definedness, lang_symbol_definition): Delete.
119 (lang_definedness_newfunc): Update.
120 (lang_symbol_defined): New function.
121 (lang_update_definedness): Create entries here. Do track whether
122 script definition of symbol is valid, even when also defined in
123 an object file.
124 * ldexp.c (fold_name <DEFINED>): Update.
125 (fold_name <NAME>): Allow self-assignment for absolute symbols
126 defined in a linker script.
127
1282014-01-20 Guy Martin <gmsoft@tuxicoman.be>
129 Alan Modra <amodra@gmail.com>
130
131 * ldlang.h (lang_output_section_get): Define.
132 * ldlang.c (lang_output_section_get): Likewise.
133 (init_os): Set the output_section userdata to the output
134 section statement.
135 * emultempl/hppaelf.em: Use lang_output_section_get instead of
136 lang_output_section_find where applicable.
137 * emultempl/aarch64elf.em: Likewise.
138 * emultempl/aix.em: Likewise.
139 * emultempl/armelf.em: Likewise.
140 * emultempl/m68hc1xelf.em: Likewise.
141 * emultempl/metagelf.em: Likewise.
142 * emultempl/mipself.em: Likewise.
143 * emultempl/ppc64elf.em: Likewise.
144 * emultempl/spuelf.em: Likewise.
145
1462014-01-17 Alan Modra <amodra@gmail.com>
147
148 * genscripts.sh (COMPILE_IN): Don't set if already set.
149 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
150 COMPILE_IN=no.
151 * emulparams/nds32elf16m.sh: Likewise.
152 * emulparams/nds32elf_linux.sh: Likewise.
153 * emultempl/aix.em: Test COMPILE_IN value is "yes".
154 * emultempl/armcoff.em: Likewise.
155 * emultempl/elf32.em: Likewise.
156 * emultempl/generic.em: Likewise.
157 * emultempl/gld960.em: Likewise.
158 * emultempl/gld960c.em: Likewise.
159 * emultempl/linux.em: Likewise.
160 * emultempl/lnk960.em: Likewise.
161 * emultempl/m68kcoff.em: Likewise.
162 * emultempl/sunos.em: Likewise.
163 * emultempl/ticoff.em: Likewise.
164
1652014-01-16 H.J. Lu <hongjiu.lu@intel.com>
166
167 PR ld/16456
168 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
169 suffix.
170 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
171 for elf32_x86_64 emulation.
172 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
173 for elf_i386 emulation.
174
1752014-01-16 Alan Modra <amodra@gmail.com>
176
177 * ld.h (fat_section_userdata_type, get_userdata): Move to..
178 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
179 * ldlang.c (init_map_userdata): Delete. Fold into..
180 (sort_def_symbol): ..here. Don't attach input section userdata
181 to output sections or global bfd sections.
182 (lang_map): Don't pre-allocate input section userdata.
183 (init_os): Don't allocate userdata for output sections.
184 (print_all_symbols): Update.
185
1862014-01-15 H.J. Lu <hongjiu.lu@intel.com>
187
188 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
189 Silence uninitialized warning on ehdr_start_save with older
190 GCC.
191
1922014-01-15 Alan Modra <amodra@gmail.com>
193
194 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
195 __ehdr_start before size_dynamic_sections and restore afterwards.
196
1972014-01-10 Alan Modra <amodra@gmail.com>
198
199 PR ld/14207
200 PR ld/16322
201 PR binutils/16323
202 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
203 adjust. Tidy comments.
204 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
205
2062014-01-10 Hans-Peter Nilsson <hp@axis.com>
207
208 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
209
2102014-01-08 H.J. Lu <hongjiu.lu@intel.com>
211
212 PR ld/14207
213 PR ld/16322
214 PR binutils/16323
215 * ldlang.c (lang_size_sections): Properly align RELRO base.
216
2172014-01-08 H.J. Lu <hongjiu.lu@intel.com>
218
219 * ldver.c (ldversion): Update copyright year to 2014.
220
221For older changes see ChangeLog-2013
222\f
223Copyright (C) 2014 Free Software Foundation, Inc.
224
225Copying and distribution of this file, with or without modification,
226are permitted in any medium without royalty provided the copyright
227notice and this notice are preserved.
228
229Local Variables:
230mode: change-log
231left-margin: 8
232fill-column: 74
233version-control: never
234End:
This page took 0.023305 seconds and 4 git commands to generate.