1 2004-02-23 Nathan Sidwell <nathan@codesourcery.com>
3 * ldlang.h (struct lang_output_section_state): Change processed
5 * ldexp.c (check, invalid): Remove.
6 (fold_name): Move valid_p assignments. Create undefined symbol
7 when needed. Directly exampine section's processd flag.
8 * ldlang.c (lang_output_section_statement_lookup): Adjust
10 (lang_size_sections_1): Allow LOADADDR when determining section's
11 VMA. Adjust error message. Fold data statement's expr.
12 (lang_size_sections): Correctly increment lang_statement_iteration.
14 2004-02-23 Alan Modra <amodra@bigpond.net.au>
16 * ldexp.c (fold_tree): Follow indirect symbols.
18 2004-02-20 Nathan Sidwell <nathan@codesourcery.com>
20 * ldgram.y (exp): Add two operand ALIGN.
21 * ldexp.c (fold_binary): Add ALIGN_K case.
22 * ld.texinfo (ALIGN): Document two operand version.
24 2004-02-19 Nathan Sidwell <nathan@codesourcery.com>
26 * ldlang.c (map_input_to_output_sections): Initialize sections
27 mentioned in a data statement expression.
28 (lang_do_assignments_1): Add data statement's expression's
31 2004-02-18 Nathan Sidwell <nathan@codesourcery.com>
33 * ldgram.y (statement_anywhere): Add assert rule.
34 * ldlang.c (exp_init_os): Add assert case.
36 2004-02-14 Andrew Cagney <cagney@redhat.com>
38 * ldmain.c (remove_output): Call bfd_cache_close.
40 2004-02-14 Richard Sandiford <rsandifo@redhat.com>
42 * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
43 .MIPS.content* and .MIPS.events* sections.
45 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
47 * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
48 .note.gnu.arm.ident to after allocated sections. Mark its
51 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
53 * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
54 * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
55 * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
56 * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
57 * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
59 2004-02-05 Nick Clifton <nickc@redhat.com>
61 * emultempl/pe.em (_after_open): Fix typo in previous delta.
63 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net>
65 * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
67 2004-01-28 Alan Modra <amodra@bigpond.net.au>
69 * genscripts.sh: Fix typo.
71 * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
73 2004-01-24 Jakub Jelinek <jakub@redhat.com>
75 * emulparams/elf64_ia64.sh: Put .rela.opd into
76 OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
78 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net>
80 * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
81 * ld.texinfo (--omagic): Note that writable text section
82 does not conform to published PE-COFF specs.
83 (--enable-auto-import): Likewise.
85 2004-01-15 Alan Modra <amodra@bigpond.net.au>
87 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
89 2004-01-13 Nick Clifton <nickc@redhat.com>
91 * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
92 which if true will prevent the LMA region being used as a
93 replacement for a default VMA region.
94 (lang_leave_output_section_statement): Pass extra parameter.
95 (lang_leave_overlay): Likewise.
96 * ld.texinfo (Output Section LMA): Document that the LMA
97 region can be set to the VMA region if no VMA has been set.
98 * ldlang.h (struct lang_output_section_phdr_list): Create a
99 typedef for this type. Minor formatting fixes.
101 2004-01-13 Nick Clifton <nickc@redhat.com>
103 * ldlang.c (lang_size_sections_1): If dot is advanced, then
104 assume that the section should be allocated.
106 2004-01-13 Alan Modra <amodra@bigpond.net.au>
108 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
109 sections. Do ignore SEC_NEVER_LOAD sections.
110 (lang_size_sections_1): Remove test made redundant with the above.
112 2004-01-09 Alan Modra <amodra@bigpond.net.au>
114 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
117 2004-01-06 Alexandre Oliva <aoliva@redhat.com>
119 2003-11-28 Alexandre Oliva <aoliva@redhat.com>
120 * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
121 2003-11-05 Alexandre Oliva <aoliva@redhat.com>
122 * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
123 (MAXPAGESIZE): Set to 64Kb.
124 (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
125 __ROFIXUP_END__. Don't map .rofixup.got any more.
126 * emulparams/elf32frv.sh (NOP): Set.
127 2003-10-31 Alexandre Oliva <aoliva@redhat.com>
128 * configure.tgt: Add frv-*-*linux*.
129 2003-09-30 Alexandre Oliva <aoliva@redhat.com>
130 * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
131 (eelf32frvfd.c): New.
132 * configure.tgt <frv-*-*>: Added it to targ_extra_emuls.
133 * emulparams/elf32frv.sh: Reverted previous two patches.
134 * emulparams/elf32frvfd.sh: New.
135 * Makefile.in: Rebuilt.
136 2003-09-18 Alexandre Oliva <aoliva@redhat.com>
137 * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
138 .rofixup.got to .rofixup.
139 2003-09-15 Alexandre Oliva <aoliva@redhat.com>
140 * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
141 (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
143 2004-01-05 Jakub Jelinek <jakub@redhat.com>
145 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
146 * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
148 2004-01-03 Alan Modra <amodra@bigpond.net.au>
150 * ldexp.c (align_n): Make static.
151 * ldexp.h (align_n): Delete declaration.
152 * ldlang.h (lang_enter_output_section_statement): Remove
154 * ldlang.c (lang_enter_output_section_statement): Likewise.
155 (TO_ADDR, TO_SIZE): Define.
156 (opb_shift): New var.
157 (init_opb): New function.
158 (print_input_section): Call init_opb and use TO_ADDR.
159 (print_data_statement, print_reloc_statement): Likewise.
160 (print_padding_statement): Likewise.
161 (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
162 (lang_check_section_addresses): Likewise.
163 (lang_size_sections_1): Likewise.
164 (lang_do_assignments_1): Likewise.
165 (lang_set_startof): Likewise.
166 (lang_one_common): Likewise. Combine power_of_two and opb_shift align.
167 (lang_process): Call init_opb.
168 (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
169 (lang_enter_overlay_section): Adjust
170 lang_enter_output_section_statement call.
171 * ldgram.y: Likewise.
172 * mri.c (mri_draw_tree): Likewise.
173 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
174 * emultempl/mmo.em (mmo_place_orphan): Likewise.
175 * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
177 * ldfile.c (ldfile_set_output_arch): Add defarch param.
178 * ldfile.h (ldfile_set_output_arch): Ditto.
179 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
180 ldfile_set_output_arch.
181 * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
182 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
183 * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
184 * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
185 * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
186 * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
187 * ldgram.y: Adjust ldfile_set_output_arch call.
188 * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
189 * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
190 * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
191 * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
192 * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
193 * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
194 * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
196 2004-01-02 Bernardo Innocenti <bernie@develer.com>
198 * configure.tgt: Add m68k-uClinux target.
200 For older changes see ChangeLog-0203
206 version-control: never