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