]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - contrib/binutils/ld/ChangeLog
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / contrib / binutils / ld / ChangeLog
1 2004-05-13  Joel Sherrill <joel@oarcorp.com>
2
3         * configure.tgt (or32-*-rtems*): Switch to elf and
4         support versioned targets.
5
6 2004-05-13  Nick Clifton  <nickc@redhat.com>
7
8         * po/fr.po: Updated French translation.
9
10 2004-05-05  Alexandre Oliva  <aoliva@redhat.com>
11
12         * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
13         elf32-frvfdpic.
14
15 2004-04-29  Alan Modra  <amodra@bigpond.net.au>
16
17         * pe-dll.c: Revert changes accidentally committed 2004-03-08.
18         (fill_edata): Correct pointer arithmetic.
19
20 2004-04-21  Hans-Peter Nilsson  <hp@axis.com>
21
22         * NEWS: Mention change in DEFINED semantics.
23
24 2004-04-20  Chris Demetriou  <cgd@broadcom.com>
25
26         * NEWS: Note that MIPS --embedded-relocs option is deprecated.
27
28 2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
29
30         * configure.host: Remove mips*-dec-bsd* target.
31         * configure.tgt: Likewise.
32
33 2004-04-09  Daniel Jacobowitz  <drow@mvista.com>
34
35         Merge from mainline:
36         2004-03-30  Nick Clifton  <nickc@redhat.com>
37         * po/sv.po: Updated Swedish translation.
38
39         2004-03-20  Alexandre Oliva  <aoliva@redhat.com>
40         * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
41
42         2004-03-08  Danny Smith  <dannysmith@users.sourceforge.net>
43         * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
44         private when building implib.
45
46         2004-03-01  Andreas Schwab  <schwab@suse.de>
47         * ld.texinfo (Options): Fix example for --wrap.
48
49         2004-02-25  Danny Smith  <dannysmith@users.sourceforge.net>
50         * pe-dll.c (fill_edata): Check that exported_symbol_sections is
51         not NULL.
52
53         2004-02-23  Ian Lance Taylor  <ian@wasabisystems.com>
54         * ldlang.c (lang_check): Use %P, not %E, in error message.
55
56 2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
57
58         * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
59         * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
60         * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
61         * emultempl/irix.em: New file.
62         * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
63         dependencies.
64         * Makefile.in: Regenerate.
65
66 2004-04-08  Alan Modra  <amodra@bigpond.net.au>
67
68         Apply from mainline.
69         2004-03-27  Alan Modra  <amodra@bigpond.net.au>
70         * emultempl/elf32.em: Update new bfd_elf_discard_info name.
71         * emultempl/hppaelf.em: Likewise.
72         * emultempl/ppc64elf.em: Likewise.
73         * emultempl/sh64elf.em: Likewise.
74
75         2004-03-25  Alan Modra  <amodra@bigpond.net.au>
76         * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
77         size_dynamic_sections call.
78
79         2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80         * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
81         or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
82
83         2004-03-18  Alan Modra  <amodra@bigpond.net.au>
84         * ld.texinfo: Add --as-needed doco.
85         * ldmain.c (as_needed): New global var.
86         * ldmain.h (as_needed): Declare.
87         * lexsup.c (option_values): Add OPTION_AS_NEEDED and
88         OPTION_NO_AS_NEEDED.
89         (ld_options): Likewise.
90         (parse_args): Handle them.
91         * ldlang.h (lang_input_statement_type): Add as_needed field.
92         * ldlang.c (new_afile): Set p->as_needed.
93         * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
94         (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
95         (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
96         * ldlang.c (open_input_bfds): Remove useless cast.
97         (lang_do_assignments_1): Likewise.
98         (lang_for_each_input_section): Delete.
99
100 2004-03-23  Alan Modra  <amodra@bigpond.net.au>
101
102         PR 51.
103         * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
104         link_info.wrap_char.
105
106 2004-03-17  Ralf Corsepius <corsepiu@faw.uni-ulm.de>
107
108         * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
109
110 2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
111
112         * ldlang.c (lang_add_section): Don't force SEC_LOAD on
113         SEC_THREAD_LOCAL.
114         (IGNORE_SECTION): Ignore .tbss sections too.
115         (lang_size_sections_1): .tbss sections do not advance dot.
116
117 2004-02-23  Nathan Sidwell  <nathan@codesourcery.com>
118
119         * ldlang.h (struct lang_output_section_state): Change processed
120         field's type.
121         * ldexp.c (check, invalid): Remove.
122         (fold_name): Move valid_p assignments. Create undefined symbol
123         when needed. Directly exampine section's processd flag.
124         * ldlang.c (lang_output_section_statement_lookup): Adjust
125         processed field init.
126         (lang_size_sections_1): Allow LOADADDR when determining section's
127         VMA. Adjust error message. Fold data statement's expr.
128         (lang_size_sections): Correctly increment lang_statement_iteration.
129
130 2004-02-23  Alan Modra <amodra@bigpond.net.au>
131
132         * ldexp.c (fold_tree): Follow indirect symbols.
133
134 2004-02-20  Nathan Sidwell  <nathan@codesourcery.com>
135
136         * ldgram.y (exp): Add two operand ALIGN.
137         * ldexp.c (fold_binary): Add ALIGN_K case.
138         * ld.texinfo (ALIGN): Document two operand version.
139
140 2004-02-19  Nathan Sidwell  <nathan@codesourcery.com>
141
142         * ldlang.c (map_input_to_output_sections): Initialize sections
143         mentioned in a data statement expression.
144         (lang_do_assignments_1): Add data statement's expression's
145         section's vma.
146
147 2004-02-18  Nathan Sidwell  <nathan@codesourcery.com>
148
149         * ldgram.y (statement_anywhere): Add assert rule.
150         * ldlang.c (exp_init_os): Add assert case.
151
152 2004-02-14  Andrew Cagney  <cagney@redhat.com>
153
154         * ldmain.c (remove_output): Call bfd_cache_close.
155
156 2004-02-14  Richard Sandiford  <rsandifo@redhat.com>
157
158         * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
159         .MIPS.content* and .MIPS.events* sections.
160
161 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
162
163         * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
164         .note.gnu.arm.ident to after allocated sections.  Mark its
165         address as 0.
166
167 2004-02-09  Daniel Jacobowitz  <drow@mvista.com>
168
169         * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
170         * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
171         * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
172         * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
173         * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
174
175 2004-02-05  Nick Clifton  <nickc@redhat.com>
176
177         * emultempl/pe.em (_after_open): Fix typo in previous delta.
178
179 2004-02-04  Danny Smith  <dannysmith@users.sourceforge.net>
180
181         * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
182
183 2004-01-28  Alan Modra  <amodra@bigpond.net.au>
184
185         * genscripts.sh: Fix typo.
186
187         * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
188
189 2004-01-24  Jakub Jelinek  <jakub@redhat.com>
190
191         * emulparams/elf64_ia64.sh: Put .rela.opd into
192         OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
193
194 2004-01-20  Danny Smith  <dannysmith@users.sourceforge.net>
195
196         * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
197         * ld.texinfo (--omagic): Note that writable text section
198         does not conform to published PE-COFF specs.
199         (--enable-auto-import): Likewise.
200
201 2004-01-15  Alan Modra  <amodra@bigpond.net.au>
202
203         * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
204
205 2004-01-13  Nick Clifton  <nickc@redhat.com>
206
207         * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
208         which if true will prevent the LMA region being used as a
209         replacement for a default VMA region.
210         (lang_leave_output_section_statement): Pass extra parameter.
211         (lang_leave_overlay): Likewise.
212         * ld.texinfo (Output Section LMA): Document that the LMA
213         region can be set to the VMA region if no VMA has been set.
214         * ldlang.h (struct lang_output_section_phdr_list): Create a
215         typedef for this type.  Minor formatting fixes.
216
217 2004-01-13  Nick Clifton  <nickc@redhat.com>
218
219         * ldlang.c (lang_size_sections_1): If dot is advanced, then
220         assume that the section should be allocated.
221
222 2004-01-13  Alan Modra  <amodra@bigpond.net.au>
223
224         * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
225         sections.  Do ignore SEC_NEVER_LOAD sections.
226         (lang_size_sections_1): Remove test made redundant with the above.
227
228 2004-01-09  Alan Modra  <amodra@bigpond.net.au>
229
230         * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
231         program_header_size.
232
233 2004-01-06  Alexandre Oliva  <aoliva@redhat.com>
234
235         2003-11-28  Alexandre Oliva  <aoliva@redhat.com>
236         * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
237         2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
238         * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
239         (MAXPAGESIZE): Set to 64Kb.
240         (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
241         __ROFIXUP_END__.  Don't map .rofixup.got any more.
242         * emulparams/elf32frv.sh (NOP): Set.
243         2003-10-31  Alexandre Oliva  <aoliva@redhat.com>
244         * configure.tgt: Add frv-*-*linux*.
245         2003-09-30  Alexandre Oliva  <aoliva@redhat.com>
246         * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
247         (eelf32frvfd.c): New.
248         * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
249         * emulparams/elf32frv.sh: Reverted previous two patches.
250         * emulparams/elf32frvfd.sh: New.
251         * Makefile.in: Rebuilt.
252         2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
253         * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
254         .rofixup.got to .rofixup.
255         2003-09-15  Alexandre Oliva  <aoliva@redhat.com>
256         * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
257         (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
258
259 2004-01-05  Jakub Jelinek  <jakub@redhat.com>
260
261         * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
262         * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
263
264 2004-01-03  Alan Modra  <amodra@bigpond.net.au>
265
266         * ldexp.c (align_n): Make static.
267         * ldexp.h (align_n): Delete declaration.
268         * ldlang.h (lang_enter_output_section_statement): Remove
269         block_value param.
270         * ldlang.c (lang_enter_output_section_statement): Likewise.
271         (TO_ADDR, TO_SIZE): Define.
272         (opb_shift): New var.
273         (init_opb): New function.
274         (print_input_section): Call init_opb and use TO_ADDR.
275         (print_data_statement, print_reloc_statement): Likewise.
276         (print_padding_statement): Likewise.
277         (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
278         (lang_check_section_addresses): Likewise.
279         (lang_size_sections_1): Likewise.
280         (lang_do_assignments_1): Likewise.
281         (lang_set_startof): Likewise.
282         (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
283         (lang_process): Call init_opb.
284         (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
285         (lang_enter_overlay_section): Adjust
286         lang_enter_output_section_statement call.
287         * ldgram.y: Likewise.
288         * mri.c (mri_draw_tree): Likewise.
289         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
290         * emultempl/mmo.em (mmo_place_orphan): Likewise.
291         * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
292
293         * ldfile.c (ldfile_set_output_arch): Add defarch param.
294         * ldfile.h (ldfile_set_output_arch): Ditto.
295         * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
296         ldfile_set_output_arch.
297         * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
298         * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
299         * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
300         * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
301         * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
302         * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
303         * ldgram.y: Adjust ldfile_set_output_arch call.
304         * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
305         * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
306         * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
307         * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
308         * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
309         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
310         * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
311
312 2004-01-02  Bernardo Innocenti  <bernie@develer.com>
313
314         * configure.tgt: Add m68k-uClinux target.
315
316 For older changes see ChangeLog-0203
317 \f
318 Local Variables:
319 mode: change-log
320 left-margin: 8
321 fill-column: 74
322 version-control: never
323 End: