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