| 1 | 2010-04-06 H.J. Lu <hongjiu.lu@intel.com> |
| 2 | |
| 3 | PR ld/11434 |
| 4 | * ld/testsuite/ld-x86-64/unique1.d: New. |
| 5 | * ld/testsuite/ld-x86-64/unique1.s: Likewise. |
| 6 | |
| 7 | * ld-x86-64/x86-64.exp: Run unique1. |
| 8 | |
| 9 | 2010-04-05 Kai Tietz <kai.tietz@onevision.com> |
| 10 | |
| 11 | * emultempl/pep.em (U): Macro modified. |
| 12 | (U_SIZE): New helper macro. |
| 13 | (GET_INIT_SYMBOL_NAME): Likewise. |
| 14 | (enum options): Add OPTION_NO_LEADING_UNDERSCORE |
| 15 | and OPTION_LEADING_UNDERSCORE enumerator-values. |
| 16 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore |
| 17 | option. |
| 18 | (definfo): Add new member is_c_symbol. |
| 19 | (D): Add to macro underscore mode parameter. |
| 20 | (init): Add definition for is_c_symbol. |
| 21 | (gld_${EMULATION_NAME}_list_options): Display new options. |
| 22 | (set_pep_name): Adjust underscoring dependent fixed |
| 23 | symbol handling. |
| 24 | (gld_${EMULATION_NAME}_set_symbols): Likewise. |
| 25 | (saw_option): Likewise. |
| 26 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. |
| 27 | (set_entry_point): Initial initial_symbol_char dependent to |
| 28 | target's default and new option flag pep_leading_underscore. |
| 29 | * emultempl/pe.em (U): Macro modified. |
| 30 | (U_SIZE): New helper macro. |
| 31 | (GET_INIT_SYMBOL_NAME): Likewise. |
| 32 | (OPTION_LEADING_UNDERSCORE): Add new option define. |
| 33 | (OPTION_NO_LEADING_UNDERSCORE): Likewise. |
| 34 | (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore |
| 35 | option. |
| 36 | (definfo): Add new member is_c_symbol. |
| 37 | (D): Add to macro underscore mode parameter. |
| 38 | (init): Add definition for is_c_symbol. |
| 39 | (gld_${EMULATION_NAME}_list_options): Display new options. |
| 40 | (set_pep_name): Adjust underscoring dependent fixed |
| 41 | symbol handling. |
| 42 | (gld_${EMULATION_NAME}_set_symbols): Likewise. |
| 43 | (saw_option): Likewise. |
| 44 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. |
| 45 | (set_entry_point): Initial initial_symbol_char dependent to |
| 46 | target's default and new option flag pep_leading_underscore. |
| 47 | * pe-dll.c (pe_leading_underscore): New flag variable. |
| 48 | (pe_detail_list): Remove const to allow modify of |
| 49 | member underscore. |
| 50 | (pe_dll_id_target): Initialize pe_details' underscore variable |
| 51 | dependent to target's default and flag pe_leading_underscore. |
| 52 | * pe-dll.h (pe_leading_underscore): Add extern declaration of |
| 53 | option flag. |
| 54 | * pep-dll.c (pe_leading_underscore): Add alias define for |
| 55 | pep_leading_underscore. |
| 56 | * pep-dll.h (pep_leading_underscore) Add extern declaration of |
| 57 | option flag. |
| 58 | * ld.texinfo: Add documentation for --(no-)leading-underscore |
| 59 | option. |
| 60 | |
| 61 | 2010-03-26 Alan Modra <amodra@gmail.com> |
| 62 | |
| 63 | PR ld/11426 |
| 64 | * configure.host (many linux targets <HOSTING_CRT0>): Remove edits. |
| 65 | (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo. |
| 66 | |
| 67 | 2010-03-25 Joseph Myers <joseph@codesourcery.com> |
| 68 | |
| 69 | * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and |
| 70 | eelf32_tic6x_le.o. |
| 71 | (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. |
| 72 | * NEWS: Add news entry for TI C6X support. |
| 73 | * configure.tgt (tic6x-*-*): New. |
| 74 | * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. |
| 75 | |
| 76 | 2010-03-23 Joseph Myers <joseph@codesourcery.com> |
| 77 | |
| 78 | * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME, |
| 79 | BSS_NAME): Define if not already defined. Use in place of some |
| 80 | hardcoded section names. |
| 81 | |
| 82 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 83 | |
| 84 | * scripttempl/elf.sc (INIT_ARRAY): Re-indent. |
| 85 | |
| 86 | 2010-03-18 Aymeric Vincent <vincent@labri.fr> |
| 87 | |
| 88 | PR ld/11384 |
| 89 | * emultempl/sh64elf.em: Add missing EOF. |
| 90 | |
| 91 | 2010-03-18 Doug Semler <dougsemler@gmail.com> |
| 92 | |
| 93 | * pe-dll.c (make_one): Make text section readonly. |
| 94 | (make_one): Add *ABS* symbol @feat.00 with value 1 to tag |
| 95 | the jump stub on X86 as /SAFESEH compatible for |
| 96 | native toolchains. |
| 97 | |
| 98 | 2010-03-17 Alan Modra <amodra@gmail.com> |
| 99 | |
| 100 | * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from |
| 101 | *prev instead. Update all callers. |
| 102 | |
| 103 | 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
| 104 | |
| 105 | * ldlang.c (lang_insert_orphan): Place loadable orphans in the same |
| 106 | region and phdrs as their placement section. |
| 107 | |
| 108 | 2010-03-15 Alan Modra <amodra@gmail.com> |
| 109 | |
| 110 | * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New. |
| 111 | (ppc_before_allocation): Call sort_toc_sections. |
| 112 | (no_toc_sort, OPTION_NO_TOC_SORT): New. |
| 113 | (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, |
| 114 | PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort. |
| 115 | |
| 116 | 2010-03-14 Alan Modra <amodra@gmail.com> |
| 117 | |
| 118 | PR ld/11378 |
| 119 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call |
| 120 | ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs. |
| 121 | |
| 122 | 2010-03-11 George Gensure <werkt0@gmail.com> |
| 123 | |
| 124 | PR ld/11367 |
| 125 | * ldcref.c (handle_asneeded_cref): Correct copying of refs. |
| 126 | |
| 127 | 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
| 128 | |
| 129 | * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o, |
| 130 | eelf_i386_sol2.o. |
| 131 | (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o. |
| 132 | (eelf32_sparc_sol2.c): New rule. |
| 133 | (eelf64_sparc_sol2.c): Likewise. |
| 134 | (eelf_x86_64_sol2.c): Likewise. |
| 135 | (eelf_i386_sol2.c): Likewise. |
| 136 | * Makefile.in: Regenerate. |
| 137 | * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to |
| 138 | elf_i386_sol2. |
| 139 | Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls. |
| 140 | (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2. |
| 141 | Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls. |
| 142 | (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2. |
| 143 | Add target_extra_emuls. |
| 144 | (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2. |
| 145 | Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls. |
| 146 | (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2. |
| 147 | Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls. |
| 148 | * emulparams/elf32_sparc_sol2.sh: New file. |
| 149 | * emulparams/elf64_sparc_sol2.sh: New file. |
| 150 | * emulparams/elf_i386_sol2.sh: New file. |
| 151 | * emulparams/elf_x86_64_sol2.sh: New file. |
| 152 | * emultempl/solaris2.em: New file. |
| 153 | |
| 154 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
| 155 | |
| 156 | PR ld/11330 |
| 157 | * ld.texinfo: Replace explicitely with explicitly. |
| 158 | |
| 159 | 2010-02-27 Jie Zhang <jie@codesourcery.com> |
| 160 | |
| 161 | * scripttempl/armbpabi.sc: Don't combine .init_array.* or |
| 162 | .fini_array.* when do relocatable linking. |
| 163 | * scripttempl/elf.sc: Likewise. |
| 164 | * scripttempl/elf32sh-symbian.sc: Likewise. |
| 165 | * scripttempl/elf64hppa.sc: Likewise. |
| 166 | * scripttempl/elfxtensa.sc: Likewise. |
| 167 | |
| 168 | 2010-02-26 Alan Modra <amodra@gmail.com> |
| 169 | |
| 170 | * scripttempl/elf.sc (.fini_array): Place input .fini_array after |
| 171 | .fini_array.*. |
| 172 | * scripttempl/armbpabi.sc: Likewise. |
| 173 | * scripttempl/elf32sh-symbian.sc: Likewise. |
| 174 | * scripttempl/elf64hppa.sc: Likewise. |
| 175 | * scripttempl/elfxtensa.sc: Likewise. |
| 176 | |
| 177 | 2010-02-25 Alan Modra <amodra@gmail.com> |
| 178 | |
| 179 | PR ld/11304 |
| 180 | * ldlang.c (init_os): Remove isec param. Don't check for |
| 181 | bfd_section already set or call bfd_init_private_section_data |
| 182 | here. |
| 183 | (exp_init_os): Update init_os call. |
| 184 | (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE |
| 185 | flags. Call bfd_init_private_section_data here. |
| 186 | (map_input_to_output_sections): Tidy. Update init_os calls. |
| 187 | Use os->sectype to select sec flags for lang_data_statement. |
| 188 | |
| 189 | 2010-02-23 Alan Modra <amodra@gmail.com> |
| 190 | |
| 191 | PR ld/11304 |
| 192 | * ldlang.c: Revert last patch. |
| 193 | |
| 194 | 2010-02-23 Nick Clifton <nickc@redhat.com> |
| 195 | |
| 196 | * po/bg.po: Updated Bulgarian translation. |
| 197 | |
| 198 | 2010-02-22 Alan Modra <amodra@gmail.com> |
| 199 | |
| 200 | PR ld/11304 |
| 201 | * ldlang.c (exp_init_os): Delete forward declaration. |
| 202 | (init_os): Don't check for bfd_section already created and don't |
| 203 | init addr_tree and load_base expressions here. |
| 204 | (map_input_to_output_sections): Only map input to output sections |
| 205 | and set constraints here, and as an exception, create output |
| 206 | sections which have their address set. Move all the other code to.. |
| 207 | (create_other_output_sections): ..here. New function. Handle init |
| 208 | of addr_tree and load_base here too. |
| 209 | (lang_process): Call create_other_output_sections. |
| 210 | |
| 211 | 2010-02-19 Alan Modra <amodra@gmail.com> |
| 212 | |
| 213 | * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS. |
| 214 | * Makefile.in: Regenerate. |
| 215 | |
| 216 | 2010-02-19 Alan Modra <amodra@gmail.com> |
| 217 | |
| 218 | * ldlang.c (unique_section_p): Add os param. Allow group |
| 219 | sections to match /DISCARD/. Update all callers. |
| 220 | * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. |
| 221 | (LDEMUL_BEFORE_ALLOCATION): Define. |
| 222 | |
| 223 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
| 224 | |
| 225 | * po/vi.po: Updated Vietnamese translation. |
| 226 | |
| 227 | 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
| 228 | |
| 229 | * Makefile.am (CFILES): Add ldlex-wrapper.c. |
| 230 | (OFILES): Replace ldlex.c with ldlex-wrapper.c. |
| 231 | (ldlex.o): Replace with... |
| 232 | (ldlex-wrapper.o): ...this new rule. |
| 233 | (EXTRA_ld_new_SOURCES): Add ldlex.l. |
| 234 | (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c. |
| 235 | * Makefile.in: Regenerate. |
| 236 | * ldlex.l (sysdep.h): Don't include here. |
| 237 | * ldlex-wrapper.c: New file. |
| 238 | |
| 239 | 2010-02-09 Alan Modra <amodra@gmail.com> |
| 240 | |
| 241 | * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed |
| 242 | function parameters. |
| 243 | |
| 244 | 2010-02-05 Nick Clifton <nickc@redhat.com> |
| 245 | |
| 246 | * configure.in (ALL_LIBGUAS): Add bg. |
| 247 | * configure: Regenerate. |
| 248 | * po/bg.po: New Bulgarian translation. |
| 249 | |
| 250 | 2010-02-05 Ryan Mansfield <rmansfield@qnx.com> |
| 251 | |
| 252 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for |
| 253 | --target1-abs and --target1-rel options. |
| 254 | |
| 255 | 2010-02-03 Nick Clifton <nickc@redhat.com> |
| 256 | |
| 257 | * emultempl/alphaelf.em: Update value expected from elf_object_id. |
| 258 | * emultempl/hppaelf.em: Likewise. |
| 259 | * emultempl/mipself.em: Likewise. |
| 260 | * emultempl/ppc32elf.em: Likewise. |
| 261 | * emultempl/ppc64elf.em: Likewise. |
| 262 | |
| 263 | 2010-02-03 Alan Modra <amodra@gmail.com> |
| 264 | |
| 265 | * emultempl/ppc64elf.em (build_toc_list): Report errors from |
| 266 | ppc64_elf_next_toc_section. |
| 267 | (after_allocation): Update for changed function names and params. |
| 268 | Run second pass of multitoc partitioning. |
| 269 | |
| 270 | 2010-01-21 Jon Grant <jg@jguk.org> |
| 271 | Nick Clifton <nickc@redhat.com> |
| 272 | |
| 273 | PR 4437 |
| 274 | * ldfile.c: (ldfile_open_file): Do not stop link upon encountering |
| 275 | a missing file or library. Instead mark the entry as missing and |
| 276 | set the global flag to indicate that missing files were |
| 277 | encountered. |
| 278 | * ldlang.c (missing_files): New exported variable. |
| 279 | (load_symbols): Skip loading if the file is missing. |
| 280 | (open_input_bfds): Terminate link if any input files were |
| 281 | missing. |
| 282 | * ldlang.h (struct lang_input_statement_struct): Add missing_file |
| 283 | field. |
| 284 | Add export of missing_file variable. |
| 285 | |
| 286 | 2010-01-13 DJ Delorie <dj@redhat.com> |
| 287 | |
| 288 | * emultempl/elf32.em (_place_orphan): If an input section doesn't |
| 289 | match an existing output section, but an unused output section |
| 290 | statement does match, use it. |
| 291 | * emultempl/pe.em (_place_orphan): Likewise. |
| 292 | * emultempl/pep.em (_place_orphan): Likewise. |
| 293 | |
| 294 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 295 | |
| 296 | * configure: Regenerate. |
| 297 | * Makefile.in: Regenerate. |
| 298 | |
| 299 | 2010-01-08 H.J. Lu <hongjiu.lu@intel.com> |
| 300 | |
| 301 | * ldver.c (ldversion): Change to "Copyright 2010". |
| 302 | |
| 303 | 2010-01-08 Alan Modra <amodra@gmail.com> |
| 304 | |
| 305 | PR 11107 |
| 306 | * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr. |
| 307 | |
| 308 | For older changes see ChangeLog-2009 |
| 309 | \f |
| 310 | Local Variables: |
| 311 | mode: change-log |
| 312 | left-margin: 8 |
| 313 | fill-column: 74 |
| 314 | version-control: never |
| 315 | End: |