Rewrite SPU overlay handling code. Put overlay calls stubs in the
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-01-28 Alan Modra <amodra@bigpond.net.au>
2
3 * emultempl/spu_ovl.S: Rewrite.
4 * emultempl/spu_ovl.o: Regenerate.
5 * emultempl/spuelf.em (toe): Delete.
6 (spu_place_special_section): Add param to control section placement.
7 Adjust callers.
8 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
9 changes.
10 (spu_before_allocation): Adjust spu_elf_size_stubs call.
11 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
12
13 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR ld/5670
16 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
17 warning.
18
19 2008-01-25 Alan Modra <amodra@bigpond.net.au>
20
21 * ld.texinfo (INSERT): Describe.
22 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
23 (INSERT_K, AFTER, BEFORE): Add as tokens.
24 (ifile_p1): Handle INSERT statements.
25 (saved_script_handle, force_make_executable): Move to..
26 * ldmain.c: ..here.
27 (previous_script_handle): New global var.
28 * ldmain.h (saved_script_handle, force_make_executable): Declare.
29 (previous_script_handle): Likewise.
30 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
31 * lexsup.c (parge_args <-T>): Set previous_script_handle.
32 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
33 (map_input_to_output_sections, print_statement): Likewise.
34 (lang_size_sections_1, lang_do_assignments_1): Likewise.
35 (insert_os_after): New function, extracted from..
36 (lang_insert_orphan): ..here.
37 (process_insert_statements): New function.
38 (lang_process): Call it.
39 (lang_add_insert): New function.
40 * ldlang.h (lang_insert_statement_enum): New.
41 (lang_insert_statement_type): New.
42 (lang_statement_union_type): Add insert_statement.
43 (lang_add_insert): Declare.
44
45 2008-01-18 Bob Wilson <bob.wilson@acm.org>
46
47 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
48 changes from elf.sc.
49
50 2008-01-16 Alan Modra <amodra@bigpond.net.au>
51
52 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
53
54 2008-01-16 Alan Modra <amodra@bigpond.net.au>
55
56 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
57 (lang_afile_asection_pair_statement_type): Delete.
58 (lang_statement_union_type): Delete afile_asection_pair_statement.
59 * ldlang.c (lang_insert_orphan): Delete case handling the above.
60 (map_input_to_output_sections, print_statement): Likewise.
61
62 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
63
64 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
65 with __data_start.
66 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
67
68 2008-01-15 Alan Modra <amodra@bigpond.net.au>
69
70 PR 5604
71 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
72 syms to _bfd_elf_gc_keep.
73 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
74 ppc64_elf_edit_opd if no_opd_opt.
75
76 2008-01-11 Tristan Gingold <gingold@adacore.com>
77 Eric Botcazou <ebotcazou@adacore.com>
78
79 * ldlang.c (lang_end): Warns if the entry point is not found when
80 --gc-sections.
81 Emit an error if no root is specified when --gc-sections -r.
82 * ld.texinfo (Options): Document that --gc-sections is compatible
83 with -r and -q.
84 * ldmain.c (main): Do not error out if -r and --gc-sections.
85 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
86
87 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
88
89 PR ld/5533
90 * ldlang.c (lang_end): Issue a warning for a missing start symbol
91 of a shared library if the symbol was specified on the command
92 line.
93
94 2008-01-10 Alan Modra <amodra@bigpond.net.au>
95
96 * ld.texinfo (--gc-sections): Describe linker behaviour.
97
98 For older changes see ChangeLog-2007
99 \f
100 Local Variables:
101 mode: change-log
102 left-margin: 8
103 fill-column: 74
104 version-control: never
105 End:
This page took 0.031886 seconds and 4 git commands to generate.