* emultempl/armelf.em (elf32_arm_add_stub_section): Use
[binutils.git] / ld / ChangeLog
blob9a3620525b365e855fb020ed6839d3bac15fd685
1 2008-07-07  Alan Modra  <amodra@bigpond.net.au>
3         * emultempl/armelf.em (elf32_arm_add_stub_section): Use
4         bfd_make_section_with_flags.
5         * emultempl/avrelf.em (avr_elf_create_output_section_statements):
6         Likewise.
7         * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
8         * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
9         * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise.
10         * emultempl/m68kelf.em (m68k_elf_after_open): Likewise.
11         * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
12         * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation):
13         Likewise.
15 2008-07-06  Nathan Sidwell  <nathan@codesourcery.com>
17         * ld.texinfo (File Commands): Document that INCLUDE can be used in
18         several different places.
19         * ldgram.y (statement, memory_spec, section): Allow INCLUDE.
20         (memory, memory_spec_list): Simplify BNF
21         (memory_spec_list_opt): New rule.
22         * ldlex.l (INCLUDE): Recognize in EXPRESSION.
24 2008-06-20  Alan Modra  <amodra@bigpond.net.au>
26         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not
27         build overlay stubs" a fatal error.
29 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
31         * config.in: Regenerate.
32         * configure: Regenerate.
34 2008-06-17  Alan Modra  <amodra@bigpond.net.au>
36         * emultempl/spuelf.em (extra_stack_space): New variable.
37         (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma.
38         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
39         PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space.
40         * emultempl/spu_ovl.S: Mask interrupts during dma and update of
41         overlay manager structures.
42         * emultempl/spu_ovl.o: Regenerate.
44 2008-06-16  Hans-Peter Nilsson  <hp@bitrange.com>
46         * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only
47         mention it as being special for global symbols.
49 2008-06-12  Nick Clifton  <nickc@redhat.com>
51         * ldlang.c (print_output_section_statement): If the output section
52         statement has an update_dot_tree expression, apply it to
53         print_dot.
54         (print_input_section): Do not update print_dot if it would move
55         print_dot backwards.
56         (lang_do_assignments_1): If the output section statement has an
57         update_dot_tree expression apply it to dot.
59 2008-06-07  Alan Modra  <amodra@bigpond.net.au>
61         * NEWS: Mention archive:path patterns.
62         * ld.texinfo: Likewise.
63         * ldlang.c: Formatting throughout.
64         (archive_path): Only assume "[A-Za-z]:" is a dos drive.
65         (input_statement_is_archive_path): New function, extracted from..
66         (walk_wild): ..here.
67         (walk_wild_consider_section): Match archive:path here too.
68         (init_map_userdata, sort_def_symbol): Convert to ISO C.
69         * ldmain.c (main): Set link_info.path_separator.
70         * emultempl/spuelf.em (choose_target): Don't set it here.
72 2008-06-06  Alan Modra  <amodra@bigpond.net.au>
74         * ldlang.c (name_match): New function.
75         (unique_section_p, walk_wild_consider_section): Use it here.
76         (walk_wild_section_general): And here.
77         (archive_path): New function.
78         (walk_wild): Match archive:path filespecs.
79         (open_input_bfds): Don't load archive:path files.
80         * emultempl/spuelf.em (choose_target): Set path_separator.
81         * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.
83 2008-06-04  Nick Clifton  <nickc@redhat.com>
85         * ld.texinfo (Orphan Sections): Fix texi typo.
87 2008-06-04  Chris Metcalf  <cmetcalf@tilera.com>
89         * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL.
90         (ld_options): Add entry for --no-fatal-warnings.
91         (parse_args): Handle OPTION_NO_WARN_FATAL.
92         * ld.texinfo (Options): Document new command line switch.
94 2008-06-04  Alan Modra  <amodra@bigpond.net.au>
96         * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg.
98 2008-06-02  Nathan Sidwell  <nathan@codesourcery.com>
100         * ldlang.c (closest_target_match): Skip generic big and little
101         endian ELF targets.
103 2008-05-31  Evandro Menezes  <evandro@yahoo.com>
105         PR ld/6430
106         * ld.h (enum sort_order): New.
107         * ldlang.c (lang_check: Fix comment.
108         (lang_common): Sort commons in ascending or descending order.
109         (lang_one_common): Likewise.
110         * lexsup.c (ld_options): Have --sort-common take an option
111         argument.
112         (parse_args): Handle argument to --sort-common.
113         * ld.texinfo (--sort-common): Document new optional argument.
114         * NEWS: Mention new feature.
116 2008-05-28  Christophe Lyon  <christophe.lyon@st.com>
117         
118         * ld.texinfo: State that farcalls stubs are supported for ARM-EABI
119         only.
121 2008-05-27  Kai Tietz  <kai.tietz@onevision.com>
123         * pe-dll.c (fill_edata): Make sure we calculate vma's in
124         type bfd_vma.
125         (generate_reloc): Likewise.
126         (pe_implied_import_dll): Likewise.
128 2008-05-21  Nick Clifton  <nickc@redhat.com>
130         PR ld/6519
131         * ld.texinfo (Orphan Sections): Mention that the linker will
132         provide start and stop symbols for orphaned sections if their
133         names are valid C identifiers.
134         * NEWS: Add an addendum to the description of the linker feature
135         for providing orphan section start and end symbols.
137 2008-05-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
139         * configure.in (--enable-got): New option.  Handle it.
140         * configure: Regenerate.
141         * config.in: Regenerate.
142         * emultempl/m68kelf.em: (got_handling_target_default): New shell
143         variable.
144         (GOT_HANDLING_TARGET_DEFAULT): New macro.
145         (GOT_HANDLING_DEFAULT): New macro.  Initialize it from configure
146         option if one was given.
147         (got_handling): New static variable.
148         (elf_m68k_create_output_section_statements): New static function
149         implementing hook.
150         (PARSE_AND_LIST_PROLOGUE): Define shell variable.
151         (OPTION_GOT): New macro.
152         (PARSE_AND_LIST_LONGOPTS): Define shell variable.  Specify
153         --got option.
154         (got): New linker option.
155         (PARSE_AND_LIST_OPTIONS): Define shell variable.  Print help string
156         for --got option.
157         (PARSE_AND_LIST_ARGS_CASES): Define shell variable.  Handle --got
158         option. 
159         * ld.texinfo: Document --got=<type> option.
160         * gen-doc.texi: Add M68K.
161         * NEWS: Mention the new feature.
163 2008-05-21  Evandro Menezes  <evandro@yahoo.com>
165         PR ld/6430
166         * ld.texinfo (--sort-common): Correct documentation to indicate
167         that sorting is performed by alignment, not size, biggest
168         alignment first.
170 2008-05-21  Christophe Lyon  <christophe.lyon@st.com>
171             Nick Clifton  <nickc@redhat.com>
173         * ld.texinfo (ARM): Document --stub-group-size=N option.
174         Move description of --pic-veneer option into the ARM section.
175         * NEWS: Mention the support for long function calls.
177 2008-05-15  Christophe Lyon  <christophe.lyon@st.com>
178         
179         * emultempl/armelf.em (build_section_lists): New function.
180         (stub_file): Define.
181         (need_laying_out): Define.
182         (group_size): Define.
183         (hook_stub_info): Define.
184         (hook_in_stub): New function.
185         (elf32_arm_add_stub_section): New function.
186         (gldarm_layout_sections_again): New function.
187         (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
188         stubs for long calls if needed.
189         (arm_elf_create_output_section_statements): create stub_file bfd.
190         (arm_for_each_input_file_wrapper): New function.
191         (arm_lang_for_each_input_file): New function.
192         (lang_for_each_input_file): Define.
193         (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
194         (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
195         (PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
196         (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
197         (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
198         * lang.c (print_input_statement): Skip if bfd has
199         BFD_LINKER_CREATED.
201 2008-05-14  Alan Modra  <amodra@bigpond.net.au>
203         * Makefile.in: Regenerate.
205 2008-05-09  Kai Tietz  <kai.tietz@onevision.com>
207         ld/PR6502
208         * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead
209         of long and change return type to bfd_vma.
210         (definfo): Change type of address from long to bfd_vma.
211         (set_pep_value): Replace strtoul to strtoull.
212         (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long..
213         * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print
214         ImageBase.
215         (quick_reloc): Change argument address from int to bfd_size_type.
217 2008-05-08  Tom Tromey  <tromey@redhat.com>
219         * ld.texinfo (PowerPC64 ELF64): Fix typo.
221 2008-05-08  Alan Modra  <amodra@bigpond.net.au>
223         * elf32_spu.sh (OTHER_SECTIONS): Add "._ea".
224         * elf32ppc.sh: If building with spu support, put ".data.spehandle"
225         sections at the start of ".data" and provide a symbol to locate
226         the directory of embedded spe programs.
228 2008-05-08  Alan Modra  <amodra@bigpond.net.au>
230         * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K.  Correct
231         MAX_K.
232         (fold_binary <SEGMENT_START>): Set expld.result.section to
233         current section.  Expand comment.  Formatting.
234         (fold_name <DEFINED>): Set expld.result.section to current section.
236 2008-04-28  Nathan Sidwell  <nathan@codesourcery.com>
238         * ldlang.c (lang_size_sections_1): Don't check LMA overflow on
239         non-load sections.
241 2008-04-25  Michael Frysinger  <vapier@gentoo.org>
243         * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd
244         and targ_extra_emuls to elf32bfin.
246 2008-04-23  Paolo Bonzini  <bonzini@gnu.org>
248         * aclocal.m4: Regenerate.
249         * configure: Regenerate.
251 2008-04-03  Kai Tietz  <kai.tietz@onevision.com>
253         * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__.
255 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
257         * po/POTFILES.in: Regenerate.
259 2008-04-08  Alan Modra  <amodra@bigpond.net.au>
261         * emultempl/spuelf.em (auto_overlay, auto_overlay_file,
262         auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars.
263         (spu_before_allocation): Warn on --auto-overlay and existing overlays.
264         (struct tflist, clean_tmp): Move.
265         (new_tmp_file): New function, extracted from..
266         (embedded_spu_file): ..here.
267         (spu_elf_open_overlay_script, spu_elf_relink): New function.
268         (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params.
269         Warn on --auto-overlay and zero local store.
270         (gld${EMULATION_NAME}_choose_target): New function to stash argv.
271         (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK,
272         OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE,
273         OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define.
274         (PARSE_AND_LIST_LONGOPTS): Add entries for new options.
275         (PARSE_AND_LIST_OPTIONS): Likewise.
276         (PARSE_AND_LIST_ARGS_CASES): Likewise.
277         (LDEMUL_CHOOSE_TARGET): Define.
279 2008-04-03  Kai Tietz  <kai.tietz@onevision.com>
281         PR ld/6026
282         * pe-dll.c (make_head): Fix iat and thunk addend offset.
284 2008-03-31  Nick Clifton  <nickc@redhat.com>
286         * po/fr.po: Updated French translation.
288 2008-03-24  Ian Lance Taylor  <iant@google.com>
290         The sha1 code is now in libiberty.
291         * sha1.c: Remove.
292         * sha1.h: Remove.
293         * Makefile.am (CFILES): Remove sha1.c.
294         (HFILES): Remove sha1.h.
295         (OFILES): Remove sha1.o.
296         (ld_new_SOURCES): Remove sha1.c.
297         (sha1.o): Remove target.
298         * Makefile.in: Rebuild.
300 2008-03-20  Alan Modra  <amodra@bigpond.net.au>
302         * emultempl/spuelf.em: Update calls to elf32-spu.c funcs.
304 2008-03-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
306         * aclocal.m4: Regenerate.
307         * configure: Likewise.
308         * Makefile.in: Likewise.
310 2008-03-14  Alan Modra  <amodra@bigpond.net.au>
312         * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect
313         spu_elf_build_stubs with is_spu_target.
315 2008-03-13  Alan Modra  <amodra@bigpond.net.au>
317         * Makefile.am: Run "make dep-am".
318         * Makefile.in: Regenerate.
319         * configure: Regenerate.
321 2008-03-06  Joseph Myers  <joseph@codesourcery.com>
322             Roman Zippel  <zippel@linux-m68k.org>
324         * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define.
325         (COMMONPAGESIZE): Define.
327 2008-02-22  Nick Clifton  <nickc@redhat.com>
329         PR ld/5785
330         * ldlang.c (lang_size_sections_1): Honour the setting of an
331         lma_region even if there is no vma region set, or the vma region
332         is the same as the lma region.
334 2008-02-18  Nick Clifton  <nickc@redhat.com>
336         * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a
337         relocatable link.
338         * scripttempl/elf32cr16.sc: Likewise.
339         * scripttempl/elf32cr16c.sc: Likewise.
340         * scripttempl/elf32crx.sc: Likewise.
341         * scripttempl/elf32sh-symbian.sc: Likewise.
342         * scripttempl/elf_chaos.sc: Likewise.
343         * scripttempl/elfd10v.sc: Likewise.
344         * scripttempl/elfi370.sc: Likewise.
345         * scripttempl/elfm68hc11.sc: Likewise.
346         * scripttempl/elfm68hc12.sc: Likewise.
347         * scripttempl/ip2k.sc: Likewise.
348         * scripttempl/iq2000.sc: Likewise.
349         * scripttempl/mep.sc: Likewise.
350         * scripttempl/v850.sc: Likewise.
351         * scripttempl/xstormy16.sc: Likewise.
353 2008-02-16  Alan Modra  <amodra@bigpond.net.au>
355         PR ld/5761
356         * ldexp.c (fold_name <LOADADDR>): Check result of evaluating
357         load_base before calling make_abs.
359 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
361         * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id.
362         * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
363         Likewise.
364         * emultempl/ppc64elf.em (ppc_create_output_section_statements):
365         Likewise.
366         * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete.  Replace all
367         uses with..
368         (is_ppc_elf): ..this new macro.
370 2008-02-15  Alan Modra  <amodra@bigpond.net.au>
372         * ldmain.h (output_bfd): Delete.
373         * ldmain.c (output_bfd): Delete.
374         Replace all occurrences of output_bfd with link_info.output_bfd.
375         * ldcref.c: Likewise.
376         * ldctor.c: Likewise.
377         * ldemul.c: Likewise.
378         * ldexp.c: Likewise.
379         * ldfile.c: Likewise.
380         * ldlang.c: Likewise.
381         * ldmisc.c: Likewise.
382         * ldwrite.c: Likewise.
383         * pe-dll.c: Likewise.
384         * emultempl/aix.em: Likewise.
385         * emultempl/alphaelf.em: Likewise.
386         * emultempl/armcoff.em: Likewise.
387         * emultempl/armelf.em: Likewise.
388         * emultempl/avrelf.em: Likewise.
389         * emultempl/beos.em: Likewise.
390         * emultempl/elf-generic.em: Likewise.
391         * emultempl/elf32.em: Likewise.
392         * emultempl/gld960.em: Likewise.
393         * emultempl/hppaelf.em: Likewise.
394         * emultempl/irix.em: Likewise.
395         * emultempl/linux.em: Likewise.
396         * emultempl/lnk960.em: Likewise.
397         * emultempl/m68hc1xelf.em: Likewise.
398         * emultempl/mmix-elfnmmo.em: Likewise.
399         * emultempl/mmo.em: Likewise.
400         * emultempl/pe.em: Likewise.
401         * emultempl/pep.em: Likewise.
402         * emultempl/ppc32elf.em: Likewise.
403         * emultempl/ppc64elf.em: Likewise.
404         * emultempl/scoreelf.em: Likewise.
405         * emultempl/sh64elf.em: Likewise.
406         * emultempl/spuelf.em: Likewise.
407         * emultempl/sunos.em: Likewise.
408         * emultempl/vanilla.em: Likewise.
409         * emultempl/vxworks.em: Likewise.
410         * emultempl/xtensaelf.em: Likewise.
411         * emultempl/z80.em: Likewise.
412         * ldlang.c (open_output): Don't return output, instead write
413         link_info_output_bfd directly.
414         * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator
415         with link_info.output_bfd->xvec.
416         * emultempl/hppaelf.em: Likewise.
417         * emultempl/ppc32elf.em: Likewise.
418         * emultempl/ppc64elf.em: Likewise.
419         * emultempl/spuelf.em: Likewise.
421 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
423         * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
424         * ldfile.c (ldfile_add_library_path): Likewise.
425         * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
426         * emultempl/lnk960.em (lnk960_before_parse): Likewise.
427         * emultempl/spuelf.em (embedded_spu_file): Likewise.
429 2008-02-07  Alan Modra  <amodra@bigpond.net.au>
431         * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
432         a "present" bit rather than low bit of .buf.  Correct indexing
433         into _ovly_buf_table.  Use relative loads and stores to access
434         overlay manager local vars.
435         * emultempl/spu_ovl.o: Regenerate.
437 2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
439         PR 5715
440         * configure: Regenerated.
442 2008-01-31  Marc Gauthier  <marc@tensilica.com>
444         * configure.tgt (xtensa*-*-*): Recognize processor variants.
446 2008-01-28  Fabian Groffen  <grobian@gentoo.org>
448         * configure.tgt (x86_64-*-solaris2): Add support for this target.
450 2008-01-28  Vincent Riviere  <vincent.riviere@freesbee.fr>
452         PR ld/5652
453         * genscripts.sh: Check for the existence of BASH_LINENO not just
454         the BASH shell before generating line numbers in the emulation
455         file.
457 2008-01-28  Alan Modra  <amodra@bigpond.net.au>
459         * emultempl/spu_ovl.S: Rewrite.
460         * emultempl/spu_ovl.o: Regenerate.
461         * emultempl/spuelf.em (toe): Delete.
462         (spu_place_special_section): Add param to control section placement.
463         Adjust callers.
464         (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
465         changes.
466         (spu_before_allocation): Adjust spu_elf_size_stubs call.
467         (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
469 2008-01-25  H.J. Lu  <hongjiu.lu@intel.com>
471         PR ld/5670
472         * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
473         warning.
475 2008-01-25  Alan Modra  <amodra@bigpond.net.au>
477         * ld.texinfo (INSERT): Describe.
478         * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
479         (INSERT_K, AFTER, BEFORE): Add as tokens.
480         (ifile_p1): Handle INSERT statements.
481         (saved_script_handle, force_make_executable): Move to..
482         * ldmain.c: ..here.
483         (previous_script_handle): New global var.
484         * ldmain.h (saved_script_handle, force_make_executable): Declare.
485         (previous_script_handle): Likewise.
486         * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
487         * lexsup.c (parge_args <-T>): Set previous_script_handle.
488         * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
489         (map_input_to_output_sections, print_statement): Likewise.
490         (lang_size_sections_1, lang_do_assignments_1): Likewise.
491         (insert_os_after): New function, extracted from..
492         (lang_insert_orphan): ..here.
493         (process_insert_statements): New function.
494         (lang_process): Call it.
495         (lang_add_insert): New function.
496         * ldlang.h (lang_insert_statement_enum): New.
497         (lang_insert_statement_type): New.
498         (lang_statement_union_type): Add insert_statement.
499         (lang_add_insert): Declare.
501 2008-01-18  Bob Wilson  <bob.wilson@acm.org>
503         * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
504         changes from elf.sc.
506 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
508         * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
510 2008-01-16  Alan Modra  <amodra@bigpond.net.au>
512         * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
513         (lang_afile_asection_pair_statement_type): Delete.
514         (lang_statement_union_type): Delete afile_asection_pair_statement.
515         * ldlang.c (lang_insert_orphan): Delete case handling the above.
516         (map_input_to_output_sections, print_statement): Likewise.
518 2008-01-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
520         * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
521         with __data_start.
522         * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
524 2008-01-15  Alan Modra  <amodra@bigpond.net.au>
526         PR 5604
527         * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
528         syms to _bfd_elf_gc_keep.
529         * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
530         ppc64_elf_edit_opd if no_opd_opt.
532 2008-01-11  Tristan Gingold  <gingold@adacore.com>
533             Eric Botcazou  <ebotcazou@adacore.com>
535         * ldlang.c (lang_end): Warns if the entry point is not found when
536         --gc-sections.
537         Emit an error if no root is specified when --gc-sections -r.
538         * ld.texinfo (Options): Document that --gc-sections is compatible
539         with -r and -q.
540         * ldmain.c (main): Do not error out if -r and --gc-sections.
541         * scripttempl/elf.sc: Emit ENTRY command only if relocating.
543 2008-01-10  Daniel Jacobowitz  <drow@sources.redhat.com>
545         PR ld/5533
546         * ldlang.c (lang_end): Issue a warning for a missing start symbol
547         of a shared library if the symbol was specified on the command
548         line.
550 2008-01-10  Alan Modra  <amodra@bigpond.net.au>
552         * ld.texinfo (--gc-sections): Describe linker behaviour.
554 For older changes see ChangeLog-2007
556 Local Variables:
557 mode: change-log
558 left-margin: 8
559 fill-column: 74
560 version-control: never
561 End: