* ld-elf/loadaddr.t: New, extracted from..
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
29183214
L
12008-01-25 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/5670
4 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
5 warning.
6
53d25da6
AM
72008-01-25 Alan Modra <amodra@bigpond.net.au>
8
9 * ld.texinfo (INSERT): Describe.
10 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
11 (INSERT_K, AFTER, BEFORE): Add as tokens.
12 (ifile_p1): Handle INSERT statements.
13 (saved_script_handle, force_make_executable): Move to..
14 * ldmain.c: ..here.
15 (previous_script_handle): New global var.
16 * ldmain.h (saved_script_handle, force_make_executable): Declare.
17 (previous_script_handle): Likewise.
18 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
19 * lexsup.c (parge_args <-T>): Set previous_script_handle.
20 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
21 (map_input_to_output_sections, print_statement): Likewise.
22 (lang_size_sections_1, lang_do_assignments_1): Likewise.
23 (insert_os_after): New function, extracted from..
24 (lang_insert_orphan): ..here.
25 (process_insert_statements): New function.
26 (lang_process): Call it.
27 (lang_add_insert): New function.
28 * ldlang.h (lang_insert_statement_enum): New.
29 (lang_insert_statement_type): New.
30 (lang_statement_union_type): Add insert_statement.
31 (lang_add_insert): Declare.
32
c19f06f2
BW
332008-01-18 Bob Wilson <bob.wilson@acm.org>
34
35 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
36 changes from elf.sc.
37
14ac84b4
AM
382008-01-16 Alan Modra <amodra@bigpond.net.au>
39
40 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
41
3d00b095
AM
422008-01-16 Alan Modra <amodra@bigpond.net.au>
43
44 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
45 (lang_afile_asection_pair_statement_type): Delete.
46 (lang_statement_union_type): Delete afile_asection_pair_statement.
47 * ldlang.c (lang_insert_orphan): Delete case handling the above.
48 (map_input_to_output_sections, print_statement): Likewise.
49
58da7b1b
KK
502008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51
52 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
53 with __data_start.
54 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
55
74f0fb50
AM
562008-01-15 Alan Modra <amodra@bigpond.net.au>
57
58 PR 5604
59 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
60 syms to _bfd_elf_gc_keep.
61 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
62 ppc64_elf_edit_opd if no_opd_opt.
63
ac69cbc6
TG
642008-01-11 Tristan Gingold <gingold@adacore.com>
65 Eric Botcazou <ebotcazou@adacore.com>
66
67 * ldlang.c (lang_end): Warns if the entry point is not found when
68 --gc-sections.
69 Emit an error if no root is specified when --gc-sections -r.
70 * ld.texinfo (Options): Document that --gc-sections is compatible
71 with -r and -q.
72 * ldmain.c (main): Do not error out if -r and --gc-sections.
73 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
74
71934f94
NC
752008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
76
77 PR ld/5533
78 * ldlang.c (lang_end): Issue a warning for a missing start symbol
79 of a shared library if the symbol was specified on the command
80 line.
81
d5465ba2
AM
822008-01-10 Alan Modra <amodra@bigpond.net.au>
83
84 * ld.texinfo (--gc-sections): Describe linker behaviour.
85
6c7ac64e 86For older changes see ChangeLog-2007
252b5132
RH
87\f
88Local Variables:
89mode: change-log
90left-margin: 8
91fill-column: 74
92version-control: never
93End:
This page took 0.712886 seconds and 4 git commands to generate.