Fix various -Wpointer-sign warnings in darwin-nat.c
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1ae5c3ae
NC
12013-04-30 Nick Clifton <nickc@redhat.com>
2
3 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
4 are sorted by descending order of alignment.
5
b40bf0a2
NC
62013-04-29 Nick Clifton <nickc@redhat.com>
7
8 * scripttempl/DWARF.sc: Add support for .debug_line.* and
9 .debug_line_end.
10
27320b85
NC
112013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
12
13 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
14 psuedo-relocs.
15
d061dfac
TS
162013-04-28 Thomas Schwinge <thomas@codesourcery.com>
17
18 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
19 * scripttempl/avr.sc: Likewise.
20 * scripttempl/elf.sc: Likewise.
21 * scripttempl/elf32cr16.sc: Likewise.
22 * scripttempl/elf32crx.sc: Likewise.
23 * scripttempl/elf32msp430.sc: Likewise.
24 * scripttempl/elf32msp430_3.sc: Likewise.
25 * scripttempl/elf32sh-symbian.sc: Likewise.
26 * scripttempl/elf64hppa.sc: Likewise.
27 * scripttempl/elf_chaos.sc: Likewise.
28 * scripttempl/elfd10v.sc: Likewise.
29 * scripttempl/elfd30v.sc: Likewise.
30 * scripttempl/elfi370.sc: Likewise.
31 * scripttempl/elfm68hc11.sc: Likewise.
32 * scripttempl/elfm68hc12.sc: Likewise.
33 * scripttempl/elfxgate.sc: Likewise.
34 * scripttempl/elfxtensa.sc: Likewise.
35 * scripttempl/epiphany_4x4.sc: Likewise.
36 * scripttempl/i386beos.sc: Likewise.
37 * scripttempl/i386go32.sc: Likewise.
38 * scripttempl/ia64vms.sc: Likewise.
39 * scripttempl/ip2k.sc: Likewise.
40 * scripttempl/iq2000.sc: Likewise.
41 * scripttempl/mep.sc: Likewise.
42 * scripttempl/mmo.sc: Likewise.
43 * scripttempl/v850.sc: Likewise.
44 * scripttempl/v850_rh850.sc: Likewise.
45 * scripttempl/xstormy16.sc: Likewise.
46
778ee4a6
NC
472013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
48
49 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
50
4706eab9
AM
512013-04-26 Alan Modra <amodra@gmail.com>
52
53 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
54 unresolved_syms_in_shared_libs rather than !executable to
55 determine whether to load DT_NEEDED libraries.
56
49926cd0
AM
572013-04-25 Alan Modra <amodra@gmail.com>
58
59 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
60 (eelf32lppclinux.c): New rule.
61 * Makefile.in: Regenerate.
62 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
63 with corresponding little-endian targets.
64 * emulparams/elf32lppc.sh: Update comment.
65 * emulparams/elf32lppclinux.sh: New.
66
05567e3d
L
672013-04-24 H.J. Lu <hongjiu.lu@intel.com>
68
69 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
70 x86_64-*-elf*.
71 (targ_extra_libpath): Likewise.
72 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
73
4390599b
YZ
742013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
75
76 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
77 * emulparams/aarch64linux.sh: Ditto.
78 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
79 Replace elf64 with elf${ELFSIZE}.
80 (elf64_aarch64_add_stub_section): Likewise.
81 (build_section_lists): Likewise.
82 (gld${EMULATION_NAME}_after_allocation): Likewise.
83 (gld${EMULATION_NAME}_finish): Likewise.
84 (aarch64_elf_create_output_section_statements): Likewise.
85
2cfa18a9
NC
862013-04-24 Nick Clifton <nickc@redhat.com>
87
88 PR ld/15389
89 * scripttempl/avr.sc: Add .note.gnu.build-id section.
90
bfeb4a28
AM
912013-04-22 Alan Modra <amodra@gmail.com>
92
93 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
94 Check return from ppc64_elf_init_stub_bfd.
95
ceb0a680
NC
962013-04-15 Nick Clifton <nickc@redhat.com>
97
cb1238c0
NC
98 * Makefile.am (ELF_DEPS): Add a dependency upon
99 scripttempl/DWARF.sc.
100 (ELF_GEN_DEPS): Likewise.
ec05a26b 101 (emmo.c): Likewise.
cb1238c0
NC
102 * Makefile.in: Regenerate.
103
ceb0a680
NC
104 * scripttempl/armbpabi.sc: Replace DWARF sections with an
105 inclusion of DWARF.sc.
106 * scripttempl/avr.sc: Likewise.
107 * scripttempl/elf.sc: Likewise.
108 * scripttempl/elf32cr16.sc: Likewise.
109 * scripttempl/elf32crx.sc: Likewise.
110 * scripttempl/elf32msp430.sc: Likewise.
111 * scripttempl/elf32msp430_3.sc: Likewise.
112 * scripttempl/elf32sh-symbian.sc: Likewise.
113 * scripttempl/elf64hppa.sc: Likewise.
114 * scripttempl/elf_chaos.sc: Likewise.
115 * scripttempl/elfd10v.sc: Likewise.
116 * scripttempl/elfd30v.sc: Likewise.
117 * scripttempl/elfi370.sc: Likewise.
118 * scripttempl/elfm68hc11.sc: Likewise.
119 * scripttempl/elfm68hc12.sc: Likewise.
120 * scripttempl/elfxgate.sc: Likewise.
121 * scripttempl/elfxtensa.sc: Likewise.
122 * scripttempl/epiphany_4x4.sc: Likewise.
123 * scripttempl/i386beos.sc: Likewise.
124 * scripttempl/i386go32.sc: Likewise.
125 * scripttempl/ia64vms.sc: Likewise.
126 * scripttempl/ip2k.sc: Likewise.
127 * scripttempl/iq2000.sc: Likewise.
128 * scripttempl/mep.sc: Likewise.
129 * scripttempl/mmo.sc: Likewise.
130 * scripttempl/v850.sc: Likewise.
131 * scripttempl/v850_rh850.sc: Likewise.
132 * scripttempl/xstormy16.sc: Likewise.
133 * scripttempl/DWARF.sc: New.
134
8ff4c1f3
AM
1352013-04-04 Alan Modra <amodra@gmail.com>
136
137 * ldlang.c (load_symbols): Report "error adding symbols" on
138 bfd_link_add_symbols failure.
139 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
140 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
141 (gld${EMULATION_NAME}_try_needed): Likewise.
142
861319c9
NC
1432013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
144
145 PR ld/13812
146 * scripttempl/avr.sc: Place trampolines before .progmem section.
147
676ee43b
KT
1482013-03-25 Kai Tietz <ktietz@redhat.com>
149
150 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
151
81f5558e
NC
1522013-03-21 Michael Schewe <michael.schewe@gmx.net>
153
154 * ld.texinfo (H8/300): Add description of relaxation of
155 mov @(disp:32,ERx) to mov @(disp:16,ERx).
156
31fd86f1
KT
1572013-03-21 Kai Tietz <ktietz@redhat.com>
158
159 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
160 generated C++-symbols as stdcall/fastcall.
161
ffa9430d
AM
1622013-03-18 Alan Modra <amodra@gmail.com>
163
164 * ld.texinfo (--as-needed): Update.
165
6f2ef5f5
JJ
1662013-03-14 Jakub Jelinek <jakub@redhat.com>
167
168 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
169 aarch64linux* emulations.
170
3ab6909a
AM
1712013-03-07 Alan Modra <amodra@gmail.com>
172
173 * ldfile.c (ldfile_open_command_file_1): Return after einfo
174 to avoid warning.
175
a07ee50e
CV
1762013-03-05 Corinna Vinschen <vinschen@redhat.com>
177
178 * configure.host: Add x86_64-*-cygwin* as valid host.
179 * configure.tgt: Add x86_64-*-cygwin* as valid target.
180 * emultempl/pep.em: Handle different requirements for Cygwin in terms
181 of start addresses for executables and DLLs, based on memory model in
182 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
183
13762d2e
AM
1842013-03-05 Alan Modra <amodra@gmail.com>
185
186 PR ld/15222
187 * ldlang.c (lang_size_sections_1): When given an lma_region align
188 LMA as per VMA only if lma_region is the same as region.
189
727f7031
NC
1902013-02-27 Nick Clifton <nickc@redhat.com>
191
192 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
193 Add alignment of .bss section.
194 * scripttempl/elf32msp430_3.sc: Likewise.
195
56dd11f0
NC
1962013-02-26 Nick Clifton <nickc@redhat.com>
197
198 PR ld/15188
199 * ld.texinfo: Fix typos.
200
7c00cf68
AM
2012013-02-21 Alan Modra <amodra@gmail.com>
202
203 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
204 .init_array/.fini_array input sections before .ctors/.dtors input
205 sections.
206 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
207
c0355132
AM
2082013-02-21 Alan Modra <amodra@gmail.com>
209
210 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
211 for elf_tdata changes.
212
12bd6957
AM
2132013-02-21 Alan Modra <amodra@gmail.com>
214
215 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
216 accessor macros.
217
a582ed93
AM
2182013-02-20 Alan Modra <amodra@gmail.com>
219
220 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
221 * Makefile.in: Regenerate.
222
46fed7f7
SL
2232013-02-19 Sandra Loosemore <sandra@codesourcery.com>
224
225 PR ld/15146
226 * plugin.c (plugin_notice): Add null check before dereferencing
227 pointer.
228
30e8ee25
AM
2292013-02-19 Alan Modra <amodra@gmail.com>
230
231 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
232 Replace all info->emit_note_gnu_build_id refs.
233 (id_note_section_size): Rename from
234 gld${EMULATION_NAME}_id_note_section_size.
235 (struct build_id_info): Delete.
236 (write_build_id): Rename from
237 gld${EMULATION_NAME}_write_build_id_section.
238 Update elf_tdata usage. Style, formatting.
239 (setup_build_id): New function.
240 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
241
3d5bef4c
L
2422013-02-16 H.J. Lu <hongjiu.lu@intel.com>
243
244 PR ld/15146
245 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
246 the real one.
247
4a2b04a7
L
2482013-02-16 H.J. Lu <hongjiu.lu@intel.com>
249
250 PR ld/15141
251 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
252
b138e9bf
KT
2532013-02-15 Kai Tietz <ktietz@redhat.com>
254
255 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
256 (.pdata): Merge .pdata* into .pdata section.
257
61087d8c
AM
2582013-02-11 Alan Modra <amodra@gmail.com>
259
260 * ldlang.c (get_init_priority): Comment typo.
261 (lang_finish): Free link_info.hash and lang_definedness_table.
262 (lang_end): Delete lang_definedness_table comment.
263
a1b8d843
AM
2642013-02-11 Alan Modra <amodra@gmail.com>
265
266 PR ld/15130
267 * ld.texinfo (-rpath-link): Typo fix.
268
20855e86
NC
2692013-02-08 Markos Chandras <markos.chandras@imgtec.com>
270
271 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
272 rather than userdata->flags.just_syms.
273
36591ba1 2742013-02-06 Sandra Loosemore <sandra@codesourcery.com>
4a2b04a7 275 Andrew Jenner <andrew@codesourcery.com>
36591ba1
SL
276
277 Based on patches from Altera Corporation.
278
279 * Makefile.am (enios2elf.c): New rule.
280 * Makefile.in: Regenerated.
281 * configure.tgt: Add case for nios2*-*-*.
282 * emulparams/nios2elf.sh: New file.
283 * NEWS: Note Altera Nios II support.
284
4d4ef6fd
AM
2852013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
286
287 * emultempl/avrelf.em (avr_elf_before_parse): New function.
288 (LDEMUL_BEFORE_PARSE): Define.
289
eeaa4577
AM
2902013-02-06 Alan Modra <amodra@gmail.com>
291
292 PR ld/15096
293 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
294 * emultempl/alphaelf.em: Revert 2013-02-04.
295 * emultempl/cr16elf.em: Likewise.
296 * emultempl/crxelf.em: Likewise.
297 * emultempl/hppaelf.em: Likewise.
298 * emultempl/ia64elf.em: Likewise.
299 * emultempl/mipself.em: Likewise.
300 * NEWS: Revert 2013-01-21.
301
663fa543
L
3022013-02-04 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR ld/15096
305 * emultempl/alphaelf.em (alpha_after_parse): Call
306 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
307 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
308 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
309 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
310 * emultempl/mipself.em (mips_after_parse): Likewise.
311
312 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
313 to ...
314 (gld_${EMULATION_NAME}_after_parse): This. Call
315 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
316 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
317
318 * emultempl/elf32.em (new_dtags_set): New variable.
319 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
320 here.
321 (gld${EMULATION_NAME}_after_parse): New function.
322 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
323 with gld${EMULATION_NAME}_after_parse.
324 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
325 when setting link_info.new_dtags.
326
0a4e6638
KT
3272013-01-25 Kai Tietz <ktietz@redhat.com>
328
329 * deffilep.y (def_image_name): Adjust type of base-address
330 argument.
331 (%union): Add new type bfd_vma as vma.
332 (VMA): New rule.
333 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
334 (def_file_print): Use bfd's fprintf_vma to output base-address.
335
78c8d46c
NC
3362013-01-24 Nick Clifton <nickc@redhat.com>
337
338 * NEWS: Mention support for V850E3V5 architecture.
339
f5c66ab0
NC
3402013-01-23 Martin Koegler <martin.koegler@chello.at>
341
342 PR ld/15041
343 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
344 (.xdata): Similarly.
345 (.debug_frame): Similarly.
346
b176ded1
NC
3472013-01-23 Georg-Johann Lay <avr@gjlay.de>
348
349 PR ld/15037
350 * scripttempl/avr.sc (.eeprom): Keep it.
351
a6dea726
AM
3522013-01-23 Leif Ekblad <leif@rdos.net>
353
354 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
355 (eelf64rdos.c): New rule.
356 * emulparams/elf64rdos.sh: New file.
357 * configure.tgt (x86_64-*-rdos*): Use above.
358 * Makefile.in: Regenerate.
359
f0fe23c2
RM
3602013-01-22 Roland McGrath <mcgrathr@google.com>
361
362 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
363 new_dtags to TRUE for *-*-nacl* targets.
364
3652013-01-21 Mike Frysinger <vapier@gentoo.org>
822b8bf4
MF
366
367 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
368 link_info.new_dtags to TRUE for linux/gnu targets.
369 * NEWS: Mention new dtags default.
370
6738cadc
L
3712013-01-19 H.J. Lu <hongjiu.lu@intel.com>
372
373 * Makefile.am (HOSTING_SCRT0): New.
374
375 * configure.host (HOSTING_SCRT0): New. Used for PIE.
376
377 * configure.in (HOSTING_SCRT0): New AC_SUBST.
378
379 * Makefile.in: Regenerated.
380 * configure: Likewise.
381
b1b00fcc
MF
3822013-01-18 Mike Frysinger <vapier@gentoo.org>
383
384 * NEWS: Mention change in behavior with --enable-new-dtags.
385 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
386
0d705e9f
AM
3872013-01-14 Leif Ekblad <leif@rdos.net>
388 Alan Modra <amodra@gmail.com>
389
390 * ld.texinfo (-Tldata-segment): Describe.
391 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
392 * lexsup.c (ld_options): Add -Tldata-segment.
393 (parse_args): Handle OPTION_TLDATA_SEGMENT.
394 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
395
e4492aa0
L
3962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
397
398 * deffilep.y: Remove trailing white spaces.
399 * elf-hints-local.h: Likewise.
400 * ldexp.c: Likewise.
401 * ldlang.h: Likewise.
402 * ldmisc.c: Likewise.
403 * ldwrite.c: Likewise.
404 * pe-dll.c: Likewise.
405 * emulparams/criself.sh: Likewise.
406 * emulparams/crislinux.sh: Likewise.
407 * emulparams/elf32_tic6x_le.sh: Likewise.
408 * emulparams/elf32bmipn32-defs.sh: Likewise.
409 * emulparams/elf32mb_linux.sh: Likewise.
410 * emulparams/elf32mep.sh: Likewise.
411 * emulparams/elf32microblaze.sh: Likewise.
412 * emulparams/elf32ppc.sh: Likewise.
413 * emulparams/elf64_s390.sh: Likewise.
414 * emulparams/elf64alpha.sh: Likewise.
415 * emulparams/elf_s390.sh: Likewise.
416 * emulparams/elf_x86_64.sh: Likewise.
417 * emulparams/tic80coff.sh: Likewise.
418 * emultempl/aix.em: Likewise.
419 * emultempl/avrelf.em: Likewise.
420 * emultempl/cr16elf.em: Likewise.
421 * emultempl/pe.em: Likewise.
422 * emultempl/pep.em: Likewise.
423 * emultempl/spuelf.em: Likewise.
424 * emultempl/tic6xdsbt.em: Likewise.
425
a3c62988
NC
4262013-01-10 Will Newton <will.newton@imgtec.com>
427
428 * Makefile.am: Add Meta.
429 * Makefile.in: Regenerate.
430 * configure.tgt: Add Meta.
431 * emulparams/elf32metag.sh: New file.
432 * emultempl/metagelf.em: New file.
433
134960cc
AM
4342013-01-09 Alan Modra <amodra@gmail.com>
435
436 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
437 * emulparams/elf32_x86_64.sh: Likewise.
438 * emulparams/elf_k1om.sh: Likewise.
439 * emulparams/elf_l1om.sh: Likewise.
440 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
441 OTHER_BSS_SECTIONS. Substitute in script.
442
34d56033
AM
4432013-01-08 Leif Ekblad <leif@rdos.net>
444
445 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
446
d5c8b1f8
AM
4472013-01-08 Alan Modra <amodra@gmail.com>
448
449 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
98e38512 450 "name" param with a bfd_link_needed_list pointer. Update caller.
d5c8b1f8
AM
451 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
452
cc382d46
AM
4532013-01-08 Alan Modra <amodra@gmail.com>
454
455 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
456 * Makefile.in: Regenerate.
457
add24320
L
4582013-01-07 H.J. Lu <hongjiu.lu@intel.com>
459
460 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
461 compatibility.
462
7ca01ed9
NC
4632013-01-07 Patrice Dumas <pertusus@free.fr>
464
465 * ld.texinfo: Replace @ with @@ when it is part of the text.
466 Correct ordering of M68HC11 entry.
467
e407c74b
NC
4682013-01-04 Juergen Urban <JuergenUrban@gmx.de>
469
470 * configure.tgt: Support ELF files for Sony Playstation 2 (for
471 ps2dev and ps2sdk).
472 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
473 Playstation 2 ELF files using MIPS ABI n32.
474 * emulparams/elf32lr5900.sh: Create linker script for Sony
475 Playstation 2 ELF files using MIPS ABI o32.
476 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
477 files.
478
62658407
L
4792013-01-02 H.J. Lu <hongjiu.lu@intel.com>
480
481 * ldver.c (ldversion): Update copyright year to 2013.
482
4e5f3f9d 483For older changes see ChangeLog-2012
252b5132 484\f
4e5f3f9d 485Copyright (C) 2013 Free Software Foundation, Inc.
752937aa
NC
486
487Copying and distribution of this file, with or without modification,
488are permitted in any medium without royalty provided the copyright
489notice and this notice are preserved.
490
252b5132
RH
491Local Variables:
492mode: change-log
493left-margin: 8
494fill-column: 74
495version-control: never
496End:
This page took 0.623206 seconds and 4 git commands to generate.