* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
[platform/upstream/binutils.git] / ld / ChangeLog
1 2009-02-04  Alan Modra  <amodra@bigpond.net.au>
2
3         * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
4         during relocatable link.
5
6 2009-02-03  Nick Clifton  <nickc@redhat.com>
7
8         PR 9797
9         * ld.texinfo (Constants): Document the base-encoding suffixes
10         supported in linker scripts.
11
12 2009-02-03  Alan Modra  <amodra@bigpond.net.au>
13
14         * NEWS: Mention --as-needed change.
15
16 2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
17
18         * configure.in: AC_SUBST pdfdir.
19         * Makefile.am: Add install-pdf, install-pdf-am,
20         and install-pdf-recursive targets. Define pdf__strip_dir.
21         * po/Make-in: Add install-pdf target.
22         * configure: Regenerate.
23         * Makefile.in: Regenerate.
24
25 2009-01-31  Alan Modra  <amodra@bigpond.net.au>
26
27         * ld.texinfo (--as-needed): Update.
28
29 2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
30
31         * emultempl/armelf.em: Correct formatting of help text for
32         --no-enum-size-warning option.
33
34 2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
35
36         * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
37         * ld.h (args_type): Make check_section_addresses a char.
38         ldlang.c (lang_process): Don't consider relocatable flag when
39         checking for overlap.
40         * ldmain.c (main): Default check_section_addresses to -1. Check it
41         for relocatable links.
42         * ld.texinfo (--check-sections): Update documentation.
43
44 2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
45
46         * pe-dll.c (tmp_seq2): New static variable.
47         (make_singleton_name_imp): New.
48         (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
49         avoid duplicate import table generation for same symbol.
50         (pe_create_runtime_relocator_reference): Make reference for
51         64-bit 8 bytes.
52
53 2009-01-21  Alan Modra  <amodra@bigpond.net.au>
54
55         * emultempl/spuelf.em (params): Init new field.
56         (OPTION_SPU_NON_IA_TEXT): Define.
57         (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
58         (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
59
60 2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
61
62         * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
63         (ld_options): Add -Ttext-segment.
64         (parse_args): Handle OPTION_TTEXT_SEGMENT.
65
66         * ld.texinfo: Document -Ttext-segment.
67
68         * NEWS: Mention -Ttext-segment.
69
70         * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
71         (SHLIB_TEXT_START_ADDR): Likewise.
72
73 2009-01-13  Alan Modra  <amodra@bigpond.net.au>
74
75         * emultempl/spu_icache.o_c: Regenerate.
76
77 2009-01-12  Alan Modra  <amodra@bigpond.net.au>
78
79         * emultempl/spuelf.em (params): Init new fields.
80         (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
81         (spu_place_special_section): Adjust placement for soft-icache.  Pad
82         soft-icache section to a fixed size.  Clear addr_tree.
83         (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
84         sections a little more intelligently.
85         (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
86         (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
87         (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
88         (OPTION_SPU_LRLIVE): Define.
89         (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
90         (PARSE_AND_LIST_OPTIONS): Likewise.
91         (PARSE_AND_LIST_ARGS_CASES): Handle them.
92         * emultempl/spu_icache.S: Dummy file.
93         * emultempl/spu_icache.o_c: Regenerate.
94         * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
95         (spu_icache.o_c): Add rule to build.
96         (CLEANFILES): Zap temp files.
97         (EXTRA_DIST): Add spu_icache.o_c.
98         * Makefile.in: Regenerate.
99
100 2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
101
102         * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
103         (gld..._add_options): Add new option
104         --use-nul-prefixed-import-tables.
105         (gld..._handle_option): Likewise.
106         * pep.em: Same as for pe.em.
107         * ld.texinfo: Add new option documentation for
108         --use-nul-prefixed-import-tables.
109         * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
110         (make_head): Make prefix leading zero prefix element for
111         idata$4 and idata$5 dependent to new flag.
112         (make_import_fixup_entry): Remove idata4/5 prefix.
113         * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
114         * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
115         * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
116         * NEWS: Add new option.
117
118 2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
119
120         * emultempl/pe.em: Prefix dollar characters to be outputed in
121         generated C file.
122         * emultempl/pep.em: Likewise.
123
124 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
125
126         * NEWS:  Mention new feature --exclude-modules-for-implib.
127         * ld.texinfo:  Document new --exclude-modules-for-implib option.
128         * pe-dll.c (exclude_list_struct):  Change type member from int to
129         new enumeration exclude_type.
130         (pe_dll_add_excludes):  Accept exclude_type instead of int param.
131         (auto_export):  Replace magic constants by exclude_type values and
132         handle new choice EXCLUDEFORIMPLIB.
133         (pe_dll_generate_implib):  Accept a pointer to the link_info and
134         iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
135         fresh BFDs for any found and link into import lib archive chain.
136         * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
137         constants previously used for exclude_list_struct type member.
138         (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
139         * pep-dll.h (exclude_type, pe_dll_add_excludes,
140         pe_dll_generate_implib):  Likewise to all the above.
141         * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
142         getopts long option code for new --exclude-modules-for-implib option.
143         (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
144         (gld_${EMULATION_NAME}_list_options):  List usage for it.
145         (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
146         values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
147         (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
148         calling pe_dll_generate_implib.
149         * emultempl/pep.em (options):  Define new enumerated value for getopts
150         long option code for new --exclude-modules-for-implib option.
151         (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
152         gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
153         Again, likewise to all the above.
154
155 2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
156
157         * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
158         (libnamencmp):  New function.
159         (auto_export):  Use it in place of strncmp when filtering libraries.
160
161 For older changes see ChangeLog-2008
162 \f
163 Local Variables:
164 mode: change-log
165 left-margin: 8
166 fill-column: 74
167 version-control: never
168 End: