| 1 | 2005-01-22 Richard Sandiford <rsandifo@redhat.com> |
| 2 | |
| 3 | * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". |
| 4 | * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. |
| 5 | |
| 6 | 2005-01-21 Jakub Jelinek <jakub@redhat.com> |
| 7 | |
| 8 | * ldgram.y (AS_NEEDED): New token. |
| 9 | (input_list): Handle AS_NEEDED ( input_list ). |
| 10 | * ldlex.l (AS_NEEDED): Add. |
| 11 | * ld.texinfo: Document AS_NEEDED (). |
| 12 | * NEWS: Mention AS_NEEDED (). |
| 13 | |
| 14 | 2005-01-21 Ben Elliston <bje@au.ibm.com> |
| 15 | |
| 16 | * ldlang.c (lang_reasonable_defaults): Remove. |
| 17 | (lang_process): Don't call lang_reasonable_defaults. |
| 18 | |
| 19 | * ldexp.c (exp_assop): Remove #if 0'd code. |
| 20 | (exp_print_tree): Likewise. |
| 21 | * ldlang.c (lang_memory_region_lookup): Likewise. |
| 22 | (open_output): Likewise. |
| 23 | (lang_do_assignments_1): Likewise. |
| 24 | (lang_place_orphans): Likewise. |
| 25 | (lang_enter_output_section_statement): Likewise. |
| 26 | (lang_reasonable_defaults): Likewise. |
| 27 | * ldlang.h (struct lang_input_statement_struct): Likewise. |
| 28 | * mri.c (mri_draw_tree): Likewise. |
| 29 | (mri_load): Likewise. |
| 30 | * pe-dll.c (generate_reloc): Likewise. |
| 31 | (make_import_fixup_entry): Likewise. |
| 32 | (pe_as16): Likewise. |
| 33 | * emultempl/beos.em (set_pe_subsystem): Likewise. |
| 34 | * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. |
| 35 | * emultempl/pe.em: Likewise. |
| 36 | * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. |
| 37 | |
| 38 | 2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
| 39 | |
| 40 | * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. |
| 41 | (earmelfb_linux_eabi.c): New target. |
| 42 | * Makefile.in: Regenerated. |
| 43 | * configure.tgt (arm*b-*-linux-gnueabi): New target. |
| 44 | * emulparams/armelfb_linux_eabi.sh: New file. |
| 45 | |
| 46 | 2005-01-20 Nick Hudson <skrll@netbsd.org> |
| 47 | |
| 48 | PR ld/676 |
| 49 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): |
| 50 | Handle bfd_elf32_hppa_nbsd_vec. |
| 51 | |
| 52 | 2005-01-19 Richard Sandiford <rsandifo@redhat.com> |
| 53 | |
| 54 | * ldmain.h (ld_sysroot): Change type to a constant string. |
| 55 | * ldmain.c (ld_sysroot): Likewise. |
| 56 | (get_relative_sysroot, get_sysroot): New functions, adding command-line |
| 57 | support for changing the sysroot. |
| 58 | (main): Call the new functions. |
| 59 | * lexsup.c (OPTION_SYSROOT): New. |
| 60 | (ld_options): Add --sysroot. |
| 61 | (parse_args): Add a dummy handler for it. |
| 62 | * ld.texinfo (--sysroot): Document. |
| 63 | * NEWS: Mention the new --sysroot option. |
| 64 | |
| 65 | 2005-01-18 Alan Modra <amodra@bigpond.net.au> |
| 66 | |
| 67 | * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. |
| 68 | (lang_place_orphans): Don't abort on just_syms_flag, instead call |
| 69 | bfd_link_just_syms. |
| 70 | |
| 71 | 2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> |
| 72 | |
| 73 | * defilep.y (def_name, def_library): Combine into... |
| 74 | (def_image_name): New function. Strip name to basename, |
| 75 | with warning. |
| 76 | |
| 77 | 2005-01-12 Mark Kettenis <kettenis@gnu.org> |
| 78 | |
| 79 | * configure.in: Be sure to invoke config.sub using the shell. |
| 80 | * configure: Regenerate. |
| 81 | |
| 82 | 2005-01-11 Alan Modra <amodra@bigpond.net.au> |
| 83 | |
| 84 | * configure.host: Correct sed patterns for last change. |
| 85 | |
| 86 | 2005-01-10 Nick Clifton <nickc@redhat.com> |
| 87 | |
| 88 | PR binutils/609 |
| 89 | * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this |
| 90 | to determine whether config.make_executable should be set to FALSE in |
| 91 | conjunction with config.fatal_warnings. |
| 92 | (info_msg, minfo, lfinof): Pass FALSE as the extra argument. |
| 93 | (einfo): Pass TRUE as the extra argument. |
| 94 | |
| 95 | 2005-01-10 Greg Schaffer <gschafer@zip.com.au> |
| 96 | |
| 97 | * configure.host (linux targets): Use "${CC} -dumpspecs" instead |
| 98 | of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. |
| 99 | (ia64-*-aix): Delete - this target is obsolete, and would be |
| 100 | broken by this patch. |
| 101 | |
| 102 | 2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
| 103 | |
| 104 | * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. |
| 105 | (sparc64-sun-solaris2*): New host. |
| 106 | |
| 107 | 2005-01-06 Paul Brook <paul@codesourcery.com> |
| 108 | |
| 109 | * Makefie.am: Add earmelf_vxworks. |
| 110 | * Makefile.in: Regenerate. |
| 111 | * configure.tgt: Make arm-*-vxworks a separate case. |
| 112 | * emulparams/armelf_vxworks.sh: New function. |
| 113 | |
| 114 | 2005-01-06 Alan Modra <amodra@bigpond.net.au> |
| 115 | |
| 116 | * emultempl/ppc64elf.em (no_multi_toc): New var. |
| 117 | (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. |
| 118 | (OPTION_NO_MULTI_TOC): Define. |
| 119 | (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. |
| 120 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. |
| 121 | |
| 122 | 2005-01-05 Nick Clifton <nickc@redhat.com> |
| 123 | |
| 124 | PR binutils/614 |
| 125 | * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding |
| 126 | Standard's specification for parsable error messages. |
| 127 | |
| 128 | 2005-01-04 Paul Brook <paul@codesourcery.com> |
| 129 | |
| 130 | * Makefile.am: Correct dependency for earmsymbian.c. |
| 131 | * Makefile.in: Regenerate. |
| 132 | |
| 133 | 2004-12-28 Danny Smith <dannysmith@users.sourceforge.net> |
| 134 | |
| 135 | * emultempl/pe.em (set_pe_subsystem): Change second arg to |
| 136 | lang_add_entry to FALSE. |
| 137 | |
| 138 | 2004-12-23 Nick Clifton <nickc@redhat.com> |
| 139 | |
| 140 | PR 600 |
| 141 | * emulparams/shelf.sh (.stack): Increase stack start address to |
| 142 | 0x300000. |
| 143 | |
| 144 | 2004-12-20 Nick Clifton <nickc@redhat.com> |
| 145 | |
| 146 | * ldmain.c (main): Issue an error message if -static and -shared |
| 147 | are used together. |
| 148 | |
| 149 | 2004-12-17 Jakub Jelinek <jakub@redhat.com> |
| 150 | |
| 151 | * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields. |
| 152 | * ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them. |
| 153 | * ldlang.c (lang_size_sections): Use them to avoid wasting virtual |
| 154 | address space at DATA_SEGMENT_ALIGN. Fix computation of expected |
| 155 | PT_GNU_RELRO segment end. |
| 156 | |
| 157 | 2004-12-14 P.J. Darcy <darcypj@us.ibm.com> |
| 158 | |
| 159 | * configure.tgt: Add s390x-ibm-tpf support. |
| 160 | |
| 161 | 2004-12-16 Martin Kögler <mkoegler@auto.tuwien.ac.at> |
| 162 | |
| 163 | * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL |
| 164 | BFD. |
| 165 | |
| 166 | 2004-12-07 Ben Elliston <bje@gnu.org> |
| 167 | |
| 168 | * ldemul.h: Forward declare struct option. |
| 169 | |
| 170 | 2004-12-01 Danny Smith <dannysmith@users.sourceforge.net> |
| 171 | |
| 172 | * scripttempl/pe.sc (.data): Add .jcr subsection. |
| 173 | |
| 174 | 2004-11-30 Paul Brook <paul@codesourcery.com> |
| 175 | |
| 176 | * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge. |
| 177 | |
| 178 | 2004-11-30 Tero Niemela <tero_niemela@yahoo.com> |
| 179 | |
| 180 | * Makefile.am: Change LOCALEDIR to $(datadir)/share. |
| 181 | * Makefile.in: Regenerate. |
| 182 | |
| 183 | 2004-11-26 Melissa Mears <asterisk@graces.dricas.com> |
| 184 | |
| 185 | * emultempl/pe.em: Add --subsystem:xbox as well as |
| 186 | --subsystem:%d. |
| 187 | * ld.texinfo: (ld_options): Document acceptance of subsystem xbox |
| 188 | and numeric subsystems. |
| 189 | |
| 190 | 2004-11-24 Alan Modra <amodra@bigpond.net.au> |
| 191 | |
| 192 | * ldexp.c (fold_name): Correct PR 338 fix. |
| 193 | |
| 194 | 2004-11-19 Mark Mitchell <mark@codesourcery.com> |
| 195 | |
| 196 | * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o. |
| 197 | (earmelf_linux_eabi.c): New target. |
| 198 | * configure.tgt (arm*-*-linux-gnueabi): Handle it. |
| 199 | * emulparams/armelf_linux_eabi.sh: New file. |
| 200 | * Makefile.in: Regenerated. |
| 201 | |
| 202 | 2004-11-19 Nick Clifton <nickc@redhat.com> |
| 203 | |
| 204 | PR 518 |
| 205 | * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and |
| 206 | LENGTH fields in the MEMORY command, to explicitly state that |
| 207 | symbols cannot be used in their expressions. |
| 208 | |
| 209 | 2004-11-19 Jon Beniston <jon@beniston.com> |
| 210 | |
| 211 | * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION. |
| 212 | * ld/ldgram.y: Add ORIGIN and LENGTH expressions. |
| 213 | * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions |
| 214 | which return the length and origin of a memory. |
| 215 | * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions. |
| 216 | * NEWS: Mention support for ORIGIN and LENGTH operators. |
| 217 | |
| 218 | 2004-11-17 Daniel Jacobowitz <dan@codesourcery.com> |
| 219 | |
| 220 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use |
| 221 | a dynamic object for stubs. |
| 222 | |
| 223 | 2004-11-04 Paul Brook <paul@codesourcery.com> |
| 224 | |
| 225 | * ld.texinfo: Document --default-imported-symver. |
| 226 | * ldmain.c (main): Set link_info.default_imported_symver. |
| 227 | * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. |
| 228 | (ld_options): Add --default-imported-symver. |
| 229 | (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER. |
| 230 | |
| 231 | 2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com> |
| 232 | Vineet Sharma <vineets@noida.hcltech.com> |
| 233 | |
| 234 | * Makefile.am: Add entries for new maxq-coff target. |
| 235 | * Makefile.in: Regenerate. |
| 236 | * configure.tgt: Add support for maxq. |
| 237 | * emulparams/maxqcoff.sh: New File. |
| 238 | * scripttempl/maxqcoff.sc: New linker script for target maxq. |
| 239 | * NEWS: Mention the new target. |
| 240 | |
| 241 | 2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 242 | |
| 243 | * testsuite/ld-scripts/weak.exp: Enable test on PE, |
| 244 | XFAIL non-i386 PE. |
| 245 | * testsuite/ld-undefined/weak-undef.exp: Enable test on PE, |
| 246 | XFAIL non-i386 PE. |
| 247 | * testsuite/lib/ld-lib.exp (is_pecoff_format): New. |
| 248 | |
| 249 | 2004-11-04 Daniel Jacobowitz <dan@debian.org> |
| 250 | |
| 251 | * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o. |
| 252 | (earmelf_oabi.c): Remove rule. |
| 253 | * configure.tgt: Remove arm-*-oabi and thumb-*-oabi. |
| 254 | * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files. |
| 255 | * Makefile.in: Regenerated. |
| 256 | |
| 257 | 2004-11-04 Hans-Peter Nilsson <hp@axis.com> |
| 258 | |
| 259 | * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout. |
| 260 | * emulparams/criself.sh (INIT_START): Remove emitted "push srp". |
| 261 | (FINI_START): Ditto. |
| 262 | (INIT_END): Remove emitted "jump [sp+]". |
| 263 | (FINI_END): Ditto. |
| 264 | |
| 265 | 2004-11-04 Alan Modra <amodra@bigpond.net.au> |
| 266 | |
| 267 | * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt. |
| 268 | (no_opd_opt, no_toc_opt): New static vars. |
| 269 | (ppc_before_allocation): Don't edit opt if no_opd_opt. Call |
| 270 | ppc64_elf_edit_toc. |
| 271 | (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define. |
| 272 | (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize. |
| 273 | (PARSE_AND_LIST_OPTIONS): Describe new options. |
| 274 | (PARSE_AND_LIST_ARGS_CASES): Handle them. |
| 275 | |
| 276 | 2004-10-27 Nick Clifton <nickc@redhat.com> |
| 277 | |
| 278 | * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL, |
| 279 | parameter to invocation of lang_section_start. |
| 280 | * emultempl/aix.em (_handle_option): Likewise. |
| 281 | |
| 282 | * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c, |
| 283 | eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em. |
| 284 | * Makefile.in: Regenerate. |
| 285 | |
| 286 | 2004-10-26 Mark Mitchell <mark@codesourcery.com> |
| 287 | |
| 288 | * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit |
| 289 | __exidx_{start,end} when not relocating. |
| 290 | |
| 291 | 2004-10-25 Mark Mitchell <mark@codesourcery.com> |
| 292 | |
| 293 | * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc. |
| 294 | * ldexp.h (segment_type): New type. |
| 295 | (segments): New variable. |
| 296 | * ldexp.c (segments): New variable. |
| 297 | (exp_print_token): Handle SEGMENT_START. |
| 298 | (fold_binary): Likewise. |
| 299 | * ldgram.y (SEGMENT_START): Declare it as a token. |
| 300 | (exp): Handle SEGMENT_START. |
| 301 | * ldlang.h (lang_address_statement_type): Add segment field. |
| 302 | (lang_section_start): Change prototype. |
| 303 | * ldlang.c (map_input_to_output_sections): Do not process section |
| 304 | assignments if a corresponding SEGMENT_START has already been |
| 305 | seen. |
| 306 | (lang_section_start): Add segment parameter. |
| 307 | * ldlex.l (SEGMENT_START): Add it. |
| 308 | * lexsup.c (seg_segment_start): New function. |
| 309 | (parse_args): Use it for -Tbss, -Tdata, and -Ttext. |
| 310 | * ld.texinfo (SEGMENT_START): Document it. |
| 311 | * emulparams/armsymbian.sh (EMBEDDED): Set it. |
| 312 | * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment |
| 313 | base addresses. Do not map relocations. |
| 314 | * NEWS: Mention SEGMENT_START. |
| 315 | |
| 316 | 2004-10-26 Paul Brook <paul@codesourcery.com> |
| 317 | |
| 318 | * ld.texinfo: Document --default-symver. |
| 319 | * ldmain.c (main): Set link_info.create_default_symver. |
| 320 | * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER. |
| 321 | (ld_options): Add default-symver. |
| 322 | (parse_args): Handle OPTION_DEFAULT_SYMVER. |
| 323 | |
| 324 | 2004-10-24 Danny Smith <dannysmith@users.sourceforge.net> |
| 325 | |
| 326 | * pe-dll.c (process_def_file): Don't export all symbols by default if |
| 327 | building a position-independent executable. |
| 328 | |
| 329 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
| 330 | |
| 331 | PR 463 |
| 332 | * ldmain.c (reloc_overflow): Accept a pointer to struct |
| 333 | bfd_link_hash_entry. Report symbol location for relocation |
| 334 | overflow. |
| 335 | |
| 336 | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> |
| 337 | |
| 338 | * genscripts.sh (libpath.exp): Really generate for first |
| 339 | emulation only. |
| 340 | |
| 341 | 2004-10-19 Danny Smith <dannysmith@users.sourceforge.net> |
| 342 | |
| 343 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify |
| 344 | comparison and replacement of filenames. |
| 345 | |
| 346 | 2004-10-19 H.J. Lu <hongjiu.lu@intel.com> |
| 347 | |
| 348 | PR 459 |
| 349 | * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic |
| 350 | option on linker script as the one for linker script. |
| 351 | |
| 352 | 2004-10-16 Daniel Jacobowitz <dan@debian.org> |
| 353 | |
| 354 | * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) |
| 355 | (check_excluded_libs): New. |
| 356 | (load_symbols): Call check_excluded_libs. |
| 357 | * ldlang.h (add_excluded_libs): New prototype. |
| 358 | * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. |
| 359 | (gld${EMULATION_NAME}_add_options): Add --exclude-libs. |
| 360 | (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. |
| 361 | * ld.texinfo (Command Line Variables): Document --exclude-libs. |
| 362 | (Options Specific to i386 PE Targets): Remove --exclude-libs. |
| 363 | |
| 364 | 2004-10-15 Alan Modra <amodra@bigpond.net.au> |
| 365 | |
| 366 | * ldexp.c (exp_fold_tree): Don't immediately exit ld on a |
| 367 | failing link script assert. |
| 368 | |
| 369 | * ldctor.c (ldctor_add_set_entry): Fix comment typo. |
| 370 | |
| 371 | 2004-10-14 H.J. Lu <hongjiu.lu@intel.com> |
| 372 | |
| 373 | PR 445 |
| 374 | * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. |
| 375 | (SMALL_DATA_DTOR): Set. |
| 376 | * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. |
| 377 | (SMALL_DATA_DTOR): Unset. |
| 378 | * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors |
| 379 | after .data. If SMALL_DATA_DTOR is set, move .dtors after |
| 380 | .data. |
| 381 | |
| 382 | 2004-10-14 Alan Modra <amodra@bigpond.net.au> |
| 383 | |
| 384 | PR 63 |
| 385 | * ldlang.h (lang_output_section_statement_type): Make "next" a |
| 386 | struct lang_output_section_statement_struct *. |
| 387 | (struct orphan_save): Move from elf32.em. Add "name" and "flags". |
| 388 | (lang_output_section_find_by_flags, lang_insert_orphan): Declare. |
| 389 | * ldlang.c (lang_output_section_find_1): Adjust for changed |
| 390 | output_section_statement "next". |
| 391 | (strip_excluded_output_sections): Likewise. |
| 392 | (lang_record_phdrs): Likewise. |
| 393 | (lang_output_section_find_by_flags): New function. |
| 394 | (output_prev_sec_find): Move from pe.em. Adjust iterator. |
| 395 | (lang_insert_orphan): New function. Tail end of elf32.em's |
| 396 | place_orphan merged with that from pe.em. Allow bfd_section to |
| 397 | be placed first. New heuristic for placing new output section |
| 398 | statement in existing script, and accompanying split of __start |
| 399 | symbol alignment into a separate assignment to dot. |
| 400 | (lang_add_section): Consistently use output->bfd_section rather than |
| 401 | an alias, section->output_section. |
| 402 | (map_input_to_output_sections): Rename overly long arg. Move |
| 403 | initialization of data_statement output section to here.. |
| 404 | (lang_check_section_addresses): ..from here. |
| 405 | (print_assignment): Correct printing of etree_assert. |
| 406 | (print_all_symbols): Don't bomb if userdata is NULL. |
| 407 | (IGNORE_SECTION): Rearrange. |
| 408 | * emultempl/elf32.em (output_rel_find): Adjust interator. |
| 409 | (output_prev_sec_find): Delete. |
| 410 | (struct orphan_save): Delete. |
| 411 | (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section |
| 412 | flags without creating a duplicate output section statement. |
| 413 | Revise code holding history of various orphan section placements. |
| 414 | Allow orphan sections to place before script specified output |
| 415 | sections. Call lang_output_section_find_by_flags when placement |
| 416 | by name fails. Use lang_insert_orphan. |
| 417 | * emultempl/mmo.em (output_prev_sec_find): Delete. |
| 418 | (struct orphan_save): Delete. |
| 419 | (mmo_place_orphan): Revise code holding history of orphan placement. |
| 420 | Allow orphans to place before existing output sections. Use |
| 421 | lang_insert_orphan. |
| 422 | * emultempl/pe.em (output_prev_sec_find): Delete. |
| 423 | (struct orphan_save): Delete. |
| 424 | (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of |
| 425 | lang_insert_orphan. |
| 426 | |
| 427 | 2004-10-13 Mark Mitchell <mark@codesourcery.com> |
| 428 | |
| 429 | * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a |
| 430 | loadable segment. |
| 431 | |
| 432 | 2004-10-13 Alan Modra <amodra@bigpond.net.au> |
| 433 | |
| 434 | PR 44 |
| 435 | * ldcref.c (check_section_sym_xref): Delete. |
| 436 | (check_local_sym_xref): New function. |
| 437 | (check_nocrossrefs): Adjust call. |
| 438 | * emultempl/pe.em (struct orphan_save): Add os_tail. |
| 439 | (place_orphan): Backport assorted fixes from elf32.em. |
| 440 | |
| 441 | 2004-10-12 Bob Wilson <bob.wilson@acm.org> |
| 442 | |
| 443 | * emultempl/xtensaelf.em: Use ISO C90 formatting. |
| 444 | |
| 445 | 2004-10-11 Jakub Jelinek <jakub@redhat.com> |
| 446 | |
| 447 | * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid |
| 448 | getline for portability. |
| 449 | |
| 450 | * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure. |
| 451 | (gld${EMULATION_NAME}_parse_ld_so_conf, |
| 452 | gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions. |
| 453 | (gld${EMULATION_NAME}_check_ld_so_conf): Use them. |
| 454 | |
| 455 | 2004-10-11 Alan Modra <amodra@bigpond.net.au> |
| 456 | |
| 457 | PR 423 |
| 458 | * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are |
| 459 | rejected when linking statically. |
| 460 | |
| 461 | 2004-10-08 Daniel Jacobowitz <dan@debian.org> |
| 462 | |
| 463 | * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. |
| 464 | |
| 465 | 2004-10-07 Bob Wilson <bob.wilson@acm.org> |
| 466 | |
| 467 | * ld.texinfo (Xtensa): Describe new linker relaxation to optimize |
| 468 | assembler-generated longcall sequences. Describe new --size-opt |
| 469 | option. |
| 470 | * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. |
| 471 | * emultempl/xtensaelf.em (remove_section, |
| 472 | replace_insn_sec_with_prop_sec, replace_instruction_table_sections, |
| 473 | elf_xtensa_after_open): New. |
| 474 | (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, |
| 475 | OPTION_NO_LITERAL_MOVEMENT): Define. |
| 476 | (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. |
| 477 | (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. |
| 478 | (PARSE_AND_LIST_OPTIONS): Add --size-opt. |
| 479 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, |
| 480 | OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. |
| 481 | (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. |
| 482 | * scripttempl/elfxtensa.sc: Update with changes from elf.sc. |
| 483 | * Makefile.am (eelf32xtensa.c): Update dependencies. |
| 484 | * Makefile.in: Regenerate. |
| 485 | |
| 486 | 2004-10-07 Jeff Baker <jbaker@qnx.com> |
| 487 | |
| 488 | * lexsup.c: Handle --warn-shared-textrel option. |
| 489 | (ld_options): Restore alpha sorting of options. |
| 490 | * ldmain.c (main): Initialise warn_shared_info field to FALSE. |
| 491 | * ld.texinfo: Add documentation for --warn-shared-textrel. |
| 492 | * NEWS: Added mention of --warn-shared-textrel option. |
| 493 | |
| 494 | 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com> |
| 495 | |
| 496 | * emultempl/crxelf.em (disable_relaxation): Add. |
| 497 | (crxelf_before_allocation): Enable --relax option by default. |
| 498 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. |
| 499 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. |
| 500 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. |
| 501 | |
| 502 | 2004-10-04 H.J. Lu <hongjiu.lu@intel.com> |
| 503 | |
| 504 | * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and |
| 505 | --sort-section name|alignment. |
| 506 | |
| 507 | * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and |
| 508 | --sort-section name|alignment. |
| 509 | |
| 510 | * ld.h (sort_type): New enum. |
| 511 | (wildcard_spec): Change the type of `sorted' to sort_type. |
| 512 | |
| 513 | * ldgram.y (SORT): Removed. |
| 514 | (SORT_BY_NAME): Added. |
| 515 | (SORT_BY_ALIGNMENT): Added. |
| 516 | (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and |
| 517 | SORT_BY_ALIGNMENT. |
| 518 | (input_section_spec_no_keep): Updated `sorted'. |
| 519 | (statement): Replace SORT with SORT_BY_NAME. |
| 520 | |
| 521 | * ldlang.c (compare_section): New function to compare 2 |
| 522 | sections with different sorting schemes. |
| 523 | (wild_sort): Updated. Use compare_section. |
| 524 | (update_wild_statements): New function. |
| 525 | (lang_process): Call update_wild_statements before |
| 526 | map_input_to_output_sections. |
| 527 | |
| 528 | * ldlex.l (SORT_BY_NAME): New. |
| 529 | (SORT_BY_ALIGNMENT): New. |
| 530 | (SORT): Return SORT_BY_NAME. |
| 531 | |
| 532 | * ldmain.c (sort_section): New. Defined. |
| 533 | (main): Initialize it to none. |
| 534 | |
| 535 | * lexsup.c (option_values): Add OPTION_SORT_SECTION. |
| 536 | (ld_options): Add an entry for OPTION_SORT_SECTION. |
| 537 | (parse_args): Handle OPTION_SORT_SECTION. |
| 538 | |
| 539 | * mri.c (mri_draw_tree): Updated `sorted'. |
| 540 | |
| 541 | 2004-10-04 Jakub Jelinek <jakub@redhat.com> |
| 542 | |
| 543 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. |
| 544 | * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first |
| 545 | argument. |
| 546 | (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first |
| 547 | and . as second argument. |
| 548 | (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. |
| 549 | * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. |
| 550 | (fold_binary): Add it here. Insert padding to make relro_end |
| 551 | COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in |
| 552 | exp_dataseg_relro_adjust phase just use previously computed |
| 553 | exp_data_seg.base. |
| 554 | * ldlang.c (lang_size_sections): Set exp_data_seg.base for |
| 555 | relro_adjust here. Call lang_size_sections_1 once more if there |
| 556 | was too big padding at DATA_SEGMENT_RELRO_END. |
| 557 | * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. |
| 558 | |
| 559 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
| 560 | |
| 561 | * emulparams/armelf.sh: Add unwinding table sections. |
| 562 | |
| 563 | 2004-09-30 Filip Navara <navaraf@reactos.com> |
| 564 | |
| 565 | * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate |
| 566 | correct base address for position independant executables. |
| 567 | * pe-dll.c (pe_dll_fill_sections): Don't mark position independant |
| 568 | executables as DLLs. |
| 569 | |
| 570 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
| 571 | |
| 572 | * ld.texinfo: Document --target2=abs. |
| 573 | * emulparms/armsymbian.sh (TARGET2_TYPE): Set. |
| 574 | |
| 575 | 2004-09-29 Nick Clifton <nickc@redhat.com> |
| 576 | |
| 577 | * scripttempl/xstormy16.sc: Only perform the assignments to the |
| 578 | ROM region when not performing a relocatable link. The ROM region |
| 579 | does not start at address 0, but the sections will. |
| 580 | * Makefile.am: Fix linker script dependency for the generation of |
| 581 | eelf32xstormy16.c. |
| 582 | * Makefile.in: Regenerate. |
| 583 | |
| 584 | 2004-09-18 Filip Navara <navaraf@reactos.com> |
| 585 | |
| 586 | * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, |
| 587 | emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, |
| 588 | emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define |
| 589 | TARGET_PAGE_SIZE. |
| 590 | * scripttempl/pe.sc: Make the virtual address and file offset synced if |
| 591 | the alignment is lower than the target page size. |
| 592 | |
| 593 | 2004-09-27 Filip Navara <navaraf@reactos.com> |
| 594 | |
| 595 | * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow |
| 596 | def_file_parse to handle pe_def_file if NULL and prevent crash with |
| 597 | invalid .def files. |
| 598 | |
| 599 | 2004-09-27 Alan Modra <amodra@bigpond.net.au> |
| 600 | |
| 601 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable |
| 602 | --emit-stub-syms automatically when --emit-relocs. |
| 603 | |
| 604 | 2004-09-24 Paul Brook <paul@codeosurcery.com> |
| 605 | |
| 606 | * scripttempl/elf.sc: Keep .preinit_array, .init_array and |
| 607 | .fini_array sections. |
| 608 | |
| 609 | 2004-09-19 Andreas Schwab <schwab@suse.de> |
| 610 | |
| 611 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment |
| 612 | base so that relro end is suitably aligned. |
| 613 | |
| 614 | 2004-09-17 Paul Brook <paul@codesourcery.com> |
| 615 | |
| 616 | * ld.texinfo: Rename arm-specific section. Document --target* |
| 617 | * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. |
| 618 | * emulparams/armelf_linux.sh: Ditto. |
| 619 | * emulparams/armelf_nbsd.sh: Ditto. |
| 620 | * emultempl/armelf.em: Set default for TARGET2_TYPE. |
| 621 | (target2_type): New variable. |
| 622 | (arm_elf_before_allocation): Don't pass target1_type. |
| 623 | (arm_elf_create_output_section_statements): New function. |
| 624 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. |
| 625 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. |
| 626 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. |
| 627 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. |
| 628 | * emultempl/armelf_oabi.em (_before_allocation): Remove extra |
| 629 | argument to bfd_elf32_arm_process_before_allocation. |
| 630 | |
| 631 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
| 632 | |
| 633 | * ldexp.c (fold_name): Update u.undef.next refs. |
| 634 | * emultempl/pe.em: Likewise. |
| 635 | * emultempl/sunos.em: Likewise. |
| 636 | |
| 637 | 2004-09-17 Alan Modra <amodra@bigpond.net.au> |
| 638 | |
| 639 | * Makefile.am: Run "make dep-am". |
| 640 | * Makefile.in: Regenerate. |
| 641 | * config.in: Regenerate. |
| 642 | * configure: Regenerate. |
| 643 | * aclocal.m4: Regenerate. |
| 644 | * po/ld.pot: Regenerate. |
| 645 | |
| 646 | 2004-09-16 Tomer Levi <Tomer.Levi@nsc.com> |
| 647 | |
| 648 | * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. |
| 649 | (.fini): Likewise. |
| 650 | (.jcr): Likewise. |
| 651 | |
| 652 | 2004-09-16 Alan Modra <amodra@bigpond.net.au> |
| 653 | |
| 654 | * emultempl/armelf_oabi.em (before_allocation): Add extra zero param |
| 655 | to bfd_elf32_arm_process_before_allocation call. |
| 656 | |
| 657 | 2004-09-13 Paul Brook <paul@codesourcery.com> |
| 658 | |
| 659 | * emulparams/armsymbian.sh: Set TARGET1_IS_REL. |
| 660 | * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. |
| 661 | |
| 662 | 2004-09-07 H.J. Lu <hongjiu.lu@intel.com> |
| 663 | |
| 664 | * configure: Regenerated with autconfig 2.13. |
| 665 | |
| 666 | 2004-09-07 Andreas Schwab <schwab@suse.de> |
| 667 | |
| 668 | * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment |
| 669 | alignment before adjusting DATA_SEGMENT_RELRO_END. |
| 670 | |
| 671 | 2004-09-06 Mark Mitchell <mark@codesourcery.com> |
| 672 | |
| 673 | * emulparams/armsymbian.sh: Use armbpabi script. |
| 674 | * scripttempl/armbpabi.sc: New script. |
| 675 | |
| 676 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
| 677 | |
| 678 | * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. |
| 679 | (earmsymbian.c): New target. |
| 680 | * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. |
| 681 | * Makefile.in: Regenerated. |
| 682 | * aclocal.m4: Likewise. |
| 683 | * configure: Likewise. |
| 684 | * emulparams/armsymbian.sh: New file. |
| 685 | |
| 686 | 2004-09-03 Tomer Levi <Tomer.Levi@nsc.com> |
| 687 | |
| 688 | * scripttempl/elf32crx.sc: Edit file with comments. |
| 689 | (.init): Add new section. |
| 690 | (.fini): Likewise. |
| 691 | (.ctor): Control the linkage order. |
| 692 | (.dtor): Likewise. |
| 693 | |
| 694 | 2004-08-27 Nick Clifton <nickc@redhat.com> |
| 695 | |
| 696 | * emultempl/pe.em (after_open): Do not assume that either bfd is |
| 697 | an archive. |
| 698 | |
| 699 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
| 700 | |
| 701 | * ldlang.c (lang_init): Don't compare with TRUE. |
| 702 | |
| 703 | 2004-08-25 Dmitry Diky <diwil@spec.ru> |
| 704 | |
| 705 | * emulparams/msp430all.sh: Fix RAM sizes for all targets. |
| 706 | * scripttempl/elf32msp430.sc: Add .profiler section definition. |
| 707 | |
| 708 | 2004-08-24 H.J. Lu <hongjiu.lu@intel.com> |
| 709 | |
| 710 | * ldlang.c (wildcardp): Defined as a macro with strpbrk. |
| 711 | |
| 712 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
| 713 | |
| 714 | * configure.tgt (arm*-*-symbianelf*): New target. |
| 715 | (arm*-*-eabi*): Likewise. |
| 716 | |
| 717 | 2004-08-19 Jakub Jelinek <jakub@redhat.com> |
| 718 | |
| 719 | * emultempl/ppc64elf.em (non_overlapping_opd): New variable. |
| 720 | (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). |
| 721 | (OPTION_NON_OVERLAPPING_OPD): Define. |
| 722 | (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add |
| 723 | --non-overlapping-opd option. |
| 724 | |
| 725 | 2004-08-18 Alan Modra <amodra@bigpond.net.au> |
| 726 | |
| 727 | PR 338 |
| 728 | * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol |
| 729 | was already on the undefs list. |
| 730 | |
| 731 | 2004-08-17 Alan Modra <amodra@bigpond.net.au> |
| 732 | |
| 733 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot |
| 734 | prefix the symbol field too. |
| 735 | |
| 736 | 2004-08-13 Alan Modra <amodra@bigpond.net.au> |
| 737 | |
| 738 | * ldmain.c (link_callbacks): Remove "error_handler". |
| 739 | * ldmisc.c: Include elf-bfd.h. |
| 740 | (vfinfo): Sort comment. Handle %A. Use %A instead of |
| 741 | bfd_get_section_indent. |
| 742 | (error_handler): Delete. |
| 743 | * ldmisc.h (error_handler): Delete declaration. |
| 744 | |
| 745 | 2004-08-10 Alan Modra <amodra@bigpond.net.au> |
| 746 | |
| 747 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call |
| 748 | ppc64_elf_restore_symbols. |
| 749 | |
| 750 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
| 751 | |
| 752 | * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if |
| 753 | .toc is too large on relocatable linking. |
| 754 | |
| 755 | 2004-08-09 Alan Modra <amodra@bigpond.net.au> |
| 756 | |
| 757 | * emultempl/ppc64elf.em (ppc_after_open): Delete. |
| 758 | (LDEMUL_AFTER_OPEN): Don't define. |
| 759 | |
| 760 | 2004-08-02 Stephane Carrez <stcarrez@nerim.fr> |
| 761 | |
| 762 | * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12. |
| 763 | |
| 764 | 2004-08-01 Stephane Carrez <stcarrez@nerim.fr> |
| 765 | |
| 766 | * scripttempl/elfm68hc12.sc: Align text, rodata and data section |
| 767 | on power of 2. |
| 768 | |
| 769 | 2004-07-27 Jason Thorpe <thorpej@wasabisystems.com> |
| 770 | |
| 771 | * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd". |
| 772 | |
| 773 | 2004-07-26 Dmitry Diky <diwil@spec.ru> |
| 774 | |
| 775 | * Makefile.am: Add new subtargets: msp430x1610, msp430x1611, |
| 776 | msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438, |
| 777 | msp430xG439. |
| 778 | * configure.tgt: Likewise. |
| 779 | * emulparams/msp430all.sh: Likewise. |
| 780 | * Makefile.in: Regenerate. |
| 781 | |
| 782 | 2004-07-23 Nick Clifton <nickc@redhat.com> |
| 783 | |
| 784 | * emultempl/elf32.em (_place_orphan): Use an already existing |
| 785 | section name if that section does not have any flags set. |
| 786 | |
| 787 | 2004-07-21 H.J. Lu <hongjiu.lu@intel.com> |
| 788 | |
| 789 | * ldlang.c (already_linked_hash_entry): Removed. |
| 790 | (already_linked): Likewise. |
| 791 | (already_linked_table): Likewise. |
| 792 | (section_already_linked): Call bfd_section_already_linked. |
| 793 | (lang_process): Replace already_linked_table_init with |
| 794 | bfd_section_already_linked_table_init and check return. Replace |
| 795 | already_linked_table_free with bfd_section_already_linked_table_free. |
| 796 | |
| 797 | 2004-07-21 Nick Clifton <nickc@redhat.com> |
| 798 | |
| 799 | * ldlang.c (init_os): Make sure that the newly allocated userdata |
| 800 | structure is zeroed out. |
| 801 | |
| 802 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
| 803 | |
| 804 | * NEWS: Mention the new --add-needed/--no-add-needed and |
| 805 | --as-needed/--no-as-needed options. |
| 806 | |
| 807 | 2004-07-19 H.J. Lu <hongjiu.lu@intel.com> |
| 808 | |
| 809 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also |
| 810 | check the add_needed field. |
| 811 | (dt_needed): New struct. |
| 812 | (gld${EMULATION_NAME}_try_needed): Change the first argument |
| 813 | to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED |
| 814 | bit in the file where the DT_NEEDED entry comes from. |
| 815 | (gld${EMULATION_NAME}_search_needed): Change the second |
| 816 | argument to a pointer to struct dt_needed. |
| 817 | (gld${EMULATION_NAME}_check_ld_so_conf): Updated. |
| 818 | (gld${EMULATION_NAME}_after_open): Likewise. |
| 819 | |
| 820 | * ld.texinfo: Add --add-needed document. |
| 821 | * ldlang.c (new_afile): Set p->add_needed. |
| 822 | * ldlang.h (lang_input_statement_type): Add add_needed field. |
| 823 | * ldmain.h (add_needed): Declare. |
| 824 | * ldmain.c (add_needed): New global var. |
| 825 | * lexsup.c (option_values): Add OPTION_ADD_NEEDED and |
| 826 | OPTION_NO_ADD_NEEDED. |
| 827 | (ld_options): Likewise. |
| 828 | (parse_args): Handle them. |
| 829 | |
| 830 | 2004-07-13 Christof Petig <christof@petig-baender.de> |
| 831 | |
| 832 | * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct |
| 833 | for endian-ness of extracted addend. |
| 834 | |
| 835 | 2004-07-13 Danny Smith <dannysmith@usesr.sourceforge.net> |
| 836 | |
| 837 | * pe-dll.c (auto_export): Filter on just the import prefix, |
| 838 | "_imp_", not "_imp__". |
| 839 | |
| 840 | 2004-07-09 Nick Clifton <nickc@redhat.com> |
| 841 | |
| 842 | * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf. |
| 843 | |
| 844 | 2004-07-06 Tomer Levi <Tomer.Levi@nsc.com> |
| 845 | |
| 846 | * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o. |
| 847 | (eelf32crx.c): New target. |
| 848 | * Makefile.in: Regenerate. |
| 849 | * configure.tgt: Handle crx-*-elf*. |
| 850 | * emulparams/elf32crx.sh: New file. |
| 851 | * emultempl/crxelf.em: New file. |
| 852 | * scripttempl/elf32crx.sc: New file. |
| 853 | * NEWS: Mention new target. |
| 854 | |
| 855 | 2004-07-06 Nick Clifton <nickc@redhat.com> |
| 856 | |
| 857 | * Makefile.am: Add eshlsymbian.c. |
| 858 | * Makefile.in: Regenerate. |
| 859 | * configure.tgt: Add sh*-symbian-elf target. |
| 860 | * emulparams/shlsymbian.sh: New file. Configure the |
| 861 | sh-symbian-elf linker scripts. |
| 862 | * scripttemp/elf32sh-symbian.sc: New file. Linker script |
| 863 | template for the sh-symbian-elf target. |
| 864 | |
| 865 | 2004-07-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
| 866 | |
| 867 | * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT. |
| 868 | * emulparams/hppalinux.sh: Likewise. |
| 869 | * scripttempl/elf.sc: Place .plt just before .got when .plt is in |
| 870 | data segment and PLT_BEFORE_GOT is defined. |
| 871 | |
| 872 | 2004-07-03 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 873 | |
| 874 | * ld.texinfo (WIN32): Document PE weak symbols. |
| 875 | |
| 876 | 2004-07-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
| 877 | |
| 878 | * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB. |
| 879 | |
| 880 | 2004-07-01 H.J. Lu <hongjiu.lu@intel.com> |
| 881 | |
| 882 | * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify |
| 883 | the section. |
| 884 | |
| 885 | 2004-06-29 Alan Modra <amodra@bigpond.net.au> |
| 886 | |
| 887 | * ldlang.c (lang_reset_memory_regions): Save last relax pass section |
| 888 | size in rawsize. |
| 889 | |
| 890 | 2004-06-24 Alan Modra <amodra@bigpond.net.au> |
| 891 | |
| 892 | * ldlang.c (print_output_section_statement): Don't print size before |
| 893 | relaxation. |
| 894 | (IGNORE_SECTION): Remove bfd arg. Update all callers. |
| 895 | |
| 896 | * ldexp.c (fold_name): .. See below. |
| 897 | * ldlang.c (section_already_linked, print_output_section_statement, |
| 898 | print_input_section, insert_pad, size_input_section, |
| 899 | lang_check_section_addresses, lang_size_sections_1, |
| 900 | lang_size_sections, lang_do_assignments_1, lang_set_startof, |
| 901 | lang_one_common, lang_reset_memory_regions, lang_process, |
| 902 | lang_abs_symbol_at_end_of, lang_do_version_exports_section): .. |
| 903 | * ldwrite.c (build_link_order, clone_section, ds, split_sections): .. |
| 904 | * pe-dll.c (process_def_file, generate_reloc): .. |
| 905 | * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment, |
| 906 | gld${EMULATION_NAME}_before_allocation): .. |
| 907 | * emultempl/mmix-elfnmmo.em (mmix_after_allocation): .. |
| 908 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation, |
| 909 | sh64_elf_${EMULATION_NAME}_after_allocation): .. |
| 910 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): .. |
| 911 | * emultempl/xtensaelf.em (ld_assign_relative_paged_dot, |
| 912 | ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use |
| 913 | "size" instead of "_raw_size" and "_cooked_size". Expand |
| 914 | bfd_section_size macro invocations. |
| 915 | |
| 916 | 2004-06-22 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> |
| 917 | |
| 918 | * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__, |
| 919 | ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__, |
| 920 | ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and |
| 921 | ___crt_xt_end__. |
| 922 | (.tls): Define ___tls_start__ and ___tls_end__. |
| 923 | |
| 924 | 2004-06-21 Alexandre Oliva <aoliva@redhat.com> |
| 925 | |
| 926 | * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes. |
| 927 | |
| 928 | 2004-06-18 Adam Nemet <anemet@lnxw.com> |
| 929 | |
| 930 | * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS. |
| 931 | * configure: Regenerate. |
| 932 | |
| 933 | 2004-06-15 Jakub Jelinek <jakub@redhat.com> |
| 934 | |
| 935 | * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to |
| 936 | .gcc_except_table output sections lost accidentally with |
| 937 | -z relro patch. |
| 938 | |
| 939 | 2004-06-15 Alan Modra <amodra@bigpond.net.au> |
| 940 | |
| 941 | * ldwrite.c (build_link_order): Use bfd_get_section_size |
| 942 | instead of bfd_get_section_size_before_reloc or _raw_size. |
| 943 | * pe-dll.c (process_def_file): Likewise. |
| 944 | |
| 945 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
| 946 | |
| 947 | From Richard Wirth <r.wirth@wirthware.de> |
| 948 | * ldlang.c (lang_finish): Don't free lang_definedness_table. |
| 949 | |
| 950 | 2004-05-29 Alan Modra <amodra@bigpond.net.au> |
| 951 | |
| 952 | * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles.. |
| 953 | (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here. |
| 954 | |
| 955 | 2004-05-28 Andrew Stubbs <andrew.stubbs@superh.com> |
| 956 | |
| 957 | * testsuite/ld-sh/arch/arch.exp: New test script. |
| 958 | * testsuite/ld-sh/arch/arch_expected.txt: New file. |
| 959 | * testsuite/ld-sh/arch/sh.s: New file. |
| 960 | * testsuite/ld-sh/arch/sh2.s: New file. |
| 961 | * testsuite/ld-sh/arch/sh-dsp.s: New file. |
| 962 | * testsuite/ld-sh/arch/sh2e.s: New file. |
| 963 | * testsuite/ld-sh/arch/sh3-nommu.s: New file. |
| 964 | * testsuite/ld-sh/arch/sh3.s: New file. |
| 965 | * testsuite/ld-sh/arch/sh3-dsp.s: New file. |
| 966 | * testsuite/ld-sh/arch/sh3e.s: New file. |
| 967 | * testsuite/ld-sh/arch/sh4-nommu-nofpu.s: New file. |
| 968 | * testsuite/ld-sh/arch/sh4-nofpu.s: New file. |
| 969 | * testsuite/ld-sh/arch/sh4.s: New file. |
| 970 | * testsuite/ld-sh/arch/sh4a-nofpu.s: New file. |
| 971 | * testsuite/ld-sh/arch/sh4al-dsp.s: New file. |
| 972 | * testsuite/ld-sh/arch/sh4a.s: New file. |
| 973 | |
| 974 | 2004-05-28 Alan Modra <amodra@bigpond.net.au> |
| 975 | |
| 976 | * ldlang.c: Formatting. Wrap long lines, expand bfd_get_section_flags |
| 977 | throughout file. |
| 978 | * lexsup.c: Formatting. Wrap long lines. |
| 979 | * ldwrite.c: Update copyright date. |
| 980 | |
| 981 | * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here. |
| 982 | (output_section_callback): Nor SEC_KEEP here. |
| 983 | (gc_section_callback): Twiddle SEC_EXCLUDE here. |
| 984 | (lang_gc_wild): Delete. Fold into.. |
| 985 | (lang_gc_sections_1): ..here. Only call bfd_gc_sections when garbage |
| 986 | collecting. |
| 987 | (lang_process): Always call lang_gc_sections. |
| 988 | (lang_place_orphans): Handle SEC_EXCLUDE sections. |
| 989 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove |
| 990 | SEC_EXCLUDE code. |
| 991 | |
| 992 | 2004-05-26 H.J. Lu <hongjiu.lu@intel.com> |
| 993 | |
| 994 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear |
| 995 | SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link. |
| 996 | * ldlang.c (lang_add_section): Likewise. |
| 997 | |
| 998 | 2004-05-26 Alan Modra <amodra@bigpond.net.au> |
| 999 | |
| 1000 | * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP |
| 1001 | sections when doing a final link. Clear SEC_EXCLUDE when doing |
| 1002 | a relocable link, except for SEC_DEBUGGING sections. |
| 1003 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the |
| 1004 | same condition here to drop SEC_EXCLUDE orphan sections. |
| 1005 | |
| 1006 | 2004-05-25 Alan Modra <amodra@bigpond.net.au> |
| 1007 | |
| 1008 | * ldlang.c (lang_process): Call bfd_merge_sections later, and |
| 1009 | only when not a relocatable link. |
| 1010 | (print_input_section): Handle SEC_EXCLUDE sections. |
| 1011 | (size_input_section): Don't update dot on SEC_EXCLUDE sections. |
| 1012 | (lang_do_assignments_1): Likewise. |
| 1013 | * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections. |
| 1014 | * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. |
| 1015 | * emultempl/hppaelf.em (build_section_lists): Likewise. |
| 1016 | * emultempl/ppc64elf.em (build_toc_list): Likewise. |
| 1017 | (build_section_lists): Likewise. |
| 1018 | |
| 1019 | 2004-05-23 Andreas Schwab <schwab@suse.de> |
| 1020 | |
| 1021 | * ld.texinfo (Options): Fix typo in last change. |
| 1022 | |
| 1023 | 2004-05-21 Andy Chittenden <achittenden@bluearc.com> |
| 1024 | |
| 1025 | * ld.h (ld_config_type): Add new field: hash_table_size. |
| 1026 | * ldmain.c: Initialise the new field to zero. If it is non-zero |
| 1027 | after parsing the linker's command line call |
| 1028 | bfd_hash_set_default_size. |
| 1029 | * lexsup.c (option_values): Add OPTION_HASH_SIZE. |
| 1030 | (ld_options): Add hash-size. |
| 1031 | (parse_args): Parse --hash-size option. Allow |
| 1032 | --reduce-memory-overheads to set the default hash table size as |
| 1033 | well. |
| 1034 | * ld.texinfo: Document the new switch. Also mention that |
| 1035 | --reduce-memory-overheads can affect the hash table size. |
| 1036 | * NEWS: Mention the new feature. |
| 1037 | |
| 1038 | 2004-05-19 J"orn Rennecke <joern.rennecke@superh.com> |
| 1039 | |
| 1040 | * NEWS: Mention new linker map file generation and the |
| 1041 | --reduce-memory-overheads option. |
| 1042 | * ld.texinfo: Document --reduce-memory-overheads option. |
| 1043 | * ld.h (map_symbol_def): New struct. |
| 1044 | (struct user_section_struct, section_userdata_type): Rename to: |
| 1045 | (struct lean_user_section_struct, lean_section_userdata_type). |
| 1046 | (struct fat_user_section_struct, fat_section_userdata_type): New. |
| 1047 | (SECTION_USERDATA_SIZE): Define. |
| 1048 | (args_type): New member reduce_memory_overheads. |
| 1049 | * ldlang.c (map_obstack): New static variable. |
| 1050 | (init_map_userdata, print_all_symbols, sort_def_symbol): New functions. |
| 1051 | (lang_map): Unless command_line.reduce_memory_overheads is set, |
| 1052 | initialize lists of defined symbols for each section. |
| 1053 | (print_input_section): Unless command_line.reduce_memory_overheads |
| 1054 | is set, use print_all_symbols. |
| 1055 | (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE. |
| 1056 | * ldmain.c (main): Initialize command_line.reduce_memory_overheads. |
| 1057 | * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS. |
| 1058 | (ld_options): Add entry for --reduce-memory-overheads. |
| 1059 | (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS. |
| 1060 | |
| 1061 | 2004-05-19 Jakub Jelinek <jakub@redhat.com> |
| 1062 | |
| 1063 | * ldgram.y (sect_constraint): New. |
| 1064 | (ONLY_IF_RO, ONLY_IF_RW): New tokens. |
| 1065 | (section): Add sect_constraint. Pass additional argument |
| 1066 | to lang_enter_output_section_statement. |
| 1067 | * mri.c (mri_draw_tree): Pass additional argument to |
| 1068 | lang_enter_output_section_statement. |
| 1069 | * emultempl/pe.em (place_orphan): Likewise. |
| 1070 | (output_prev_sec_find): Disregard output section statements with |
| 1071 | constraint == -1. |
| 1072 | * emultempl/mmo.em (output_prev_sec_find): Likewise. |
| 1073 | (mmo_place_orphan): Pass additional argument to |
| 1074 | lang_enter_output_section_statement. |
| 1075 | * emultempl/elf32.em (output_prev_sec_find): Disregard output section |
| 1076 | statements with constraint == -1. |
| 1077 | (place_orphan): Pass additional argument to |
| 1078 | lang_enter_output_section_statement. |
| 1079 | * ldlang.c (lang_enter_overlay_section): Likewise. |
| 1080 | (lang_output_section_find_1): New. |
| 1081 | (lang_output_section_find): Use it. |
| 1082 | (lang_output_section_statement_lookup_1): New. |
| 1083 | (lang_output_section_statement_lookup): Use it. |
| 1084 | (check_section_callback, check_input_sections): New. |
| 1085 | (map_input_to_output_sections): Check if all input sections |
| 1086 | are readonly if ONLY_IF_RO or ONLY_IF_RW was seen. |
| 1087 | (strip_excluded_output_sections): Disregard output section statements |
| 1088 | with constraint == -1. |
| 1089 | (lang_record_phdrs): Likewise. |
| 1090 | (lang_enter_output_section_statement): Add constraint argument. |
| 1091 | Use lang_output_section_statement_lookup_1. |
| 1092 | * ldlang.h (lang_output_section_statement_type): Add constraint |
| 1093 | and all_input_readonly fields. |
| 1094 | (lang_enter_output_section_statement): Adjust prototype. |
| 1095 | * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens. |
| 1096 | * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text |
| 1097 | segment if all input sections are readonly. |
| 1098 | |
| 1099 | 2004-05-19 Adam Nemet <anemet@lnxw.com> |
| 1100 | |
| 1101 | * scripttempl/i386lynx.sc: Remove file. |
| 1102 | |
| 1103 | 2004-05-17 Bob Wilson <bob.wilson@acm.org> |
| 1104 | |
| 1105 | * ld.texinfo (Output Section Address): Correct subsection name. |
| 1106 | |
| 1107 | 2004-05-17 Adam Nemet <anemet@lnxw.com> |
| 1108 | |
| 1109 | * configure.tgt (powerpc-*-lynxos* case): New case. |
| 1110 | * configure.host (i[3-7]86-*-lynxos* case): Remove case. |
| 1111 | * emulparams/ppclynx.sh: New file. |
| 1112 | * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0. |
| 1113 | * Makefile.am (ALL_EMULATIONS): Add eppclynx.o |
| 1114 | (ei386lynx.c): Update rule to LynxOS 4.0 ELF. |
| 1115 | (eppclynx.c): New rule. |
| 1116 | * Makefile.in: Regenerate. |
| 1117 | |
| 1118 | 2004-05-13 Joel Sherrill <joel@oarcorp.com> |
| 1119 | |
| 1120 | * configure.tgt (or32-*-rtems*): Switch to elf and |
| 1121 | support versioned targets. |
| 1122 | |
| 1123 | 2004-05-13 Nick Clifton <nickc@redhat.com> |
| 1124 | |
| 1125 | * po/fr.po: Updated French translation. |
| 1126 | |
| 1127 | 2004-05-11 Jakub Jelinek <jakub@redhat.com> |
| 1128 | |
| 1129 | * genscripts.sh: Generate -z combreloc -z now -z relro scripts |
| 1130 | for binaries, -shared and -pie. |
| 1131 | * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set. |
| 1132 | * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set. |
| 1133 | * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to... |
| 1134 | (OTHER_RELRO_SECTIONS): ... this. |
| 1135 | * ldlex.l (DATA_SEGMENT_RELRO_END): Add. |
| 1136 | * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle |
| 1137 | -z relro and -z norelro. |
| 1138 | (gld${EMULATION_NAME}_list_options): Add it to usage. |
| 1139 | (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now |
| 1140 | -z relro scripts when appropriate. |
| 1141 | * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set. |
| 1142 | Create separate .got.plt section if SEPARATE_GOTPLT. |
| 1143 | Move sections which are only written during relocation handling |
| 1144 | to the beginning of RW segment. If NO_SMALL_DATA, move .got |
| 1145 | before .data. Add DATA_SEGMENT_RELRO_END directive. |
| 1146 | Include OTHER_RELRO_SECTIONS. |
| 1147 | * ldgram.y (DATA_SEGMENT_RELRO_END): Add. |
| 1148 | * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END. |
| 1149 | (fold_unary): Likewise. |
| 1150 | (fold_binary): Handle -z relro. |
| 1151 | * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and |
| 1152 | exp_dataseg_relro_adjust phases. Add relro_end field. |
| 1153 | * ldmain.c (main): Initialize link_info.relro to FALSE. |
| 1154 | * ldlang.c (lang_size_sections): Handle -z relro. |
| 1155 | |
| 1156 | 2004-05-08 Marek Michalkiewicz <marekm@amelek.gda.pl> |
| 1157 | |
| 1158 | * scripttempl/avr.sc: Do not set LMA for "eeprom" section. |
| 1159 | |
| 1160 | 2004-05-07 J"orn Rennecke <joern.rennecke@superh.com> |
| 1161 | |
| 1162 | * ldlang.c (print_padding_statement): Cast size_t to bfd_vma |
| 1163 | before printing it with %W. |
| 1164 | |
| 1165 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
| 1166 | DJ Delorie <dj@redhat.com> |
| 1167 | |
| 1168 | * emultempl/pe.em (real_flags): New static. |
| 1169 | (OPTION_LARGE_ADDRESS_AWARE): New define. |
| 1170 | (gld${EMULATION_NAME}_add_options): Add --large-address-aware option. |
| 1171 | (gld_${EMULATION_NAME}_list_options): Likewise. |
| 1172 | (gld${EMULATION_NAME}_handle_option): Likewise. |
| 1173 | (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data. |
| 1174 | * ld.texinfo: Document it. |
| 1175 | * NEWS: Mention it. |
| 1176 | |
| 1177 | 2004-05-07 Brian Ford <ford@vss.fsi.com> |
| 1178 | |
| 1179 | * NEWS: Mention DWARF 2 support for i386pe. |
| 1180 | |
| 1181 | 2004-05-05 Alexandre Oliva <aoliva@redhat.com> |
| 1182 | |
| 1183 | * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new |
| 1184 | elf32-frvfdpic. |
| 1185 | |
| 1186 | 2004-04-30 Alan Modra <amodra@bigpond.net.au> |
| 1187 | |
| 1188 | * ldlang.c (unique_section_p): Pass section parm, return true on |
| 1189 | group sections. |
| 1190 | (output_section_callback): Adjust. |
| 1191 | * ldlang.h (unique_section_p): Update prototype. |
| 1192 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust. |
| 1193 | |
| 1194 | 2004-04-30 Eric Botcazou <ebotcazou@act-europe.fr> |
| 1195 | |
| 1196 | * ld.texinfo (--gc-sections): Remove restriction for |
| 1197 | dynamic linking. |
| 1198 | |
| 1199 | 2004-04-29 Brian Ford <ford@vss.fsi.com> |
| 1200 | |
| 1201 | * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections |
| 1202 | for DWARF 2/3. Update stab section's syntax. |
| 1203 | |
| 1204 | 2004-04-29 Alan Modra <amodra@bigpond.net.au> |
| 1205 | |
| 1206 | * pe-dll.c: Revert changes accidentally committed 2004-03-08. |
| 1207 | (fill_edata): Correct pointer arithmetic. |
| 1208 | |
| 1209 | 2004-04-21 Chris Demetriou <cgd@broadcom.com> |
| 1210 | |
| 1211 | * ld.texinfo: Remove MIPS --embedded-relocs documentation. |
| 1212 | * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. |
| 1213 | * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. |
| 1214 | (EXTRA_EM_FILE): Use mipsecoff.em |
| 1215 | * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. |
| 1216 | (EXTRA_EM_FILE): Use mipsecoff.em |
| 1217 | * emultempl/mipsecoff.em: Restructure to be included as an |
| 1218 | extra emulation file. |
| 1219 | (check_sections, gld${EMULATION_NAME}_after_open) |
| 1220 | (gld${EMULATION_NAME}_after_allocation) |
| 1221 | (gld${EMULATION_NAME}_get_script) |
| 1222 | (ld_${EMULATION_NAME}_emulation): Remove |
| 1223 | (gld${EMULATION_NAME}_before_parse): Rename to... |
| 1224 | (mipsecoff_before_parse): This. |
| 1225 | (LDEMUL_BEFORE_PARSE): Define. |
| 1226 | * emultempl/mipself.em: Remove file. |
| 1227 | * scripttempl/mips.sc (.rel.sdata): Do not include in output. |
| 1228 | (__runtime_reloc_start, __runtime_reloc_stop): Stop providing |
| 1229 | these symbols. |
| 1230 | * Makefile.am: Remove dependencies on emultempl/mipself.em. |
| 1231 | * Makefile.in: Regenerate. |
| 1232 | |
| 1233 | 2004-04-21 Anil Paranjpe <anilp1@kpitcummins.com> |
| 1234 | |
| 1235 | * ld.texinfo (synthesizing on H8/300): Information about linker |
| 1236 | relaxation support for bit manipulation instructions and system |
| 1237 | control instructions is added. |
| 1238 | |
| 1239 | 2004-04-21 Hans-Peter Nilsson <hp@axis.com> |
| 1240 | |
| 1241 | * NEWS: Mention change in DEFINED semantics. |
| 1242 | |
| 1243 | 2004-04-21 Eric Botcazou <ebotcazou@act-europe.fr> |
| 1244 | |
| 1245 | * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*. |
| 1246 | (.data): Add KEEP for .gnu.linkonce.d.*personality*. |
| 1247 | (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*. |
| 1248 | |
| 1249 | 2004-04-21 Ben Elliston <bje@au.ibm.com> |
| 1250 | |
| 1251 | * ld.texinfo (Simple Example): Add missing punctuation. |
| 1252 | |
| 1253 | 2004-04-20 Chris Demetriou <cgd@broadcom.com> |
| 1254 | |
| 1255 | * NEWS: Note that MIPS --embedded-relocs option is deprecated. |
| 1256 | |
| 1257 | 2004-04-19 Jakub Jelinek <jakub@redhat.com> |
| 1258 | |
| 1259 | * ldlang.c (lang_do_assignments_1): Handle .tbss output section |
| 1260 | specially. |
| 1261 | |
| 1262 | 2004-04-18 Danny Smith <dannysmith@users.sourceforge.net> |
| 1263 | |
| 1264 | * scriptempl/pe.sc: Put numbered .ctors.* after .ctors |
| 1265 | with default priority. Likewise for dtors. |
| 1266 | |
| 1267 | 2004-04-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
| 1268 | |
| 1269 | * configure.host: Remove mips*-dec-bsd* target. |
| 1270 | * configure.tgt: Likewise. |
| 1271 | |
| 1272 | 2004-04-08 Richard Sandiford <rsandifo@redhat.com> |
| 1273 | |
| 1274 | * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix. |
| 1275 | * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise. |
| 1276 | * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise. |
| 1277 | * emultempl/irix.em: New file. |
| 1278 | * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update |
| 1279 | dependencies. |
| 1280 | * Makefile.in: Regenerate. |
| 1281 | |
| 1282 | 2004-04-01 Paul Brook <paul@codesourcery.com> |
| 1283 | |
| 1284 | * emultempl/armelf.em (byteswap_code): Add. |
| 1285 | (arm_elf_before_allocation): Pass extra parameter. |
| 1286 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8. |
| 1287 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8. |
| 1288 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8. |
| 1289 | * emultempl/armelf_oabi.em: Pass extra parameter. |
| 1290 | * ld.texinfo: Document --be8. |
| 1291 | |
| 1292 | 2004-03-30 Stan Shebs <shebs@apple.com> |
| 1293 | |
| 1294 | Remove long-obsolete MPW support. |
| 1295 | * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files. |
| 1296 | * Makefile.am (mpw): Remove file-presynthesizing actions. |
| 1297 | * Makefile.in: Likewise. |
| 1298 | * ldfile.c (slash): Remove MPW case. |
| 1299 | * ldlex.l [MPW]: Remove unused definition. |
| 1300 | |
| 1301 | 2004-03-30 Galit Heller <Galit.Heller@nsc.com> |
| 1302 | |
| 1303 | * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o. |
| 1304 | (eelf32cr16c.c): New target. |
| 1305 | * Makefile.in: Regenerate. |
| 1306 | * configure.tgt: Handle cr16c-*-elf*. |
| 1307 | * emulparams/elf32cr16c.sh: New file. |
| 1308 | * scripttempl/elfcr16c.sc: Likewise |
| 1309 | * NEWS: Mention support for new target. |
| 1310 | |
| 1311 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
| 1312 | |
| 1313 | * po/sv.po: Updated Swedish translation. |
| 1314 | |
| 1315 | 2004-03-27 Alan Modra <amodra@bigpond.net.au> |
| 1316 | |
| 1317 | * emultempl/elf32.em: Update new bfd_elf_discard_info name. |
| 1318 | * emultempl/hppaelf.em: Likewise. |
| 1319 | * emultempl/ppc64elf.em: Likewise. |
| 1320 | * emultempl/sh64elf.em: Likewise. |
| 1321 | |
| 1322 | 2004-03-25 Alan Modra <amodra@bigpond.net.au> |
| 1323 | |
| 1324 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update |
| 1325 | size_dynamic_sections call. |
| 1326 | |
| 1327 | 2004-03-23 Alan Modra <amodra@bigpond.net.au> |
| 1328 | |
| 1329 | PR 51. |
| 1330 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set |
| 1331 | link_info.wrap_char. |
| 1332 | |
| 1333 | 2004-03-20 H.J. Lu <hongjiu.lu@intel.com> |
| 1334 | |
| 1335 | * lexsup.c (parse_args): Don't set unresolved_syms_in_objects |
| 1336 | or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic. |
| 1337 | |
| 1338 | 2004-03-20 Alexandre Oliva <aoliva@redhat.com> |
| 1339 | |
| 1340 | * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb. |
| 1341 | |
| 1342 | 2004-03-19 Alan Modra <amodra@bigpond.net.au> |
| 1343 | |
| 1344 | * config.in: Regenerate. |
| 1345 | * po/ld.pot: Regenerate. |
| 1346 | |
| 1347 | 2004-03-18 Alan Modra <amodra@bigpond.net.au> |
| 1348 | |
| 1349 | * ld.texinfo: Add --as-needed doco. |
| 1350 | * ldmain.c (as_needed): New global var. |
| 1351 | * ldmain.h (as_needed): Declare. |
| 1352 | * lexsup.c (option_values): Add OPTION_AS_NEEDED and |
| 1353 | OPTION_NO_AS_NEEDED. |
| 1354 | (ld_options): Likewise. |
| 1355 | (parse_args): Handle them. |
| 1356 | * ldlang.h (lang_input_statement_type): Add as_needed field. |
| 1357 | * ldlang.c (new_afile): Set p->as_needed. |
| 1358 | * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function. |
| 1359 | (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class. |
| 1360 | (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry. |
| 1361 | |
| 1362 | * ldlang.c (open_input_bfds): Remove useless cast. |
| 1363 | (lang_do_assignments_1): Likewise. |
| 1364 | (lang_for_each_input_section): Delete. |
| 1365 | |
| 1366 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
| 1367 | |
| 1368 | * configure.tgt: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*. |
| 1369 | |
| 1370 | 2004-03-08 Danny Smith <dannysmith@users.sourceforge.net> |
| 1371 | |
| 1372 | * pe-dll.c (pe_dll_generate_implib): Skip sections marked as |
| 1373 | private when building implib. |
| 1374 | |
| 1375 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
| 1376 | |
| 1377 | * ldlang.c (lang_add_section): Don't force SEC_LOAD on |
| 1378 | SEC_THREAD_LOCAL. |
| 1379 | (IGNORE_SECTION): Ignore .tbss sections too. |
| 1380 | (lang_size_sections_1): .tbss sections do not advance dot. |
| 1381 | |
| 1382 | 2004-03-01 Andreas Schwab <schwab@suse.de> |
| 1383 | |
| 1384 | * ld.texinfo (Options): Fix example for --wrap. |
| 1385 | |
| 1386 | 2004-02-25 Danny Smith <dannysmith@users.sourceforge.net> |
| 1387 | |
| 1388 | * pe-dll.c (fill_edata): Check that exported_symbol_sections is |
| 1389 | not NULL. |
| 1390 | |
| 1391 | 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com> |
| 1392 | |
| 1393 | * ldlang.c (lang_check): Use %P, not %E, in error message. |
| 1394 | |
| 1395 | 2004-02-23 Nathan Sidwell <nathan@codesourcery.com> |
| 1396 | |
| 1397 | * ldlang.h (struct lang_output_section_state): Change processed |
| 1398 | field's type. |
| 1399 | * ldexp.c (check, invalid): Remove. |
| 1400 | (fold_name): Move valid_p assignments. Create undefined symbol |
| 1401 | when needed. Directly exampine section's processd flag. |
| 1402 | * ldlang.c (lang_output_section_statement_lookup): Adjust |
| 1403 | processed field init. |
| 1404 | (lang_size_sections_1): Allow LOADADDR when determining section's |
| 1405 | VMA. Adjust error message. Fold data statement's expr. |
| 1406 | (lang_size_sections): Correctly increment lang_statement_iteration. |
| 1407 | |
| 1408 | 2004-02-23 Alan Modra <amodra@bigpond.net.au> |
| 1409 | |
| 1410 | * ldexp.c (fold_tree): Follow indirect symbols. |
| 1411 | |
| 1412 | 2004-02-20 Nathan Sidwell <nathan@codesourcery.com> |
| 1413 | |
| 1414 | * ldgram.y (exp): Add two operand ALIGN. |
| 1415 | * ldexp.c (fold_binary): Add ALIGN_K case. |
| 1416 | * ld.texinfo (ALIGN): Document two operand version. |
| 1417 | |
| 1418 | 2004-02-19 Nathan Sidwell <nathan@codesourcery.com> |
| 1419 | |
| 1420 | * ldlang.c (map_input_to_output_sections): Initialize sections |
| 1421 | mentioned in a data statement expression. |
| 1422 | (lang_do_assignments_1): Add data statement's expression's |
| 1423 | section's vma. |
| 1424 | |
| 1425 | 2004-02-18 Nathan Sidwell <nathan@codesourcery.com> |
| 1426 | |
| 1427 | * ldgram.y (statement_anywhere): Add assert rule. |
| 1428 | * ldlang.c (exp_init_os): Add assert case. |
| 1429 | |
| 1430 | 2004-02-14 Andrew Cagney <cagney@redhat.com> |
| 1431 | |
| 1432 | * ldmain.c (remove_output): Call bfd_cache_close. |
| 1433 | |
| 1434 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
| 1435 | |
| 1436 | * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard |
| 1437 | .MIPS.content* and .MIPS.events* sections. |
| 1438 | |
| 1439 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
| 1440 | |
| 1441 | * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move |
| 1442 | .note.gnu.arm.ident to after allocated sections. Mark its |
| 1443 | address as 0. |
| 1444 | |
| 1445 | 2004-02-09 Daniel Jacobowitz <drow@mvista.com> |
| 1446 | |
| 1447 | * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB. |
| 1448 | * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise. |
| 1449 | * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise. |
| 1450 | * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise. |
| 1451 | * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise. |
| 1452 | |
| 1453 | 2004-02-05 Nick Clifton <nickc@redhat.com> |
| 1454 | |
| 1455 | * emultempl/pe.em (_after_open): Fix typo in previous delta. |
| 1456 | |
| 1457 | 2004-02-04 Danny Smith <dannysmith@users.sourceforge.net> |
| 1458 | |
| 1459 | * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch. |
| 1460 | |
| 1461 | 2004-01-28 Alan Modra <amodra@bigpond.net.au> |
| 1462 | |
| 1463 | * genscripts.sh: Fix typo. |
| 1464 | |
| 1465 | * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too. |
| 1466 | |
| 1467 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
| 1468 | |
| 1469 | * emulparams/elf64_ia64.sh: Put .rela.opd into |
| 1470 | OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS. |
| 1471 | |
| 1472 | 2004-01-20 Danny Smith <dannysmith@users.sourceforge.net> |
| 1473 | |
| 1474 | * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag. |
| 1475 | * ld.texinfo (--omagic): Note that writable text section |
| 1476 | does not conform to published PE-COFF specs. |
| 1477 | (--enable-auto-import): Likewise. |
| 1478 | |
| 1479 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
| 1480 | |
| 1481 | * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define. |
| 1482 | |
| 1483 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
| 1484 | |
| 1485 | * ldlang.c (lang_get_regions): Add extra parameter 'have_vma' |
| 1486 | which if true will prevent the LMA region being used as a |
| 1487 | replacement for a default VMA region. |
| 1488 | (lang_leave_output_section_statement): Pass extra parameter. |
| 1489 | (lang_leave_overlay): Likewise. |
| 1490 | * ld.texinfo (Output Section LMA): Document that the LMA |
| 1491 | region can be set to the VMA region if no VMA has been set. |
| 1492 | * ldlang.h (struct lang_output_section_phdr_list): Create a |
| 1493 | typedef for this type. Minor formatting fixes. |
| 1494 | |
| 1495 | 2004-01-13 Nick Clifton <nickc@redhat.com> |
| 1496 | |
| 1497 | * ldlang.c (lang_size_sections_1): If dot is advanced, then |
| 1498 | assume that the section should be allocated. |
| 1499 | |
| 1500 | 2004-01-13 Alan Modra <amodra@bigpond.net.au> |
| 1501 | |
| 1502 | * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD |
| 1503 | sections. Do ignore SEC_NEVER_LOAD sections. |
| 1504 | (lang_size_sections_1): Remove test made redundant with the above. |
| 1505 | |
| 1506 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
| 1507 | |
| 1508 | * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached |
| 1509 | program_header_size. |
| 1510 | |
| 1511 | 2004-01-06 Alexandre Oliva <aoliva@redhat.com> |
| 1512 | |
| 1513 | 2003-11-28 Alexandre Oliva <aoliva@redhat.com> |
| 1514 | * emulparams/elf32frvfd.sh (EMBEDDED): Clear. |
| 1515 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> |
| 1516 | * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. |
| 1517 | (MAXPAGESIZE): Set to 64Kb. |
| 1518 | (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and |
| 1519 | __ROFIXUP_END__. Don't map .rofixup.got any more. |
| 1520 | * emulparams/elf32frv.sh (NOP): Set. |
| 1521 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> |
| 1522 | * configure.tgt: Add frv-*-*linux*. |
| 1523 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> |
| 1524 | * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. |
| 1525 | (eelf32frvfd.c): New. |
| 1526 | * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. |
| 1527 | * emulparams/elf32frv.sh: Reverted previous two patches. |
| 1528 | * emulparams/elf32frvfd.sh: New. |
| 1529 | * Makefile.in: Rebuilt. |
| 1530 | 2003-09-18 Alexandre Oliva <aoliva@redhat.com> |
| 1531 | * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added |
| 1532 | .rofixup.got to .rofixup. |
| 1533 | 2003-09-15 Alexandre Oliva <aoliva@redhat.com> |
| 1534 | * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. |
| 1535 | (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set. |
| 1536 | |
| 1537 | 2004-01-05 Jakub Jelinek <jakub@redhat.com> |
| 1538 | |
| 1539 | * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes. |
| 1540 | * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes. |
| 1541 | |
| 1542 | 2004-01-03 Alan Modra <amodra@bigpond.net.au> |
| 1543 | |
| 1544 | * ldexp.c (align_n): Make static. |
| 1545 | * ldexp.h (align_n): Delete declaration. |
| 1546 | * ldlang.h (lang_enter_output_section_statement): Remove |
| 1547 | block_value param. |
| 1548 | * ldlang.c (lang_enter_output_section_statement): Likewise. |
| 1549 | (TO_ADDR, TO_SIZE): Define. |
| 1550 | (opb_shift): New var. |
| 1551 | (init_opb): New function. |
| 1552 | (print_input_section): Call init_opb and use TO_ADDR. |
| 1553 | (print_data_statement, print_reloc_statement): Likewise. |
| 1554 | (print_padding_statement): Likewise. |
| 1555 | (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift. |
| 1556 | (lang_check_section_addresses): Likewise. |
| 1557 | (lang_size_sections_1): Likewise. |
| 1558 | (lang_do_assignments_1): Likewise. |
| 1559 | (lang_set_startof): Likewise. |
| 1560 | (lang_one_common): Likewise. Combine power_of_two and opb_shift align. |
| 1561 | (lang_process): Call init_opb. |
| 1562 | (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift. |
| 1563 | (lang_enter_overlay_section): Adjust |
| 1564 | lang_enter_output_section_statement call. |
| 1565 | * ldgram.y: Likewise. |
| 1566 | * mri.c (mri_draw_tree): Likewise. |
| 1567 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 1568 | * emultempl/mmo.em (mmo_place_orphan): Likewise. |
| 1569 | * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise. |
| 1570 | |
| 1571 | * ldfile.c (ldfile_set_output_arch): Add defarch param. |
| 1572 | * ldfile.h (ldfile_set_output_arch): Ditto. |
| 1573 | * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use |
| 1574 | ldfile_set_output_arch. |
| 1575 | * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1576 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1577 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1578 | * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1579 | * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1580 | * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1581 | * ldgram.y: Adjust ldfile_set_output_arch call. |
| 1582 | * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1583 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1584 | * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1585 | * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1586 | * emultempl/gld960c.em (gld960_set_output_arch): Ditto. |
| 1587 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1588 | * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto. |
| 1589 | |
| 1590 | 2004-01-02 Bernardo Innocenti <bernie@develer.com> |
| 1591 | |
| 1592 | * configure.tgt: Add m68k-uClinux target. |
| 1593 | |
| 1594 | For older changes see ChangeLog-0203 |
| 1595 | \f |
| 1596 | Local Variables: |
| 1597 | mode: change-log |
| 1598 | left-margin: 8 |
| 1599 | fill-column: 74 |
| 1600 | version-control: never |
| 1601 | End: |