In a couple functions (type_update_when_use_rtti_test and
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
e1279d1d
AM
12014-06-16 Alan Modra <amodra@gmail.com>
2
3 * scripttempl/elf.sc: Edit out __rela_iplt symbol assignments from
4 .rel sections, and __rel_iplt from .rela sections.
5 * scripttempl/nds32elf.sc: Likewise.
6 * Makefile.am (ends32*.c) Depend on nds32elf.sc.
7 * Makefile.in: Regenerate.
8
caa4096e
AM
92014-06-13 Alan Modra <amodra@gmail.com>
10
11 PR 17047
12 * ldlang.c (output_bfd_hash_table_free_fn): Delete.
13 (open_output): Don't set it..
14 * ldmain.c (ld_cleanup): ..or call it.
15
c72f2fb2
AM
162014-06-13 Alan Modra <amodra@gmail.com>
17
18 * emultempl/cr16elf.em, * emultempl/elf32.em, * emultempl/genelf.em,
19 * emultempl/m68kcoff.em, * emultempl/m68kelf.em,
20 * emultempl/nds32elf.em, * emultempl/pe.em, * emultempl/pep.em,
21 * ldlang.c, * ldmain.c, * pe-dll.c: Update for bfd.link_next change.
22
07cccc39
AM
232014-06-13 Alan Modra <amodra@gmail.com>
24
25 * Makefile.am (ALL_EMULATION_SOURCES): Add enios2elf.c, enios2linux.c.
26 * Makefile.in: Regenerate.
27
b893397a
AM
282014-06-07 Alan Modra <amodra@gmail.com>
29
30 * ldexp.c (exp_fold_tree_1 <etree_provide>): Make PROVIDEd
31 linker script symbol value override a built-in linker symbol.
32
270c9937
JB
332014-06-05 Joel Brobecker <brobecker@adacore.com>
34
35 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
36 bfd's development.sh.
37 * Makefile.in, configure: Regenerate.
38
ce46249c
AM
392014-06-02 Alan Modra <amodra@gmail.com>
40
41 * emulparams/elf32bfin.sh: Rename from bfin.sh.
42 * emulparams/elf32bfinfd.sh: Update to suit.
ce46249c
AM
43 * emulparams/msp430.sh: Rename from msp430all.sh. Remove
44 MSP430_NAME and msp430X vars.
45 * emulparams/msp430X.sh: New.
ce46249c
AM
46 * emulparams/score3_elf.sh: Rename from scoreelf.sh. Remove
47 SCORE_NAME and score7_elf ARCH setting.
48 * emulparams/score7_elf.sh: New.
49 * Makefile.am (eelf32bfin.c, eelf32bfinfd.c): Update dependencies.
50 (emsp430.c, emsp430X.c, escore3_elf.c, escore7_elf.c): Likewise.
51 * Makefile.in: Regenerate.
52 * genscripts.sh: Delete customizer_script param.
53
77ac17b8
HPN
542014-05-28 Hans-Peter Nilsson <hp@axis.com>
55
56 * Makefile.am: Change all rules with ${GENSCRIPTS}
57 invocations to be just dependencies.
58 ($(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES))
59 (run-genscripts): New rules.
60 * Makefile.in: Regenerate.
61
7a2f2d82
DD
622014-05-27 DJ Delorie <dj@redhat.com>
63
64 * ld/ldemul.h (extra_map_file_text): New field.
65 (ldemul_extra_map_file_text): Declare.
66 * ld/ldemul.c (ldemul_extra_map_file_text): Define.
67 * ld/ldlang.c (lang_map): Call it.
68
69 * ld/emultempl/rxelf.em: Add extra_map_file_text hook.
70 * ld/emultempl/aix.em: Add NULL extra_map_file_text hook.
71 * ld/emultempl/armcoff.em: Likewise.
72 * ld/emultempl/beos.em: Likewise.
73 * ld/emultempl/elf32.em: Likewise.
74 * ld/emultempl/generic.em: Likewise.
75 * ld/emultempl/gld960.em: Likewise.
76 * ld/emultempl/gld960c.em: Likewise.
77 * ld/emultempl/linux.em: Likewise.
78 * ld/emultempl/lnk960.em: Likewise.
79 * ld/emultempl/m68kcoff.em: Likewise.
80 * ld/emultempl/pe.em: Likewise.
81 * ld/emultempl/pep.em: Likewise.
82 * ld/emultempl/sunos.em: Likewise.
83 * ld/emultempl/ticoff.em: Likewise.
84 * ld/emultempl/vanilla.em: Likewise.
85
0ef76c43
AM
862014-05-24 Alan Modra <amodra@gmail.com>
87
88 * ldlang.c (base): Move variable to..
89 * mri.c: ..here, and make static.
90 * ldlang.h (base): Delete declaration.
91
865d0aef
HPN
922014-05-20 Hans-Peter Nilsson <hp@axis.com>
93
94 * Makefile.am (ALL_EMULATION_SOURCES): Add missing eelf32mbel_linux.c.
95 * Makefile.in: Regenerate.
96
93d1b056
AM
972014-05-20 Alan Modra <amodra@gmail.com>
98
99 PR 16952
100 * emulparams/elf32ppccommon.sh (_SDA_BASE_, _SDA2_BASE_): Delete.
101 * emultempl/ppc32elf.em (ppc_before_allocation): Call
102 ppc_elf_maybe_strip_sdata_syms.
103 * ldlang.c (size_input_section): Correct output_offset value
104 for excluded input sections.
105
5febff9b
JM
1062014-05-16 John Marino <binutils@marino.st>
107
108 * configure.tgt: Add /lib to dragonfly NATIVE_LIB_DIRS.
109
fae66359
CLT
1102014-05-11 Chung-Lin Tang <cltang@codesourcery.com>
111
112 * emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(),
113 and gp in PROVIDE_HIDDEN.
114
eae25ec5
HPN
1152014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
116
117 * ldlang.c (lang_finish): Don't call bfd_link_hash_table_free here.
118 (output_bfd_hash_table_free_fn): New variable.
119 (open_output): Save the _bfd_link_hash_table_free function for the
120 output_bfd into output_bfd_hash_table_free_fn.
121 * ldmain.c (ld_cleanup): If set, call output_bfd_hash_table_free_fn
122 on link_info.hash.
123 * ldlang.h (output_bfd_hash_table_free_fn): Declare.
124
6d00b590
AM
1252014-05-02 Alan Modra <amodra@gmail.com>
126
127 * emultempl/metagelf.em: Update bfd target vector naming.
128 * emultempl/nios2elf.em: Likewise.
129 * emultempl/spuelf.em: Likewise.
130 * emultempl/tic6xdsbt.em: Likewise.
131
73589c9d
CS
1322014-04-22 Christian Svensson <blue@cmd.nu>
133
134 * Makefile.am: Remove openrisc and or32 support. Add support for or1k.
135 * configure.tgt: Likewise.
136 * emulparams/elf32or1k.sh: New file.
137 * emulparams/elf32or1k_linux.sh: New file.
138 * emulparams/elf32openrisc.sh: Delete.
139 * emulparams/or32.sh: Delete.
140 * emulparams/or32elf.sh: Delete.
141 * scripttempl/or32.sc: Delete.
142 * Makefile.in: Regenerate.
143
d1c109de
RH
1442014-04-21 Richard Henderson <rth@redhat.com>
145
146 * emultempl/alphaelf.em (alpha_after_parse): Enable 2 relax passes.
147
8056826a
SE
1482014-04-16 Steve Ellcey <sellcey@mips.com>
149
150 * emultempl/elf32.em: Include safe-ctype.h.
151
751e54c9
SE
1522014-04-16 Steve Ellcey <sellcey@mips.com>
153
154 * ldbuildid.c (generate_build_id): Add ATTRIBUTE_UNUSED to size arg.
155
edf84efc
NC
1562014-04-09 Nick Clifton <nickc@redhat.com>
157
158 * Makefile.am (default-manifest.o): Remove rule.
159 (EMUL_EXTRA_BINARIES): Delete.
160 (ALL_EMUL_EXTRA_BINARIES): Delete.
161 (ld_new_DEPENDENCIES): Remove EMUL_EXTRA_BINARIES.
162 (install-data-local): Remove EMUL_EXTRA_BINARIES.
163 * Makefile.in: Regenerate.
164 * configure.in (all_emul_extra_binaries): Delete.
165 (EMUL_EXTRA_BINARIES): Remove.
166 * configure: Regenerate.
167 * configure.tgt (target_extra_binaries): Delete.
168 * emultempl/default-manifest.rc: Delete.
169 * ld.texinfo: Remove discussion of default manifest.
170 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Delete.
171 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Delete.
172
e30d16e9
AM
1732014-04-09 Alan Modra <amodra@gmail.com>
174
175 * emultempl/spuelf.em: Include safe-ctype.h, remove duplicate errno.h.
176 * emultempl/nds32elf.em: Include bfd_stdint.h.
177 * po/POTFILES.in: Regenerate.
178
b4ab4364
AM
1792014-04-09 Alan Modra <amodra@gmail.com>
180
181 * emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
182 (LDEMUL_FINISH): Define.
183
6c1799ad
NC
1842014-04-08 Nick Clifton <nickc@redhat.com>
185
186 * scripttempl/pe.sc (R_RSRC): Remove default manifest.
187 * scripttempl/pep.sc (R_RSRC): Remove default manifest.
188
61e2488c
JT
1892014-04-08 Jon TURNEY <jon.turney@dronecode.org.uk>
190
191 * emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
192 Move code for parsing build-id option and calculating the build-id to...
193 * ldbuildid.c: New file.
194 * ldbuildid.h: New file.
195 * Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
196 files.
197 * Makefile.in: Regenerate.
198 * ld.texinfo: Update --build-id description to mention COFF
199 support.
200 * NEWS: Mention support for COFF build ids.
201 * emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
202 (pecoff_checksum_contents, write_build_id, setup_build_id)
203 (gld_${EMULATION_NAME}_after_open): Handle and implement
204 build-id option.
205 * emultempl/pep.em: Likewise.
206
abc9061b
CC
2072014-04-04 Cary Coutant <ccoutant@google.com>
208
209 PR gold/16804
210 * ld.texinfo: Document optional comma following output section
211 command and overlay command.
212
ffe54b37
AM
2132014-04-04 Alan Modra <amodra@gmail.com>
214
215 * ldlang.c (lang_size_sections_1 <lang_input_section_enum>): Use
216 current "fill", not "output_section_statement->fill".
217
76f0cad6
NC
2182014-03-31 Nick Clifton <nickc@redhat.com>
219
220 PR ld/16744
221 * emultempl/elf32.em (_after_open): Create a .note.GNU-stack
222 section when performing a relocatable link with -z [no]execstack
223 specified.
224
4c6d802e
L
2252014-03-27 H.J. Lu <hongjiu.lu@intel.com>
226
227 PR ld/16756
228 * ldmain.c (symbol_warning): New function.
229 (warning_callback): Use it. Scan all input files for a reference
230 to SYMBOL.
231
8547a0f9 2322014-03-21 Christopher Faylor <me.cygwin2013@cgf.cx>
d0e6d77b
CF
233
234 * ld.texinfo: Document change in handling of --enable-auto-image-base.
235 * emultempl/pe.em (pe_auto_image_base): Set to default base.
236 (gld_${EMULATION_NAME}_list_options): Change usage message to reflect
237 optional --enable-auto-image-base argument.
238 (gld${EMULATION_NAME}_handle_option): Handle optional
239 --enable-auto-image-base argument.
240 (compute_dll_image_base): Eliminate constant. Use pe_auto_image_base.
241
1d63324c
NC
2422014-03-19 Nick Clifton <nickc@redhat.com>
243
244 * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET.
245 * Makefile.in: Regenerate.
246 * emultempl/default-manifest.rc: Fix typo.
247 * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion.
6caf7111 248 (.rsrc): Add SUBALIGN(4). Remove SORT.
1d63324c
NC
249 * scripttempl/pep.sc: Likewise.
250
c712f1e3
CF
2512014-03-17 Christopher Faylor <me.cygwin2014@cgf.cx>
252
253 * Makefile.am: Use host version of windres.
254 * Makefile.in: Regenerate.
255
d4ae5fb0
AM
2562014-03-14 Romain Geissler <romain.geissler@amadeus.com>
257 Alan Modra <amodra@gmail.com>
258
259 * ldlang.h (full_name_provided): New input flag.
260 * ldlang.c (new_afile): Don't use lang_input_file_is_search_file_enum
261 for -l:namespec. Instead use lang_input_file_is_l_enum with
262 full_name_provided flag.
263 * ldlfile.c (ldfile_open_file_search): Don't complete lib name if
264 full_name_provided flag is set.
265 * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive):
266 Handle full_name_provided libraries. Tidy EXTRA_SHLIB_EXTENSION
267 support. Set DT_NEEDED for -l:namespec as namespec.
268 * emultempl/aix.em (ppc_after_open_output): Handle full_name_provided.
269 * emultempl/linux.em (gld${EMULATION_NAME}_open_dynamic_archive):
270 Don't handle full_name_provided libraries.
271 * emultempl/pe.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
272 * emultempl/pep.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
273 * emultempl/vms.em (gld${EMULATION_NAME}_open_dynamic_archive): Ditto.
274
fa47fa92
AM
2752014-03-12 Alan Modra <amodra@gmail.com>
276
277 * Makefile.in: Regenerate.
278
4b95cf5c
AM
2792014-03-05 Alan Modra <amodra@gmail.com>
280
281 Update copyright years.
282
0b55a33e
NC
2832014-03-04 Nick Clifton <nickc@redhat.com>
284
285 * Makefile.am (ALL_EMUL_EXTRA_BINARIES): Remove default-manifest.
286 * Makefile.in: Regenerate.
287
1db37fe6
YG
2882014-02-27 Yuri Gribov <y.gribov@samsung.com>
289
290 * emultempl/armelf.em (OPTION_LONG_PLT): Define.
291 (PARSE_AND_LIST_LONGOPTS): Add long-plt.
292 (PARSE_AND_LIST_OPTIONS): Likewise.
293 (PARSE_AND_LIST_ARGS_CASES): Handle long-plt.
294 * ld.texinfo: Document --long-plt.
295
db434ba0
AM
2962014-02-27 Alan Modra <amodra@gmail.com>
297
298 * emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
299 use ppc32elf.em.
300 * emultempl/ppc32elf.em (ppc_after_open): Don't compile for
301 vxworks.
302 (LDEMUL_AFTER_OPEN): Don't set for vxworks.
303 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
304 -secure-plt, -bss-plt and -sdata-got when vxworks.
305
5063daf7
NC
3062014-02-27 Nick Clifton <nickc@redhat.com>
307
308 * configure.in (all_emul_extra_binaries): New variable. Populated
309 by invoking configure.tgt.
310 (EMUL_EXTRA_BINARIES): New substitution.
311 * configure: Regenerate.
312 * configure.tgt (target_extra_binaries): New variable. Set to
313 default-manifest.o for Cygwin and MinGW targets.
314 * Makefile.am (EMUL_EXTRA_BINARIES): New variable. Initialised
315 by the configure script.
316 (ALL_EMUL_EXTRA_BINARIES): New variable.
317 (default-manifest.o): New rule to build the default manifest.
318 (ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
319 (install-data-local): Add EMUL_EXTRA_BINARIES.
320 * Makefile.in: Regenerate.
321 * ld.texinfo: Document default manifest support.
322 * emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
323 * emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
324 * emultempl/default-manifest.rc: New file.
325 * scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
326 * scripttempl/pep.sc (R_RSRC): Likewise.
327
e3e37035
DM
3282014-02-26 Dan Mick <dan.mick@inktank.com>
329
330 PR ld/16569
331 * ldcref.c (cref_sort_array): Compare unmangled names unless
332 demanglng has been requiested.
333 (output_one_cref): Output unmangled name unless demangling has
334 been requested.
335
0ff2b86e
L
3362014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
337 H.J. Lu <hongjiu.lu@intel.com>
338
339 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): New.
340
7d4c687d
AM
3412014-02-19 Alan Modra <amodra@gmail.com>
342
343 * emultempl/ppc64elf.em (params): Init new field.
344 (ppc_create_output_section_statements): Set params.save_restore_funcs
345 default.
346 (PARSE_AND_LIST_*): Add support for --save-restore-funcs and
347 --no-save-restore-funcs.
348
e7d1c40c
AM
3492014-02-17 Alan Modra <amodra@gmail.com>
350
351 * emultemps/ppc64elf.em (params): New static struct replacing
352 various other static vars. Adjust code throughout file.
353
668e22e5
AM
3542014-02-17 Alan Modra <amodra@gmail.com>
355
356 * emultempl/ppc32elf.em (ppc_after_open_output): Really enable
357 ppc476 workaround for ld -r.
358
795bc6b3
AM
3592014-02-12 Alan Modra <amodra@gmail.com>
360
361 * emultempl/ppc32elf.em (pagesize): New static var.
362 (ppc_after_open_output): Set params.pagesize_p2 from pagesize.
363 (PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.
364
7d0edd4b
AP
3652014-02-11 Andrew Pinski <apinski@cavium.com>
366
367 * emulparams/aarch64linux32.sh (LIBPATH_SUFFIX): Change to ilp32.
368 (ELF_INTERPRETER_NAME): Define.
369 * emulparams/aarch64linux32b.sh (ELF_INTERPRETER_NAME): Define.
370
c1c69e83
AM
3712014-02-10 Alan Modra <amodra@gmail.com>
372
373 * po/ld.pot: Regenerate.
374
5446cbdf
AM
3752014-02-03 Alan Modra <amodra@gmail.com>
376
377 * emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
378 plt_style): Delete. Adjust all refs to instead use..
379 (params): ..this. New variable.
380 (ppc_after_open_output): New function. Tweak params and pass to
381 ppc_elf_link_params.
382 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
383 (ppc_before_allocation): Adjust ppc_elf_tls_setup call. Enable
384 relaxation for ppc476 workaround.
385 (PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
386 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.
387
13075d04
SH
3882014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
389
390 * ld/ld.texinfo: Change ALIGN_WITH_INPUT documentation.
391 * ld/ldlang.c (lang_size_sections_1): Add dotdelta
392 variable which reflects the VMA change due to alignment
393 requirements. Use dotdelta do change the LMA if
394 ALIGN_WITH_INPUT is requested.
395
0a09fb4a
HPN
3962014-02-01 Hans-Peter Nilsson <hp@bitrange.com>
397
398 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Fix typo in
399 call to bfd_set_section_vma exposed by recent bfd_set_section_vma
400 change.
401
78058a5e
SL
4022014-01-30 Sandra Loosemore <sandra@codesourcery.com>
403
404 * Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
405 * Makefile.in: Regenerated.
406 * emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
407 * emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
408 * emultempl/nios2elf.em: New file.
409 * gen-doc.texi (NIOSII): Set.
410 * ld.texinfo (NIOSII): Set.
411
1ade0651
NC
4122014-01-28 Nick Clifton <nickc@redhat.com>
413
414 * Makefile.am: Remove obsolete MSP430 emulations.
415 * configure.tgt: Likewise.
416 * emulparams/msp430all.sh: Likewise.
417 * Makefile.in: Regenerate.
418
d85e71fe
L
4192014-01-24 H.J. Lu <hongjiu.lu@intel.com>
420
421 PR ld/16498
422 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Improve
423 orphaned TLS section handling.
424
d9d94ac8
AM
4252014-01-24 Alan Modra <amodra@gmail.com>
426
427 * ldlang.c (lang_output_section_find_by_flags): Be careful to
428 test look->bfd_section->flags if available rather than
429 look->flags. Separate SEC_THREAD_LOCAL handling from
430 SEC_READONLY loop, and rewrite.
431
16e4ecc0
AM
4322014-01-22 Alan Modra <amodra@gmail.com>
433
434 * ldlang.c (asneeded_list_head, asneeded_list_tail): New vars.
435 (lang_init): Initialise them.
436 (lang_print_asneeded): New function.
437 (lang_process): Call lang_print_asneeded.
438 * ldlang.h (struct asneeded_minfo): New.
439 (asneeded_list_tail): Declare.
440 * ldmain.c (add_archive_element): Improve archive map heading.
441 * ldmisc.c (minfo): Stash --as-needed info.
442
7dd9c6eb
AM
4432014-01-22 Alan Modra <amodra@gmail.com>
444
445 * ld.h (struct map_symbol_def): Move to..
446 * ldlang.h: ..here.
447 * ldlang.c (print_assignment): Don't set expld.assign_name to dot.
448
2edab91c
AM
4492014-01-22 Alan Modra <amodra@gmail.com>
450
451 * ld.texinfo (Output Section Discarding): Mention assigning to dot
452 as a way of keeping otherwise empty sections.
453 * ldexp.c (is_dot, is_value, is_sym_value, is_dot_ne_0,
454 is_dot_plus_0, is_align_conditional): New predicates.
455 (exp_fold_tree_1): Set SEC_KEEP when assigning to dot inside an
456 output section, except for some special cases.
457 * scripttempl/elfmicroblaze.sc: Use canonical form to align at
458 end of .heap and .stack.
459
5a4f2336
MS
4602014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
461
462 * emulparams/aarch64linuxb.sh (ELF_INTERPRETER_NAME): Define.
463
30feb358
MS
4642014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com>
465
466 * emulparams/aarch64linux.sh (ELF_INTERPRETER_NAME): Define.
467
fa72205c
AM
4682014-01-20 Alan Modra <amodra@gmail.com>
469
470 * ldlang.h (struct lang_definedness_hash_entry): Add by_object and
471 by_script. Make iteration a single bit field.
472 (lang_track_definedness, lang_symbol_definition_iteration): Delete.
473 (lang_symbol_defined): Declare.
474 * ldlang.c (lang_statement_iteration): Expand comment a little.
475 (lang_init <lang_definedness_table>): Make it bigger.
476 (lang_track_definedness, lang_symbol_definition): Delete.
477 (lang_definedness_newfunc): Update.
478 (lang_symbol_defined): New function.
479 (lang_update_definedness): Create entries here. Do track whether
480 script definition of symbol is valid, even when also defined in
481 an object file.
482 * ldexp.c (fold_name <DEFINED>): Update.
483 (fold_name <NAME>): Allow self-assignment for absolute symbols
484 defined in a linker script.
485
24ef1aa7
GM
4862014-01-20 Guy Martin <gmsoft@tuxicoman.be>
487 Alan Modra <amodra@gmail.com>
488
489 * ldlang.h (lang_output_section_get): Define.
490 * ldlang.c (lang_output_section_get): Likewise.
491 (init_os): Set the output_section userdata to the output
492 section statement.
493 * emultempl/hppaelf.em: Use lang_output_section_get instead of
494 lang_output_section_find where applicable.
495 * emultempl/aarch64elf.em: Likewise.
496 * emultempl/aix.em: Likewise.
497 * emultempl/armelf.em: Likewise.
498 * emultempl/m68hc1xelf.em: Likewise.
499 * emultempl/metagelf.em: Likewise.
500 * emultempl/mipself.em: Likewise.
501 * emultempl/ppc64elf.em: Likewise.
502 * emultempl/spuelf.em: Likewise.
503
7225345d
AM
5042014-01-17 Alan Modra <amodra@gmail.com>
505
506 * genscripts.sh (COMPILE_IN): Don't set if already set.
507 * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set
508 COMPILE_IN=no.
509 * emulparams/nds32elf16m.sh: Likewise.
510 * emulparams/nds32elf_linux.sh: Likewise.
511 * emultempl/aix.em: Test COMPILE_IN value is "yes".
512 * emultempl/armcoff.em: Likewise.
513 * emultempl/elf32.em: Likewise.
514 * emultempl/generic.em: Likewise.
515 * emultempl/gld960.em: Likewise.
516 * emultempl/gld960c.em: Likewise.
517 * emultempl/linux.em: Likewise.
518 * emultempl/lnk960.em: Likewise.
519 * emultempl/m68kcoff.em: Likewise.
520 * emultempl/sunos.em: Likewise.
521 * emultempl/ticoff.em: Likewise.
522
f6f6c679
L
5232014-01-16 H.J. Lu <hongjiu.lu@intel.com>
524
525 PR ld/16456
526 * genscripts.sh: Don't search directory with LIBPATH_SUFFIX_SKIP
527 suffix.
528 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX_SKIP): Set to 64
529 for elf32_x86_64 emulation.
530 * emulparams/elf_i386.sh (LIBPATH_SUFFIX_SKIP): Set to 64
531 for elf_i386 emulation.
532
6fcc66ab
AM
5332014-01-16 Alan Modra <amodra@gmail.com>
534
535 * ld.h (fat_section_userdata_type, get_userdata): Move to..
536 * ldlang.h (input_section_userdata_type, get_userdata): ..here.
537 * ldlang.c (init_map_userdata): Delete. Fold into..
538 (sort_def_symbol): ..here. Don't attach input section userdata
539 to output sections or global bfd sections.
540 (lang_map): Don't pre-allocate input section userdata.
541 (init_os): Don't allocate userdata for output sections.
542 (print_all_symbols): Update.
543
f9c316c4
L
5442014-01-15 H.J. Lu <hongjiu.lu@intel.com>
545
546 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
547 Silence uninitialized warning on ehdr_start_save with older
548 GCC.
549
4199e3b8
AM
5502014-01-15 Alan Modra <amodra@gmail.com>
551
552 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Define
553 __ehdr_start before size_dynamic_sections and restore afterwards.
554
eec2f3ed
AM
5552014-01-10 Alan Modra <amodra@gmail.com>
556
557 PR ld/14207
558 PR ld/16322
559 PR binutils/16323
560 * ldlang.c (lang_size_sections): Remove unneeded RELRO base
561 adjust. Tidy comments.
562 * ld.texinfo (DATA_SEGMENT_RELRO_END): Correct description.
563
d1e1519e
HPN
5642014-01-10 Hans-Peter Nilsson <hp@axis.com>
565
566 * emulparams/crislinux.sh (COMMONPAGESIZE): Define.
567
43a8475c
L
5682014-01-08 H.J. Lu <hongjiu.lu@intel.com>
569
570 PR ld/14207
571 PR ld/16322
572 PR binutils/16323
573 * ldlang.c (lang_size_sections): Properly align RELRO base.
574
221fd5d5
L
5752014-01-08 H.J. Lu <hongjiu.lu@intel.com>
576
577 * ldver.c (ldversion): Update copyright year to 2014.
578
5fb776a6 579For older changes see ChangeLog-2013
252b5132 580\f
5fb776a6 581Copyright (C) 2014 Free Software Foundation, Inc.
752937aa
NC
582
583Copying and distribution of this file, with or without modification,
584are permitted in any medium without royalty provided the copyright
585notice and this notice are preserved.
586
252b5132
RH
587Local Variables:
588mode: change-log
589left-margin: 8
590fill-column: 74
591version-control: never
592End:
This page took 0.859545 seconds and 4 git commands to generate.