2011-11-23 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
bd59d916
AM
12011-11-21 Andreas Tobler <andreast@fgznet.ch>
2
3 * Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
4 source.
5 (eelf64ppc_fbsd.c): Add rules to build this file.
6 * Makefile.in: Regenerate.
7 * configure.tgt: Add target definition for powerpc64-*-freebsd*.
8 Adjust powerpc-*-freebsd*.
9 * emultempl/ppc64elf.em: Add a mechanism to override the default
10 value of 0 for plt_static_chain.
11 * emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default.
12 * emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise.
13 (DEFAULT_PLT_STATIC_CHAIN): Define to 1.
14
1a69ff95
AS
152011-11-15 Andreas Schwab <schwab@linux-m68k.org>
16
17 * ldlang.c (insert_pad): Change alignment_needed argument to
18 bfd_size_type.
19 (size_input_section): Change alignment_needed varible to
20 bfd_size_type.
21 * ldlang.h (lang_padding_statement_type): Change size field to
22 bfd_size_type.
23
bbd0c8e2
TG
242011-11-03 Tristan Gingold <gingold@adacore.com>
25
26 * scripttempl/aix.sc: Consider header size for .text and .data
27 alignment.
28
a72173de
TG
292011-11-02 Tristan Gingold <gingold@adacore.com>
30
31 * emultempl/aix.em (read_file_list): New function.
32 (_handle_option): Handle '-f'.
33 * NEWS: Mention this feature.
34
e0d08d4b
RO
352011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
36
37 * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
38 targ_extra_libpath.
39
99c513f6
DD
402011-11-01 DJ Delorie <dj@redhat.com>
41
42 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
43 (+eelf32rl78.c): New rule.
44 * Makefile.in: Regenerate.
45 * configure.tgt: Add rl78-*-* case.
46 * emulparams/elf32rl78.sh: New file.
47 * NEWS: Mention addition of Renesas RL78 support.
48
69f56ae1
WL
492011-10-28 Walter Lee <walt@tilera.com>
50
51 * NEWS: Fix TILEPro capitalization.
52
cfb8c092
NC
532011-10-25 Joern Rennecke <joern.rennecke@embecosm.com>
54
55 * NEWS: Mention addition of Adapteva Epiphany support.
56 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c .
57 (eelf32epiphany.c): New rule.
58 * configure.tgt: Handle epiphany-*-elf.
59 * emulparams/elf32epiphany.sh: New file.
60 * Makefile.in: Regenerate.
61 * po/ld.pot: Regenerate.
62
07725569
NC
632011-10-24 Nick Clifton <nickc@redhat.com>
64
65 * po/ja.po: Updated Japanese translation.
66
5468810d
AM
672011-10-20 Alan Modra <amodra@gmail.com>
68
69 PR ld/13287
70 * plugin.c (plugin_should_reload): New function.
71 * plugin.h (plugin_should_reload): Declare.
72 * ldlang.c (open_input_bfds): Use above function.
73
c192a133
AM
742011-10-19 Alan Modra <amodra@gmail.com>
75
76 PR ld/13254
77 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
78 -z text, -z notext, -z textoff options for all targets having
79 shared lib support.
80
4fc89632
AM
812011-10-15 Alan Modra <amodra@gmail.com>
82
83 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
84
0432176d
DK
852011-10-13 Dave Korn <dave.korn.cygwin@gmail.com>
86
87 * pe-dll.c (generate_reloc): Don't emit a base reloc for an
88 underlying BFD reloc that will be discarded in eh_frame data.
89
d5698657
NC
902011-10-10 Nick Clifton <nickc@redhat.com>
91
92 * po/bg.po: Updated Bulgarian translation.
93 * po/es.po: Updated Spanish translation.
94 * po/fi.po: Updated Finnish translation.
95 * po/fr.po: Updated French translation.
96
9bbc1a67
AM
972011-10-10 Alan Modra <amodra@gmail.com>
98
99 * ldmain.c (main): Move code twiddling various config and link_info
100 bits to..
101 * lexsup.c (parse_args): ..here. Move plugin_load_plugins call
102 into main.
103 * plugin.c (set_tv_header): Test link_info.executable, not
104 link_info.shared.
105 (is_visible_from_outside): Likewise. Delete redundant
106 is_ir_dummy_bfd check and "section" parameter.
107
bd518033
AM
1082011-10-10 Alan Modra <amodra@gmail.com>
109
110 * emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
111
f7c46796
AM
1122011-10-09 Alan Modra <amodra@gmail.com>
113
114 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Add
115 missing colon to error message.
116 (ppc_before_allocation): Likewise.
117
69ee6ab2
AM
1182011-10-06 Alan Modra <amodra@gmail.com>
119
25f03f10 120 PR ld/13229
69ee6ab2
AM
121 * plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2.
122 (set_tv_header): Handle it. Adjust LDPT_GET_SYMBOLS. Return void.
123 (get_symbols): Add def_ironly_exp param. Return that value for
124 syms exported from shared libs.
125 (get_symbols_v1, get_symbols_v2): New wrapper functions.
126 * testplug.c: Update for above changes.
127
ebe9c501
KT
1282011-09-27 Kai Tietz <ktietz@redhat.com>
129
130 * scripttempl/pe.sc (.text): Add support for
131 .gnu.linkonce.t.* section.
132 (.debug_info): Only use .gnu.linkonce.wi.* for
133 relocating.
134 * scripttempl/pep.sc: Likewise.
135
a7142d94
TG
1362011-09-22 Tristan Gingold <gingold@adacore.com>
137
138 * NEWS: Add marker for 2.22.
139
15fc2e13
AM
1402011-09-20 Alan Modra <amodra@gmail.com>
141
6cd90916 142 PR ld/13201
15fc2e13
AM
143 * ldlang.h (lang_input_statement_type): Add "reload" bitfield.
144 Clarify comments.
145 * ldlang.c (new_afile): Init new field.
146 (load_symbols): Don't call ldlang_add_file when reloading.
147 (open_input_bfds): Reload as-needed libs during plugin rescan.
148
fd91d419
L
1492011-09-15 H.J. Lu <hongjiu.lu@intel.com>
150
151 PR ld/12975
152 * ldlang.c (lang_elf_version_info): Removed.
153 (lang_register_vers_node): Replace lang_elf_version_info with
154 link_info.version_info.
155 (lang_add_vers_depend): Likewise.
156 * pe-dll.c (process_def_file_and_drectve): Likewise.
157 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
158
159 * ldlang.h (lang_elf_version_info): Removed.
160
161 * plugin.c (is_visible_from_outside): Check if symbol is hidden
162 by version script.
163
164 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
165 Remove lang_elf_version_info.
166
2b7e4308
L
1672011-09-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
168
169 PR ld/13183
170 * ldmain.c (add_archive_element): Support thin archive member
171 for LTO.
172
7cf80422
NC
1732011-08-26 Nick Clifton <nickc@redhat.com>
174
175 * po/es.po: Updated Spanish translation.
176
d064f206
NC
1772011-08-26 Nick Clifton <nickc@redhat.com>
178
179 * NEWS: Mention that --no-copy-dt-needed-entries is now the
180 default.
181
08efffb8
MM
1822011-08-22 Michael Matz <matz@suse.de>
183
184 * ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
185 * ld.texinfo (--copy-dt-needed-entries): Mention new default.
186
c77ec726
AM
1872011-08-17 Alan Modra <amodra@gmail.com>
188
189 PR ld/12762
190 * ldlang.c (section_already_linked): Revert 2011-07-09 changes.
191 * plugin.c: Likewise.
192 (asymbol_from_plugin_symbol): Create linkonce section for syms
193 with comdat_key.
194
2de70689
MGD
1952011-08-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
196
197 * emultempl/armelf.em (fix_arm1176): New variable.
198 (arm_elf_create_output_section_statements): Pass
199 fix_arm1176 option to bfd backend.
200 (OPTION_FIX_ARM1176): New define.
201 (OPTION_NO_FIX_ARM1176): Likewise.
202 (PARSE_AND_LIST_LONGOPTS): Add new command line options.
203 (PARSE_AND_LIST_OPTIONS): Likewise.
204 (PARSE_AND_LIST_ARGS_CASES): Likewise.
205 * ld.texinfo: Document new command line options.
206
7fe550fc
AM
2072011-08-09 Alan Modra <amodra@gmail.com>
208
209 PR ld/13066
210 * plugin.c (add_symbols): Revert 2011-08-05.
211
b990ad61
KT
2122011-08-06 Kai Tietz <ktietz@redhat.com>
213
214 * scripttempl/pep.sc: Add .debug_macro section.
215 * scripttempl/pe.sc: Likewise.
216
43e1669b
AM
2172011-08-05 Alan Modra <amodra@gmail.com>
218
219 PR ld/12762
220 * plugin.c (add_symbols): Exclude comdat_key symbols from symbol
221 table if already seen.
222
4309cbf2
L
2232011-08-04 H.J. Lu <hongjiu.lu@intel.com>
224
225 * ldmain.c (main): Replace remove_output with ld_cleanup in
226 comments.
227
58d180e8
AM
2282011-07-26 Alan Modra <amodra@gmail.com>
229
230 * emulparams/elf32ppc.sh: Source plt_unwind.sh.
231 * emulparams/elf64ppc.sh: Likewise.
232 * emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust.
233 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
234 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
235 existing values.
236 * emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust.
237 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
238 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
239 existing values.
240
7a9068fe
L
2412011-07-22 H.J. Lu <hongjiu.lu@intel.com>
242
243 * Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and
244 eelf_k1om_fbsd.o
245 (eelf_k1om.c): New.
246 (eelf_k1om_fbsd.c): Likewise.
247 * Makefile.in: Regenerated.
248
249 * configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64
250 is supported. Add elf_k1om_fbsd if elf_x86_64_fbsd is supported.
251 (targ_extra_emuls): Likewise.
252
253 * emulparams/elf_k1om.sh: New.
254 * emulparams/elf_k1om_fbsd.sh: Likewise.
255
30824704
RM
2562011-07-16 Roland McGrath <roland@hack.frob.com>
257
258 * ld.h (args_type): New field print_output_format.
259 * lexsup.c (enum option_values, ld_options, parse_args):
260 Handle --print-output-format.
261 * ldmain.c (main): Implement --print-output-format.
262 * ld.texinfo (Options): Document it.
263
264 * ldlang.c (lang_get_output_target): Don't return current_target
265 when it's NULL.
266
59b84450
AM
2672011-07-15 Alan Modra <amodra@gmail.com>
268
269 * Makefile.am (e*.c): Sort.
270 * Makefile.in: Regenerate.
271
2d07dfae
AM
2722011-07-14 Alan Modra <amodra@gmail.com>
273
274 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option,
275 gld${EMULATION_NAME}_list_options): Don't condition -z relro
276 and -z norelro on COMMONPAGESIZE being defined.
277
9df0ef5f
AM
2782011-07-14 Alan Modra <amodra@gmail.com>
279
280 * emultempl/ppc64elf.em (plt_static_chain): New var.
281 (gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
282 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
283 PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
284 --plt-static-chain and --no-plt-static-chain.
285
fb42df5e
AM
2862011-07-14 Alan Modra <amodra@gmail.com>
287
288 * emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
289 gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options):
290 Provide --build-id, -z defs, -z muldefs, -z max-page-size,
291 -z common-page-size, -z execstack, -z noexecstack for all targets.
292 Add help for --exclude-libs.
293 (OPTION_LD_GENERATED_UNWIND_INFO,
294 OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this..
295 (gld${EMULATION_NAME}_handle_option): ..and code handling
296 --ld-generated-unwind-info and --no-ld-generated-unwind-info..
297 * emulparams/plt_unwind.sh: ..to here. New file. Add help.
298 * emulparams/elf32_x86_64.sh: Include plt_unwind.sh.
299 * emulparams/elf_i386.sh: Likewise.
300 * emulparams/elf_i386_chaos.sh: Likewise.
301 * emulparams/elf_i386_ldso.sh: Likewise.
302 * emulparams/elf_l1om.sh: Likewise.
303 * emulparams/elf_x86_64.sh: Likewise.
304
ae17ab41
CM
3052011-07-11 Catherine Moore <clm@codesourcery.com>
306
307 * ld.h (section_flag_list): Add field to struct wildcard_spec.
308 * ld.texinfo (INPUT_SECTION_FLAGS): Document.
309 * ldgram.y (flag_info_list, flag_info): Add to union.
310 (INPUT_SECTION_FLAGS): New token.
311 (wildcard_spec): Initialize section_flag_list to NULL for
312 each alternative.
313 (sect_flag_list, sect_flags): New rules.
314 (input_section_spec_no_keep): Add alternatives to recognize
315 sect_flags.
316 * ldlang.c (walk_wild_consider_section): Initialize
317 section_flag_info field of the section struct.
318 (lang_add_section): Check input section flags.
fb42df5e 319 (lang_add_wild): Initialize section_flag_list field of
ae17ab41
CM
320 the statement struct.
321 * ldlang.h (lang_input_statement_struct): Add section_flag_list field.
322 (lang_wild_statement_struct): Likewise.
323 * ldlex.l (INPUT_SECTION_FLAGS): New token.
324 * mri.c (mri_draw_tree): Initialize section_flag_list to NULL.
325 * NEWS: Announce INPUT_SECTION_FLAGS enhancement.
326
0c511000
AM
3272011-07-09 H.J. Lu <hongjiu.lu@intel.com>
328
329 PR ld/12942
330 * ldlang.c (section_already_linked): Pass "struct already_linked *"
331 to bfd_section_already_linked.
332 (lang_process): Set link_info.loading_lto_outputs before
333 loading LTO outputs.
334 * plugin.c: Include "libbfd.h".
335 (add_symbols): Call bfd_section_already_linked with comdat_key.
336
ade78dba
L
3372011-06-20 H.J. Lu <hongjiu.lu@intel.com>
338
339 * configure.tgt: Revert x32 change.
340
e41b3a13
JJ
3412011-06-20 Jakub Jelinek <jakub@redhat.com>
342
343 PR ld/12570
344 * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
345 OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
346 (gld${EMULATION_NAME}_handle_option): Handle
347 --ld-generated-unwind-info and --no-ld-generated-unwind-info.
348 * ld.texinfo (--ld-generated-unwind-info,
349 --no-ld-generated-unwind-info): Document.
350
8b778942
L
3512011-06-19 H.J. Lu <hongjiu.lu@intel.com>
352
353 * configure.tgt: Support x32.
354
90b3661c
NC
3552011-06-15 Nick Clifton <nickc@redhat.com>
356
357 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
358
aa137e4d
NC
3592011-06-13 Walter Lee <walt@tilera.com>
360
361 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and
362 eelf32tilepro.c.
363 (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c.
364 (eelf32tilegx.c): New target.
365 (eelf32tilepro.c): Likewise.
366 (eelf64tilegx.c): Likewise.
367 * Makefile.in: Regenerate.
368 * configure.tgt: Handle tilegx-*-* and tilepro-*-*.
369 * emulparams/elf32tilegx.sh: New file.
370 * emulparams/elf64tilegx.sh: New file.
371 * emulparams/elf32tilepro.sh: New file.
372
80cc85a9
AM
3732011-06-13 Alan Modra <amodra@gmail.com>
374
375 * ldlang.c (sort_def_symbol, lang_one_common): Don't handle
376 warning symbols here.
377 * emultempl/pe.em (pr_sym): Remove redundant test.
378 * emultempl/pep.em (pr_sym): Likewise.
379
ba85c43e
NC
3802011-06-09 Nick Clifton <nickc@redhat.com>
381
382 PR ld/12845
383 * emultempl/mipself.em (mips_add_stub_section): Do not add stubs
384 for sections that have been removed by garbage collection.
385
5b4c94ad
AM
3862011-06-08 Alan Modra <amodra@gmail.com>
387
388 * ldlang.c (lang_one_common): Handle warning symbols.
389
ab3719da
NC
3902011-06-07 Nick Clifton <nickc@redhat.com>
391
392 * configure.tgt: Accept any V850 architecture.
393
bc77a04a
NC
3942011-06-03 Nick Clifton <nickc@redhat.com>
395
396 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
397 Add rule to build eelf32am33lin.c
398 * Makefile.in: Regenerate.
399
cc643b88
NC
4002011-06-02 Nick Clifton <nickc@redhat.com>
401
402 * lexsup.c: Fix spelling mistake in comment.
403 * scripttempl/epocpe.sc: Likewise.
404 * scripttempl/i386beos.sc: Likewise.
405 * scripttempl/mcorepe.sc: Likewise.
406 * scripttempl/pe.sc: Likewise.
407 * scripttempl/pep.sc: Likewise.
408 * po/ld.pot: Regenerate.
409
f20db198
NC
4102011-05-27 Nick Clifton <nickc@redhat.com>
411
412 * scripttempl/v850.sc (_heap_start): Provide.
413
270396f2
AM
4142011-05-23 Alan Modra <amodra@gmail.com>
415
416 * ldmisc.c (vfinfo): Add %H.
417 * ldmain.c (reloc_overflow): Use %H rather than %C.
418 (reloc_dangerous, unattached_reloc): Likewise.
419
6de6a7fe
AM
4202011-05-23 Alan Modra <amodra@gmail.com>
421
422 PR 12763
423 * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
424 like sections to existing .sdata2, and similarly for orphan TLS
425 sections.
426 * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
427
84bff83f
NC
4282011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
429
430 PR ld/12759
431 * emultempl/rxelf.em (ignore_lma): New variable.
432 (rx_elf_create_output_section_statements): Pass the setiing of
433 ignore_lma to bfd_elf32_rx_set_target_flags.
434 (OPTION_IGNORE_LMA): Define.
435 (OPTION_NO_IGNORE_LMA): Define.
436 (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
437 (PARSE_AND_LIST_OPTIONS): Add ignore lma.
438 (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
439
16d96b5b
AM
4402011-05-17 Alan Modra <amodra@gmail.com>
441
442 PR ld/12760
443 * ldmain.c (notice): Add "flags" and "string" param.
444 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
445 and constructor syms.
446
f37a7048
NS
4472010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
448
449 * ldlang.c (print_assignment): Use the symbol's section if we
450 use its value.
451 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
452 comment on copying symbol type.
453
cd6eee13
AM
4542011-05-16 H.J. Lu <hongjiu.lu@intel.com>
455
456 PR ld/12760
457 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
458 undefweak.
459
83e7bd17
AM
4602011-05-16 Alan Modra <amodra@gmail.com>
461
462 * ldlang.c (lang_leave_output_section_statement): Don't copy
463 previous lma_region if given address.
464
2a616379
BS
4652011-05-13 Bernd Schmidt <bernds@codesourcery.com>
466
467 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
468 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
469 * Makefile.am (ALL_EMULATIONS): Add these files.
470 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
471 * Makefile.in: Regenerated.
472 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
473 vectors.
474 * emulparams/elf32_tic6x_elf_be.sh: New file.
475 * emulparams/elf32_tic6x_elf_le.sh: New file.
476 * emulparams/elf32_tic6x_linux_be.sh: New file.
477 * emulparams/elf32_tic6x_linux_le.sh: New file.
478 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
479 (tic6x-*-*): Replaced by these.
480
3ac5406b
JB
4812011-05-13 Jan Beulich <jbeulich@novell.com>
482
483 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
484
fbd9ad90
PB
4852011-05-09 Paul Brook <paul@codesourcery.com>
486
487 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
488 (compare_output_sec_vma): New function.
489 (gld${EMULATION_NAME}_after_allocation): New function.
490 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
491 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
492 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
493 (LDEMUL_AFTER_ALLOCATION): Set.
494 * ld.texinfo: Document c6x --no-merge-exidx-entries.
495
730035f7
DK
4962011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
497
498 PR ld/12365
499 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
500 (__rt_psrelocs_end): Likewise.
501 (__rt_psrelocs_size): Likewise difference between the above.
502 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
503 immediately after end of pseudo-reloc data.
504 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
505 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
506 calculate backward from list end.
507 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
508 * scripttempl/pep.sc: Likewise.
509
55221e4b
TG
5102011-05-06 Tristan Gingold <gingold@adacore.com>
511
512 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
513
45cfb56c
TG
5142011-05-04 Tristan Gingold <gingold@adacore.com>
515
516 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
517 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
518 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
519 (gld${EMULATION_NAME}_add_options): New function.
520 (gld${EMULATION_NAME}_list_options): Ditto.
521 (gld${EMULATION_NAME}_handle_option): Ditto.
522 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
523 (LDEMUL_LIST_OPTIONS): Define.
524
2f65ac72
AM
5252011-05-04 Alan Modra <amodra@gmail.com>
526
527 PR ld/12726
528 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
529 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
530 assign to dot when lang_assigning_phase_enum.
531 * ldlang.h (lang_do_assignments): Update prototype.
532 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
533 callers.
534 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
535 lang_do_assignments calls.
536
e0605dbe
AM
5372011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
538
539 PR ld/12614
540 * emultempl/pe.em (_after_open): Correctly check whether symbol is
541 in undef list.
542
72b016b4
NC
5432011-04-26 Kai Tietz <ktietz@redhat.com>
544
545 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
546 * scripttempl/pep.sc: Likewise.
547
35ed3f94
AM
5482011-04-24 Alan Modra <amodra@gmail.com>
549
550 PR ld/12365
551 PR ld/12696
552 * ldmain.c (notice): Delete "name" param, add "h".
553 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
554 redefinitions of IR symbols in real BFDs.
555 (plugin_multiple_definition, plugin_multiple_common): Delete.
556 (non_ironly_hash, init_non_ironly_hash): Delete.
557 (is_visible_from_outside): Traverse entry_symbol chain.
558 (get_symbols): Use non_ir_ref flag rather than hash lookup.
559
9165b2bf
TG
5602011-04-21 Tristan Gingold <gingold@adacore.com>
561
562 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
563
ced323bd
TG
5642011-04-20 Tristan Gingold <gingold@adacore.com>
565
566 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
567
8ad17b3a
AM
5682011-04-20 Alan Modra <amodra@gmail.com>
569
570 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
571
02d00247
AM
5722011-04-20 Alan Modra <amodra@gmail.com>
573
574 PR ld/12365
575 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
576 to plugin IR BFD..
577 * ldmain.c (add_archive_element): ..and similar code here..
578 * plugin.c (plugin_maybe_claim): ..to here. New function.
579 (plugin_call_claim_file): Make static.
580 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
581 (plugin_multiple_common): New function.
582 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
583 * plugin.h (plugin_call_claim_file): Don't declare.
584 (plugin_maybe_claim): Declare.
585
24f58f47
AM
5862011-04-20 Alan Modra <amodra@gmail.com>
587
588 PR ld/12365
589 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
590 pointer arg rather than "name", "obfd", "osec", "oval". Add code
591 removed from linker.c. Hack around xcofflink.c oddity in
592 passing NULL nbfd.
593 (multiple_common): Similarly.
594 * plugin.c (orig_allow_multiple_defs): Delete.
595 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
596 (plugin_multiple_definition): Update.
597
bdca0ea1
KT
5982011-04-18 Kai Tietz <ktietz@redhat.com>
599
dc204beb
KT
600 * deffilep.y (def_aligncomm): Avoid duplets.
601
bdca0ea1
KT
602 * deffilep.y (def_pool_str): New type.
603 (pool_strs): Local static.
604 (def_pool_alloc): Local function.
605 (def_pool_strdup): Likewise.
606 (def_pool_free): Likewise.
607 (opt_name): Replace xmalloc/xstrdup by
608 def_pool_alloc/def_pool_strdup.
609 (dot_name): Likewise.
610 (anylang_id): Likewise.
611 (def_lex): Likewise.
612 (def_file_parse): Call def_pool_free on
613 exit and cleanup directives elements.
614 (def_file_add_directive): Call def_pool_free.
615
6970a028
PB
6162011-04-18 Paul Brook <paul@codesourcery.com>
617
618 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
619 for unwinding tables.
620
901f1d17
AM
6212011-04-18 Alan Modra <amodra@gmail.com>
622
623 PR ld/12365
624 PR ld/12672
625 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
626 when no_more_claiming.
627 * ldmain.c (add_archive_element): Likewise.
628 (multiple_definition): Remove plugin_multiple_definition call.
629 (notice): Remove plugin_notice call.
630 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
631 Delete prototype.
632 (plugin_insert): New static var.
633 (open_input_bfds): Only rescan libs after plugin insert point.
634 (lang_gc_sections): Omit plugin claimed files.
635 (lang_process): Set plugin_insert. Only rescan when plugin adds
636 objects.
637 * plugin.h (no_more_claiming): Declare.
638 (plugin_notice, plugin_multiple_definition): Don't declare.
639 * plugin.c: Formatting.
640 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
641 plugin_callbacks): New static vars.
642 (no_more_claiming): Make global.
643 (plugin_cached_allow_multiple_defs): Delete.
644 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
645 use newer bfd_make_section variant. Make COMMON section too.
646 Error handling. Correct setting of gp size.
647 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
648 (message): Likewise for ACONCAT.
649 (asymbol_from_plugin_symbol): Use our COMMON section.
650 (get_symbols): When report_plugin_symbols, show visibility too.
651 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
652 (plugin_load_plugins): Save state of linker callbacks, set up to
653 call plugin_notice instead. Call init_non_ironly_hash here.
654 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
655 plugin callbacks.
656 (plugin_notice): Rewrite.
657 (plugin_multiple_definition): Make static, call original callback.
658
486329aa
AM
6592011-04-15 Alan Modra <amodra@gmail.com>
660
661 PR ld/12672
662 * ldlang.c (enum open_bfd_mode): New.
663 (open_input_bfds): Replace "force" param with "mode". Reload
664 archives for rescan. Update all callers.
665 (lang_process): Make another open_input_bfds pass for plugins.
666
db17156e
KT
6672011-04-13 Kai Tietz <ktietz@redhat.com>
668
669 PR binutils/12658
670 * deffile.h (def_file_add_export): Add is_dup argument.
671 (def_file_add_import): Likewise.
672 * deffilep.y (are_names_equal): New helper.
673 (cmp_export_elem): New helper.
674 (find_export_in_list): Add search routine for exports.
675 (def_file_add_export): Check for duplicates.
676 (cmp_import_elem): New helper.
677 (find_import_in_list): Add search routine for imports.
678 (def_file_add_import): Check for duplicates.
679 (def_exports): Handle duplicates.
680 (def_imports): Likewise.
681 * pe-dll.c (process_def_file_and_drectve): Likewise.
682 (pe_implied_import_dll): Likewise.
683
ed0d9c71
NC
6842011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
685
686 * scripttempl/elf.sc (.exception_ranges): Add new section.
687
0e9dfb46
NC
6882011-04-08 Hector Oron <hector.oron@gmail.com>
689
690 PR ld/12643
691 * configure.tgt: Add support for arm-*-gnueabihf targets.
692
80518809
EW
6932011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
694
695 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
696
91db4c57
JM
6972011-04-07 Joseph Myers <joseph@codesourcery.com>
698
699 * configure.tgt: Remove stray ;;.
700
8c5fc800
JM
7012011-04-06 Joseph Myers <joseph@codesourcery.com>
702
703 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
704 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
705 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
706 xscale-*-coff, xscale-*-elf): Remove targets.
707
d02c4aae
L
7082011-03-31 H.J. Lu <hongjiu.lu@intel.com>
709
710 * configure.tgt: Add elf_l1om to targ_extra_libpath for
fb42df5e 711 x86_64-*-linux-*.
d02c4aae
L
712
713 * emulparams/elf_l1om.sh: Remove duplicates.
714
ac145307
BS
7152011-03-31 Bernd Schmidt <bernds@codesourcery.com>
716
717 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
718 GENERATE_SHLIB_SCRIPT): New defines.
719 (TEXT_START_ADDR): Define differently depending on target.
720 (.got): Redefine to include "*(.dsbt)".
721 (SDATA_START_SYMBOLS): Remove, replace with
722 (OTHER_GOT_SYMBOLS): New.
723 (OTHER_BSS_SECTIONS): Define only for ELF targets.
724 * emultempl/tic6xdsbt.em: New file.
725 * gen-doc.texi: Set C6X.
726 * ld.texinfo: Likewise.
727 (Options specific to C6X uClinux targets): New section.
728
c3a7b120
AM
7292011-03-29 Alan Modra <amodra@gmail.com>
730
731 PR ld/12613
732 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
733
5b806d27
NC
7342011-03-26 John Marino <binutils@marino.st>
735
736 * configure.host: Update *-*-dragonfly* host entry.
737 * configure.tgt: Update *-*-dragonfly* target entry.
738 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
739
f31d24a0
JM
7402011-03-28 Joseph Myers <joseph@codesourcery.com>
741
742 * configure.in: Check for windows.h, not Windows.h.
743 * configure: Regenerate.
744 * plugin.c: Include windows.h, not Windows.h.
745
d0289b45
EW
7462011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
747
748 * Makefile.in: Regenerate.
749
d436a15e
JM
7502011-03-23 Joseph Myers <joseph@codesourcery.com>
751
752 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
753 are enabled. Mark level as possibly unused.
754
8cc66334
EW
7552011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
756
757 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
758 (eavrxmega?.c): Likewise.
759 * configure.tgt (targ_extra_emuls): Likewise.
760 * emulparams/avrxmega1.sh: New file.
761 * emulparams/avrxmega2.sh: Likewise.
762 * emulparams/avrxmega3.sh: Likewise.
763 * emulparams/avrxmega4.sh: Likewise.
764 * emulparams/avrxmega5.sh: Likewise.
765 * emulparams/avrxmega6.sh: Likewise.
766 * emulparams/avrxmega7.sh: Likewise.
767 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
768 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
769
ef844a53
EW
7702011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
771
772 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
773
35fc36a8
RS
7742011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
775
776 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
777 eh->target_internal.
778
cbc704f3
RS
7792011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
780
781 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
782 instead of dynamic_sections_created.
783
10be1b6a
DK
7842011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
785
786 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
787
422b6f14
DK
7882011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
789
790 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
791
8543fde5
DK
7922011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
793
794 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
795 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
796 * ldmain.c (add_archive_element): Set it if the member is claimed.
797 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
798 (find_replacements_insert_point): New helper function.
799 (lang_process): After adding and opening replacement files passed
800 from plugin, splice them into correct place in statement list and
801 file chains to preserve critical link order.
802 (lang_list_insert_after): New helper function.
803 (lang_list_remove_tail): Likewise.
804
cf4dc96f
DK
8052011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
806
807 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
808 (IRONLY_SUFFIX_LEN): Delete.
809 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
810 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
811 enclosing lang input statement instead.
812
4bf0cafb
DK
8132011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
814
815 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
816 alignment of input sections when creating orphan output sections
817 during relocatable link.
818 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
819
1715a13c
L
8202011-03-04 H.J. Lu <hongjiu.lu@intel.com>
821
822 * ld.texinfo: Document --verbose[=NUMBER].
823
824 * lexsup.c (ld_options): Update --verbose.
825 (parse_args): Set report_plugin_symbols.
826
827 * plugin.c (report_plugin_symbols): New.
828 (get_symbols): Report plugin symbols if report_plugin_symbols
829 is TRUE.
830
831 * plugin.h (report_plugin_symbols): New.
832
f4c37f56
L
8332011-03-01 H.J. Lu <hongjiu.lu@intel.com>
834
835 PR ld/12529
836 * testplug.c: Don't include "filenames.h".
837 (onclaim_file): Don't use filename_cmp.
838
42627821
KT
8392011-02-28 Kai Tietz <kai.tietz@onevision.com>
840
841 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
842 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
843 Likewise.
844 (gld${EMULATION_NAME}_stat_needed): Likewise.
845 (gld${EMULATION_NAME}_check_needed): Likewise.
846 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
847 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
848 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
849 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
850 * ldfile.c (ldfile_open_file): Likewise.
851 * ldlang.c (wild_sort): Likewise.
852 (lookup_name): Likewise.
853 (check_excluded_libs): Likewise.
854 * ldmisc.c (vfinfo): Likewise.
855 * pe-dll.c (libnamencmp): Likewise.
856 (auto_export): Likewise.
857 (pe_dll_generate_implib): Likewise.
858 * testplug.c (onclaim_file): Likewise.
859
174b85fc
L
8602011-02-24 H.J. Lu <hongjiu.lu@intel.com>
861
862 PR ld/12507
863 * plugin.c (get_symbols): Don't check entry symbol here.
864 (init_non_ironly_hash): Add entry_symbol chain into
865 non_ironly_hash.
866
8ff09c12
L
8672011-02-24 H.J. Lu <hongjiu.lu@intel.com>
868
869 PR ld/12507
870 * plugin.c (get_symbols): Don't mark entry symbol IR only.
871
ae97b922
DA
8722011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
873
874 PR ld/12376
875 emulparams/hppalinux.sh (DATA_ADDR): Define.
876 (SHLIB_DATA_ADDR): Likewise.
877
73f2a3d2
L
8782011-02-16 H.J. Lu <hongjiu.lu@intel.com>
879
880 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
881 x32 for x32.
882
fd11958c
KT
8832011-02-15 Kai Tietz <kai.tietz@onevision.com>
884
885 * pe-dll.c (process_def_file_and_drectve): Don't strip
886 leading underscore from symbol by calling bfd_find_version_for_sym.
887
93252b1c
MF
8882011-02-14 Mike Frysinger <vapier@gentoo.org>
889
890 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
891 the bfd_demangle of sym, change users of sym to c_sym when not
892 already demangling, and free when done. Change callers of
893 cplus_demangle to bfd_demangle.
894
486329aa
AM
8952011-02-14 Alan Modra <amodra@gmail.com>
896
897 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
898 .text section, use newer bfd_make_section variant. Error handling.
899 Correct setting of gp size.
900 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
901 (message): Likewise for ACONCAT.
902 (get_symbols): Formatting.
903
498cd2a0
AM
9042011-02-14 Alan Modra <amodra@gmail.com>
905
906 * ldmain.c (remove_output): Rename to..
907 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
908 (main): Adjust.
909 * plugin.c (plugin_call_cleanup): Make global.
910 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
911 * plugin.h (plugin_call_cleanup): Declare.
912
822ce8ee
RW
9132011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
914
915 * configure: Regenerate.
916
09b910c6
AM
9172011-02-10 Alan Modra <amodra@gmail.com>
918
919 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
920 * scripttempl/avr.sc: Likewise.
921 * scripttempl/elf32cr16.sc: Likewise.
922 * scripttempl/elf32crx.sc: Likewise.
923 * scripttempl/elf32msp430.sc: Likewise.
924 * scripttempl/elf32msp430_3.sc: Likewise.
925 * scripttempl/elf32sh-symbian.sc: Likewise.
926 * scripttempl/elf64hppa.sc: Likewise.
927 * scripttempl/elf_chaos.sc: Likewise.
928 * scripttempl/elfd10v.sc: Likewise.
929 * scripttempl/elfd30v.sc: Likewise.
930 * scripttempl/elfi370.sc: Likewise.
931 * scripttempl/elfm68hc11.sc: Likewise.
932 * scripttempl/elfm68hc12.sc: Likewise.
933 * scripttempl/elfxtensa.sc: Likewise.
934 * scripttempl/ip2k.sc: Likewise.
935 * scripttempl/iq2000.sc: Likewise.
936 * scripttempl/mep.sc: Likewise.
937 * scripttempl/mmo.sc: Likewise.
938 * scripttempl/v850.sc: Likewise.
939 * scripttempl/xstormy16.sc: Likewise.
940 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
941
3cb62297
L
9422011-01-22 H.J. Lu <hongjiu.lu@intel.com>
943
944 * Makefile.am (CXX): Removed.
945
946 * configure.in: Add AC_PROG_CXX.
947
948 * Makefile.in: Regenerated.
949 * configure: Likewise.
950
ed88c97e
RS
9512011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
952
953 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
954 private data and GP size.
955
9bc8bb33
AM
9562011-01-21 Alan Modra <amodra@gmail.com>
957
958 * ldexp.c (fold_binary): Set result section for arithmetic and
959 logical operations to NULL when both operands are in same section.
960 * ld.texinfo (Expression Section): Describe this.
961
175b7cd4
AM
9622011-01-14 Alan Modra <amodra@gmail.com>
963
964 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
965 attempt to put non-alloc orphans before debug sections, just place
966 them after .comment.
967
a05e447f
AM
9682011-01-14 J. Park <grassman@gmail.com>
969
970 PR ld/12339
971 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
972
3ed41d59
AM
9732011-01-14 Alan Modra <amodra@gmail.com>
974
975 * Makefile.am: Sort emulation rules.
976 (eelf32am33lin.c): Delete.
977 (ALL_EMULATION_SOURCES): Sort, add missing entries.
978 (ALL_64_EMULATION_SOURCES): Likewise.
979 * Makefile.in: Regenerate.
980
2e57b2af
AM
9812011-01-13 Alan Modra <amodra@gmail.com>
982
01554a74
AM
983 PR ld/12356
984 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
985 (Expression Section): Update.
986 * ld.h (ld_config_type): Add sane_expr.
987 * ldgram.y (ifile_p1): Add LD_FEATURE.
988 * ldlex.l (LD_FEATYRE): New.
989 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
990 * ldexp.h (struct ldexp_control): Delete uses_defined.
991 * ldexp.c: Remove all uses of uses_defined.
992 (fold_name): Test config.sane_expr rather than ld_compatibility.
993 (exp_fold_tree_1): Likewise. Adjust handling of assignments
994 during first phase.
995 * ldlang.h (ld_compatibility): Delete.
996 (lang_ld_feature): Declare.
997 * ldlang.c (ld_compatibility): Delete.
998 (open_input_bfds): Only handle assignments for --defsym.
999 (lang_ld_feature): New function.
1000
2e57b2af
AM
1001 PR ld/12356
1002 * ldexp.h (exp_assop): Delete.
1003 (exp_assign, exp_defsym): Declare.
1004 * ldexp.c (exp_assop): Make static, handle all assignment variations.
1005 (exp_assign, exp_defsym): New functions.
1006 (exp_provide): Use exp_assop.
1007 * ldgram.y (defsym_expr): Use exp_defsym.
1008 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
1009 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
1010 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
1011
ea7c2e6c
AM
10122011-01-12 Alan Modra <amodra@gmail.com>
1013
1014 PR ld/12380
1015 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
1016 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
1017 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
1018 to detect when we've finished sizing sections.
1019 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
1020 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
1021 that we are not inside an output section statement.
1022 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
1023 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
1024 lang_final_phase_enum here.
1025 (lang_process): Set lang_final_phase_enum here.
1026
f7465604
NC
10272011-01-10 Nick Clifton <nickc@redhat.com>
1028
1029 * po/da.po: Updated Danish translation.
1030
1e915804
L
10312011-01-10 H.J. Lu <hongjiu.lu@intel.com>
1032
1033 * ldlang.c (startup_file): Removed.
1034 (lang_startup): Updated.
1035
cc322803
L
10362011-01-05 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 PR ld/12364
1039 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
1040 before accessing its flags field.
1041
0db46eb4
L
10422011-01-01 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * ldver.c (ldversion): Update copyright to 2011.
1045
9e9e0820 1046For older changes see ChangeLog-2010
252b5132
RH
1047\f
1048Local Variables:
1049mode: change-log
1050left-margin: 8
1051fill-column: 74
1052version-control: never
1053End:
This page took 1.072525 seconds and 4 git commands to generate.