daily update
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
1491f1f0
DK
12009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
2
3 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
4 inadvertent .reloc sections caused by refactoring accident.
5
d2ae7be0
AM
62009-02-16 Alan Modra <amodra@bigpond.net.au>
7
8 * ldlang.c (process_insert_statements): ASSERT that output section
9 statements are in order.
10
bde18da4
AM
112009-02-16 Alan Modra <amodra@bigpond.net.au>
12
13 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
14 (stat_save, stat_save_ptr): New variables.
15 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
16 (load_symbols): Likewise. Delete dead "bad_load" code.
17 (open_input_bfds): Warn on script containing output sections.
18 (lang_enter_output_section_statement): Use push_stat_ptr.
19 (lang_enter_group): Likewise.
20 (lang_leave_output_section_statement): Use pop_stat_ptr.
21 (lang_leave_group): Likewise.
22 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
23 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
24 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
25 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
26 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
27 * emultempl/spuelf.em (spu_place_special_section): Likewise.
28 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
29
662ef24b
NS
302009-02-09 Nathan Sidwell <nathan@codesourcery.com>
31
32 Missing piece of 2009-01-26 commit
33 * ldlang.c (lang_process): Don't consider relocatable flag when
34 checking for overlap.
35
268e4015
JM
362009-02-05 Joseph Myers <joseph@codesourcery.com>
37
38 * emulparams/m68kelf.sh: Add newline at end of file.
39
903249d7
NC
402009-02-04 Nick Clifton <nickc@redhat.com>
41
42 PR 9805
43 * ld.texinfo (--allow-shlib-undefined): Correct description of
44 default settings and tidy up the rest of the entry.
45
df636c05
AM
462009-02-04 Alan Modra <amodra@bigpond.net.au>
47
48 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
49 during relocatable link.
50
8a308ae8
NC
512009-02-03 Nick Clifton <nickc@redhat.com>
52
53 PR 9797
54 * ld.texinfo (Constants): Document the base-encoding suffixes
55 supported in linker scripts.
56
28024d9d
L
572009-02-03 Alan Modra <amodra@bigpond.net.au>
58
59 * NEWS: Mention --as-needed change.
60
31dd3154
JM
612009-02-03 Carlos O'Donell <carlos@codesourcery.com>
62
63 * configure.in: AC_SUBST pdfdir.
64 * Makefile.am: Add install-pdf, install-pdf-am,
65 and install-pdf-recursive targets. Define pdf__strip_dir.
66 * po/Make-in: Add install-pdf target.
67 * configure: Regenerate.
68 * Makefile.in: Regenerate.
69
010e5ae2
AM
702009-01-31 Alan Modra <amodra@bigpond.net.au>
71
72 * ld.texinfo (--as-needed): Update.
73
893dcb0e
JM
742009-01-29 Andrew Jenner <andrew@codesourcery.com>
75
76 * emultempl/armelf.em: Correct formatting of help text for
77 --no-enum-size-warning option.
78
02b0b1aa
NS
792009-01-26 Nathan Sidwell <nathan@codesourcery.com>
80
81 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
82 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
83 * ldmain.c (main): Default check_section_addresses to -1. Check it
84 for relocatable links.
85 * ld.texinfo (--check-sections): Update documentation.
86
9382254d
KT
872009-01-26 Kai Tietz <kai.tietz@onevision.com>
88
89 * pe-dll.c (tmp_seq2): New static variable.
90 (make_singleton_name_imp): New.
91 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
92 avoid duplicate import table generation for same symbol.
93 (pe_create_runtime_relocator_reference): Make reference for
94 64-bit 8 bytes.
95
fb266b8b
AM
962009-01-21 Alan Modra <amodra@bigpond.net.au>
97
98 * emultempl/spuelf.em (params): Init new field.
99 (OPTION_SPU_NON_IA_TEXT): Define.
100 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
101 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
102
258795f5
L
1032009-01-16 H.J. Lu <hongjiu.lu@intel.com>
104
105 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
106 (ld_options): Add -Ttext-segment.
107 (parse_args): Handle OPTION_TTEXT_SEGMENT.
108
109 * ld.texinfo: Document -Ttext-segment.
110
111 * NEWS: Mention -Ttext-segment.
112
113 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
114 (SHLIB_TEXT_START_ADDR): Likewise.
115
8d8047c4
AM
1162009-01-13 Alan Modra <amodra@bigpond.net.au>
117
118 * emultempl/spu_icache.o_c: Regenerate.
119
cd4a7468
AM
1202009-01-12 Alan Modra <amodra@bigpond.net.au>
121
122 * emultempl/spuelf.em (params): Init new fields.
123 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
124 (spu_place_special_section): Adjust placement for soft-icache. Pad
125 soft-icache section to a fixed size. Clear addr_tree.
126 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
127 sections a little more intelligently.
128 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
129 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
130 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
131 (OPTION_SPU_LRLIVE): Define.
132 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
133 (PARSE_AND_LIST_OPTIONS): Likewise.
134 (PARSE_AND_LIST_ARGS_CASES): Handle them.
135 * emultempl/spu_icache.S: Dummy file.
136 * emultempl/spu_icache.o_c: Regenerate.
137 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
138 (spu_icache.o_c): Add rule to build.
139 (CLEANFILES): Zap temp files.
140 (EXTRA_DIST): Add spu_icache.o_c.
141 * Makefile.in: Regenerate.
142
ce11ba6c
KT
1432009-01-08 Kai Tietz <kai.tietz@onevision.com>
144
145 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
146 (gld..._add_options): Add new option
147 --use-nul-prefixed-import-tables.
148 (gld..._handle_option): Likewise.
149 * pep.em: Same as for pe.em.
150 * ld.texinfo: Add new option documentation for
151 --use-nul-prefixed-import-tables.
152 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
153 (make_head): Make prefix leading zero prefix element for
154 idata$4 and idata$5 dependent to new flag.
155 (make_import_fixup_entry): Remove idata4/5 prefix.
156 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
157 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
158 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
159 * NEWS: Add new option.
160
d34c1c51
KT
1612009-01-05 Kai Tietz <kai.tietz@onevision.com>
162
163 * emultempl/pe.em: Prefix dollar characters to be outputed in
164 generated C file.
165 * emultempl/pep.em: Likewise.
166
e1c37eb5
DK
1672009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
168
169 * NEWS: Mention new feature --exclude-modules-for-implib.
170 * ld.texinfo: Document new --exclude-modules-for-implib option.
171 * pe-dll.c (exclude_list_struct): Change type member from int to
172 new enumeration exclude_type.
173 (pe_dll_add_excludes): Accept exclude_type instead of int param.
174 (auto_export): Replace magic constants by exclude_type values and
175 handle new choice EXCLUDEFORIMPLIB.
176 (pe_dll_generate_implib): Accept a pointer to the link_info and
177 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
178 fresh BFDs for any found and link into import lib archive chain.
179 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
180 constants previously used for exclude_list_struct type member.
181 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
182 * pep-dll.h (exclude_type, pe_dll_add_excludes,
183 pe_dll_generate_implib): Likewise to all the above.
184 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
185 getopts long option code for new --exclude-modules-for-implib option.
186 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
187 (gld_${EMULATION_NAME}_list_options): List usage for it.
188 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
189 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
190 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
191 calling pe_dll_generate_implib.
192 * emultempl/pep.em (options): Define new enumerated value for getopts
193 long option code for new --exclude-modules-for-implib option.
194 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
195 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
196 Again, likewise to all the above.
197
81b07b16 1982009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 199
81b07b16
DK
200 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
201 (libnamencmp): New function.
202 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 203
81b07b16 204For older changes see ChangeLog-2008
252b5132
RH
205\f
206Local Variables:
207mode: change-log
208left-margin: 8
209fill-column: 74
210version-control: never
211End:
This page took 0.456212 seconds and 4 git commands to generate.