PR ld/11367
[binutils-gdb.git] / ld / ChangeLog
1 2010-03-11 George Gensure <werkt0@gmail.com>
2
3 PR ld/11367
4 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
5
6 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
7
8 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
9 eelf_i386_sol2.o.
10 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
11 (eelf32_sparc_sol2.c): New rule.
12 (eelf64_sparc_sol2.c): Likewise.
13 (eelf_x86_64_sol2.c): Likewise.
14 (eelf_i386_sol2.c): Likewise.
15 * Makefile.in: Regenerate.
16 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
17 elf_i386_sol2.
18 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
19 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
20 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
21 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
22 Add target_extra_emuls.
23 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
24 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
25 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
26 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
27 * emulparams/elf32_sparc_sol2.sh: New file.
28 * emulparams/elf64_sparc_sol2.sh: New file.
29 * emulparams/elf_i386_sol2.sh: New file.
30 * emulparams/elf_x86_64_sol2.sh: New file.
31 * emultempl/solaris2.em: New file.
32
33 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR ld/11330
36 * ld.texinfo: Replace explicitely with explicitly.
37
38 2010-02-27 Jie Zhang <jie@codesourcery.com>
39
40 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
41 .fini_array.* when do relocatable linking.
42 * scripttempl/elf.sc: Likewise.
43 * scripttempl/elf32sh-symbian.sc: Likewise.
44 * scripttempl/elf64hppa.sc: Likewise.
45 * scripttempl/elfxtensa.sc: Likewise.
46
47 2010-02-26 Alan Modra <amodra@gmail.com>
48
49 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
50 .fini_array.*.
51 * scripttempl/armbpabi.sc: Likewise.
52 * scripttempl/elf32sh-symbian.sc: Likewise.
53 * scripttempl/elf64hppa.sc: Likewise.
54 * scripttempl/elfxtensa.sc: Likewise.
55
56 2010-02-25 Alan Modra <amodra@gmail.com>
57
58 PR ld/11304
59 * ldlang.c (init_os): Remove isec param. Don't check for
60 bfd_section already set or call bfd_init_private_section_data
61 here.
62 (exp_init_os): Update init_os call.
63 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
64 flags. Call bfd_init_private_section_data here.
65 (map_input_to_output_sections): Tidy. Update init_os calls.
66 Use os->sectype to select sec flags for lang_data_statement.
67
68 2010-02-23 Alan Modra <amodra@gmail.com>
69
70 PR ld/11304
71 * ldlang.c: Revert last patch.
72
73 2010-02-23 Nick Clifton <nickc@redhat.com>
74
75 * po/bg.po: Updated Bulgarian translation.
76
77 2010-02-22 Alan Modra <amodra@gmail.com>
78
79 PR ld/11304
80 * ldlang.c (exp_init_os): Delete forward declaration.
81 (init_os): Don't check for bfd_section already created and don't
82 init addr_tree and load_base expressions here.
83 (map_input_to_output_sections): Only map input to output sections
84 and set constraints here, and as an exception, create output
85 sections which have their address set. Move all the other code to..
86 (create_other_output_sections): ..here. New function. Handle init
87 of addr_tree and load_base here too.
88 (lang_process): Call create_other_output_sections.
89
90 2010-02-19 Alan Modra <amodra@gmail.com>
91
92 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
93 * Makefile.in: Regenerate.
94
95 2010-02-19 Alan Modra <amodra@gmail.com>
96
97 * ldlang.c (unique_section_p): Add os param. Allow group
98 sections to match /DISCARD/. Update all callers.
99 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
100 (LDEMUL_BEFORE_ALLOCATION): Define.
101
102 2010-02-15 Nick Clifton <nickc@redhat.com>
103
104 * po/vi.po: Updated Vietnamese translation.
105
106 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
107
108 * Makefile.am (CFILES): Add ldlex-wrapper.c.
109 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
110 (ldlex.o): Replace with...
111 (ldlex-wrapper.o): ...this new rule.
112 (EXTRA_ld_new_SOURCES): Add ldlex.l.
113 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
114 * Makefile.in: Regenerate.
115 * ldlex.l (sysdep.h): Don't include here.
116 * ldlex-wrapper.c: New file.
117
118 2010-02-09 Alan Modra <amodra@gmail.com>
119
120 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
121 function parameters.
122
123 2010-02-05 Nick Clifton <nickc@redhat.com>
124
125 * configure.in (ALL_LIBGUAS): Add bg.
126 * configure: Regenerate.
127 * po/bg.po: New Bulgarian translation.
128
129 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
130
131 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
132 --target1-abs and --target1-rel options.
133
134 2010-02-03 Nick Clifton <nickc@redhat.com>
135
136 * emultempl/alphaelf.em: Update value expected from elf_object_id.
137 * emultempl/hppaelf.em: Likewise.
138 * emultempl/mipself.em: Likewise.
139 * emultempl/ppc32elf.em: Likewise.
140 * emultempl/ppc64elf.em: Likewise.
141
142 2010-02-03 Alan Modra <amodra@gmail.com>
143
144 * emultempl/ppc64elf.em (build_toc_list): Report errors from
145 ppc64_elf_next_toc_section.
146 (after_allocation): Update for changed function names and params.
147 Run second pass of multitoc partitioning.
148
149 2010-01-21 Jon Grant <jg@jguk.org>
150 Nick Clifton <nickc@redhat.com>
151
152 PR 4437
153 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
154 a missing file or library. Instead mark the entry as missing and
155 set the global flag to indicate that missing files were
156 encountered.
157 * ldlang.c (missing_files): New exported variable.
158 (load_symbols): Skip loading if the file is missing.
159 (open_input_bfds): Terminate link if any input files were
160 missing.
161 * ldlang.h (struct lang_input_statement_struct): Add missing_file
162 field.
163 Add export of missing_file variable.
164
165 2010-01-13 DJ Delorie <dj@redhat.com>
166
167 * emultempl/elf32.em (_place_orphan): If an input section doesn't
168 match an existing output section, but an unused output section
169 statement does match, use it.
170 * emultempl/pe.em (_place_orphan): Likewise.
171 * emultempl/pep.em (_place_orphan): Likewise.
172
173 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
174
175 * configure: Regenerate.
176 * Makefile.in: Regenerate.
177
178 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
179
180 * ldver.c (ldversion): Change to "Copyright 2010".
181
182 2010-01-08 Alan Modra <amodra@gmail.com>
183
184 PR 11107
185 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
186
187 For older changes see ChangeLog-2009
188 \f
189 Local Variables:
190 mode: change-log
191 left-margin: 8
192 fill-column: 74
193 version-control: never
194 End: