X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=31985e38f1262c14ae1c8b903273831d1039ea2a;hb=ce5181b407dfce78ab7e4e10051eaf44246ad1b4;hp=287b5308d817f60f5e444e58e18ab3f042670520;hpb=032f3e01ca57897834b9d08a7715f6a358e7debb;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 287b5308d8..31985e38f1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,457 @@ +2009-11-20 Thomas Schwinge + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. + * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Likewise. + * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) + <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: + Likewise. + +2009-11-19 Matthias Klose + + PR ld/9863 + * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE + with __data_start. + +2009-11-19 Ben Elliston + + * ldlex.l: Enable nounput flex option. + +2009-11-15 Kai Tietz + + * pe-dll.c (pe_undef_alias_cdecl_match): New function. + (pe_find_cdecl_alias_match): New function. + (pe_process_import_defs): Add matching for import symbols + declared as cdecl for fastcall/stdcall. + * emultempl/pe.em (pe_undef_cdecl_match): Treat fastcall + symbols, too. + (pe_fixup_stdcalls): Likewise. + (gld_XXX_after_open): Redo scanning for imported + fastcall/stdcall symbols as cdecl one. + * emultempl/pep.em (pep_undef_cdecl_match): Treat fastcall + symbols, too. + (pep_fixup_stdcalls): Likewise. + (gld_XXX_after_open): Redo scanning for imported + fastcall/stdcall symbols as cdecl one. + +2009-11-11 Nick Clifton + + * po/id.po: Updated Indonesian translation. + +2009-11-11 Jan Kratochvil + + * configure.in: Call ACX_LARGEFILE. Stop calling AC_SYS_LARGEFILE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + +2009-11-10 Nick Clifton + + PR ld/10864 + * ld.texinfo (Entry Point): Mention that the default entry symbol + is not 'start' on some targets. + +2009-11-06 H.J. Lu + + PR ld/10912 + * ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE. + +2009-11-06 Kai Tietz + + * pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro. + (gld_XXX_before_parse): Set pseudo-relocation default + version to DEFAULT_PSEUDO_RELOC_VERSION. + (gldXXX_handle_option): Likewise. + + +2009-11-05 Nick Clifton + + * lexsup.c: Rename --add-needed to --copy-dt-needed-entries. + * ldlang.h (struct lang_input_statement_struct): Rename add_needed + to add_DT_NEEDED_for_dynamic. Rename as_needed to + add_DT_NEEDED_for_regular. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlang.c: Use the new variable names. + * ldgram.y: Likewise. + * emultempl/elf32.em: Likewise. + * ld.texinfo: Document the renamed option. Also mention its + affect on the resolution of dynamic symbols. + * NEWS: Mention the changed option name. + +2009-11-04 Kai Tietz + + * emulparams/arm_epoc_pe.sh: Remove ENTRY. + * emulparams/arm_wince_pe.sh: Likewise. + * emulparams/i386pe.sh: Likewise. + * emulparams/i386pe_posix.sh: Likewise. + * emulparams/mcorepe.sh: Likewise. + * emulparams/mipspe.sh: Likewise. + * emulparams/ppcpe.sh: Likewise. + * emulparams/armpe.sh: Likewise. + * emulparams/i386pep.sh: Likewise. + * emulparams/shpe.sh: Likewise. + Additionally cleaned up double-defined + variables SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emultempl/pe.em: Remove use of ENTRY. + (pe_subsystem): New local variable. + (gld_XXX_before_parse): Don't set default + entry point here. + (set_entry_point): New function to set entry + point. + (set_pe_subsystem): Remove code for entry point. + (gld_XXX_after_parse): Use set_entry_point here. + * emultempl/pep.em: Likewise. + +2009-10-29 Nathan Sidwell + + * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ... + (OTHER_READWRITE_SECTIONS): ... here. + +2009-10-28 Kai Tietz + + * emultempl/pep.em (U): Define underscore macro. + (init): Use for __ImageBase U macro. + +2009-10-23 Kai Tietz + + * deffile.h (def_file_export): New member its_name. + (def_file_import): Likewise. + (def_file_add_export): Add argument its_name. + (def_file_add_import): Likewise. + * deffilep.y (def_exports): Add argument its_name. + (def_import): Likewise. + (EQUAL): Add new token for '=='. + (opt_equalequal_name): New rule. + (expline): Add rule opt_equalequal_name. + (impline): Likewise. + (def_file_free): Free for exports and imports + the optional member its_name. + (def_lex): Add scan of '==' as EQUAL. + * pe-dll.c (pe_export_sort): Sort for its_name too. + (process_def_file_and_drectve): Adjust calls to + def_file_add_export. + (generate_edata): Take its_name in account. + (make_one): Likewise. + (pe_process_import_defs): Likewise. + (pe_dll_generate_def_file): Add print of new '==' option. + * ld.texinfo: Extend documentation about .def file syntax. + * NEWS: Mention new feature. + +2009-10-23 Kai Tietz + + * deffilep.y (def_lex): Allow '<' and '>' characters in identifier + strings. + +2009-10-23 Ryan Mansfield + + PR ld/10489 + * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle + drive specifiers for DOS based filesystems in rpath-link strings. + +2009-10-19 Nick Clifton + + * Makefile.am: Remove spurious sanitization marker. + * Makefile.in: Regenerate. + +2009-10-16 Dimitry Gorbachev + + * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro. + (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option + to exclude all symbols from automatic export. + (gld_${EMULATION_NAME}_list_options): Describe it. + (gld${EMULATION_NAME}_handle_option): Handle it. + * emultempl/pep.em: Likewise to all the above. + * pe-dll.c (pe_dll_exclude_all_symbols): New variable. + (process_def_file_and_drectve): Use it. + * pe-dll.h (pe_dll_exclude_all_symbols): Declare. + * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias. + * pep-dll.h (pe_dll_exclude_all_symbols): Declare. + * NEWS: Mention the new feature. + * ld.texinfo: Document the new command line switch. + +2009-10-14 Andreas Schwab + + * ldlex.l (yy_input): Remove second argument and return the value + instead. + (YY_INPUT): Adjust. + +2009-10-14 Alan Modra + + * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix. + +2009-10-14 Ryan Mansfield + + * ldlang.c (load_symbols): Set whole_archive from entry when + parsing a linker script. + +2009-10-10 Alan Modra + + * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/aix.sc: Likewise. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/psos.sc: Likewise. + * scripttempl/armbpabi.sc: Likewise. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2009-10-09 Alan Modra + + PR ld/10749 + * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF. + +2009-10-08 Alan Modra + + PR ld/10744 + * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the + first PT_LOAD header. + * ld.texinfo: Update. + +2009-10-06 Nathan Sidwell + + * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable + segments do not appear after a different loadable segment. + * ld.texinfo (PHDRS): Document order of processing segments. + Document where PHDRS and FILEHDR may appear. + +2009-10-03 Alan Modra + + * emultempl/ppc32elf.em (emit_stub_syms): Init to -1. + (ppc_after_open): Set emit_stubs_syms by default when shared. + (OPTION_NO_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. + * emultempl/ppc64elf.em (emit_stub_syms): Init to -1. + (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default. + (OPTION_NO_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, + PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms. + +2009-09-29 Joel Sherrill + + * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75 + (rts). + +2009-09-29 DJ Delorie + + * Makefile.am: Add rules to build RX emulation. + * configure.tgt: Likewise. + * NEWS: Mention support for RX architecture. + * Makefile.in: Regenerate. + * emulparams/elf32rx.sh: New file. + * emultempl/rxelf.em: New file. + +2009-09-29 Alan Modra + + * ldlang.c (lang_size_sections_1): Allow scripts to specify a + non-zero vma even when relocatable. + +2009-09-28 Alan Modra + + * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/aix.sc: Delete ${RELOCATING-0}. + * scripttempl/avr.sc: Likewise. + * scripttempl/elf32msp430.sc: Likewise. + * scripttempl/elf32msp430_3.sc: Likewise. + * scripttempl/elf32sh-symbian.sc: Likewise. + * scripttempl/elf_chaos.sc: Likewise. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/nw.sc: Likewise. + * scripttempl/psos.sc: Likewise. + * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}. + * scripttempl/elf.sc: Likewise. + * scripttempl/elf64hppa.sc: Likewise. + * scripttempl/elfd10v.sc: Likewise. + * scripttempl/elfd30v.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + * scripttempl/iq2000.sc: Likewise. + * scripttempl/mep.sc: Likewise. + * scripttempl/xstormy16.sc: Likewise. + +2009-09-27 Christopher Faylor + + PR ld/10634 + * ldlang.c (lang_size_sections_1): Always force output vma to zero for + relocatable sections. + (lang_size_sections_1): Revert previous COFF-only accommodation for + relocatable sections. + +2009-09-25 Martin Thuresson + + Update sources to make arm targets compile cleanly with + -Wc++-compat: + * emultempl/armelf.em: Add casts. + +2009-09-23 Matt Rice + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit, + --depaudit, and -P options. + (gld${EULATION_NAME}_handle_options): Ditto. + (gld${EULATION_NAME}_list_options): Ditto. + (gld${EMULATION_NAME}_append_to_separated_string): New function for + handling rpath-like colon separated strings. + (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit + libs to bfd. Propagate DT_AUDIT from needed libs to depaudit. + * ld.texinfo: Document new options. + +2009-09-23 Nick Clifton + + * po/vi.po: Updated Vietnamese translation. + +2009-09-22 Alan Modra + + * scripttempl/a29k.sc: Delete. + * scripttempl/ebmon29k.sc: Delete. + * scripttempl/m68klynx.sc: Delete. + * scripttempl/sa29200.sc: Delete. + * scripttempl/sparclynx.sc: Delete. + +2009-09-21 Alan Modra + + * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var. + (ppc_before_allocation): Pass to ppc_elf_tls_setup. + (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in + terms of previous option. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add + --no-tls-get-addr-optimize. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var. + (ppc_before_allocation): Pass to ppc64_elf_tls_setup. + (OPTION_NO_TLS_GET_ADDR_OPT): Define. + (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add + --no-tls-get-addr-optimize. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + +2009-09-18 Nick Clifton + + * po/es.po: Updated Spanish translation. + +2009-09-13 Alan Modra + + PR ld/6766 + * lexsup.c (parse_args <-e>): Revert 2009-03-18 change. + * ldemul.c (after_parse_default): Add entry symbol as undef. + * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default. + * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. + * emultempl/crxelf.em (crxelf_after_parse): Likewise. + * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise. + * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call + after_parse_default and delete now duplicate code. + * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise. + * scripttempl/elf32cr16.sc: No need to make entry extern. + * scripttempl/elf32cr16c.sc: Likewise. + * scripttempl/elf32crx.sc: Likewise. + * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link. + +2009-09-11 Nick Clifton + + * po/ld.pot: Updated by the Translation project. + * po/fi.po: Updated Finnish translation. + +2009-09-11 Martin Thuresson + + Updated sources to compile cleanly with -Wc++-compat: + * ld.h (enum endian_enum,enum symbolic_enum,enum + dynamic_list_enum): Move to top level. + * ldcref.c: Add casts. + * ldctor.c: Add casts. + * ldexp.c + * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level. + * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead + of integer. + * ldlang.h (enum statement_enum): Move to top level. + * ldmain.c: Add casts. + * ldwrite.c: Add casts. + * lexsup.c: Add casts. (enum control_enum): Move to top level. + * mri.c: Add casts. (mri_draw_tree): Use enum name instead of + integer. + +2009-09-09 Alan Modra + + * scripttempl/aix.sc: Only provide ENTRY on final link. + * scripttempl/alpha.sc: Likewise. + * scripttempl/armcoff.sc: Likewise. + * scripttempl/crisaout.sc: Likewise. + * scripttempl/delta68.sc: Likewise. + * scripttempl/ebmon29k.sc: Likewise. + * scripttempl/elf32xc16x.sc: Likewise. + * scripttempl/elf32xc16xl.sc: Likewise. + * scripttempl/elfmicroblaze.sc: Likewise. + * scripttempl/epocpe.sc: Likewise. + * scripttempl/h8300.sc: Likewise. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300hn.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + * scripttempl/h8300sn.sc: Likewise. + * scripttempl/h8300sx.sc: Likewise. + * scripttempl/h8300sxn.sc: Likewise. + * scripttempl/hppaelf.sc: Likewise. + * scripttempl/i386beos.sc: Likewise. + * scripttempl/i386coff.sc: Likewise. + * scripttempl/i386go32.sc: Likewise. + * scripttempl/m68kaux.sc: Likewise. + * scripttempl/m68klynx.sc: Likewise. + * scripttempl/m88kbcs.sc: Likewise. + * scripttempl/maxqcoff.sc: Likewise. + * scripttempl/mcorepe.sc: Likewise. + * scripttempl/mips.sc: Likewise. + * scripttempl/ppcpe.sc: Likewise. + * scripttempl/sa29200.sc: Likewise. + * scripttempl/sparccoff.sc: Likewise. + * scripttempl/sparclynx.sc: Likewise. + * scripttempl/tic4xcoff.sc: Likewise. + * scripttempl/tic54xcoff.sc: Likewise. + * scripttempl/tic80coff.sc: Likewise. + * scripttempl/z8000.sc: Likewise. + +2009-09-07 Tristan Gingold + + * po/ld.pot: Regenerate. + +2009-09-05 Martin Thuresson + + * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols, + gld${EMULATION_NAME}_try_needed): Rename variable class to + link_class. + +2009-09-04 Tristan Gingold + + * NEWS: Add marker for 2.20. + +2009-09-04 Alan Modra + + * scripttempl/elf.sc (.text): Add cold text sections. + +2009-09-04 Jie Zhang + + * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text + and .l2.data. + 2009-09-03 Dave Korn * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch @@ -177,13 +631,13 @@ 2009-08-06 Michael Eager - * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to + * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to ALL_EMULATIONS, targets. * Makefile.in: Regenerate. * configure.tgt: Add microblaze*-linux*, microblaze* targets. * emulparams/elf32mb_linux.sh: New. * emulparams/elf32microblaze.sh. New. - * scripttempl/elfmicroblaze.sc: New. + * scripttempl/elfmicroblaze.sc: New. 2009-08-05 Trevor Smigiel @@ -198,7 +652,7 @@ 2009-08-04 Alan Modra - PR 10474 + PR 10474 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize, not size, after lang_reset_memory_regions. @@ -274,7 +728,7 @@ * scripttempl/pep.sc: Put .eh_frame in its own section. * scripttempl/pe.sc: Ditto. - + 2009-06-26 Kai Tietz * scripttempl/pe.sc (.debug_pubtypes): Added section rule. @@ -519,7 +973,7 @@ 2009-04-25 Alan Modra - PR 10061 + PR 10061 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT param. @@ -807,7 +1261,7 @@ 2009-02-24 Sandra Loosemore * ld.texinfo (Options): Correct typos in example. Recommend - using joined forms of syntax for passing options with arguments + using joined forms of syntax for passing options with arguments from a driver. (-a): Use consistent syntax for documenting option arguments. Clean up indexing and markup.