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