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