* ldlang.c (new_afile): Don't pass unadorned NULL to concat.
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2008-02-07 Alan Modra <amodra@bigpond.net.au>
2
3 * ldlang.c (new_afile): Don't pass unadorned NULL to concat.
4 * ldfile.c (ldfile_add_library_path): Likewise.
5 * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise.
6 * emultempl/lnk960.em (lnk960_before_parse): Likewise.
7 * emultempl/spuelf.em (embedded_spu_file): Likewise.
8
9 2008-02-07 Alan Modra <amodra@bigpond.net.au>
10
11 * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as
12 a "present" bit rather than low bit of .buf. Correct indexing
13 into _ovly_buf_table. Use relative loads and stores to access
14 overlay manager local vars.
15 * emultempl/spu_ovl.o: Regenerate.
16
17 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
18
19 PR 5715
20 * configure: Regenerated.
21
22 2008-01-31 Marc Gauthier <marc@tensilica.com>
23
24 * configure.tgt (xtensa*-*-*): Recognize processor variants.
25
26 2008-01-28 Fabian Groffen <grobian@gentoo.org>
27
28 * configure.tgt (x86_64-*-solaris2): Add support for this target.
29
30 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr>
31
32 PR ld/5652
33 * genscripts.sh: Check for the existence of BASH_LINENO not just
34 the BASH shell before generating line numbers in the emulation
35 file.
36
37 2008-01-28 Alan Modra <amodra@bigpond.net.au>
38
39 * emultempl/spu_ovl.S: Rewrite.
40 * emultempl/spu_ovl.o: Regenerate.
41 * emultempl/spuelf.em (toe): Delete.
42 (spu_place_special_section): Add param to control section placement.
43 Adjust callers.
44 (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data
45 changes.
46 (spu_before_allocation): Adjust spu_elf_size_stubs call.
47 (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call.
48
49 2008-01-25 H.J. Lu <hongjiu.lu@intel.com>
50
51 PR ld/5670
52 * ldlang.c (process_insert_statements): Silence gcc 4.1 alias
53 warning.
54
55 2008-01-25 Alan Modra <amodra@bigpond.net.au>
56
57 * ld.texinfo (INSERT): Describe.
58 * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete.
59 (INSERT_K, AFTER, BEFORE): Add as tokens.
60 (ifile_p1): Handle INSERT statements.
61 (saved_script_handle, force_make_executable): Move to..
62 * ldmain.c: ..here.
63 (previous_script_handle): New global var.
64 * ldmain.h (saved_script_handle, force_make_executable): Declare.
65 (previous_script_handle): Likewise.
66 * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens.
67 * lexsup.c (parge_args <-T>): Set previous_script_handle.
68 * ldlang.c (lang_for_each_statement_worker): Handle insert statement.
69 (map_input_to_output_sections, print_statement): Likewise.
70 (lang_size_sections_1, lang_do_assignments_1): Likewise.
71 (insert_os_after): New function, extracted from..
72 (lang_insert_orphan): ..here.
73 (process_insert_statements): New function.
74 (lang_process): Call it.
75 (lang_add_insert): New function.
76 * ldlang.h (lang_insert_statement_enum): New.
77 (lang_insert_statement_type): New.
78 (lang_statement_union_type): Add insert_statement.
79 (lang_add_insert): Declare.
80
81 2008-01-18 Bob Wilson <bob.wilson@acm.org>
82
83 * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id
84 changes from elf.sc.
85
86 2008-01-16 Alan Modra <amodra@bigpond.net.au>
87
88 * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test.
89
90 2008-01-16 Alan Modra <amodra@bigpond.net.au>
91
92 * ldlang.h (lang_afile_asection_pair_statement_enum): Delete.
93 (lang_afile_asection_pair_statement_type): Delete.
94 (lang_statement_union_type): Delete afile_asection_pair_statement.
95 * ldlang.c (lang_insert_orphan): Delete case handling the above.
96 (map_input_to_output_sections, print_statement): Likewise.
97
98 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
99
100 * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
101 with __data_start.
102 * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise.
103
104 2008-01-15 Alan Modra <amodra@bigpond.net.au>
105
106 PR 5604
107 * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry
108 syms to _bfd_elf_gc_keep.
109 * emultempl/ppc64elf.em (ppc_before_allocation): Don't call
110 ppc64_elf_edit_opd if no_opd_opt.
111
112 2008-01-11 Tristan Gingold <gingold@adacore.com>
113 Eric Botcazou <ebotcazou@adacore.com>
114
115 * ldlang.c (lang_end): Warns if the entry point is not found when
116 --gc-sections.
117 Emit an error if no root is specified when --gc-sections -r.
118 * ld.texinfo (Options): Document that --gc-sections is compatible
119 with -r and -q.
120 * ldmain.c (main): Do not error out if -r and --gc-sections.
121 * scripttempl/elf.sc: Emit ENTRY command only if relocating.
122
123 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com>
124
125 PR ld/5533
126 * ldlang.c (lang_end): Issue a warning for a missing start symbol
127 of a shared library if the symbol was specified on the command
128 line.
129
130 2008-01-10 Alan Modra <amodra@bigpond.net.au>
131
132 * ld.texinfo (--gc-sections): Describe linker behaviour.
133
134 For older changes see ChangeLog-2007
135 \f
136 Local Variables:
137 mode: change-log
138 left-margin: 8
139 fill-column: 74
140 version-control: never
141 End:
This page took 0.033331 seconds and 5 git commands to generate.