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