X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=ce025828ce69554c443b7e241d99f6175368c14a;hb=25652d4f22fc708c03b242cc8fa82e3de5f48980;hp=64fb113898c5da6b12363bd3c7693924ce3d1a21;hpb=93fd0973234917b8d04d3bd750da643382591b55;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 64fb113898..ce025828ce 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,302 @@ +2004-10-08 Daniel Jacobowitz + + * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*. + +2004-10-07 Bob Wilson + + * ld.texinfo (Xtensa): Describe new linker relaxation to optimize + assembler-generated longcall sequences. Describe new --size-opt + option. + * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section. + * emultempl/xtensaelf.em (remove_section, + replace_insn_sec_with_prop_sec, replace_instruction_table_sections, + elf_xtensa_after_open): New. + (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT, + OPTION_NO_LITERAL_MOVEMENT): Define. + (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals. + (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement. + (PARSE_AND_LIST_OPTIONS): Add --size-opt. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT, + OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT. + (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open. + * scripttempl/elfxtensa.sc: Update with changes from elf.sc. + * Makefile.am (eelf32xtensa.c): Update dependencies. + * Makefile.in: Regenerate. + +2004-10-07 Jeff Baker + + * lexsup.c: Handle --warn-shared-textrel option. + (ld_options): Restore alpha sorting of options. + * ldmain.c (main): Initialise warn_shared_info field to FALSE. + * ld.texinfo: Add documentation for --warn-shared-textrel. + * NEWS: Added mention of --warn-shared-textrel option. + +2004-10-05 Tomer Levi + + * emultempl/crxelf.em (disable_relaxation): Add. + (crxelf_before_allocation): Enable --relax option by default. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX. + +2004-10-04 H.J. Lu + + * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and + --sort-section name|alignment. + + * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and + --sort-section name|alignment. + + * ld.h (sort_type): New enum. + (wildcard_spec): Change the type of `sorted' to sort_type. + + * ldgram.y (SORT): Removed. + (SORT_BY_NAME): Added. + (SORT_BY_ALIGNMENT): Added. + (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and + SORT_BY_ALIGNMENT. + (input_section_spec_no_keep): Updated `sorted'. + (statement): Replace SORT with SORT_BY_NAME. + + * ldlang.c (compare_section): New function to compare 2 + sections with different sorting schemes. + (wild_sort): Updated. Use compare_section. + (update_wild_statements): New function. + (lang_process): Call update_wild_statements before + map_input_to_output_sections. + + * ldlex.l (SORT_BY_NAME): New. + (SORT_BY_ALIGNMENT): New. + (SORT): Return SORT_BY_NAME. + + * ldmain.c (sort_section): New. Defined. + (main): Initialize it to none. + + * lexsup.c (option_values): Add OPTION_SORT_SECTION. + (ld_options): Add an entry for OPTION_SORT_SECTION. + (parse_args): Handle OPTION_SORT_SECTION. + + * mri.c (mri_draw_tree): Updated `sorted'. + +2004-10-04 Jakub Jelinek + + * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument. + * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first + argument. + (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first + and . as second argument. + (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section. + * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here. + (fold_binary): Add it here. Insert padding to make relro_end + COMMONPAGESIZE bytes aligned. For DATA_SEGMENT_ALIGN in + exp_dataseg_relro_adjust phase just use previously computed + exp_data_seg.base. + * ldlang.c (lang_size_sections): Set exp_data_seg.base for + relro_adjust here. Call lang_size_sections_1 once more if there + was too big padding at DATA_SEGMENT_RELRO_END. + * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation. + +2004-10-01 Paul Brook + + * emulparams/armelf.sh: Add unwinding table sections. + +2004-09-30 Filip Navara + + * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate + correct base address for position independant executables. + * pe-dll.c (pe_dll_fill_sections): Don't mark position independant + executables as DLLs. + +2004-09-30 Paul Brook + + * ld.texinfo: Document --target2=abs. + * emulparms/armsymbian.sh (TARGET2_TYPE): Set. + +2004-09-29 Nick Clifton + + * scripttempl/xstormy16.sc: Only perform the assignments to the + ROM region when not performing a relocatable link. The ROM region + does not start at address 0, but the sections will. + * Makefile.am: Fix linker script dependency for the generation of + eelf32xstormy16.c. + * Makefile.in: Regenerate. + +2004-09-18 Filip Navara + + * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh, + emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, + emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define + TARGET_PAGE_SIZE. + * scripttempl/pe.sc: Make the virtual address and file offset synced if + the alignment is lower than the target page size. + +2004-09-27 Filip Navara + + * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow + def_file_parse to handle pe_def_file if NULL and prevent crash with + invalid .def files. + +2004-09-27 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable + --emit-stub-syms automatically when --emit-relocs. + +2004-09-24 Paul Brook + + * scripttempl/elf.sc: Keep .preinit_array, .init_array and + .fini_array sections. + +2004-09-19 Andreas Schwab + + * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment + base so that relro end is suitably aligned. + +2004-09-17 Paul Brook + + * ld.texinfo: Rename arm-specific section. Document --target* + * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. + * emulparams/armelf_linux.sh: Ditto. + * emulparams/armelf_nbsd.sh: Ditto. + * emultempl/armelf.em: Set default for TARGET2_TYPE. + (target2_type): New variable. + (arm_elf_before_allocation): Don't pass target1_type. + (arm_elf_create_output_section_statements): New function. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. + (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. + * emultempl/armelf_oabi.em (_before_allocation): Remove extra + argument to bfd_elf32_arm_process_before_allocation. + +2004-09-17 Alan Modra + + * ldexp.c (fold_name): Update u.undef.next refs. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2004-09-17 Alan Modra + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + * config.in: Regenerate. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * po/ld.pot: Regenerate. + +2004-09-16 Tomer Levi + + * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*. + (.fini): Likewise. + (.jcr): Likewise. + +2004-09-16 Alan Modra + + * emultempl/armelf_oabi.em (before_allocation): Add extra zero param + to bfd_elf32_arm_process_before_allocation call. + +2004-09-13 Paul Brook + + * emulparams/armsymbian.sh: Set TARGET1_IS_REL. + * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}. + +2004-09-07 H.J. Lu + + * configure: Regenerated with autconfig 2.13. + +2004-09-07 Andreas Schwab + + * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment + alignment before adjusting DATA_SEGMENT_RELRO_END. + +2004-09-06 Mark Mitchell + + * emulparams/armsymbian.sh: Use armbpabi script. + * scripttempl/armbpabi.sc: New script. + +2004-09-02 Mark Mitchell + + * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o. + (earmsymbian.c): New target. + * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*. + * Makefile.in: Regenerated. + * aclocal.m4: Likewise. + * configure: Likewise. + * emulparams/armsymbian.sh: New file. + +2004-09-03 Tomer Levi + + * scripttempl/elf32crx.sc: Edit file with comments. + (.init): Add new section. + (.fini): Likewise. + (.ctor): Control the linkage order. + (.dtor): Likewise. + +2004-08-27 Nick Clifton + + * emultempl/pe.em (after_open): Do not assume that either bfd is + an archive. + +2004-08-26 Alan Modra + + * ldlang.c (lang_init): Don't compare with TRUE. + +2004-08-25 Dmitry Diky + + * emulparams/msp430all.sh: Fix RAM sizes for all targets. + * scripttempl/elf32msp430.sc: Add .profiler section definition. + +2004-08-24 H.J. Lu + + * ldlang.c (wildcardp): Defined as a macro with strpbrk. + +2004-08-19 Mark Mitchell + + * configure.tgt (arm*-*-symbianelf*): New target. + (arm*-*-eabi*): Likewise. + +2004-08-19 Jakub Jelinek + + * emultempl/ppc64elf.em (non_overlapping_opd): New variable. + (ppc_before_allocation): Pass it to ppc64_elf_edit_opd). + (OPTION_NON_OVERLAPPING_OPD): Define. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add + --non-overlapping-opd option. + +2004-08-18 Alan Modra + + PR 338 + * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol + was already on the undefs list. + +2004-08-17 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot + prefix the symbol field too. + +2004-08-13 Alan Modra + + * ldmain.c (link_callbacks): Remove "error_handler". + * ldmisc.c: Include elf-bfd.h. + (vfinfo): Sort comment. Handle %A. Use %A instead of + bfd_get_section_indent. + (error_handler): Delete. + * ldmisc.h (error_handler): Delete declaration. + +2004-08-10 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call + ppc64_elf_restore_symbols. + +2004-08-09 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if + .toc is too large on relocatable linking. + +2004-08-09 Alan Modra + + * emultempl/ppc64elf.em (ppc_after_open): Delete. + (LDEMUL_AFTER_OPEN): Don't define. + 2004-08-02 Stephane Carrez * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.