* Makefile.am: Remove all mention of elflink.h.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
5a580b3a
AM
12004-03-25 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
4 size_dynamic_sections call.
5
b9cf773d
AM
62004-03-23 Alan Modra <amodra@bigpond.net.au>
7
8 PR 51.
9 * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
10 link_info.wrap_char.
11
59c2e50f
L
122004-03-20 H.J. Lu <hongjiu.lu@intel.com>
13
14 * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
15 or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
16
44349745
AO
172004-03-20 Alexandre Oliva <aoliva@redhat.com>
18
19 * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
20
81359a70
AM
212004-03-19 Alan Modra <amodra@bigpond.net.au>
22
23 * config.in: Regenerate.
24 * po/ld.pot: Regenerate.
25
4a43e768
AM
262004-03-18 Alan Modra <amodra@bigpond.net.au>
27
28 * ld.texinfo: Add --as-needed doco.
29 * ldmain.c (as_needed): New global var.
30 * ldmain.h (as_needed): Declare.
31 * lexsup.c (option_values): Add OPTION_AS_NEEDED and
32 OPTION_NO_AS_NEEDED.
33 (ld_options): Likewise.
34 (parse_args): Handle them.
35 * ldlang.h (lang_input_statement_type): Add as_needed field.
36 * ldlang.c (new_afile): Set p->as_needed.
37 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
38 (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
39 (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
40
41 * ldlang.c (open_input_bfds): Remove useless cast.
42 (lang_do_assignments_1): Likewise.
43 (lang_for_each_input_section): Delete.
44
9183ed4b
AM
452004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
46
47 * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
48
ee31fbd0
NC
492004-03-08 Danny Smith <dannysmith@users.sourceforge.net>
50
51 * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
52 private when building implib.
53
e5caec89
NS
542004-03-05 Nathan Sidwell <nathan@codesourcery.com>
55
56 * ldlang.c (lang_add_section): Don't force SEC_LOAD on
57 SEC_THREAD_LOCAL.
58 (IGNORE_SECTION): Ignore .tbss sections too.
59 (lang_size_sections_1): .tbss sections do not advance dot.
60
cc2f008e
AS
612004-03-01 Andreas Schwab <schwab@suse.de>
62
63 * ld.texinfo (Options): Fix example for --wrap.
64
f5a95868
DS
652004-02-25 Danny Smith <dannysmith@users.sourceforge.net>
66
67 * pe-dll.c (fill_edata): Check that exported_symbol_sections is
68 not NULL.
69
177b729b
ILT
702004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
71
72 * ldlang.c (lang_check): Use %P, not %E, in error message.
73
1b493742
NS
742004-02-23 Nathan Sidwell <nathan@codesourcery.com>
75
76 * ldlang.h (struct lang_output_section_state): Change processed
77 field's type.
78 * ldexp.c (check, invalid): Remove.
79 (fold_name): Move valid_p assignments. Create undefined symbol
80 when needed. Directly exampine section's processd flag.
81 * ldlang.c (lang_output_section_statement_lookup): Adjust
82 processed field init.
83 (lang_size_sections_1): Allow LOADADDR when determining section's
84 VMA. Adjust error message. Fold data statement's expr.
85 (lang_size_sections): Correctly increment lang_statement_iteration.
86
872004-02-23 Alan Modra <amodra@bigpond.net.au>
88
89 * ldexp.c (fold_tree): Follow indirect symbols.
b9cf773d 90
876f4090
NS
912004-02-20 Nathan Sidwell <nathan@codesourcery.com>
92
93 * ldgram.y (exp): Add two operand ALIGN.
94 * ldexp.c (fold_binary): Add ALIGN_K case.
95 * ld.texinfo (ALIGN): Document two operand version.
96
384d938f
NS
972004-02-19 Nathan Sidwell <nathan@codesourcery.com>
98
99 * ldlang.c (map_input_to_output_sections): Initialize sections
100 mentioned in a data statement expression.
101 (lang_do_assignments_1): Add data statement's expression's
102 section's vma.
103
b6ca8815
NS
1042004-02-18 Nathan Sidwell <nathan@codesourcery.com>
105
106 * ldgram.y (statement_anywhere): Add assert rule.
107 * ldlang.c (exp_init_os): Add assert case.
108
c92c35e7
AC
1092004-02-14 Andrew Cagney <cagney@redhat.com>
110
111 * ldmain.c (remove_output): Call bfd_cache_close.
112
9bf78c99
RS
1132004-02-14 Richard Sandiford <rsandifo@redhat.com>
114
115 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
116 .MIPS.content* and .MIPS.events* sections.
117
f3806916
DJ
1182004-02-09 Daniel Jacobowitz <drow@mvista.com>
119
120 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
121 .note.gnu.arm.ident to after allocated sections. Mark its
122 address as 0.
123
4c8e70d7
DJ
1242004-02-09 Daniel Jacobowitz <drow@mvista.com>
125
126 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
127 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
128 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
129 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
130 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
131
ff71f4f7
NC
1322004-02-05 Nick Clifton <nickc@redhat.com>
133
134 * emultempl/pe.em (_after_open): Fix typo in previous delta.
135
07a68a80
NC
1362004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
137
138 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
139
1dd3bf68
AM
1402004-01-28 Alan Modra <amodra@bigpond.net.au>
141
586196d5
AM
142 * genscripts.sh: Fix typo.
143
1dd3bf68
AM
144 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
145
13d9421f
JJ
1462004-01-24 Jakub Jelinek <jakub@redhat.com>
147
148 * emulparams/elf64_ia64.sh: Put .rela.opd into
149 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
150
4d8907ac
DS
1512004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
152
153 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
154 * ld.texinfo (--omagic): Note that writable text section
155 does not conform to published PE-COFF specs.
156 (--enable-auto-import): Likewise.
157
e5c60db5
AM
1582004-01-15 Alan Modra <amodra@bigpond.net.au>
159
160 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
161
6bdafbeb
NC
1622004-01-13 Nick Clifton <nickc@redhat.com>
163
164 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
165 which if true will prevent the LMA region being used as a
166 replacement for a default VMA region.
586196d5
AM
167 (lang_leave_output_section_statement): Pass extra parameter.
168 (lang_leave_overlay): Likewise.
169 * ld.texinfo (Output Section LMA): Document that the LMA
6bdafbeb
NC
170 region can be set to the VMA region if no VMA has been set.
171 * ldlang.h (struct lang_output_section_phdr_list): Create a
172 typedef for this type. Minor formatting fixes.
586196d5 173
9dfc8ab2
NC
1742004-01-13 Nick Clifton <nickc@redhat.com>
175
176 * ldlang.c (lang_size_sections_1): If dot is advanced, then
177 assume that the section should be allocated.
178
8325c4dd
AM
1792004-01-13 Alan Modra <amodra@bigpond.net.au>
180
181 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
182 sections. Do ignore SEC_NEVER_LOAD sections.
183 (lang_size_sections_1): Remove test made redundant with the above.
184
83490352
AM
1852004-01-09 Alan Modra <amodra@bigpond.net.au>
186
187 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
188 program_header_size.
189
005e1118
AO
1902004-01-06 Alexandre Oliva <aoliva@redhat.com>
191
192 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
193 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
194 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
195 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
196 (MAXPAGESIZE): Set to 64Kb.
197 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
198 __ROFIXUP_END__. Don't map .rofixup.got any more.
199 * emulparams/elf32frv.sh (NOP): Set.
200 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
201 * configure.tgt: Add frv-*-*linux*.
202 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
203 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
204 (eelf32frvfd.c): New.
205 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
206 * emulparams/elf32frv.sh: Reverted previous two patches.
207 * emulparams/elf32frvfd.sh: New.
208 * Makefile.in: Rebuilt.
209 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
210 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
211 .rofixup.got to .rofixup.
212 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
213 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
214 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
215
060feee5
JJ
2162004-01-05 Jakub Jelinek <jakub@redhat.com>
217
218 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
219 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
220
5e2f1575
AM
2212004-01-03 Alan Modra <amodra@bigpond.net.au>
222
e5caa5e0
AM
223 * ldexp.c (align_n): Make static.
224 * ldexp.h (align_n): Delete declaration.
225 * ldlang.h (lang_enter_output_section_statement): Remove
226 block_value param.
227 * ldlang.c (lang_enter_output_section_statement): Likewise.
228 (TO_ADDR, TO_SIZE): Define.
c2df3ea5 229 (opb_shift): New var.
e5caa5e0
AM
230 (init_opb): New function.
231 (print_input_section): Call init_opb and use TO_ADDR.
232 (print_data_statement, print_reloc_statement): Likewise.
233 (print_padding_statement): Likewise.
c2df3ea5 234 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
e5caa5e0
AM
235 (lang_check_section_addresses): Likewise.
236 (lang_size_sections_1): Likewise.
237 (lang_do_assignments_1): Likewise.
238 (lang_set_startof): Likewise.
c2df3ea5 239 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
e5caa5e0 240 (lang_process): Call init_opb.
c2df3ea5 241 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
e5caa5e0
AM
242 (lang_enter_overlay_section): Adjust
243 lang_enter_output_section_statement call.
244 * ldgram.y: Likewise.
245 * mri.c (mri_draw_tree): Likewise.
246 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
247 * emultempl/mmo.em (mmo_place_orphan): Likewise.
248 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
249
5e2f1575
AM
250 * ldfile.c (ldfile_set_output_arch): Add defarch param.
251 * ldfile.h (ldfile_set_output_arch): Ditto.
252 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
253 ldfile_set_output_arch.
254 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
255 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
256 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
257 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
258 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
259 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
260 * ldgram.y: Adjust ldfile_set_output_arch call.
261 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
262 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
263 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
264 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
265 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
266 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
267 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
268
b50c15dc
NC
2692004-01-02 Bernardo Innocenti <bernie@develer.com>
270
271 * configure.tgt: Add m68k-uClinux target.
6edf0760 272
c9e214e5 273For older changes see ChangeLog-0203
252b5132
RH
274\f
275Local Variables:
276mode: change-log
277left-margin: 8
278fill-column: 74
279version-control: never
280End:
This page took 0.333942 seconds and 4 git commands to generate.