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