1 2008-02-22 Nick Clifton <nickc@redhat.com>
4 * ldlang.c (lang_size_sections_1): Honour the setting of an
5 lma_region even if there is no vma region set, or the vma region
6 is the same as the lma region.
8 2008-02-18 Nick Clifton <nickc@redhat.com>
10 * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
12 * scripttempl/elf32cr16.sc: Likewise.
13 * scripttempl/elf32cr16c.sc: Likewise.
14 * scripttempl/elf32crx.sc: Likewise.
15 * scripttempl/elf32sh-symbian.sc: Likewise.
16 * scripttempl/elf_chaos.sc: Likewise.
17 * scripttempl/elfd10v.sc: Likewise.
18 * scripttempl/elfi370.sc: Likewise.
19 * scripttempl/elfm68hc11.sc: Likewise.
20 * scripttempl/elfm68hc12.sc: Likewise.
21 * scripttempl/ip2k.sc: Likewise.
22 * scripttempl/iq2000.sc: Likewise.
23 * scripttempl/mep.sc: Likewise.
24 * scripttempl/v850.sc: Likewise.
25 * scripttempl/xstormy16.sc: Likewise.
27 2008-02-16 Alan Modra <amodra@bigpond.net.au>
30 * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
31 load_base before calling make_abs.
33 2008-02-15 Alan Modra <amodra@bigpond.net.au>
35 * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
36 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
38 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
40 * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all
42 (is_ppc_elf): ..this new macro.
44 2008-02-15 Alan Modra <amodra@bigpond.net.au>
46 * ldmain.h (output_bfd): Delete.
47 * ldmain.c (output_bfd): Delete.
48 Replace all occurrences of output_bfd with link_info.output_bfd.
56 * ldwrite.c: Likewise.
58 * emultempl/aix.em: Likewise.
59 * emultempl/alphaelf.em: Likewise.
60 * emultempl/armcoff.em: Likewise.
61 * emultempl/armelf.em: Likewise.
62 * emultempl/avrelf.em: Likewise.
63 * emultempl/beos.em: Likewise.
64 * emultempl/elf-generic.em: Likewise.
65 * emultempl/elf32.em: Likewise.
66 * emultempl/gld960.em: Likewise.
67 * emultempl/hppaelf.em: Likewise.
68 * emultempl/irix.em: Likewise.
69 * emultempl/linux.em: Likewise.
70 * emultempl/lnk960.em: Likewise.
71 * emultempl/m68hc1xelf.em: Likewise.
72 * emultempl/mmix-elfnmmo.em: Likewise.
73 * emultempl/mmo.em: Likewise.
74 * emultempl/pe.em: Likewise.
75 * emultempl/pep.em: Likewise.
76 * emultempl/ppc32elf.em: Likewise.
77 * emultempl/ppc64elf.em: Likewise.
78 * emultempl/scoreelf.em: Likewise.
79 * emultempl/sh64elf.em: Likewise.
80 * emultempl/spuelf.em: Likewise.
81 * emultempl/sunos.em: Likewise.
82 * emultempl/vanilla.em: Likewise.
83 * emultempl/vxworks.em: Likewise.
84 * emultempl/xtensaelf.em: Likewise.
85 * emultempl/z80.em: Likewise.
86 * ldlang.c (open_output): Don't return output, instead write
87 link_info_output_bfd directly.
88 * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
89 with link_info.output_bfd->xvec.
90 * emultempl/hppaelf.em: Likewise.
91 * emultempl/ppc32elf.em: Likewise.
92 * emultempl/ppc64elf.em: Likewise.
93 * emultempl/spuelf.em: Likewise.
95 2008-02-07 Alan Modra <amodra@bigpond.net.au>
97 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
98 * ldfile.c (ldfile_add_library_path): Likewise.
99 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
100 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
101 * emultempl/spuelf.em (embedded_spu_file): Likewise.
103 2008-02-07 Alan Modra <amodra@bigpond.net.au>
105 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
106 a "present" bit rather than low bit of .buf. Correct indexing
107 into _ovly_buf_table. Use relative loads and stores to access
108 overlay manager local vars.
109 * emultempl/spu_ovl.o: Regenerate.
111 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
114 * configure: Regenerated.
116 2008-01-31 Marc Gauthier <marc@tensilica.com>
118 * configure.tgt (xtensa*-*-*): Recognize processor variants.
120 2008-01-28 Fabian Groffen <grobian@gentoo.org>
122 * configure.tgt (x86_64-*-solaris2): Add support for this target.
124 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
127 * genscripts.sh: Check for the existence of BASH_LINENO not just
128 the BASH shell before generating line numbers in the emulation
131 2008-01-28 Alan Modra <amodra@bigpond.net.au>
133 * emultempl/spu_ovl.S: Rewrite.
134 * emultempl/spu_ovl.o: Regenerate.
135 * emultempl/spuelf.em (toe): Delete.
136 (spu_place_special_section): Add param to control section placement.
138 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
140 (spu_before_allocation): Adjust spu_elf_size_stubs call.
141 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
143 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
146 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
149 2008-01-25 Alan Modra <amodra@bigpond.net.au>
151 * ld.texinfo (INSERT): Describe.
152 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
153 (INSERT_K, AFTER, BEFORE): Add as tokens.
154 (ifile_p1): Handle INSERT statements.
155 (saved_script_handle, force_make_executable): Move to..
157 (previous_script_handle): New global var.
158 * ldmain.h (saved_script_handle, force_make_executable): Declare.
159 (previous_script_handle): Likewise.
160 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
161 * lexsup.c (parge_args <-T>): Set previous_script_handle.
162 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
163 (map_input_to_output_sections, print_statement): Likewise.
164 (lang_size_sections_1, lang_do_assignments_1): Likewise.
165 (insert_os_after): New function, extracted from..
166 (lang_insert_orphan): ..here.
167 (process_insert_statements): New function.
168 (lang_process): Call it.
169 (lang_add_insert): New function.
170 * ldlang.h (lang_insert_statement_enum): New.
171 (lang_insert_statement_type): New.
172 (lang_statement_union_type): Add insert_statement.
173 (lang_add_insert): Declare.
175 2008-01-18 Bob Wilson <bob.wilson@acm.org>
177 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
180 2008-01-16 Alan Modra <amodra@bigpond.net.au>
182 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
184 2008-01-16 Alan Modra <amodra@bigpond.net.au>
186 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
187 (lang_afile_asection_pair_statement_type): Delete.
188 (lang_statement_union_type): Delete afile_asection_pair_statement.
189 * ldlang.c (lang_insert_orphan): Delete case handling the above.
190 (map_input_to_output_sections, print_statement): Likewise.
192 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
194 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
196 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
198 2008-01-15 Alan Modra <amodra@bigpond.net.au>
201 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
202 syms to _bfd_elf_gc_keep.
203 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
204 ppc64_elf_edit_opd if no_opd_opt.
206 2008-01-11 Tristan Gingold <gingold@adacore.com>
207 Eric Botcazou <ebotcazou@adacore.com>
209 * ldlang.c (lang_end): Warns if the entry point is not found when
211 Emit an error if no root is specified when --gc-sections -r.
212 * ld.texinfo (Options): Document that --gc-sections is compatible
214 * ldmain.c (main): Do not error out if -r and --gc-sections.
215 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
217 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
220 * ldlang.c (lang_end): Issue a warning for a missing start symbol
221 of a shared library if the symbol was specified on the command
224 2008-01-10 Alan Modra <amodra@bigpond.net.au>
226 * ld.texinfo (--gc-sections): Describe linker behaviour.
228 For older changes see ChangeLog-2007
234 version-control: never