| 1 | 2008-12-10 Alan Modra <amodra@bigpond.net.au> |
| 2 | |
| 3 | * emultempl/spuelf.em (params): Init new field. |
| 4 | (OPTION_SPU_NUM_REGIONS): Define. |
| 5 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --num-regions. |
| 6 | (PARSE_AND_LIST_ARGS_CASES): Handle --num-regions. |
| 7 | |
| 8 | 2008-12-10 Alan Modra <amodra@bigpond.net.au> |
| 9 | |
| 10 | * emultempl/spuelf.em (params): New var, used instead of various others. |
| 11 | Adjust use throughout file. |
| 12 | (spu_after_open): Call spu_elf_setup. |
| 13 | (spu_place_special_section): Tidy. |
| 14 | (spu_elf_load_ovl_mgr): Return total size of sections loaded. Move |
| 15 | code setting overlay section alignment to.. |
| 16 | (spu_before_allocation): ..here. |
| 17 | |
| 18 | 2008-12-03 Nick Clifton <nickc@redhat.com> |
| 19 | |
| 20 | * NEWS: Mention new feature. |
| 21 | * pe-dll.c (process_def_file): Replace use of redundant |
| 22 | BFD_FORT_COMM_DEFAULT_VALUE with 0. |
| 23 | * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn |
| 24 | sections. |
| 25 | |
| 26 | 2008-12-02 Kai Tietz <kai.tietz@onevision.com> |
| 27 | |
| 28 | * pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to |
| 29 | hold relocations. |
| 30 | |
| 31 | 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com> |
| 32 | |
| 33 | * emultempl/cr16elf.em (cr16_after_open): New function to handle |
| 34 | CR16 ELF embedded reloc creation (ld --embedded-relocs). |
| 35 | (check_sections): New function. |
| 36 | (LDEMUL_AFTER_OPEN): Define. |
| 37 | * emulparams/elf32cr16.sh (EMBEDDED): Define. |
| 38 | |
| 39 | 2008-11-26 Alan Modra <amodra@bigpond.net.au> |
| 40 | |
| 41 | PR 7047 |
| 42 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update |
| 43 | for changes to struct bfd_elf_version_expr. |
| 44 | * ldlang.c (lang_vers_match, version_expr_head_hash): Likewise. |
| 45 | (version_expr_head_eq, lang_finalize_version_expr_head): Likewise. |
| 46 | (lang_register_vers_node): Likewise. |
| 47 | (lang_new_vers_pattern): Likewise. Ensure "literal" is set when |
| 48 | no glob chars found in "pattern". |
| 49 | (realsymbol): Correct backslash quote logic. |
| 50 | * ld.texinfo (VERSION): Warn about global wildcards. |
| 51 | |
| 52 | 2008-11-24 Alan Modra <amodra@bigpond.net.au> |
| 53 | |
| 54 | * ldlang.c (lang_record_phdrs): Don't add orphans to PT_INTERP header. |
| 55 | |
| 56 | 2008-11-19 Nick Clifton <nickc@redhat.com> |
| 57 | |
| 58 | * fdl.texi: Update to v1.3 |
| 59 | * ld.texinfo: Change license to v1.3. |
| 60 | |
| 61 | 2008-11-17 Ulrich Weigand <uweigand@de.ibm.com> |
| 62 | |
| 63 | * configure.tgt [spu-*-elf*]: Set NATIVE_LIB_DIRS to '/lib'. |
| 64 | |
| 65 | 2008-11-17 Nick Clifton <nickc@redhat.com> |
| 66 | |
| 67 | * ldver.c: Update copyright year. |
| 68 | |
| 69 | 2008-11-14 Kai Tietz <kai.tietz@onevision.com> |
| 70 | |
| 71 | * emultempl/pep.em (..._before_parse): initialize |
| 72 | pei386_runtime_pseudo_reloc by version 2. |
| 73 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. |
| 74 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. |
| 75 | (make_import_fixup): Use relocation size to read addend. |
| 76 | * emultempl/pe.em (..._before_parse): initialize |
| 77 | pei386_runtime_pseudo_reloc by version 1. |
| 78 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V1): New option. |
| 79 | (OPTION_DLL_ENABLE_RUNTIME_PSEUDO_RELOC_V2): New option. |
| 80 | * pe-dll.c (pe-dll.h): Remove useless include. |
| 81 | (make_runtime_pseudo_reloc): Change addend to use bfd_vma. |
| 82 | Handle the two variants of pseudo-relocation. |
| 83 | (pe_create_import_fixup): Change addend to type bfd_vma. |
| 84 | Modify for the two pseudo_relocation variants. |
| 85 | (runtime_pseudp_reloc_v2_init): New static variable. |
| 86 | * pe-dll.h (pe_create_import_fixup): Change addend argument type |
| 87 | to bfd_vma. |
| 88 | * pep-dll.h (pep_create_import_fixup): Likewise. |
| 89 | * NEWS: Add comment. |
| 90 | |
| 91 | 2008-11-14 Alan Modra <amodra@bigpond.net.au> |
| 92 | |
| 93 | * Makefile.am (spu_ovl.o_c): Add missing line continuations. |
| 94 | * Makefile.in: Regenerate. |
| 95 | |
| 96 | 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com> |
| 97 | |
| 98 | * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*. |
| 99 | |
| 100 | 2008-11-03 Bob Wilson <bob.wilson@acm.org> |
| 101 | |
| 102 | * emulparams/elf32xtensa.sh (NO_REL_RELOCS): Set. |
| 103 | * scripttempl/elfxtensa.sc (NO_REL_RELOCS, NO_RELA_RELOCS) |
| 104 | (NON_ALLOC_DYN): Import changes from elf.sc. |
| 105 | |
| 106 | 2008-10-25 Nick Clifton <nickc@redhat.com> |
| 107 | |
| 108 | PR 6945 |
| 109 | * ldlang.c (lang_size_sections_1): Do not update the VMAs of |
| 110 | output sections when performing a relocatable link on COFF |
| 111 | objects. |
| 112 | |
| 113 | 2008-10-22 Nick Clifton <nickc@redhat.com> |
| 114 | |
| 115 | * emultempl/armelf.em (arm_elf_after_open): Move check for using a |
| 116 | non-arm output target from here... |
| 117 | (arm_elf_create_output_section_statements): ... to here, so that |
| 118 | the check is made at the earliest possible opportunity. |
| 119 | |
| 120 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
| 121 | |
| 122 | * emulparams/elf32_i960.sh (TEMPLATE_NAME): "generic", not "elf32". |
| 123 | (EXTRA_EM_FILE): Define. |
| 124 | |
| 125 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
| 126 | |
| 127 | * scripttempl/elf.sc (NO_REL_RELOCS, NO_RELA_RELOCS, NON_ALLOC_DYN): |
| 128 | Handle these defines. |
| 129 | * emulparams/criself.sh, * emulparams/crislinux.sh, |
| 130 | * emulparams/elf32am33lin.sh, * emulparams/elf32fr30.sh, |
| 131 | * emulparams/elf32_i860.sh, * emulparams/elf32ip2k.sh, |
| 132 | * emulparams/elf32mcore.sh, * emulparams/elf32ppccommon.sh, |
| 133 | * emulparams/elf32ppcwindiss.sh, * emulparams/elf32_sparc.sh, |
| 134 | * emulparams/elf32_spu.sh, * emulparams/elf32vax.sh, |
| 135 | * emulparams/elf64alpha.sh, * emulparams/elf64mmix.sh, |
| 136 | * emulparams/elf64ppc.sh, * emulparams/elf64_s390.sh, |
| 137 | * emulparams/elf64_sparc.sh, * emulparams/elf_s390.sh, |
| 138 | * emulparams/elf_x86_64.sh, * emulparams/h8300elf.sh, |
| 139 | * emulparams/hppa64linux.sh, * emulparams/hppalinux.sh, |
| 140 | * emulparams/m68kelf.sh, * emulparams/mn10200.sh, |
| 141 | * emulparams/pjelf.sh, * emulparams/ppclynx.sh, |
| 142 | * emulparams/shelf32.sh, * emulparams/shelf_nto.sh, |
| 143 | * emulparams/shelf.sh, * emulparams/shelf_vxworks.sh, |
| 144 | * emulparams/shlelf32_linux.sh, * emulparams/shlelf_linux.sh, |
| 145 | * emulparams/shlelf_nto.sh (NO_REL_RELOCS): Set. |
| 146 | * emulparams/arcelf.sh, * emulparams/elf32_i960.sh, |
| 147 | * emulparams/elf32openrisc.sh, * emulparams/elf_i386_be.sh, |
| 148 | * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386.sh, |
| 149 | * emulparams/elf_i386_vxworks.sh, * emulparams/i386lynx.sh, |
| 150 | * emulparams/i386moss.sh, * emulparams/i386nto.sh, |
| 151 | * emulparams/or32elf.sh, * emulparams/scoreelf.sh (NO_RELA_RELOCS): Set. |
| 152 | |
| 153 | 2008-10-22 Alan Modra <amodra@bigpond.net.au> |
| 154 | |
| 155 | * ldlang.c (lang_output_section_find_by_flags): Handle non-alloc |
| 156 | sections. |
| 157 | * emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc. |
| 158 | (hold): Likewise. |
| 159 | (gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans. |
| 160 | |
| 161 | 2008-10-22 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
| 162 | |
| 163 | * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Correct typo in |
| 164 | help text of --be8. |
| 165 | |
| 166 | 2008-10-20 Alan Modra <amodra@bigpond.net.au> |
| 167 | |
| 168 | * ldemul.h (ldemul_place_orphan): Update prototype. |
| 169 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise. |
| 170 | * ldemul.c (ldemul_place_orphan): Return pointer to output |
| 171 | section statement. |
| 172 | * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 173 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 174 | * emultempl/mmo.em (mmo_place_orphan): Likewise. |
| 175 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. |
| 176 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. |
| 177 | |
| 178 | 2008-10-08 Nick Clifton <nickc@redhat.com> |
| 179 | |
| 180 | * configure.in (ALL_LINGUAS): Add "id". |
| 181 | * configure: Regenerate. |
| 182 | * po/id.po: New Indonesian translation. |
| 183 | |
| 184 | 2008-10-05 Alan Modra <amodra@bigpond.net.au> |
| 185 | |
| 186 | PR 6943 |
| 187 | * scripttempl/avr.sc (.bss): Set lma when relocating. |
| 188 | (.bss, .noinit): No need to set vma when relocating. |
| 189 | (.text, .bss, ,noinit): Set vma to zero when not relocating. |
| 190 | |
| 191 | 2008-10-04 Alan Modra <amodra@bigpond.net.au> |
| 192 | |
| 193 | PR 6931 |
| 194 | * ldemul.c (ldemul_place_orphan): Add "constraint" param. |
| 195 | * ldemul.h (ldemul_place_orphan): Update prototype. |
| 196 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise add param. |
| 197 | * ldlang.c (unique_section_p): Make static. |
| 198 | (lang_output_section_statement_lookup): Optimise creation of SPECIAL |
| 199 | sections. |
| 200 | (lang_insert_orphan): Add "constraint" param. Pass to |
| 201 | lang_enter_output_section_statement. |
| 202 | (init_os): Don't use an existing bfd section for SPECIAL sections. |
| 203 | (lang_place_orphans): Don't rename unique output sections, instead |
| 204 | mark their output section statements SPECIAL. |
| 205 | * ldlang.h (lang_insert_orphan): Update prototype. |
| 206 | (unique_section_p): Delete. |
| 207 | * emultempl/beos.em (place_orphan): Add "constraint" param. |
| 208 | * emultempl/elf32.em (place_orphan): Likewise. Don't match existing |
| 209 | output sections if set. |
| 210 | * emultempl/pe.em (place_orphan): Likewise. |
| 211 | * emultempl/pep.em (place_orphan): Likewise. |
| 212 | * emultempl/mmo.em (mmo_place_orphan): Update. |
| 213 | * emultempl/spuelf.em (spu_place_special_section): Update. |
| 214 | |
| 215 | 2008-10-03 Alan Modra <amodra@bigpond.net.au> |
| 216 | |
| 217 | PR 6931 |
| 218 | * ldemul.c (ldemul_place_orphan): Add "name" param. |
| 219 | * ldemul.h (ldemul_place_orphan): Update prototype. |
| 220 | (struct ld_emulation_xfer_struct <place_orphan>): Likewise. |
| 221 | * ldlang.c (lang_place_orphans): Generate unique section names here.. |
| 222 | * emultempl/elf32.em (place_orphan): ..rather than here. Don't |
| 223 | directly use an existing output section statement that has no |
| 224 | bfd section. |
| 225 | * emultempl/pe.em (place_orphan): Likewise. |
| 226 | * emultempl/pep.em (place_orphan): Likewise. |
| 227 | * emultempl/beos.em (place_orphan): Adjust. |
| 228 | * emultempl/spuelf.em (spu_place_special_section): Adjust |
| 229 | place_orphan call. |
| 230 | * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function. |
| 231 | (LDEMUL_AFTER_OPEN): Define. |
| 232 | |
| 233 | 2008-09-30 Joseph Myers <joseph@codesourcery.com> |
| 234 | |
| 235 | * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Add .rela.opd |
| 236 | and .rela.branch_lt. |
| 237 | |
| 238 | 2008-09-30 Alan Modra <amodra@bigpond.net.au> |
| 239 | |
| 240 | * Makefile.am: Run "make dep-am". |
| 241 | * Makefile.in: Regenerate. |
| 242 | |
| 243 | 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com> |
| 244 | Steve Ellcey <sje@cup.hp.com> |
| 245 | |
| 246 | * configure: Regenerate for new libtool. |
| 247 | * aclocal.m4: Ditto. |
| 248 | * Makefile.in: Ditto. |
| 249 | |
| 250 | 2008-09-29 Kai Tietz <kai.tietz@onevision.com> |
| 251 | |
| 252 | * pe-dll.c (make_import_fixup_entry): Make sure reloc is addend. |
| 253 | |
| 254 | 2008-09-29 Nick Clifton <nickc@redhat.com> |
| 255 | |
| 256 | * po/vi.po: Updated Vietnamese translation. |
| 257 | |
| 258 | 2008-09-25 Alan Modra <amodra@bigpond.net.au> |
| 259 | |
| 260 | * ldexp.c (fold_binary): Evaluate rhs when lhs not valid. |
| 261 | |
| 262 | 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 263 | |
| 264 | * configure.in: Call AC_SYS_LARGEFILE. |
| 265 | * config.in: Regenerate. |
| 266 | * configure: Regenerate. |
| 267 | |
| 268 | 2008-09-09 Peter Rosin <peda@lysator.liu.se> (tiny change) |
| 269 | |
| 270 | * emultempl/pe.em (pe_find_data_imports): Add trailing newline |
| 271 | to warning message. |
| 272 | * emultempl/pep.em (pep_find_data_imports): Likewise. |
| 273 | |
| 274 | 2008-09-08 H.J. Lu <hongjiu.lu@intel.com> |
| 275 | |
| 276 | 2008-09-07 Alan Modra <amodra@bigpond.net.au> |
| 277 | |
| 278 | * emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Updated. |
| 279 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Likewise. |
| 280 | |
| 281 | 2008-09-08 Tristan Gingold <gingold@adacore.com> |
| 282 | |
| 283 | * NEWS: Add a marker for the 2.19 features. |
| 284 | |
| 285 | 2008-09-07 Alan Modra <amodra@bigpond.net.au> |
| 286 | |
| 287 | * ldlang.h (lang_output_section_find): Define. |
| 288 | (lang_output_section_statement_lookup): Update prototype. |
| 289 | * ldlang.c (lang_output_section_find, |
| 290 | lang_output_section_statement_lookup_1): Merge into.. |
| 291 | (lang_output_section_statement_lookup): ..here. Update all callers. |
| 292 | (process_insert_statements): Set constraint negative |
| 293 | for output section statements we might be inserting. Make error |
| 294 | fatal on not finding insertion section. |
| 295 | (lang_output_section_find): Rather than comparing |
| 296 | output_section_statement.constraint against -1, test whether |
| 297 | it is postive. |
| 298 | (lang_output_section_statement_lookup_1): Likewise. |
| 299 | (output_prev_sec_find, strip_excluded_output_sections): Likewise. |
| 300 | (lang_record_phdrs): Likewise. |
| 301 | * emultempl/elf32.em (output_rel_find): Likewise. |
| 302 | * NEWS: Mention INSERT. |
| 303 | |
| 304 | 2008-08-26 Nick Clifton <nickc@redhat.com> |
| 305 | |
| 306 | PR 6727 |
| 307 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Scan all |
| 308 | input sections in all input bfds and always select the last |
| 309 | suitable one, so that interworking stubs are always processed |
| 310 | after all other input sections. |
| 311 | (arm_elf_before_allocation): Remove redundant use of |
| 312 | output_has_begun flag. |
| 313 | |
| 314 | 2008-08-24 Alan Modra <amodra@bigpond.net.au> |
| 315 | |
| 316 | * configure.in: Update a number of obsolete autoconf macros. |
| 317 | * configure: Regenerate. |
| 318 | * aclocal.m4: Regenerate. |
| 319 | |
| 320 | 2008-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 321 | |
| 322 | PR ld/6833 |
| 323 | * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Do not align |
| 324 | EXPLD.DATASEG.MIN_BASE. |
| 325 | * ldlang.c (lang_size_sections): New variable OLD_BASE. Rename |
| 326 | OLD_MIN_BASE to MIN_BASE with the former alignment from `ldexp.c'. |
| 327 | Use OLD_BASE now for the minimal base check after the base decrease by |
| 328 | the maximum alignment found. |
| 329 | |
| 330 | 2008-08-17 Alan Modra <amodra@bigpond.net.au> |
| 331 | |
| 332 | PR 6478 |
| 333 | * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols. |
| 334 | Don't free symbol pointer array. |
| 335 | (check_refs): Likewise. |
| 336 | * ldmain.c (warning_callback): Likewise. |
| 337 | * ldmisc.c (vfinfo): Likewise. |
| 338 | * pe-dll.c (process_def_file): Likewise. |
| 339 | (pe_walk_relocs_of_symbol, generate_reloc): Likewise. |
| 340 | * emultempl/pe.em (pe_find_data_imports): Likewise. |
| 341 | (gld_${EMULATION_NAME}_after_open): Likewise. |
| 342 | * emultempl/pep.em (pep_find_data_imports): Likewise. |
| 343 | (gld_${EMULATION_NAME}_after_open): Likewise. |
| 344 | * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count, |
| 345 | passive_position, closed. |
| 346 | * ldlang.c (new_afile): Don't set asymbols and symbol_count. |
| 347 | * ldmain.c (add_archive_element): xcalloc lang_input_statement_type. |
| 348 | |
| 349 | 2008-08-15 Alan Modra <amodra@bigpond.net.au> |
| 350 | |
| 351 | PR 6526 |
| 352 | * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS. |
| 353 | * Makefile.in: Regenerate. |
| 354 | * aclocal.m4: Regenerate. |
| 355 | * config.in: Regenerate. |
| 356 | * configure: Regenerate. |
| 357 | |
| 358 | 2008-08-09 Alan Modra <amodra@bigpond.net.au> |
| 359 | |
| 360 | PR 6753 |
| 361 | * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete. |
| 362 | (main): Don't set_scripts_dir here. |
| 363 | * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions, |
| 364 | largely based on ldmain.c versions. |
| 365 | (ldfile_find_command_file): Set up search in script dir here without |
| 366 | affecting library search. |
| 367 | * Makefile.am (ldmain.o): No need to define SCRIPTDIR. |
| 368 | (ldfile.o): New rule. |
| 369 | * Makefile.in: Regenerate. |
| 370 | |
| 371 | 2008-08-08 Anatoly Sokolov <aesok@post.ru> |
| 372 | |
| 373 | * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o, |
| 374 | and eavr51.o. |
| 375 | Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c. |
| 376 | * Makefile.in: Regenerate. |
| 377 | * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35 |
| 378 | and avr51. |
| 379 | * emulparams/avr25.sh: New file. |
| 380 | * emulparams/avr31.sh: New file. |
| 381 | * emulparams/avr35.sh: New file. |
| 382 | * emulparams/avr51.sh: New file. |
| 383 | |
| 384 | 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> |
| 385 | Daniel Jacobowitz <dan@codesourcery.com> |
| 386 | |
| 387 | * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to... |
| 388 | (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these |
| 389 | two variables. |
| 390 | * emulparams/elf32bmipn32-defs.sh: Likewise. |
| 391 | * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h. |
| 392 | (is_mips_elf): New macro. |
| 393 | (stub_file, stub_bfd): New variables. |
| 394 | (hook_stub_info): New structure. |
| 395 | (hook_in_stub): New function. |
| 396 | (mips_add_stub_section): Likewise. |
| 397 | (mips_create_output_section_statements): Likewise. |
| 398 | (mips_before_allocation): Likewise. |
| 399 | (real_func): New variable. |
| 400 | (mips_for_each_input_file_wrapper): New function. |
| 401 | (mips_lang_for_each_input_file): Likewise. |
| 402 | (lang_for_each_input_file): Define. |
| 403 | (LDEMUL_BEFORE_ALLOCATION): Likewise. |
| 404 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise. |
| 405 | |
| 406 | 2008-08-08 Alan Modra <amodra@bigpond.net.au> |
| 407 | |
| 408 | * ldfile.c (ldfile_open_file_search): Use concat. |
| 409 | (try_open): Don't use a fixed size pathname buffer. |
| 410 | (ldfile_find_command_file): Likewise. |
| 411 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If |
| 412 | using EXTRA_SHLIB_EXTENSION, don't open twice. |
| 413 | |
| 414 | 2008-08-04 Alan Modra <amodra@bigpond.net.au> |
| 415 | |
| 416 | * Makefile.am (POTFILES.in): Set LC_ALL=C. |
| 417 | * Makefile.in: Regenerate. |
| 418 | * po/POTFILES.in: Regenerate. |
| 419 | |
| 420 | 2008-08-03 Alan Modra <amodra@bigpond.net.au> |
| 421 | |
| 422 | * Makefile.am (spu_ovl.o): Merge rule into.. |
| 423 | (spu_ovl.o_c): ..this one. Only run cpp for spu target. |
| 424 | * Makefile.in: Regenerate. |
| 425 | |
| 426 | 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 427 | |
| 428 | Include the spu_ovl ASCII form in the repository files. |
| 429 | * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'. |
| 430 | * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'. |
| 431 | ($(srcdir)/emultempl/spu_ovl.o_c): New target. |
| 432 | ($(srcdir)/emultempl/spu_ovl.o): Rename to... |
| 433 | (spu_ovl.o): ...this one. |
| 434 | * Makefile.in: Regenerate. |
| 435 | * emultempl/spu_ovl.o_c: New file. |
| 436 | * emultempl/spu_ovl.o: File removed. |
| 437 | |
| 438 | 2008-07-31 Takashi Ono <t_ono@hkfreak.net> |
| 439 | |
| 440 | * pe-dll.c (generate_relocs): Don't generate relocs for |
| 441 | undefined weak symbols. |
| 442 | |
| 443 | 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
| 444 | |
| 445 | * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'. |
| 446 | |
| 447 | 2008-07-30 Alan Modra <amodra@bigpond.net.au> |
| 448 | |
| 449 | * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings. |
| 450 | |
| 451 | 2008-07-18 Joseph Myers <joseph@codesourcery.com> |
| 452 | |
| 453 | * ld.texinfo (--no-wchar-size-warning): Document new ARM option. |
| 454 | * emultempl/armelf.em (no_wchar_size_warning): New. |
| 455 | (arm_elf_create_output_section_statements): Pass |
| 456 | no_wchar_size_warning to arm_elf_create_output_section_statements. |
| 457 | (OPTION_NO_WCHAR_SIZE_WARNING): New. |
| 458 | (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. |
| 459 | (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. |
| 460 | (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. |
| 461 | |
| 462 | 2008-07-15 Jie Zhang <jie.zhang@analog.com> |
| 463 | |
| 464 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. |
| 465 | |
| 466 | 2008-07-12 Craig Silverstein <csilvers@google.com> |
| 467 | |
| 468 | PR ld/6741 |
| 469 | * configure.in: Check for, and include, libz.a if it is present. |
| 470 | * configure: Regenerate. |
| 471 | * config.in: Regenerate. |
| 472 | |
| 473 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
| 474 | |
| 475 | Revert |
| 476 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
| 477 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. |
| 478 | (eelf32bfinfd.c): Likewise. |
| 479 | * Makefile.in: Regenerate. |
| 480 | * gen-doc.texi: Set Blackfin. |
| 481 | * ld.texinfo: Document --sep-code and Blackfin specific |
| 482 | options. |
| 483 | * ldmain.c (main): Initialize link_info.sep_code. |
| 484 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. |
| 485 | (ld_options[]): Add --sep-code. |
| 486 | (parse_args): Deal with --sep-code. |
| 487 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. |
| 488 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. |
| 489 | * emultempl/bfin.em: New file. |
| 490 | |
| 491 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
| 492 | |
| 493 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. |
| 494 | (eelf32bfinfd.c): Likewise. |
| 495 | * Makefile.in: Regenerate. |
| 496 | * gen-doc.texi: Set Blackfin. |
| 497 | * ld.texinfo: Document --sep-code and Blackfin specific |
| 498 | options. |
| 499 | * ldmain.c (main): Initialize link_info.sep_code. |
| 500 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. |
| 501 | (ld_options[]): Add --sep-code. |
| 502 | (parse_args): Deal with --sep-code. |
| 503 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. |
| 504 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. |
| 505 | * emultempl/bfin.em: New file. |
| 506 | |
| 507 | 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net> |
| 508 | |
| 509 | *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols |
| 510 | starting with ".". |
| 511 | Exclude "_IMPORT_DESCRIPTOR_". |
| 512 | (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA". |
| 513 | (autofilter_symbollist_generic): Don't check for ".text". |
| 514 | Exclude "_NULL_IMPORT_DESCRIPTOR". |
| 515 | (autofilter_symbollist_i386): Likewise. |
| 516 | |
| 517 | 2008-07-07 Alan Modra <amodra@bigpond.net.au> |
| 518 | |
| 519 | * emultempl/armelf.em (elf32_arm_add_stub_section): Use |
| 520 | bfd_make_section_with_flags. |
| 521 | * emultempl/avrelf.em (avr_elf_create_output_section_statements): |
| 522 | Likewise. |
| 523 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. |
| 524 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. |
| 525 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise. |
| 526 | * emultempl/m68kelf.em (m68k_elf_after_open): Likewise. |
| 527 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. |
| 528 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): |
| 529 | Likewise. |
| 530 | |
| 531 | 2008-07-06 Nathan Sidwell <nathan@codesourcery.com> |
| 532 | |
| 533 | * ld.texinfo (File Commands): Document that INCLUDE can be used in |
| 534 | several different places. |
| 535 | * ldgram.y (statement, memory_spec, section): Allow INCLUDE. |
| 536 | (memory, memory_spec_list): Simplify BNF |
| 537 | (memory_spec_list_opt): New rule. |
| 538 | * ldlex.l (INCLUDE): Recognize in EXPRESSION. |
| 539 | |
| 540 | 2008-06-20 Alan Modra <amodra@bigpond.net.au> |
| 541 | |
| 542 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not |
| 543 | build overlay stubs" a fatal error. |
| 544 | |
| 545 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 546 | |
| 547 | * config.in: Regenerate. |
| 548 | * configure: Regenerate. |
| 549 | |
| 550 | 2008-06-17 Alan Modra <amodra@bigpond.net.au> |
| 551 | |
| 552 | * emultempl/spuelf.em (extra_stack_space): New variable. |
| 553 | (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma. |
| 554 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, |
| 555 | PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space. |
| 556 | * emultempl/spu_ovl.S: Mask interrupts during dma and update of |
| 557 | overlay manager structures. |
| 558 | * emultempl/spu_ovl.o: Regenerate. |
| 559 | |
| 560 | 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com> |
| 561 | |
| 562 | * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only |
| 563 | mention it as being special for global symbols. |
| 564 | |
| 565 | 2008-06-12 Nick Clifton <nickc@redhat.com> |
| 566 | |
| 567 | * ldlang.c (print_output_section_statement): If the output section |
| 568 | statement has an update_dot_tree expression, apply it to |
| 569 | print_dot. |
| 570 | (print_input_section): Do not update print_dot if it would move |
| 571 | print_dot backwards. |
| 572 | (lang_do_assignments_1): If the output section statement has an |
| 573 | update_dot_tree expression apply it to dot. |
| 574 | |
| 575 | 2008-06-07 Alan Modra <amodra@bigpond.net.au> |
| 576 | |
| 577 | * NEWS: Mention archive:path patterns. |
| 578 | * ld.texinfo: Likewise. |
| 579 | * ldlang.c: Formatting throughout. |
| 580 | (archive_path): Only assume "[A-Za-z]:" is a dos drive. |
| 581 | (input_statement_is_archive_path): New function, extracted from.. |
| 582 | (walk_wild): ..here. |
| 583 | (walk_wild_consider_section): Match archive:path here too. |
| 584 | (init_map_userdata, sort_def_symbol): Convert to ISO C. |
| 585 | * ldmain.c (main): Set link_info.path_separator. |
| 586 | * emultempl/spuelf.em (choose_target): Don't set it here. |
| 587 | |
| 588 | 2008-06-06 Alan Modra <amodra@bigpond.net.au> |
| 589 | |
| 590 | * ldlang.c (name_match): New function. |
| 591 | (unique_section_p, walk_wild_consider_section): Use it here. |
| 592 | (walk_wild_section_general): And here. |
| 593 | (archive_path): New function. |
| 594 | (walk_wild): Match archive:path filespecs. |
| 595 | (open_input_bfds): Don't load archive:path files. |
| 596 | * emultempl/spuelf.em (choose_target): Set path_separator. |
| 597 | * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output. |
| 598 | |
| 599 | 2008-06-04 Nick Clifton <nickc@redhat.com> |
| 600 | |
| 601 | * ld.texinfo (Orphan Sections): Fix texi typo. |
| 602 | |
| 603 | 2008-06-04 Chris Metcalf <cmetcalf@tilera.com> |
| 604 | |
| 605 | * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL. |
| 606 | (ld_options): Add entry for --no-fatal-warnings. |
| 607 | (parse_args): Handle OPTION_NO_WARN_FATAL. |
| 608 | * ld.texinfo (Options): Document new command line switch. |
| 609 | |
| 610 | 2008-06-04 Alan Modra <amodra@bigpond.net.au> |
| 611 | |
| 612 | * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg. |
| 613 | |
| 614 | 2008-06-02 Nathan Sidwell <nathan@codesourcery.com> |
| 615 | |
| 616 | * ldlang.c (closest_target_match): Skip generic big and little |
| 617 | endian ELF targets. |
| 618 | |
| 619 | 2008-05-31 Evandro Menezes <evandro@yahoo.com> |
| 620 | |
| 621 | PR ld/6430 |
| 622 | * ld.h (enum sort_order): New. |
| 623 | * ldlang.c (lang_check: Fix comment. |
| 624 | (lang_common): Sort commons in ascending or descending order. |
| 625 | (lang_one_common): Likewise. |
| 626 | * lexsup.c (ld_options): Have --sort-common take an option |
| 627 | argument. |
| 628 | (parse_args): Handle argument to --sort-common. |
| 629 | * ld.texinfo (--sort-common): Document new optional argument. |
| 630 | * NEWS: Mention new feature. |
| 631 | |
| 632 | 2008-05-28 Christophe Lyon <christophe.lyon@st.com> |
| 633 | |
| 634 | * ld.texinfo: State that farcalls stubs are supported for ARM-EABI |
| 635 | only. |
| 636 | |
| 637 | 2008-05-27 Kai Tietz <kai.tietz@onevision.com> |
| 638 | |
| 639 | * pe-dll.c (fill_edata): Make sure we calculate vma's in |
| 640 | type bfd_vma. |
| 641 | (generate_reloc): Likewise. |
| 642 | (pe_implied_import_dll): Likewise. |
| 643 | |
| 644 | 2008-05-21 Nick Clifton <nickc@redhat.com> |
| 645 | |
| 646 | PR ld/6519 |
| 647 | * ld.texinfo (Orphan Sections): Mention that the linker will |
| 648 | provide start and stop symbols for orphaned sections if their |
| 649 | names are valid C identifiers. |
| 650 | * NEWS: Add an addendum to the description of the linker feature |
| 651 | for providing orphan section start and end symbols. |
| 652 | |
| 653 | 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> |
| 654 | |
| 655 | * configure.in (--enable-got): New option. Handle it. |
| 656 | * configure: Regenerate. |
| 657 | * config.in: Regenerate. |
| 658 | * emultempl/m68kelf.em: (got_handling_target_default): New shell |
| 659 | variable. |
| 660 | (GOT_HANDLING_TARGET_DEFAULT): New macro. |
| 661 | (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure |
| 662 | option if one was given. |
| 663 | (got_handling): New static variable. |
| 664 | (elf_m68k_create_output_section_statements): New static function |
| 665 | implementing hook. |
| 666 | (PARSE_AND_LIST_PROLOGUE): Define shell variable. |
| 667 | (OPTION_GOT): New macro. |
| 668 | (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify |
| 669 | --got option. |
| 670 | (got): New linker option. |
| 671 | (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string |
| 672 | for --got option. |
| 673 | (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got |
| 674 | option. |
| 675 | * ld.texinfo: Document --got=<type> option. |
| 676 | * gen-doc.texi: Add M68K. |
| 677 | * NEWS: Mention the new feature. |
| 678 | |
| 679 | 2008-05-21 Evandro Menezes <evandro@yahoo.com> |
| 680 | |
| 681 | PR ld/6430 |
| 682 | * ld.texinfo (--sort-common): Correct documentation to indicate |
| 683 | that sorting is performed by alignment, not size, biggest |
| 684 | alignment first. |
| 685 | |
| 686 | 2008-05-21 Christophe Lyon <christophe.lyon@st.com> |
| 687 | Nick Clifton <nickc@redhat.com> |
| 688 | |
| 689 | * ld.texinfo (ARM): Document --stub-group-size=N option. |
| 690 | Move description of --pic-veneer option into the ARM section. |
| 691 | * NEWS: Mention the support for long function calls. |
| 692 | |
| 693 | 2008-05-15 Christophe Lyon <christophe.lyon@st.com> |
| 694 | |
| 695 | * emultempl/armelf.em (build_section_lists): New function. |
| 696 | (stub_file): Define. |
| 697 | (need_laying_out): Define. |
| 698 | (group_size): Define. |
| 699 | (hook_stub_info): Define. |
| 700 | (hook_in_stub): New function. |
| 701 | (elf32_arm_add_stub_section): New function. |
| 702 | (gldarm_layout_sections_again): New function. |
| 703 | (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate |
| 704 | stubs for long calls if needed. |
| 705 | (arm_elf_create_output_section_statements): create stub_file bfd. |
| 706 | (arm_for_each_input_file_wrapper): New function. |
| 707 | (arm_lang_for_each_input_file): New function. |
| 708 | (lang_for_each_input_file): Define. |
| 709 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE. |
| 710 | (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size. |
| 711 | (PARSE_AND_LIST_OPTIONS): Add option stub-group-size. |
| 712 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case. |
| 713 | (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish. |
| 714 | * lang.c (print_input_statement): Skip if bfd has |
| 715 | BFD_LINKER_CREATED. |
| 716 | |
| 717 | 2008-05-14 Alan Modra <amodra@bigpond.net.au> |
| 718 | |
| 719 | * Makefile.in: Regenerate. |
| 720 | |
| 721 | 2008-05-09 Kai Tietz <kai.tietz@onevision.com> |
| 722 | |
| 723 | ld/PR6502 |
| 724 | * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead |
| 725 | of long and change return type to bfd_vma. |
| 726 | (definfo): Change type of address from long to bfd_vma. |
| 727 | (set_pep_value): Replace strtoul to strtoull. |
| 728 | (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long.. |
| 729 | * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print |
| 730 | ImageBase. |
| 731 | (quick_reloc): Change argument address from int to bfd_size_type. |
| 732 | |
| 733 | 2008-05-08 Tom Tromey <tromey@redhat.com> |
| 734 | |
| 735 | * ld.texinfo (PowerPC64 ELF64): Fix typo. |
| 736 | |
| 737 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
| 738 | |
| 739 | * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". |
| 740 | * elf32ppc.sh: If building with spu support, put ".data.spehandle" |
| 741 | sections at the start of ".data" and provide a symbol to locate |
| 742 | the directory of embedded spe programs. |
| 743 | |
| 744 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
| 745 | |
| 746 | * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct |
| 747 | MAX_K. |
| 748 | (fold_binary <SEGMENT_START>): Set expld.result.section to |
| 749 | current section. Expand comment. Formatting. |
| 750 | (fold_name <DEFINED>): Set expld.result.section to current section. |
| 751 | |
| 752 | 2008-04-28 Nathan Sidwell <nathan@codesourcery.com> |
| 753 | |
| 754 | * ldlang.c (lang_size_sections_1): Don't check LMA overflow on |
| 755 | non-load sections. |
| 756 | |
| 757 | 2008-04-25 Michael Frysinger <vapier@gentoo.org> |
| 758 | |
| 759 | * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd |
| 760 | and targ_extra_emuls to elf32bfin. |
| 761 | |
| 762 | 2008-04-23 Paolo Bonzini <bonzini@gnu.org> |
| 763 | |
| 764 | * aclocal.m4: Regenerate. |
| 765 | * configure: Regenerate. |
| 766 | |
| 767 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
| 768 | |
| 769 | * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. |
| 770 | |
| 771 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
| 772 | |
| 773 | * po/POTFILES.in: Regenerate. |
| 774 | |
| 775 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
| 776 | |
| 777 | * emultempl/spuelf.em (auto_overlay, auto_overlay_file, |
| 778 | auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars. |
| 779 | (spu_before_allocation): Warn on --auto-overlay and existing overlays. |
| 780 | (struct tflist, clean_tmp): Move. |
| 781 | (new_tmp_file): New function, extracted from.. |
| 782 | (embedded_spu_file): ..here. |
| 783 | (spu_elf_open_overlay_script, spu_elf_relink): New function. |
| 784 | (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params. |
| 785 | Warn on --auto-overlay and zero local store. |
| 786 | (gld${EMULATION_NAME}_choose_target): New function to stash argv. |
| 787 | (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK, |
| 788 | OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE, |
| 789 | OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define. |
| 790 | (PARSE_AND_LIST_LONGOPTS): Add entries for new options. |
| 791 | (PARSE_AND_LIST_OPTIONS): Likewise. |
| 792 | (PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 793 | (LDEMUL_CHOOSE_TARGET): Define. |
| 794 | |
| 795 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
| 796 | |
| 797 | PR ld/6026 |
| 798 | * pe-dll.c (make_head): Fix iat and thunk addend offset. |
| 799 | |
| 800 | 2008-03-31 Nick Clifton <nickc@redhat.com> |
| 801 | |
| 802 | * po/fr.po: Updated French translation. |
| 803 | |
| 804 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
| 805 | |
| 806 | The sha1 code is now in libiberty. |
| 807 | * sha1.c: Remove. |
| 808 | * sha1.h: Remove. |
| 809 | * Makefile.am (CFILES): Remove sha1.c. |
| 810 | (HFILES): Remove sha1.h. |
| 811 | (OFILES): Remove sha1.o. |
| 812 | (ld_new_SOURCES): Remove sha1.c. |
| 813 | (sha1.o): Remove target. |
| 814 | * Makefile.in: Rebuild. |
| 815 | |
| 816 | 2008-03-20 Alan Modra <amodra@bigpond.net.au> |
| 817 | |
| 818 | * emultempl/spuelf.em: Update calls to elf32-spu.c funcs. |
| 819 | |
| 820 | 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 821 | |
| 822 | * aclocal.m4: Regenerate. |
| 823 | * configure: Likewise. |
| 824 | * Makefile.in: Likewise. |
| 825 | |
| 826 | 2008-03-14 Alan Modra <amodra@bigpond.net.au> |
| 827 | |
| 828 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect |
| 829 | spu_elf_build_stubs with is_spu_target. |
| 830 | |
| 831 | 2008-03-13 Alan Modra <amodra@bigpond.net.au> |
| 832 | |
| 833 | * Makefile.am: Run "make dep-am". |
| 834 | * Makefile.in: Regenerate. |
| 835 | * configure: Regenerate. |
| 836 | |
| 837 | 2008-03-06 Joseph Myers <joseph@codesourcery.com> |
| 838 | Roman Zippel <zippel@linux-m68k.org> |
| 839 | |
| 840 | * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define. |
| 841 | (COMMONPAGESIZE): Define. |
| 842 | |
| 843 | 2008-02-22 Nick Clifton <nickc@redhat.com> |
| 844 | |
| 845 | PR ld/5785 |
| 846 | * ldlang.c (lang_size_sections_1): Honour the setting of an |
| 847 | lma_region even if there is no vma region set, or the vma region |
| 848 | is the same as the lma region. |
| 849 | |
| 850 | 2008-02-18 Nick Clifton <nickc@redhat.com> |
| 851 | |
| 852 | * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a |
| 853 | relocatable link. |
| 854 | * scripttempl/elf32cr16.sc: Likewise. |
| 855 | * scripttempl/elf32cr16c.sc: Likewise. |
| 856 | * scripttempl/elf32crx.sc: Likewise. |
| 857 | * scripttempl/elf32sh-symbian.sc: Likewise. |
| 858 | * scripttempl/elf_chaos.sc: Likewise. |
| 859 | * scripttempl/elfd10v.sc: Likewise. |
| 860 | * scripttempl/elfi370.sc: Likewise. |
| 861 | * scripttempl/elfm68hc11.sc: Likewise. |
| 862 | * scripttempl/elfm68hc12.sc: Likewise. |
| 863 | * scripttempl/ip2k.sc: Likewise. |
| 864 | * scripttempl/iq2000.sc: Likewise. |
| 865 | * scripttempl/mep.sc: Likewise. |
| 866 | * scripttempl/v850.sc: Likewise. |
| 867 | * scripttempl/xstormy16.sc: Likewise. |
| 868 | |
| 869 | 2008-02-16 Alan Modra <amodra@bigpond.net.au> |
| 870 | |
| 871 | PR ld/5761 |
| 872 | * ldexp.c (fold_name <LOADADDR>): Check result of evaluating |
| 873 | load_base before calling make_abs. |
| 874 | |
| 875 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
| 876 | |
| 877 | * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. |
| 878 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): |
| 879 | Likewise. |
| 880 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): |
| 881 | Likewise. |
| 882 | * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all |
| 883 | uses with.. |
| 884 | (is_ppc_elf): ..this new macro. |
| 885 | |
| 886 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
| 887 | |
| 888 | * ldmain.h (output_bfd): Delete. |
| 889 | * ldmain.c (output_bfd): Delete. |
| 890 | Replace all occurrences of output_bfd with link_info.output_bfd. |
| 891 | * ldcref.c: Likewise. |
| 892 | * ldctor.c: Likewise. |
| 893 | * ldemul.c: Likewise. |
| 894 | * ldexp.c: Likewise. |
| 895 | * ldfile.c: Likewise. |
| 896 | * ldlang.c: Likewise. |
| 897 | * ldmisc.c: Likewise. |
| 898 | * ldwrite.c: Likewise. |
| 899 | * pe-dll.c: Likewise. |
| 900 | * emultempl/aix.em: Likewise. |
| 901 | * emultempl/alphaelf.em: Likewise. |
| 902 | * emultempl/armcoff.em: Likewise. |
| 903 | * emultempl/armelf.em: Likewise. |
| 904 | * emultempl/avrelf.em: Likewise. |
| 905 | * emultempl/beos.em: Likewise. |
| 906 | * emultempl/elf-generic.em: Likewise. |
| 907 | * emultempl/elf32.em: Likewise. |
| 908 | * emultempl/gld960.em: Likewise. |
| 909 | * emultempl/hppaelf.em: Likewise. |
| 910 | * emultempl/irix.em: Likewise. |
| 911 | * emultempl/linux.em: Likewise. |
| 912 | * emultempl/lnk960.em: Likewise. |
| 913 | * emultempl/m68hc1xelf.em: Likewise. |
| 914 | * emultempl/mmix-elfnmmo.em: Likewise. |
| 915 | * emultempl/mmo.em: Likewise. |
| 916 | * emultempl/pe.em: Likewise. |
| 917 | * emultempl/pep.em: Likewise. |
| 918 | * emultempl/ppc32elf.em: Likewise. |
| 919 | * emultempl/ppc64elf.em: Likewise. |
| 920 | * emultempl/scoreelf.em: Likewise. |
| 921 | * emultempl/sh64elf.em: Likewise. |
| 922 | * emultempl/spuelf.em: Likewise. |
| 923 | * emultempl/sunos.em: Likewise. |
| 924 | * emultempl/vanilla.em: Likewise. |
| 925 | * emultempl/vxworks.em: Likewise. |
| 926 | * emultempl/xtensaelf.em: Likewise. |
| 927 | * emultempl/z80.em: Likewise. |
| 928 | * ldlang.c (open_output): Don't return output, instead write |
| 929 | link_info_output_bfd directly. |
| 930 | * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator |
| 931 | with link_info.output_bfd->xvec. |
| 932 | * emultempl/hppaelf.em: Likewise. |
| 933 | * emultempl/ppc32elf.em: Likewise. |
| 934 | * emultempl/ppc64elf.em: Likewise. |
| 935 | * emultempl/spuelf.em: Likewise. |
| 936 | |
| 937 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
| 938 | |
| 939 | * ldlang.c (new_afile): Don't pass unadorned NULL to concat. |
| 940 | * ldfile.c (ldfile_add_library_path): Likewise. |
| 941 | * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise. |
| 942 | * emultempl/lnk960.em (lnk960_before_parse): Likewise. |
| 943 | * emultempl/spuelf.em (embedded_spu_file): Likewise. |
| 944 | |
| 945 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
| 946 | |
| 947 | * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as |
| 948 | a "present" bit rather than low bit of .buf. Correct indexing |
| 949 | into _ovly_buf_table. Use relative loads and stores to access |
| 950 | overlay manager local vars. |
| 951 | * emultempl/spu_ovl.o: Regenerate. |
| 952 | |
| 953 | 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> |
| 954 | |
| 955 | PR 5715 |
| 956 | * configure: Regenerated. |
| 957 | |
| 958 | 2008-01-31 Marc Gauthier <marc@tensilica.com> |
| 959 | |
| 960 | * configure.tgt (xtensa*-*-*): Recognize processor variants. |
| 961 | |
| 962 | 2008-01-28 Fabian Groffen <grobian@gentoo.org> |
| 963 | |
| 964 | * configure.tgt (x86_64-*-solaris2): Add support for this target. |
| 965 | |
| 966 | 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr> |
| 967 | |
| 968 | PR ld/5652 |
| 969 | * genscripts.sh: Check for the existence of BASH_LINENO not just |
| 970 | the BASH shell before generating line numbers in the emulation |
| 971 | file. |
| 972 | |
| 973 | 2008-01-28 Alan Modra <amodra@bigpond.net.au> |
| 974 | |
| 975 | * emultempl/spu_ovl.S: Rewrite. |
| 976 | * emultempl/spu_ovl.o: Regenerate. |
| 977 | * emultempl/spuelf.em (toe): Delete. |
| 978 | (spu_place_special_section): Add param to control section placement. |
| 979 | Adjust callers. |
| 980 | (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data |
| 981 | changes. |
| 982 | (spu_before_allocation): Adjust spu_elf_size_stubs call. |
| 983 | (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call. |
| 984 | |
| 985 | 2008-01-25 H.J. Lu <hongjiu.lu@intel.com> |
| 986 | |
| 987 | PR ld/5670 |
| 988 | * ldlang.c (process_insert_statements): Silence gcc 4.1 alias |
| 989 | warning. |
| 990 | |
| 991 | 2008-01-25 Alan Modra <amodra@bigpond.net.au> |
| 992 | |
| 993 | * ld.texinfo (INSERT): Describe. |
| 994 | * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete. |
| 995 | (INSERT_K, AFTER, BEFORE): Add as tokens. |
| 996 | (ifile_p1): Handle INSERT statements. |
| 997 | (saved_script_handle, force_make_executable): Move to.. |
| 998 | * ldmain.c: ..here. |
| 999 | (previous_script_handle): New global var. |
| 1000 | * ldmain.h (saved_script_handle, force_make_executable): Declare. |
| 1001 | (previous_script_handle): Likewise. |
| 1002 | * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens. |
| 1003 | * lexsup.c (parge_args <-T>): Set previous_script_handle. |
| 1004 | * ldlang.c (lang_for_each_statement_worker): Handle insert statement. |
| 1005 | (map_input_to_output_sections, print_statement): Likewise. |
| 1006 | (lang_size_sections_1, lang_do_assignments_1): Likewise. |
| 1007 | (insert_os_after): New function, extracted from.. |
| 1008 | (lang_insert_orphan): ..here. |
| 1009 | (process_insert_statements): New function. |
| 1010 | (lang_process): Call it. |
| 1011 | (lang_add_insert): New function. |
| 1012 | * ldlang.h (lang_insert_statement_enum): New. |
| 1013 | (lang_insert_statement_type): New. |
| 1014 | (lang_statement_union_type): Add insert_statement. |
| 1015 | (lang_add_insert): Declare. |
| 1016 | |
| 1017 | 2008-01-18 Bob Wilson <bob.wilson@acm.org> |
| 1018 | |
| 1019 | * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id |
| 1020 | changes from elf.sc. |
| 1021 | |
| 1022 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
| 1023 | |
| 1024 | * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test. |
| 1025 | |
| 1026 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
| 1027 | |
| 1028 | * ldlang.h (lang_afile_asection_pair_statement_enum): Delete. |
| 1029 | (lang_afile_asection_pair_statement_type): Delete. |
| 1030 | (lang_statement_union_type): Delete afile_asection_pair_statement. |
| 1031 | * ldlang.c (lang_insert_orphan): Delete case handling the above. |
| 1032 | (map_input_to_output_sections, print_statement): Likewise. |
| 1033 | |
| 1034 | 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 1035 | |
| 1036 | * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE |
| 1037 | with __data_start. |
| 1038 | * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise. |
| 1039 | |
| 1040 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
| 1041 | |
| 1042 | PR 5604 |
| 1043 | * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry |
| 1044 | syms to _bfd_elf_gc_keep. |
| 1045 | * emultempl/ppc64elf.em (ppc_before_allocation): Don't call |
| 1046 | ppc64_elf_edit_opd if no_opd_opt. |
| 1047 | |
| 1048 | 2008-01-11 Tristan Gingold <gingold@adacore.com> |
| 1049 | Eric Botcazou <ebotcazou@adacore.com> |
| 1050 | |
| 1051 | * ldlang.c (lang_end): Warns if the entry point is not found when |
| 1052 | --gc-sections. |
| 1053 | Emit an error if no root is specified when --gc-sections -r. |
| 1054 | * ld.texinfo (Options): Document that --gc-sections is compatible |
| 1055 | with -r and -q. |
| 1056 | * ldmain.c (main): Do not error out if -r and --gc-sections. |
| 1057 | * scripttempl/elf.sc: Emit ENTRY command only if relocating. |
| 1058 | |
| 1059 | 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com> |
| 1060 | |
| 1061 | PR ld/5533 |
| 1062 | * ldlang.c (lang_end): Issue a warning for a missing start symbol |
| 1063 | of a shared library if the symbol was specified on the command |
| 1064 | line. |
| 1065 | |
| 1066 | 2008-01-10 Alan Modra <amodra@bigpond.net.au> |
| 1067 | |
| 1068 | * ld.texinfo (--gc-sections): Describe linker behaviour. |
| 1069 | |
| 1070 | For older changes see ChangeLog-2007 |
| 1071 | \f |
| 1072 | Local Variables: |
| 1073 | mode: change-log |
| 1074 | left-margin: 8 |
| 1075 | fill-column: 74 |
| 1076 | version-control: never |
| 1077 | End: |