xref: /netbsd-src/external/gpl3/binutils/dist/ld/ChangeLog (revision cb861154c176d3dcc8ff846f449e3c16a5f5edb5)
12009-03-02  Alan Modra  <amodra@bigpond.net.au>
2
3	2009-02-16  Alan Modra  <amodra@bigpond.net.au>
4	* ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
5	(stat_save, stat_save_ptr): New variables.
6	(lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
7	(load_symbols): Likewise.  Delete dead "bad_load" code.
8	(open_input_bfds): Warn on script containing output sections.
9	(lang_enter_output_section_statement): Use push_stat_ptr.
10	(lang_enter_group): Likewise.
11	(lang_leave_output_section_statement): Use pop_stat_ptr.
12	(lang_leave_group): Likewise.
13	* ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
14	* ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
15	* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
16	* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
17	* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
18	* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
19
20	2008-10-04  Alan Modra  <amodra@bigpond.net.au>
21	PR 6931
22	* ldemul.c (ldemul_place_orphan): Add "constraint" param.
23	* ldemul.h (ldemul_place_orphan): Update prototype.
24	(struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
25	* ldlang.c (unique_section_p): Make static.
26	(lang_output_section_statement_lookup): Optimise creation of SPECIAL
27	sections.
28	(lang_insert_orphan): Add "constraint" param.  Pass to
29	lang_enter_output_section_statement.
30	(init_os): Don't use an existing bfd section for SPECIAL sections.
31	(lang_place_orphans): Don't rename unique output sections, instead
32	mark their output section statements SPECIAL.
33	* ldlang.h (lang_insert_orphan): Update prototype.
34	(unique_section_p): Delete.
35	* emultempl/beos.em (place_orphan): Add "constraint" param.
36	* emultempl/elf32.em (place_orphan): Likewise.  Don't match existing
37	output sections if set.
38	* emultempl/pe.em (place_orphan): Likewise.
39	* emultempl/pep.em (place_orphan): Likewise.
40	* emultempl/mmo.em (mmo_place_orphan): Update.
41	* emultempl/spuelf.em (spu_place_special_section): Update.
42
43	2008-10-03  Alan Modra  <amodra@bigpond.net.au>
44	PR 6931
45	* ldemul.c (ldemul_place_orphan): Add "name" param.
46	* ldemul.h (ldemul_place_orphan): Update prototype.
47	(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
48	* ldlang.c (lang_place_orphans): Generate unique section names here..
49	* emultempl/elf32.em (place_orphan): ..rather than here.  Don't
50	directly use an existing output section statement that has no
51	bfd section.
52	* emultempl/pe.em (place_orphan): Likewise.
53	* emultempl/pep.em (place_orphan): Likewise.
54	* emultempl/beos.em (place_orphan): Adjust.
55	* emultempl/spuelf.em (spu_place_special_section): Adjust
56	place_orphan call.
57	* emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
58	(LDEMUL_AFTER_OPEN): Define.
59
60	2008-09-25  Alan Modra  <amodra@bigpond.net.au>
61	* ldexp.c (fold_binary): Evaluate rhs when lhs not valid.
62
632009-02-02  Tristan Gingold  <gingold@adacore.com>
64
65	* deffilep.c: Add autogenerated file.
66	* deffilep.h: Ditto.
67
682009-01-08  Dave Korn  <dave.korn.cygwin@gmail.com>
69
70Backport bugfix from HEAD:
71
72  2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
73
74	* pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
75	(libnamencmp):  New function.
76	(auto_export):  Use it in place of strncmp when filtering libraries.
77
78For older changes see ChangeLog-2008
79
80Local Variables:
81mode: change-log
82left-margin: 8
83fill-column: 74
84version-control: never
85End:
86
87