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