1*75fd0b74Schristos2006-12-23 Kazu Hirata <kazu@codesourcery.com> 2*75fd0b74Schristos 3*75fd0b74Schristos * configure.tgt: Recognize fido. 4*75fd0b74Schristos 5*75fd0b74Schristos2006-12-18 Pedro Alves <pedro_alves@portugalmail.pt> 6*75fd0b74Schristos 7*75fd0b74Schristos * pe-dll.c (pe_bfd_is_dll): New function. 8*75fd0b74Schristos * pe-dll.h (pe_bfd_is_dll): Declare. 9*75fd0b74Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize 10*75fd0b74Schristos dlls using pe_bfd_is_dll instead of using the filename extension. 11*75fd0b74Schristos 12*75fd0b74Schristos2006-12-15 Ulrich Weigand <uweigand@de.ibm.com> 13*75fd0b74Schristos 14*75fd0b74Schristos * configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*. 15*75fd0b74Schristos 16*75fd0b74Schristos2006-12-12 Daniel Jacobowitz <dan@codesourcery.com> 17*75fd0b74Schristos 18*75fd0b74Schristos * Makefile.am (ld_TEXINFOS): Set. 19*75fd0b74Schristos (ld.info ld.dvi ld.html): Delete rule. 20*75fd0b74Schristos * Makefile.in: Regenerated. 21*75fd0b74Schristos 22*75fd0b74Schristos2006-12-12 Ina Pandit <inap@kpitcummins.com> 23*75fd0b74Schristos 24*75fd0b74Schristos * ldlang.c (print_output_section_statement): Print load address 25*75fd0b74Schristos when lma differs from vma. 26*75fd0b74Schristos 27*75fd0b74Schristos2006-12-11 Daniel Jacobowitz <dan@codesourcery.com> 28*75fd0b74Schristos 29*75fd0b74Schristos * configure.in: Define GENINSRC_NEVER. 30*75fd0b74Schristos * doc/Makefile.am (ld.info): Remove srcdir prefix. 31*75fd0b74Schristos (MAINTAINERCLEANFILES): Add info file. 32*75fd0b74Schristos (DISTCLEANFILES): Pretend to add info file. 33*75fd0b74Schristos * po/Make-in (.po.gmo): Put gmo files in objdir. 34*75fd0b74Schristos * configure, Makefile.in: Regenerated. 35*75fd0b74Schristos 36*75fd0b74Schristos2006-12-04 Jan Beulich <jbeulich@novell.com> 37*75fd0b74Schristos 38*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create 39*75fd0b74Schristos .eh_frame_hdr section here. 40*75fd0b74Schristos 41*75fd0b74Schristos2006-11-27 Ian Lance Taylor <ian@airs.com> 42*75fd0b74Schristos 43*75fd0b74Schristos * Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl 44*75fd0b74Schristos subdirectory. 45*75fd0b74Schristos * Makefile.in: Regenerate. 46*75fd0b74Schristos 47*75fd0b74Schristos2006-11-27 Bob Wilson <bob.wilson@acm.org> 48*75fd0b74Schristos 49*75fd0b74Schristos * emultempl/xtensaelf.em (XSHAL_ABI): Add default definition. 50*75fd0b74Schristos (replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags. 51*75fd0b74Schristos Delete redundant code to set sections flags and alignment. 52*75fd0b74Schristos (xt_config_info_unpack_and_check, check_xtensa_info): New. 53*75fd0b74Schristos (elf_xtensa_after_open): Iterate over input statements instead of 54*75fd0b74Schristos link_info.input_bfds. 55*75fd0b74Schristos (elf_xtensa_before_allocation): Likewise. Call check_xtensa_info for 56*75fd0b74Schristos each input, and write a new .xtensa.info section in the output. 57*75fd0b74Schristos 58*75fd0b74Schristos2006-11-22 Nick Clifton <nickc@redhat.com> 59*75fd0b74Schristos 60*75fd0b74Schristos * configure.in (LINGUAS): Add ga. 61*75fd0b74Schristos * po/ga.po: New Irish translation. 62*75fd0b74Schristos 63*75fd0b74Schristos2006-11-20 H.J. Lu <hongjiu.lu@intel.com> 64*75fd0b74Schristos 65*75fd0b74Schristos * ld.texinfo: Fix a typo. 66*75fd0b74Schristos 67*75fd0b74Schristos2006-11-20 Alan Modra <amodra@bigpond.net.au> 68*75fd0b74Schristos 69*75fd0b74Schristos * emulparams/elf32_spu.sh (OTHER_SECTIONS): Define. 70*75fd0b74Schristos 71*75fd0b74Schristos2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> 72*75fd0b74Schristos 73*75fd0b74Schristos * emultempl/armelf.em (arm_elf_before_allocation): Only call 74*75fd0b74Schristos bfd_elf32_arm_process_before_allocation if no dynamic sections. 75*75fd0b74Schristos 76*75fd0b74Schristos2006-11-08 Alan Modra <amodra@bigpond.net.au> 77*75fd0b74Schristos 78*75fd0b74Schristos * emultempl/elf32.em (gld*_before_allocation): Adjust output section 79*75fd0b74Schristos size for warning sections. 80*75fd0b74Schristos 81*75fd0b74Schristos2006-11-06 Vladimir Prus <vladimir@codesourcery.com> 82*75fd0b74Schristos 83*75fd0b74Schristos * emultempl/elf32.em (gld*_before_allocation): Don't prepend 84*75fd0b74Schristos "warning" to the message. 85*75fd0b74Schristos 86*75fd0b74Schristos2006-10-31 Pedro Alves <pedro_alves@portugalmail.pt> 87*75fd0b74Schristos 88*75fd0b74Schristos * pe-dll.c (autofilter_entry_type): Change name to const. 89*75fd0b74Schristos (pe_details_type) : Change target_name, object_target and 90*75fd0b74Schristos autofilter_symbollist to const. 91*75fd0b74Schristos (autofilter_symbollist_generic): Change to const. 92*75fd0b74Schristos (autofilter_symbollist_i386, pe_detail_list, pe_details, 93*75fd0b74Schristos autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist, 94*75fd0b74Schristos autofilter_symbolsuffixlist): Likewise. 95*75fd0b74Schristos (is_import): Fix indentation. 96*75fd0b74Schristos (auto_export): Change afptr to const. Move name declaration to 97*75fd0b74Schristos beginning of scope. 98*75fd0b74Schristos (make_tail): Clear undefined byte. 99*75fd0b74Schristos (jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change 100*75fd0b74Schristos to const. 101*75fd0b74Schristos (make_one): Change jmp_bytes to const. Make idata$6 member size 102*75fd0b74Schristos arithmetic explicit and add comment. 103*75fd0b74Schristos 104*75fd0b74Schristos2006-10-30 H.J. Lu <hongjiu.lu@intel.com> 105*75fd0b74Schristos 106*75fd0b74Schristos PR ld/3111 107*75fd0b74Schristos * ld.h (args_type): Remove reduce_memory_overheads. 108*75fd0b74Schristos 109*75fd0b74Schristos * ldlang.c (lang_map): Updated. 110*75fd0b74Schristos (section_already_linked): Likewise. 111*75fd0b74Schristos (print_input_section): Likewise. 112*75fd0b74Schristos * ldmain.c (main): Likewise. 113*75fd0b74Schristos * lexsup.c (parse_args): Likewise. 114*75fd0b74Schristos 115*75fd0b74Schristos2006-10-29 Pedro Alves <pedro_alves@portugalmail.pt> 116*75fd0b74Schristos 117*75fd0b74Schristos * pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator. 118*75fd0b74Schristos 119*75fd0b74Schristos2006-10-27 Alan Modra <amodra@bigpond.net.au> 120*75fd0b74Schristos 121*75fd0b74Schristos * ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP 122*75fd0b74Schristos sections have been discarded. 123*75fd0b74Schristos (lang_do_version_exports_section): Set SEC_KEEP on export section. 124*75fd0b74Schristos * emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning 125*75fd0b74Schristos sections. 126*75fd0b74Schristos 127*75fd0b74Schristos2006-10-26 Joseph S. Myers <joseph@codesourcery.com> 128*75fd0b74Schristos Mark Mitchell <mark@codesourcery.com> 129*75fd0b74Schristos 130*75fd0b74Schristos * configure.tgt (arm*linux*): Support both big- and little-endian. 131*75fd0b74Schristos 132*75fd0b74Schristos2006-10-25 H.J. Lu <hongjiu.lu@intel.com> 133*75fd0b74Schristos 134*75fd0b74Schristos * emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ... 135*75fd0b74Schristos (OTHER_BSS_SECTIONS): This. 136*75fd0b74Schristos * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS. 137*75fd0b74Schristos (LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS. 138*75fd0b74Schristos 139*75fd0b74Schristos2006-10-25 Alan Modra <amodra@bigpond.net.au> 140*75fd0b74Schristos Trevor Smigiel <Trevor_Smigiel@playstation.sony.com> 141*75fd0b74Schristos Yukishige Shibata <shibata@rd.scei.sony.co.jp> 142*75fd0b74Schristos Nobuhisa Fujinami <fnami@rd.scei.sony.co.jp> 143*75fd0b74Schristos Takeaki Fukuoka <fukuoka@rd.scei.sony.co.jp> 144*75fd0b74Schristos 145*75fd0b74Schristos * emulparams/elf32_spu.sh: New file. 146*75fd0b74Schristos * emultempl/spu_inc.s: New file. 147*75fd0b74Schristos * emultempl/spu_ovl.S: New file. 148*75fd0b74Schristos * emultempl/spu_ovl.o: New file. 149*75fd0b74Schristos * emultempl/spuelf.em: New file. 150*75fd0b74Schristos * Makefile.am: Add SPU support. 151*75fd0b74Schristos * configure.tgt: Likewise. 152*75fd0b74Schristos * ldlang.c (load_symbols): Make global. 153*75fd0b74Schristos * ldlang.h (load_symbols): Declare. 154*75fd0b74Schristos * scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add. 155*75fd0b74Schristos * Makefile.in: Regenerate. 156*75fd0b74Schristos 157*75fd0b74Schristos2006-10-24 Ben Elliston <bje@au.ibm.com> 158*75fd0b74Schristos 159*75fd0b74Schristos * lexsup.c (parse_args): Add a comment noting a fall-through. 160*75fd0b74Schristos 161*75fd0b74Schristos2006-10-24 H.J. Lu <hongjiu.lu@intel.com> 162*75fd0b74Schristos 163*75fd0b74Schristos * configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h. 164*75fd0b74Schristos * configure: Regenerated. 165*75fd0b74Schristos * config.in: Likewise. 166*75fd0b74Schristos 167*75fd0b74Schristos2006-10-23 Alan Modra <amodra@bigpond.net.au> 168*75fd0b74Schristos 169*75fd0b74Schristos * emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't 170*75fd0b74Schristos set section address on a relocatable link. 171*75fd0b74Schristos 172*75fd0b74Schristos * ld.texinfo (Output Section Discarding): Fix xref. 173*75fd0b74Schristos 174*75fd0b74Schristos2006-10-21 Kaz Kojima <kkojima@rr.iij4u.or.jp> 175*75fd0b74Schristos 176*75fd0b74Schristos * emulparams/shelf32.sh: Set default stack to 0x80000. 177*75fd0b74Schristos * emulparams/shelf64.sh: Likewise. 178*75fd0b74Schristos 179*75fd0b74Schristos2006-10-20 Richard Sandiford <richard@codesourcery.com> 180*75fd0b74Schristos 181*75fd0b74Schristos * emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define. 182*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise. 183*75fd0b74Schristos 184*75fd0b74Schristos2006-10-19 Alan Modra <amodra@bigpond.net.au> 185*75fd0b74Schristos 186*75fd0b74Schristos * emultempl/armelf.em (arm_elf_before_allocation): Run 187*75fd0b74Schristos gld${EMULATION_NAME}_before_allocation later. 188*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change. 189*75fd0b74Schristos 190*75fd0b74Schristos2006-10-18 Roy Marples <uberlord@gentoo.org> 191*75fd0b74Schristos 192*75fd0b74Schristos * emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as 193*75fd0b74Schristos elf64-sparc-freebsd. 194*75fd0b74Schristos 195*75fd0b74Schristos2006-10-18 Joseph Myers <joseph@codesourcery.com> 196*75fd0b74Schristos 197*75fd0b74Schristos * configure.tgt (i[3-7]86-*-linux-*): Also define 198*75fd0b74Schristos targ_extra_libpath in want64 case. 199*75fd0b74Schristos * emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as 200*75fd0b74Schristos x86_64*-linux*. 201*75fd0b74Schristos 202*75fd0b74Schristos2006-10-17 Alan Modra <amodra@bigpond.net.au> 203*75fd0b74Schristos 204*75fd0b74Schristos * scripttempl/elf.sc (INTERP): Delete. Move definition to.. 205*75fd0b74Schristos (INITIAL_READONLY_SECTIONS): ..here. 206*75fd0b74Schristos * emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp. 207*75fd0b74Schristos * emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto. 208*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto. 209*75fd0b74Schristos 210*75fd0b74Schristos2006-10-17 Alan Modra <amodra@bigpond.net.au> 211*75fd0b74Schristos 212*75fd0b74Schristos * ldlang.c (strip_excluded_output_sections): Do strip sections 213*75fd0b74Schristos that define syms, but don't ignore them. 214*75fd0b74Schristos * ld.texinfo (Output Section Discarding): Revise. 215*75fd0b74Schristos * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call 216*75fd0b74Schristos finish_default. 217*75fd0b74Schristos 218*75fd0b74Schristos2006-10-16 Richard Sandiford <richard@codesourcery.com> 219*75fd0b74Schristos 220*75fd0b74Schristos * Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh. 221*75fd0b74Schristos (eelf64btsmip.c, eelf64ltsmip.c): Likewise. 222*75fd0b74Schristos * Makefile.in: Regenerate. 223*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include 224*75fd0b74Schristos .reginfo rather than .MIPS.options. 225*75fd0b74Schristos * emulparams/elf64bmip-defs.sh: New file. 226*75fd0b74Schristos * emulparams/elf64bmip.sh: Include it. 227*75fd0b74Schristos (COMMONPAGESIZE): Delete. 228*75fd0b74Schristos * emulparams/elf64btsmip.sh: As for elf64bmip.sh. 229*75fd0b74Schristos 230*75fd0b74Schristos2006-10-12 Bob Wilson <bob.wilson@acm.org> 231*75fd0b74Schristos 232*75fd0b74Schristos * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check 233*75fd0b74Schristos for linkonce XCC exception tables (".e" and ".h"). 234*75fd0b74Schristos 235*75fd0b74Schristos2006-10-11 Bob Wilson <bob.wilson@acm.org> 236*75fd0b74Schristos 237*75fd0b74Schristos * emulparams/elf32xtensa.sh (TEXT_PLT): Enable. 238*75fd0b74Schristos (OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections. 239*75fd0b74Schristos (OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections. 240*75fd0b74Schristos (OTHER_SDATA_SECTIONS): New. 241*75fd0b74Schristos * scripttempl/elfxtensa.sc: Import changes from elf.sc. 242*75fd0b74Schristos 243*75fd0b74Schristos2006-10-11 Jakub Jelinek <jakub@redhat.com> 244*75fd0b74Schristos 245*75fd0b74Schristos * ldlang.c (lang_append_dynamic_list): When appending, add all elements 246*75fd0b74Schristos of the dynamic list rather than just the first entry. 247*75fd0b74Schristos 248*75fd0b74Schristos2006-10-10 Bob Wilson <bob.wilson@acm.org> 249*75fd0b74Schristos 250*75fd0b74Schristos * emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable. 251*75fd0b74Schristos 252*75fd0b74Schristos2006-10-06 Mike Frysinger <vapier@gentoo.org> 253*75fd0b74Schristos 254*75fd0b74Schristos * genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot. 255*75fd0b74Schristos 256*75fd0b74Schristos2006-10-04 Bob Wilson <bob.wilson@acm.org> 257*75fd0b74Schristos 258*75fd0b74Schristos * emulparams/xtensa-config.sh: Delete file. 259*75fd0b74Schristos * emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including 260*75fd0b74Schristos xtensa-config.sh. 261*75fd0b74Schristos * Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh. 262*75fd0b74Schristos * Makefile.in: Regenerate. 263*75fd0b74Schristos 264*75fd0b74Schristos2006-10-03 Pedro Alves <pedro_alves@portugalmail.pt> 265*75fd0b74Schristos 266*75fd0b74Schristos * pe-dll.c : Fix typo. 267*75fd0b74Schristos (autofilter_symbolprefixlist) : Remove __imp_. 268*75fd0b74Schristos (is_import) : New. 269*75fd0b74Schristos (auto-export) : Remove re-import check. Moved to callers. 270*75fd0b74Schristos (process_def_file) : Check is symbol is an import. Always 271*75fd0b74Schristos underscore __imp_. 272*75fd0b74Schristos Only skip underscore on underscored targets. 273*75fd0b74Schristos (make_one) : Always underscore __imp_. 274*75fd0b74Schristos (pe_create_runtime_relocator_reference) : Only underscore 275*75fd0b74Schristos _pei386_runtime_relocator on underscored targets. 276*75fd0b74Schristos (pe_process_import_defs) : Always underscore __imp_. 277*75fd0b74Schristos * pe.em (U) : New macro. 278*75fd0b74Schristos (set_pe_subsystem) : Remove underscore from _WinMainCRTStartup 279*75fd0b74Schristos on wince subsystem case. 280*75fd0b74Schristos (pe_find_data_imports) : Use U on "_head_". 281*75fd0b74Schristos (gld_${EMULATION_NAME}_unrecognized_file) : Use U. 282*75fd0b74Schristos 283*75fd0b74Schristos2006-09-26 H.J. Lu <hongjiu.lu@intel.com> 284*75fd0b74Schristos 285*75fd0b74Schristos PR ld/3223 286*75fd0b74Schristos PR ld/3267 287*75fd0b74Schristos * ld.texinfo: Updated Output Section Discarding. 288*75fd0b74Schristos 289*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Add 290*75fd0b74Schristos section_relative_symbol. 291*75fd0b74Schristos * ldlang.c (strip_excluded_output_sections): Don't strip a 292*75fd0b74Schristos section with a symbol relative to it. 293*75fd0b74Schristos (lang_size_sections_1): Mark if an output section has a symbol 294*75fd0b74Schristos symbol relative to it. 295*75fd0b74Schristos 296*75fd0b74Schristos2006-09-25 Bob Wilson <bob.wilson@acm.org> 297*75fd0b74Schristos 298*75fd0b74Schristos * ld.texinfo (Options): Update description of local symbols for -X. 299*75fd0b74Schristos 300*75fd0b74Schristos2006-09-23 H.J. Lu <hongjiu.lu@intel.com> 301*75fd0b74Schristos 302*75fd0b74Schristos PR ld/3249 303*75fd0b74Schristos * scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality* 304*75fd0b74Schristos and .gnu.linkonce.wi.* sections with .data and .debug_info for 305*75fd0b74Schristos relocatable link. 306*75fd0b74Schristos 307*75fd0b74Schristos2006-09-20 Kai Tietz <Kai.Tietz@onevision.com> 308*75fd0b74Schristos 309*75fd0b74Schristos * configure.in: Add new target x86_64-pc-mingw64. 310*75fd0b74Schristos * configure: Regenerate. 311*75fd0b74Schristos * configure.tgt: Add definition of target emulation i386pep. 312*75fd0b74Schristos * Makefile.am: Add new target files for target-all. 313*75fd0b74Schristos * Makefile.in: Regenerate. 314*75fd0b74Schristos * pe-dll.c: Adjust to be inheritable by pep_dll.c as include. 315*75fd0b74Schristos Fix memory out of bounds excess for idata relocation section data. 316*75fd0b74Schristos * pep-dll.c: Add target specific shared object handling. 317*75fd0b74Schristos * pep-dll.h: Add target specific definitions for shared object handling. 318*75fd0b74Schristos * emulparams/i386pep.sh: Add new emulation params for target x86_64 coff. 319*75fd0b74Schristos * emultempl/pep.em: Add new emulation file for target x86_64 coff. 320*75fd0b74Schristos * po/POTFILES.in: Regenerate. 321*75fd0b74Schristos * scripttempl/pep.sc: Add linker script template for target x86_64 coff. 322*75fd0b74Schristos * NEWS: Mention new target. 323*75fd0b74Schristos 324*75fd0b74Schristos2006-09-18 Thiemo Seufer <ths@networkno.de> 325*75fd0b74Schristos 326*75fd0b74Schristos * configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf* 327*75fd0b74Schristos configurations. 328*75fd0b74Schristos 329*75fd0b74Schristos2006-09-17 Mei Ligang <ligang@sunnorth.com.cn> 330*75fd0b74Schristos 331*75fd0b74Schristos * emulparams/scoreelf.sh: New file. 332*75fd0b74Schristos * emultempl/scoreelf.em: New file. 333*75fd0b74Schristos * Makefile.am: Add Score files. 334*75fd0b74Schristos * Makefile.in: Regenerate. 335*75fd0b74Schristos * configure.tgt: Add Score target. 336*75fd0b74Schristos * NEWS: Mention new target support. 337*75fd0b74Schristos 338*75fd0b74Schristos2006-09-16 Nick Clifton <nickc@redhat.com> 339*75fd0b74Schristos Pedro Alves <pedro_alves@portugalmail.pt> 340*75fd0b74Schristos 341*75fd0b74Schristos * ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ 342*75fd0b74Schristos macros defined in bfd.h. 343*75fd0b74Schristos * ldmain.c: Likewise. 344*75fd0b74Schristos * ldwrite.c: Likewise. 345*75fd0b74Schristos * lexsup.c: Likewise. 346*75fd0b74Schristos * pe-dll.c: Likewise. 347*75fd0b74Schristos * emultempl/aix.em: Likewise. 348*75fd0b74Schristos * emultempl/beos.em: Likewise. 349*75fd0b74Schristos * emultempl/elf32.em: Likewise. 350*75fd0b74Schristos * emultempl/pe.em: Likewise. 351*75fd0b74Schristos * emultempl/sunos.em: Likewise. 352*75fd0b74Schristos * emultempl/xtensaelf.em: Likewise. 353*75fd0b74Schristos 354*75fd0b74Schristos2006-09-15 Nick Clifton <nickc@redhat.com> 355*75fd0b74Schristos 356*75fd0b74Schristos PR ld/3107 357*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Do not abort when encountering 358*75fd0b74Schristos a non-empty section that is ignored. Instead produce a warning 359*75fd0b74Schristos message. 360*75fd0b74Schristos 361*75fd0b74Schristos2006-09-08 H.J. Lu <hongjiu.lu@intel.com> 362*75fd0b74Schristos 363*75fd0b74Schristos * ld.texinfo: Document --dynamic-list-cpp-typeinfo. 364*75fd0b74Schristos 365*75fd0b74Schristos2006-09-07 H.J. Lu <hongjiu.lu@intel.com> 366*75fd0b74Schristos 367*75fd0b74Schristos * Makefile.am (CXX): Set to g++. 368*75fd0b74Schristos (CXX_FOR_TARGET): Likewise. 369*75fd0b74Schristos * Makefile.in: Regenerated. 370*75fd0b74Schristos 371*75fd0b74Schristos * NEWS: Mention --dynamic-list. 372*75fd0b74Schristos 373*75fd0b74Schristos * ld.texinfo: Document --dynamic-list. 374*75fd0b74Schristos 375*75fd0b74Schristos * ldgram.y: Support dynamic list. 376*75fd0b74Schristos 377*75fd0b74Schristos * ldlang.c (lang_process): Call lang_finalize_version_expr_head 378*75fd0b74Schristos on link_info.dynamic if needed. 379*75fd0b74Schristos (lang_append_dynamic_list): New. 380*75fd0b74Schristos (lang_append_dynamic_list_cpp_typeinfo): New. 381*75fd0b74Schristos * ldlang.h (lang_append_dynamic_list): Likewise. 382*75fd0b74Schristos * ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise. 383*75fd0b74Schristos 384*75fd0b74Schristos * ldlex.h (input_enum): Add input_dynamic_list. 385*75fd0b74Schristos * ldlex.l: Handle it. 386*75fd0b74Schristos 387*75fd0b74Schristos * ldmain.c (main): Initialize link_info.dynamic. 388*75fd0b74Schristos 389*75fd0b74Schristos * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and 390*75fd0b74Schristos OPTION_DYNAMIC_LIST_CPP_TYPEINFO. 391*75fd0b74Schristos (ld_options): Add entries for OPTION_DYNAMIC_LIST and 392*75fd0b74Schristos OPTION_DYNAMIC_LIST_CPP_TYPEINFO. 393*75fd0b74Schristos (parse_args): Handle OPTION_DYNAMIC_LIST and 394*75fd0b74Schristos OPTION_DYNAMIC_LIST_CPP_TYPEINFO. 395*75fd0b74Schristos 396*75fd0b74Schristos2006-09-07 Joel Sherrill <joel.sherrill@oarcorp.com> 397*75fd0b74Schristos 398*75fd0b74Schristos * emulparams/h8300elf.sh: _tinydata should not be placed in 399*75fd0b74Schristos relocatables. 400*75fd0b74Schristos * emulparams/h8300.sh: Likewise. 401*75fd0b74Schristos * emulparams/h8300sxelf.sh: Likewise. 402*75fd0b74Schristos 403*75fd0b74Schristos2006-09-05 H.J. Lu <hongjiu.lu@intel.com> 404*75fd0b74Schristos 405*75fd0b74Schristos PR ld/3015 406*75fd0b74Schristos * emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE 407*75fd0b74Schristos is defined. 408*75fd0b74Schristos 409*75fd0b74Schristos2006-08-29 Nathan Sidwell <nathan@codesourcery.com> 410*75fd0b74Schristos 411*75fd0b74Schristos * ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match. 412*75fd0b74Schristos 413*75fd0b74Schristos2006-08-28 Alan Modra <amodra@bigpond.net.au> 414*75fd0b74Schristos 415*75fd0b74Schristos * scripttempl/elf.sc: Ensure that crtbegin and crtend entries will 416*75fd0b74Schristos not match random object files in a path containing "crtbegin" or 417*75fd0b74Schristos "crtend" as part of a directory name. 418*75fd0b74Schristos * scripttempl/armbpabi.sc: Likewise. 419*75fd0b74Schristos * scripttempl/crisaout.sc: Likewise. 420*75fd0b74Schristos * scripttempl/elf32crx.sc: Likewise. 421*75fd0b74Schristos * scripttempl/elf32sh-symbian.sc: Likewise. 422*75fd0b74Schristos * scripttempl/elf_chaos.sc: Likewise. 423*75fd0b74Schristos * scripttempl/elfd10v.sc: Likewise. 424*75fd0b74Schristos * scripttempl/elfd30v.sc: Likewise. 425*75fd0b74Schristos * scripttempl/elfxtensa.sc: Likewise. 426*75fd0b74Schristos * scripttempl/iq2000.sc: Likewise. 427*75fd0b74Schristos * scripttempl/mmo.sc: Likewise. 428*75fd0b74Schristos * scripttempl/xstormy16.sc: Likewise. 429*75fd0b74Schristos 430*75fd0b74Schristos2006-08-24 Bob Wilson <bob.wilson@acm.org> 431*75fd0b74Schristos 432*75fd0b74Schristos * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. 433*75fd0b74Schristos * scripttempl/elfxtensa.sc (.text): Add .literal.*. 434*75fd0b74Schristos 435*75fd0b74Schristos2006-08-24 Pedro Alves <pedro_alves@portugalmail.pt> 436*75fd0b74Schristos 437*75fd0b74Schristos * ldlang.c (lang_size_sections_1, lang_assignment_statement_enum): 438*75fd0b74Schristos Adjust the current address of DEFAULT_MEMORY_REGION even 439*75fd0b74Schristos when dot hasn't changed. 440*75fd0b74Schristos 441*75fd0b74Schristos2006-08-23 Alan Modra <amodra@bigpond.net.au> 442*75fd0b74Schristos 443*75fd0b74Schristos * ldexp.c (fold_name <LOADADDR>): Return an absolute value 444*75fd0b74Schristos rather than a section relative value. 445*75fd0b74Schristos 446*75fd0b74Schristos2006-08-22 Alan Modra <amodra@bigpond.net.au> 447*75fd0b74Schristos 448*75fd0b74Schristos * NEWS: Mention LMA default change. 449*75fd0b74Schristos * ld.texinfo (Output Section LMA): Update default description. 450*75fd0b74Schristos (Location Counter): Clarify backward movement. 451*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Leave non-alloc sections with 452*75fd0b74Schristos default lma equal to vma. Warn on backward movement of dot. 453*75fd0b74Schristos 454*75fd0b74Schristos2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> 455*75fd0b74Schristos 456*75fd0b74Schristos * configure.tgt: Set targ_emul to arm_wince_pe for ARM 457*75fd0b74Schristos Windows CE targets. 458*75fd0b74Schristos 459*75fd0b74Schristos2006-08-22 Pedro Alves <pedro_alves@portugalmail.pt> 460*75fd0b74Schristos 461*75fd0b74Schristos * Makefile.am: Split arm-wince into its own emulation. 462*75fd0b74Schristos * Makefile.in: Regenerate. 463*75fd0b74Schristos * pe-dll.c : Define PE_ARCH_arm_wince. 464*75fd0b74Schristos (pe_detail_list): Add PE_ARCH_arm_wince case. 465*75fd0b74Schristos (make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases. 466*75fd0b74Schristos * emulparams/arm_wince_pe.sh: New file. 467*75fd0b74Schristos * emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define. 468*75fd0b74Schristos Remap bfd_arm_allocate_interworking_sections, 469*75fd0b74Schristos bfd_arm_get_bfd_for_interworking and 470*75fd0b74Schristos bfd_arm_process_before_allocation for arm-pe and arm-wince-pe 471*75fd0b74Schristos targets too. 472*75fd0b74Schristos (gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and 473*75fd0b74Schristos arm-epoc bfd format names. 474*75fd0b74Schristos 475*75fd0b74Schristos2006-08-18 Paul Brook <paul@codesourcery.com> 476*75fd0b74Schristos 477*75fd0b74Schristos * emultempl/armelf.em (arm_elf_before_allocation): Call 478*75fd0b74Schristos gld${EMULATION_NAME}_before_allocation after setting interworking bfd. 479*75fd0b74Schristos 480*75fd0b74Schristos2006-08-17 Pedro Alves <pedro_alves@portugalmail.pt> 481*75fd0b74Schristos 482*75fd0b74Schristos * pe-dll.c (autofilter_symbolprefixlist): Remove .idata$. 483*75fd0b74Schristos (generate_reloc): Revert to skipping sections without a SEC_LOAD flag, 484*75fd0b74Schristos and to not skipping .idata* sections. 485*75fd0b74Schristos 486*75fd0b74Schristos2006-08-16 Alan Modra <amodra@bigpond.net.au> 487*75fd0b74Schristos 488*75fd0b74Schristos PR 3052 489*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Replace 490*75fd0b74Schristos "processed" field with "processed_vma" and "processed_lma". 491*75fd0b74Schristos * ldlang.c (lang_do_assignments_1): Move lma setting code.. 492*75fd0b74Schristos (lang_size_sections_1): ..to here. 493*75fd0b74Schristos (lang_reset_memory_regions): Adjust for 494*75fd0b74Schristos lang_output_section_statement_type change. 495*75fd0b74Schristos * ldexp.c (fold_name): Likewise. 496*75fd0b74Schristos 497*75fd0b74Schristos2006-08-08 Peter S. Mazinger <ps.m@gmx.net> 498*75fd0b74Schristos 499*75fd0b74Schristos * emulparams/armelf.sh (MAXPAGESIZE): Changed to 500*75fd0b74Schristos "CONSTANT (MAXPAGESIZE)". 501*75fd0b74Schristos 502*75fd0b74Schristos2006-08-08 H.J. Lu <hongjiu.lu@intel.com> 503*75fd0b74Schristos 504*75fd0b74Schristos PR ld/3006 505*75fd0b74Schristos * ldlang.c (lang_section_bst_type): Moved to ... 506*75fd0b74Schristos * ldlang.h: Here. 507*75fd0b74Schristos 508*75fd0b74Schristos * ldlang.h (lang_wild_statement_struct): Add a tree field. 509*75fd0b74Schristos 510*75fd0b74Schristos * ldlang.c (wild_sort_fast): Use the tree field for BST. 511*75fd0b74Schristos (wild): Likeise. 512*75fd0b74Schristos (analyze_walk_wild_section_handler): Initialize the tree field. 513*75fd0b74Schristos 514*75fd0b74Schristos2006-08-08 H.J. Lu <hongjiu.lu@intel.com> 515*75fd0b74Schristos 516*75fd0b74Schristos PR ld/3009 517*75fd0b74Schristos * ldlang.c (update_wild_statements): Update the whole wild 518*75fd0b74Schristos section list. 519*75fd0b74Schristos 520*75fd0b74Schristos2006-08-04 Nick Clifton <nickc@redhat.com> 521*75fd0b74Schristos Mike Frysinger <michael.frysinger@analog.com> 522*75fd0b74Schristos 523*75fd0b74Schristos * scripttempl/elf.sc (USER_LABEL_PREFIX): Define. 524*75fd0b74Schristos (__preinit_array_start, __preinit_array_end, __init_array_start, 525*75fd0b74Schristos __init_array_end, __fini_array_start, __fini_array_end, edata, end): 526*75fd0b74Schristos Use ${USER_LABEL_PREFIX}. 527*75fd0b74Schristos * emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset. 528*75fd0b74Schristos (USER_LABEL_PREFIX): Set. 529*75fd0b74Schristos 530*75fd0b74Schristos2006-08-04 Marcelo Tosatti <marcelo@kvack.org> 531*75fd0b74Schristos 532*75fd0b74Schristos * ldmain.c (main): Initialise print_gc_sections field of link_info 533*75fd0b74Schristos structure. 534*75fd0b74Schristos * lexsup.c: Add --print-gc-sections and --no-print-gc-sections 535*75fd0b74Schristos switches. 536*75fd0b74Schristos * ld.texinfo: Document new switches. 537*75fd0b74Schristos * NEWS: Mention new switches. 538*75fd0b74Schristos 539*75fd0b74Schristos2006-08-04 Richard Sandiford <richard@codesourcery.com> 540*75fd0b74Schristos Kazu Hirata <kazu@codesourcery.com> 541*75fd0b74Schristos Phil Edwards <phil@codesourcery.com> 542*75fd0b74Schristos 543*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and 544*75fd0b74Schristos eshlelf_vxworks.o. 545*75fd0b74Schristos (eshelf_vxworks.c, eshlelf_vxworks.c): New rules. 546*75fd0b74Schristos * Makefile.in: Regenerate. 547*75fd0b74Schristos * configure.tgt (sh-*-vxworks): Use shelf_vxworks and 548*75fd0b74Schristos shlelf_vxworks. 549*75fd0b74Schristos * emulparams/shelf_vxworks.sh: New file. 550*75fd0b74Schristos * emulparams/shlelf_vxworks.sh: Likewise. 551*75fd0b74Schristos * emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}. 552*75fd0b74Schristos (OTHER_END_SYMBOLS): Likewise _ehdr. 553*75fd0b74Schristos (DATA_END_SYMBOLS): Likewise _edata. 554*75fd0b74Schristos * emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd 555*75fd0b74Schristos is indeed an ELF file before dealing with --force-dynamic. 556*75fd0b74Schristos 557*75fd0b74Schristos2006-08-02 Petr Salinger <Petr.Salinger@seznam.cz> 558*75fd0b74Schristos 559*75fd0b74Schristos PR binutils/2983 560*75fd0b74Schristos * emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as 561*75fd0b74Schristos elf64-x86-64-freebsd. 562*75fd0b74Schristos 563*75fd0b74Schristos2006-08-01 H.J. Lu <hongjiu.lu@intel.com> 564*75fd0b74Schristos 565*75fd0b74Schristos * ldlang.c (init_os): Add flags. Replace bfd_make_section with 566*75fd0b74Schristos bfd_make_section_with_flags. 567*75fd0b74Schristos (exp_init_os): Updated. 568*75fd0b74Schristos (lang_add_section): Call init_os with flags. 569*75fd0b74Schristos (map_input_to_output_sections): Likewise. 570*75fd0b74Schristos 571*75fd0b74Schristos2006-07-29 Richard Sandiford <richard@codesourcery.com> 572*75fd0b74Schristos 573*75fd0b74Schristos * Makefile.am (eelf32b4300.c): Update dependencies. 574*75fd0b74Schristos (eelf32bmip.c): Likewise. 575*75fd0b74Schristos (eelf32bsmip.c): Likewise. 576*75fd0b74Schristos (eelf32btsmip.c): Likewise. 577*75fd0b74Schristos (eelf32btsmipn32.c): Likewise. 578*75fd0b74Schristos (eelf32ltsmip.c): Likewise. 579*75fd0b74Schristos (eelf32ltsmipn32.c): Likewise. 580*75fd0b74Schristos (eelf32ebmip.c): Likewise. 581*75fd0b74Schristos (eelf32ebmipvxworks.c): Likewise. 582*75fd0b74Schristos (eelf32elmip.c): Likewise. 583*75fd0b74Schristos (eelf32elmipvxworks.c): Likewise. 584*75fd0b74Schristos (eelf32bmipn32.c): Likewise. 585*75fd0b74Schristos (eelf32lmip.c): Likewise. 586*75fd0b74Schristos (eelf32mipswindiss.c): Likewise. 587*75fd0b74Schristos (eelf32lsmip.c): Likewise. 588*75fd0b74Schristos (eelf64bmip.c): Likewise. 589*75fd0b74Schristos (eelf64btsmip.c): Likewise. 590*75fd0b74Schristos (eelf64ltsmip.c): Likewise. 591*75fd0b74Schristos (emipsbig.c): Likewise. Canonicalize ${GENSCRIPTS} line. 592*75fd0b74Schristos (emipsbsd.c): Likewise. 593*75fd0b74Schristos (emipsidt.c): Update dependencies. 594*75fd0b74Schristos (emipsidtl.c): Likewise. 595*75fd0b74Schristos (emipslit.c): Likewise. 596*75fd0b74Schristos (emipslnews.c): Likewise. 597*75fd0b74Schristos (emipspe.c): Likewise. Fix ${GENSCRIPTS} invocation. 598*75fd0b74Schristos * Makefile.in: Regenerate. 599*75fd0b74Schristos * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define. 600*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise. 601*75fd0b74Schristos * emultempl/irix.em: Include emultempl/mipself.em. 602*75fd0b74Schristos * emultempl/mipself.em: New file. 603*75fd0b74Schristos 604*75fd0b74Schristos2006-07-26 Alan Modra <amodra@bigpond.net.au> 605*75fd0b74Schristos 606*75fd0b74Schristos * emultempl/elf-generic.em (map_segments): Reorganise loop so that 607*75fd0b74Schristos layout happens before segment map. Don't do segment map on 608*75fd0b74Schristos relocatable link. 609*75fd0b74Schristos 610*75fd0b74Schristos2006-07-26 Alan Modra <amodra@bigpond.net.au> 611*75fd0b74Schristos 612*75fd0b74Schristos * ldexp.c (fold_name <LOADADDR>): Use the lma. 613*75fd0b74Schristos * ldlang.h (lang_memory_region_type): Delete old_length. Add 614*75fd0b74Schristos last_os. 615*75fd0b74Schristos * ldlang.c (lang_memory_region_lookup): Init new field. 616*75fd0b74Schristos (lang_reset_memory_regions): Reset new field. 617*75fd0b74Schristos (lang_insert_orphan): Don't set load_base. 618*75fd0b74Schristos (lang_leave_overlay): Likewise. 619*75fd0b74Schristos (lang_size_sections_1): Delete unnecessary code setting lma_region 620*75fd0b74Schristos to region. Correct lma region check. 621*75fd0b74Schristos (lang_do_assignments_1): Rename output_section_statement parm 622*75fd0b74Schristos to current_os. Set lma from previous section in region. 623*75fd0b74Schristos 624*75fd0b74Schristos * ldlang.c: Formatting. 625*75fd0b74Schristos 626*75fd0b74Schristos2006-07-25 Bob Wilson <bob.wilson@acm.org> 627*75fd0b74Schristos 628*75fd0b74Schristos * emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections): 629*75fd0b74Schristos Set discarded section's output_section to bfd_abs_section_ptr. 630*75fd0b74Schristos 631*75fd0b74Schristos2006-07-26 Alan Modra <amodra@bigpond.net.au> 632*75fd0b74Schristos 633*75fd0b74Schristos * ldlang.c (analyze_walk_wild_section_handler): Init handler_data 634*75fd0b74Schristos earlier. 635*75fd0b74Schristos 636*75fd0b74Schristos2006-07-24 Bob Wilson <bob.wilson@acm.org> 637*75fd0b74Schristos 638*75fd0b74Schristos * emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space 639*75fd0b74Schristos in dep_sec_name for null terminator. Make sure dep_sec_name has a 640*75fd0b74Schristos ".t" linkonce tag. 641*75fd0b74Schristos 642*75fd0b74Schristos2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> 643*75fd0b74Schristos 644*75fd0b74Schristos * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): 645*75fd0b74Schristos Set for *-*-solaris2*. 646*75fd0b74Schristos 647*75fd0b74Schristos2006-07-24 Ralk Wildenhues <Ralf.Wildenhues@gmx.de> 648*75fd0b74Schristos 649*75fd0b74Schristos * ld.texinfo: Fix spelling mistakes. 650*75fd0b74Schristos * ldint.texinfo: Likewise. 651*75fd0b74Schristos 652*75fd0b74Schristos2006-07-23 Sonal Santan <sonal.santan@xilinx.com> 653*75fd0b74Schristos 654*75fd0b74Schristos * ldlang.c (lang_section_bst): New structure for sorting sections 655*75fd0b74Schristos by name. 656*75fd0b74Schristos (wild_sort_fast): New function: Insert a section into a binary 657*75fd0b74Schristos search tree. 658*75fd0b74Schristos (output_section_callback_fast): New function: Store a section in 659*75fd0b74Schristos BST. 660*75fd0b74Schristos (output_section_callback_tree_to_list): New function: Convert a 661*75fd0b74Schristos BST into a list. 662*75fd0b74Schristos (analyze_walk_wild_section_handler): Initialize handler_data 663*75fd0b74Schristos elements. 664*75fd0b74Schristos (wild): If the data is sorted by name use the BST method to sort 665*75fd0b74Schristos the names. 666*75fd0b74Schristos 667*75fd0b74Schristos2006-07-19 Alan Modra <amodra@bigpond.net.au> 668*75fd0b74Schristos 669*75fd0b74Schristos * ld.h (handle_asneeded_cref): Declare. 670*75fd0b74Schristos * ldcref.c: Include objalloc.h. 671*75fd0b74Schristos (old_table, old_count, old_tab, alloc_mark): New variables. 672*75fd0b74Schristos (tabsize, entsize, refsize, old_symcount): Likewise. 673*75fd0b74Schristos (add_cref): Use bfd_hash_allocate for refs. 674*75fd0b74Schristos (handle_asneeded_cref): New function. 675*75fd0b74Schristos * ldmain.c (notice): Call handle_asneeded_cref for NULL name. 676*75fd0b74Schristos 677*75fd0b74Schristos2006-07-14 Michael Wetherell <mike.wetherell@ntlworld.com> 678*75fd0b74Schristos 679*75fd0b74Schristos * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct 680*75fd0b74Schristos typo setting targ_extra_libpath. 681*75fd0b74Schristos 682*75fd0b74Schristos2006-07-10 Jakub Jelinek <jakub@redhat.com> 683*75fd0b74Schristos 684*75fd0b74Schristos * scripttempl/elf.sc: Add .gnu.hash section. 685*75fd0b74Schristos * emultempl/elf32.em (OPTION_HASH_STYLE): Define. 686*75fd0b74Schristos (gld${EMULATION_NAME}_add_options): Register --hash-style option. 687*75fd0b74Schristos (gld${EMULATION_NAME}_handle_option): Handle it. 688*75fd0b74Schristos (gld${EMULATION_NAME}_list_options): Document it. 689*75fd0b74Schristos * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. 690*75fd0b74Schristos * ld.texinfo: Document --hash-style option. 691*75fd0b74Schristos 692*75fd0b74Schristos2006-07-10 Nick Clifton <nickc@redhat.com> 693*75fd0b74Schristos 694*75fd0b74Schristos * po/zh_TW.po: New Chinese (traditional) translation. 695*75fd0b74Schristos * configure.in (ALL_LINGUAS): Add zh_TW. 696*75fd0b74Schristos * configure: Regenerate. 697*75fd0b74Schristos 698*75fd0b74Schristos2006-07-07 Nick Clifton <nickc@redhat.com> 699*75fd0b74Schristos 700*75fd0b74Schristos PR ld/2874 701*75fd0b74Schristos * ld.texinfo: Remove "Using LD" from the title since it is 702*75fd0b74Schristos redundant. 703*75fd0b74Schristos 704*75fd0b74Schristos2006-07-06 Mohammed Adnène Trojette <adn@diwi.org> 705*75fd0b74Schristos 706*75fd0b74Schristos PR ld/2877 707*75fd0b74Schristos * ld.texinfo: Fix spelling mistakes. 708*75fd0b74Schristos 709*75fd0b74Schristos2006-06-27 Pedro Alves <pedro_alves@portugalmail.pt> 710*75fd0b74Schristos Nick Clifton <nickc@redhat.com> 711*75fd0b74Schristos 712*75fd0b74Schristos * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum 713*75fd0b74Schristos length of format strings in the libname_fmt[] array, rather than 714*75fd0b74Schristos relying upon a statically chosen value. Adjust xmalloc call to 715*75fd0b74Schristos use this longest length. 716*75fd0b74Schristos 717*75fd0b74Schristos2006-06-27 Nick Clifton <nickc@redhat.com> 718*75fd0b74Schristos 719*75fd0b74Schristos * ld.texinfo (-rpath-link): Clarify distinction between -rpath and 720*75fd0b74Schristos -rpath-link. 721*75fd0b74Schristos 722*75fd0b74Schristos2006-06-23 Daniel Jacobowitz <dan@codesourcery.com> 723*75fd0b74Schristos 724*75fd0b74Schristos * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set 725*75fd0b74Schristos targ_extra_libpath. 726*75fd0b74Schristos 727*75fd0b74Schristos2006-06-23 Pedro Alves <pedro_alves@portugalmail.pt> 728*75fd0b74Schristos 729*75fd0b74Schristos * pe-dll.c (pe_details_type): Add new pointer for symbols list 730*75fd0b74Schristos autofilter. 731*75fd0b74Schristos (autofilter_symbollist): Split into autofilter_symbollist_generic 732*75fd0b74Schristos and autofilter_symbollist_i386. 733*75fd0b74Schristos (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and 734*75fd0b74Schristos autofilter_symbollist_generic for all the others. 735*75fd0b74Schristos (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll, 736*75fd0b74Schristos cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ, 737*75fd0b74Schristos into autofilter_symbollist_i386. 738*75fd0b74Schristos (auto_export): Get autofilter_symbollist from pe_details. 739*75fd0b74Schristos 740*75fd0b74Schristos2006-06-22 Nick Clifton <nickc@redhat.com> 741*75fd0b74Schristos 742*75fd0b74Schristos PR ld/2757 743*75fd0b74Schristos * emultempl/pe.em (gld_$_after_open): When reporting non PE format 744*75fd0b74Schristos output files mention the file name and the fact that it is an 745*75fd0b74Schristos output file. 746*75fd0b74Schristos 747*75fd0b74Schristos2006-06-22 Danny Smith <dannysmith@users.sourceforge.net> 748*75fd0b74Schristos 749*75fd0b74Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): 750*75fd0b74Schristos Restructure. Add native "%s.lib" format to search list 751*75fd0b74Schristos * ld.texinfo (node WIN32): Update documentation on dynamic lib 752*75fd0b74Schristos search order. Add another reason for using import libs. 753*75fd0b74Schristos 754*75fd0b74Schristos2006-06-21 Mark Shinwell <shinwell@codesourcery.com> 755*75fd0b74Schristos 756*75fd0b74Schristos * ldlang.c (lang_insert_orphan): Correctly handle the case where 757*75fd0b74Schristos the section is to end up after the section currently at the end 758*75fd0b74Schristos of the list in output_bfd. 759*75fd0b74Schristos 760*75fd0b74Schristos2006-06-21 Hans-Peter Nilsson <hp@bitrange.com> 761*75fd0b74Schristos 762*75fd0b74Schristos * emultempl/mmo.em: Improve comments. Explain why there's 763*75fd0b74Schristos ELF-stuff here. 764*75fd0b74Schristos 765*75fd0b74Schristos2006-06-21 Alan Modra <amodra@bigpond.net.au> 766*75fd0b74Schristos 767*75fd0b74Schristos * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit 768*75fd0b74Schristos loop to ten iterations. Throw away any previous linker generated 769*75fd0b74Schristos segment map. 770*75fd0b74Schristos * ldlang.c (lang_phdr_list): Make global. 771*75fd0b74Schristos * ldlang.h (lang_phdr_list): Declare. 772*75fd0b74Schristos * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps. 773*75fd0b74Schristos * Makefile.in: Regenerate. 774*75fd0b74Schristos 775*75fd0b74Schristos2006-06-20 Alan Modra <amodra@bigpond.net.au> 776*75fd0b74Schristos 777*75fd0b74Schristos * Makefile.am (ELF_DEPS): Define. Use in emul file deps. Fix 778*75fd0b74Schristos many ELF emul file deps that incorrectly said they needed elf32.em 779*75fd0b74Schristos instead of generic.em. Add genelf.em as required. 780*75fd0b74Schristos * Makefile.in: Regenerate. 781*75fd0b74Schristos * ldlang.c (lang_process): Call ldemul_finish before 782*75fd0b74Schristos lang_check_section_addresses. 783*75fd0b74Schristos * emulparams/arcelf.sh: Generic elf target needs genelf. 784*75fd0b74Schristos * emulparams/d30v_e.sh: Likewise. 785*75fd0b74Schristos * emulparams/d30v_o.sh: Likewise. 786*75fd0b74Schristos * emulparams/d30velf.sh: Likewise. 787*75fd0b74Schristos * emulparams/elf32_dlx.sh: Likewise. 788*75fd0b74Schristos * emulparams/elf32_i860.sh: Likewise. 789*75fd0b74Schristos * emulparams/elf32fr30.sh: Likewise. 790*75fd0b74Schristos * emulparams/elf32frv.sh: Likewise. 791*75fd0b74Schristos * emulparams/elf32iq10.sh: Likewise. 792*75fd0b74Schristos * emulparams/elf32iq2000.sh: Likewise. 793*75fd0b74Schristos * emulparams/elf32mt.sh: Likewise. 794*75fd0b74Schristos * emulparams/mn10200.sh: Likewise. 795*75fd0b74Schristos * emulparams/or32.sh: Likewise. 796*75fd0b74Schristos * emulparams/or32elf.sh: Likewise. 797*75fd0b74Schristos * emulparams/pjelf.sh: Likewise. 798*75fd0b74Schristos * emulparams/msp430all.sh: Likewise. Extract common entries. 799*75fd0b74Schristos * emulparams/pjlelf.sh: Include pjelf.sh. 800*75fd0b74Schristos * emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset. 801*75fd0b74Schristos * emulparams/mn10300.sh (EXTRA_EM_FILE): Unset. 802*75fd0b74Schristos * emultempl/elf-generic.em: New file. 803*75fd0b74Schristos * emultempl/genelf.em: New file. 804*75fd0b74Schristos * emultempl/elf32.em: Include elf-generic.em. 805*75fd0b74Schristos (gld${EMULATION_NAME}_layout_sections_again): Delete. 806*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments. 807*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 808*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Rename from hppaelf_finish. Call 809*75fd0b74Schristos gld${EMULATION_NAME}_map_segments. 810*75fd0b74Schristos (LDEMUL_FINISH): Update. 811*75fd0b74Schristos * emultempl/mmo.em: Correct comment. Include elf-bfd.h and 812*75fd0b74Schristos source elf-generic.em. 813*75fd0b74Schristos (mmo_finish): Call gld${EMULATION_NAME}_map_segments. 814*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise. 815*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Rename from ppc_finish. Call 816*75fd0b74Schristos gld${EMULATION_NAME}_map_segments. 817*75fd0b74Schristos (LDEMUL_FINISH): Update. 818*75fd0b74Schristos 819*75fd0b74Schristos2006-06-19 Alan Modra <amodra@bigpond.net.au> 820*75fd0b74Schristos 821*75fd0b74Schristos * ldexp.c (fold_name): Adjust bfd_sizeof_headers call. 822*75fd0b74Schristos 823*75fd0b74Schristos2006-06-14 Kevin F. Quinn <kevquinn@gentoo.org> 824*75fd0b74Schristos 825*75fd0b74Schristos * ld.texinfo: Document new -z lazy option. 826*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle 827*75fd0b74Schristos new option. 828*75fd0b74Schristos (gld${EMULATION_NAME}_list_options): Update help text. 829*75fd0b74Schristos 830*75fd0b74Schristos2006-06-12 Fred Fish <fnf@specifix.com> 831*75fd0b74Schristos 832*75fd0b74Schristos * emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the 833*75fd0b74Schristos ".mdebug.<abi>" and ".gcc_compiled_long<size>" sections 834*75fd0b74Schristos generated by mips gcc. 835*75fd0b74Schristos 836*75fd0b74Schristos2006-06-12 Thiemo Seufer <ths@mips.com> 837*75fd0b74Schristos 838*75fd0b74Schristos * emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE): 839*75fd0b74Schristos Define. 840*75fd0b74Schristos 841*75fd0b74Schristos2006-06-09 Alan Modra <amodra@bigpond.net.au> 842*75fd0b74Schristos 843*75fd0b74Schristos * ldlang.h (lang_input_statement_type): Use bitfields for booleans. 844*75fd0b74Schristos * ldlang.c (struct out_section_hash_entry): Rename from 845*75fd0b74Schristos output_statement_hash_entry. Delete output_section_statement_type 846*75fd0b74Schristos entry. Add statement_union_type entry. Adjust all users. 847*75fd0b74Schristos (output_section_statement_table): Rename from output_statement_table. 848*75fd0b74Schristos Adjust all users. 849*75fd0b74Schristos (output_section_statement_newfunc): Rename from 850*75fd0b74Schristos output_statement_newfunc. Adjust all users. 851*75fd0b74Schristos (output_section_statement_table_init): Rename from 852*75fd0b74Schristos output_statement_table_init. Adjust all users. 853*75fd0b74Schristos (output_section_statement_table_free): Rename from 854*75fd0b74Schristos output_statement_table_free. Adjust all users. 855*75fd0b74Schristos 856*75fd0b74Schristos2006-06-07 Joseph S. Myers <joseph@codesourcery.com> 857*75fd0b74Schristos 858*75fd0b74Schristos * po/Make-in (pdf, ps): New dummy targets. 859*75fd0b74Schristos 860*75fd0b74Schristos2006-06-07 Alan Modra <amodra@bigpond.net.au> 861*75fd0b74Schristos 862*75fd0b74Schristos * ldlang.h (enum section_type): Delete dsect_section, copy_section, 863*75fd0b74Schristos info_section and overlay_section. Add noalloc_section. 864*75fd0b74Schristos * ldlang.c (lang_add_section): Adjust. 865*75fd0b74Schristos * ldgram.y (type): Adjust. 866*75fd0b74Schristos 867*75fd0b74Schristos2006-06-06 Alan Modra <amodra@bigpond.net.au> 868*75fd0b74Schristos 869*75fd0b74Schristos * ldlang.c (init_os): Whitespace. 870*75fd0b74Schristos (map_input_to_output_sections): Don't init_os for lang_input_section. 871*75fd0b74Schristos (print_all_symbols): Remove forward declaration. Convert to ISO C. 872*75fd0b74Schristos 873*75fd0b74Schristos2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> 874*75fd0b74Schristos 875*75fd0b74Schristos * po/Make-in (top_builddir): Define. 876*75fd0b74Schristos 877*75fd0b74Schristos2006-06-05 Alan Modra <amodra@bigpond.net.au> 878*75fd0b74Schristos 879*75fd0b74Schristos * ldexp.c (exp_get_abs_int): Make error message the same as 880*75fd0b74Schristos others emitted in this file. 881*75fd0b74Schristos 882*75fd0b74Schristos2006-06-05 Alan Modra <amodra@bigpond.net.au> 883*75fd0b74Schristos 884*75fd0b74Schristos * config.in: Regenerate. 885*75fd0b74Schristos 886*75fd0b74Schristos2006-06-05 Alan Modra <amodra@bigpond.net.au> 887*75fd0b74Schristos 888*75fd0b74Schristos * ldlang.c (lookup_name): Delete dead code. Remove FIXMEs. 889*75fd0b74Schristos 890*75fd0b74Schristos2006-06-03 Alan Modra <amodra@bigpond.net.au> 891*75fd0b74Schristos 892*75fd0b74Schristos * emultempl/elf32.em (global_found): Make it a pointer. 893*75fd0b74Schristos (stat_needed, try_needed): Adjust. 894*75fd0b74Schristos (check_needed): Don't skip non-loaded as-needed entries. Only 895*75fd0b74Schristos consider entries with both filename and the_bfd non-null. 896*75fd0b74Schristos (after_open): Try loading non-loaded as-needed libs to satisfy 897*75fd0b74Schristos DT_NEEDED libs. 898*75fd0b74Schristos 899*75fd0b74Schristos2006-06-02 Joseph S. Myers <joseph@codesourcery.com> 900*75fd0b74Schristos 901*75fd0b74Schristos * Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty. 902*75fd0b74Schristos * Makefile.in: Regenerate. 903*75fd0b74Schristos 904*75fd0b74Schristos2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> 905*75fd0b74Schristos 906*75fd0b74Schristos * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL 907*75fd0b74Schristos and LIBINTL_DEP everywhere. 908*75fd0b74Schristos (INTLLIBS): Remove. 909*75fd0b74Schristos (INCLUDES): Use @INCINTL@. 910*75fd0b74Schristos * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS. 911*75fd0b74Schristos Remove local code for po/Makefile. 912*75fd0b74Schristos * Makefile.in, configure: Regenerated. 913*75fd0b74Schristos 914*75fd0b74Schristos2006-05-30 H.J. Lu <hongjiu.lu@intel.com> 915*75fd0b74Schristos 916*75fd0b74Schristos * emulparams/arcelf.sh (MAXPAGESIZE): Changed to 917*75fd0b74Schristos "CONSTANT (MAXPAGESIZE)". 918*75fd0b74Schristos * emulparams/armelf_nbsd.sh: Likewise. 919*75fd0b74Schristos * emulparams/armelf_vxworks.sh: Likewise. 920*75fd0b74Schristos * emulparams/armnto.sh: Likewise. 921*75fd0b74Schristos * emulparams/armsymbian.sh: Likewise. 922*75fd0b74Schristos * emulparams/crislinux.sh: Likewise. 923*75fd0b74Schristos * emulparams/elf32_i860.sh: Likewise. 924*75fd0b74Schristos * emulparams/elf32_i960.sh: Likewise. 925*75fd0b74Schristos * emulparams/elf32am33lin.sh: Likewise. 926*75fd0b74Schristos * emulparams/elf32bfinfd.sh: Likewise. 927*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh: Likewise. 928*75fd0b74Schristos * emulparams/elf32frvfd.sh: Likewise. 929*75fd0b74Schristos * emulparams/elf32i370.sh: Likewise. 930*75fd0b74Schristos * emulparams/elf32lppcnto.sh: Likewise. 931*75fd0b74Schristos * emulparams/elf32mcore.sh: Likewise. 932*75fd0b74Schristos * emulparams/elf32openrisc.sh: Likewise. 933*75fd0b74Schristos * emulparams/elf32ppcnto.sh: Likewise. 934*75fd0b74Schristos * emulparams/elf32ppcwindiss.sh: Likewise. 935*75fd0b74Schristos * emulparams/elf32vax.sh: Likewise. 936*75fd0b74Schristos * emulparams/elf32xc16x.sh: Likewise. 937*75fd0b74Schristos * emulparams/elf32xc16xl.sh: Likewise. 938*75fd0b74Schristos * emulparams/elf32xc16xs.sh: Likewise. 939*75fd0b74Schristos * emulparams/elf64_aix.sh: Likewise. 940*75fd0b74Schristos * emulparams/elf64hppa.sh: Likewise. 941*75fd0b74Schristos * emulparams/elf64mmix.sh: Likewise. 942*75fd0b74Schristos * emulparams/elf_i386_be.sh: Likewise. 943*75fd0b74Schristos * emulparams/elf_i386_chaos.sh: Likewise. 944*75fd0b74Schristos * emulparams/elf_i386_ldso.sh: Likewise. 945*75fd0b74Schristos * emulparams/hppa64linux.sh: Likewise. 946*75fd0b74Schristos * emulparams/hppalinux.sh: Likewise. 947*75fd0b74Schristos * emulparams/hppaobsd.sh: Likewise. 948*75fd0b74Schristos * emulparams/i386lynx.sh: Likewise. 949*75fd0b74Schristos * emulparams/i386moss.sh: Likewise. 950*75fd0b74Schristos * emulparams/i386nto.sh: Likewise. 951*75fd0b74Schristos * emulparams/i386nw.sh: Likewise. 952*75fd0b74Schristos * emulparams/m32relf_linux.sh: Likewise. 953*75fd0b74Schristos * emulparams/m68kpsos.sh: Likewise. 954*75fd0b74Schristos * emulparams/or32elf.sh: Likewise. 955*75fd0b74Schristos * emulparams/pjelf.sh: Likewise. 956*75fd0b74Schristos * emulparams/pjlelf.sh: Likewise. 957*75fd0b74Schristos * emulparams/ppclynx.sh: Likewise. 958*75fd0b74Schristos * emulparams/ppcnw.sh: Likewise. 959*75fd0b74Schristos * emulparams/shelf32_nbsd.sh : Likewise. 960*75fd0b74Schristos * emulparams/shelf_nbsd.sh: Likewise. 961*75fd0b74Schristos * emulparams/shelf_nto.sh: Likewise. 962*75fd0b74Schristos * emulparams/shlelf_nto.sh: Likewise. 963*75fd0b74Schristos * emulparams/xtensa-config.sh: Likewise. 964*75fd0b74Schristos 965*75fd0b74Schristos * emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to 966*75fd0b74Schristos "CONSTANT (MAXPAGESIZE)". 967*75fd0b74Schristos (COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)". 968*75fd0b74Schristos * emulparams/elf32_sparc.sh: Likewise. 969*75fd0b74Schristos * emulparams/elf32bmip.sh: Likewise. 970*75fd0b74Schristos * emulparams/elf32ppccommon.sh: Likewise. 971*75fd0b74Schristos * emulparams/elf64_ia64.sh: Likewise. 972*75fd0b74Schristos * emulparams/elf64_s390.sh: Likewise. 973*75fd0b74Schristos * emulparams/elf64_sparc.sh: Likewise. 974*75fd0b74Schristos * emulparams/elf64alpha.sh: Likewise. 975*75fd0b74Schristos * emulparams/elf64ppc.sh: Likewise. 976*75fd0b74Schristos * emulparams/elf_i386.sh: Likewise. 977*75fd0b74Schristos * emulparams/elf_i386_vxworks.sh: Likewise. 978*75fd0b74Schristos * emulparams/elf_s390.sh: Likewise. 979*75fd0b74Schristos * emulparams/elf_x86_64.sh: Likewise. 980*75fd0b74Schristos * emulparams/shlelf32_linux.sh: Likewise. 981*75fd0b74Schristos * emulparams/shlelf_linux.sh: Likewise. 982*75fd0b74Schristos 983*75fd0b74Schristos * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to 984*75fd0b74Schristos "CONSTANT (COMMONPAGESIZE)". 985*75fd0b74Schristos * emulparams/elf32btsmipn32.sh: Likewise. 986*75fd0b74Schristos 987*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add 988*75fd0b74Schristos "-z max-page-size=" and "-z common-page-size=". 989*75fd0b74Schristos (gld${EMULATION_NAME}_list_options): Likewise. 990*75fd0b74Schristos 991*75fd0b74Schristos * ld.h (ld_config_type): Add maxpagesize and commonpagesize. 992*75fd0b74Schristos 993*75fd0b74Schristos * ld.texinfo: Document "-z max-page-size=" and 994*75fd0b74Schristos "-z common-page-size=". 995*75fd0b74Schristos 996*75fd0b74Schristos * ldexp.c (exp_print_token): Handle CONSTANT. 997*75fd0b74Schristos (fold_name): Likewise. 998*75fd0b74Schristos * ldgram.y: Likewise. 999*75fd0b74Schristos * ldlex.l: Likewise. 1000*75fd0b74Schristos 1001*75fd0b74Schristos * ldmain.c (main): Initiliaze config.maxpagesize and 1002*75fd0b74Schristos config.commonpagesize. Call bfd_emul_set_maxpagesize if 1003*75fd0b74Schristos config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if 1004*75fd0b74Schristos config.commonpagesize config.maxpagesize isn't 0. 1005*75fd0b74Schristos 1006*75fd0b74Schristos2006-05-30 Nick Clifton <nickc@redhat.com> 1007*75fd0b74Schristos 1008*75fd0b74Schristos * po/es.po: Updated Spanish translation. 1009*75fd0b74Schristos 1010*75fd0b74Schristos2006-05-25 H.J. Lu <hongjiu.lu@intel.com> 1011*75fd0b74Schristos 1012*75fd0b74Schristos * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000. 1013*75fd0b74Schristos 1014*75fd0b74Schristos2006-05-24 H.J. Lu <hongjiu.lu@intel.com> 1015*75fd0b74Schristos 1016*75fd0b74Schristos PR ld/1485 1017*75fd0b74Schristos * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit 1018*75fd0b74Schristos bfd. Support 64bit host for --enable-targets=all. 1019*75fd0b74Schristos * configure: Regenerated. 1020*75fd0b74Schristos 1021*75fd0b74Schristos2006-05-24 Nick Clifton <nickc@redhat.com> 1022*75fd0b74Schristos 1023*75fd0b74Schristos * po/vi.po: Updated Vietnamese translation. 1024*75fd0b74Schristos 1025*75fd0b74Schristos2006-05-24 Bjoern Haase <bjoern.m.haase@web.de> 1026*75fd0b74Schristos 1027*75fd0b74Schristos * configure.tgt: Add avr6 to emulation list. 1028*75fd0b74Schristos * Makefile.am: Add eavr6.o and corresponding rule. 1029*75fd0b74Schristos * Makefile.in: Regenerate. 1030*75fd0b74Schristos * emulparams/avr6.sh: New file. 1031*75fd0b74Schristos * emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic 1032*75fd0b74Schristos for target option support. 1033*75fd0b74Schristos (EXTRA_EM_FILE): Add reference to new em template file avrelf. 1034*75fd0b74Schristos * scripttempl/avr.sc: Add ".trampolines" section. 1035*75fd0b74Schristos * emultempl/avrelf.em: Add new file for target specific options. 1036*75fd0b74Schristos 1037*75fd0b74Schristos2006-05-22 Nick Clifton <nickc@redhat.com> 1038*75fd0b74Schristos 1039*75fd0b74Schristos * scripttempl/elf32crx.sc (.rdata): Add .rodata.*. 1040*75fd0b74Schristos 1041*75fd0b74Schristos2006-05-19 Alan Modra <amodra@bigpond.net.au> 1042*75fd0b74Schristos 1043*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Don't check mem regions for 1044*75fd0b74Schristos os->ignored sections. 1045*75fd0b74Schristos 1046*75fd0b74Schristos2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> 1047*75fd0b74Schristos 1048*75fd0b74Schristos * ldlang.c (lang_size_sections): Call lang_reset_memory_regions 1049*75fd0b74Schristos before redoing one_lang_size_sections_pass. 1050*75fd0b74Schristos 1051*75fd0b74Schristos2006-05-11 Carlos O'Donell <carlos@codesourcery.com> 1052*75fd0b74Schristos 1053*75fd0b74Schristos * ld.texinfo: Rename "Index" to "LD Index" 1054*75fd0b74Schristos 1055*75fd0b74Schristos2006-05-11 Pedro Alves <pedro_alves@portugalmail.pt> 1056*75fd0b74Schristos 1057*75fd0b74Schristos * pe-dll.c (autofilter_symbollist): Add Dllmain, 1058*75fd0b74Schristos DllMainCRTStartup, _DllMainCRTStartup and .text. 1059*75fd0b74Schristos (autofilter_liblist): Add libcegcc. 1060*75fd0b74Schristos (autofilter_symbolprefixlist): Add __imp_ and .idata$. 1061*75fd0b74Schristos (generate_reloc): Do not skip sections without a SEC_LOAD flag, 1062*75fd0b74Schristos they can still contain relocs that need processing. 1063*75fd0b74Schristos Skip the .idata$6 section. 1064*75fd0b74Schristos (jmp_arm_bytes): New array: Contains byte codes for an ARM jump. 1065*75fd0b74Schristos (make_one): Use the new array. 1066*75fd0b74Schristos (make_import_fixup_entry): Use .idata$2 instead of .idata$3. 1067*75fd0b74Schristos * emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe. 1068*75fd0b74Schristos 1069*75fd0b74Schristos2006-05-05 Alan Modra <amodra@bigpond.net.au> 1070*75fd0b74Schristos 1071*75fd0b74Schristos * ld.texinfo: Document PowerPC and PowerPC64 options. 1072*75fd0b74Schristos * gen-doc.texi: Enable. 1073*75fd0b74Schristos 1074*75fd0b74Schristos2006-05-02 Daniel Jacobowitz <dan@codesourcery.com> 1075*75fd0b74Schristos 1076*75fd0b74Schristos * Makefile.am (AM_MAKEINFOFLAGS): Add libiberty. 1077*75fd0b74Schristos (TEXI2POD): Use AM_MAKEINFOFLAGS. 1078*75fd0b74Schristos (configdoc.texi): Don't set top_srcdir. 1079*75fd0b74Schristos * ld.texinfo: Don't use top_srcdir. 1080*75fd0b74Schristos * aclocal.m4, Makefile.in: Regenerated. 1081*75fd0b74Schristos 1082*75fd0b74Schristos2006-04-19 Alan Modra <amodra@bigpond.net.au> 1083*75fd0b74Schristos 1084*75fd0b74Schristos * ldlang.c (wild): Tidy default_common_section loop. 1085*75fd0b74Schristos (print_input_section): Format. 1086*75fd0b74Schristos 1087*75fd0b74Schristos * configure: Regenerate. 1088*75fd0b74Schristos 1089*75fd0b74Schristos2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> 1090*75fd0b74Schristos 1091*75fd0b74Schristos * po/POTFILES.in: Regenerated. 1092*75fd0b74Schristos 1093*75fd0b74Schristos2006-04-16 Daniel Jacobowitz <dan@codesourcery.com> 1094*75fd0b74Schristos 1095*75fd0b74Schristos * config.in: Regenerated. 1096*75fd0b74Schristos 1097*75fd0b74Schristos2006-04-14 David Heine <dlheine@tensilica.com> 1098*75fd0b74Schristos Bob Wilson <bob.wilson@acm.org> 1099*75fd0b74Schristos 1100*75fd0b74Schristos * emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new 1101*75fd0b74Schristos function to strip inconsistent linkonce sections. 1102*75fd0b74Schristos (input_section_linked_worker, input_section_linked): New. 1103*75fd0b74Schristos (is_inconsistent_linkonce_section): New. 1104*75fd0b74Schristos (xtensa_strip_inconsistent_linkonce_sections): New. 1105*75fd0b74Schristos 1106*75fd0b74Schristos2006-04-11 Diego Petten� <flameeyes@gentoo.org> 1107*75fd0b74Schristos 1108*75fd0b74Schristos * emultempl/elf32.em: Add support for elf-hints.h on FreeBSD 1109*75fd0b74Schristos and Dragonfly targets. 1110*75fd0b74Schristos * configure.in (AC_CHECK_HEADERS): Add elf-hints.h. 1111*75fd0b74Schristos * Makefile.am (HFILES): Add elf-hints-local.h. 1112*75fd0b74Schristos * elf-hints-local.h: New file. 1113*75fd0b74Schristos * Makefile.in: Regenerate. 1114*75fd0b74Schristos * configure: Regenerate. 1115*75fd0b74Schristos 1116*75fd0b74Schristos2006-04-07 Bernhard Fischer <aldot@gcc.gnu.org> 1117*75fd0b74Schristos 1118*75fd0b74Schristos * ld.texinfo: Fix typo in documentation of --check-sections. 1119*75fd0b74Schristos 1120*75fd0b74Schristos2006-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> 1121*75fd0b74Schristos 1122*75fd0b74Schristos * ldlang.c (load_symbols): Set as_needed and add_needed according 1123*75fd0b74Schristos to the corresponding script's fields while processing it. 1124*75fd0b74Schristos 1125*75fd0b74Schristos2006-04-06 Carlos O'Donell <carlos@codesourcery.com> 1126*75fd0b74Schristos 1127*75fd0b74Schristos * Makefile.am: Add install-html, install-html-am, and 1128*75fd0b74Schristos install-html-recursive targets. 1129*75fd0b74Schristos * Makefile.in: Regenerate. 1130*75fd0b74Schristos * configure.in: AC_SUBST datarootdir, docdir, htmldir. 1131*75fd0b74Schristos * configure: Regenerate. 1132*75fd0b74Schristos * po/Make-in: Add install-html target. 1133*75fd0b74Schristos 1134*75fd0b74Schristos2006-04-06 H.J. Lu <hongjiu.lu@intel.com> 1135*75fd0b74Schristos 1136*75fd0b74Schristos * emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove 1137*75fd0b74Schristos link_info.need_relax_finalize. 1138*75fd0b74Schristos 1139*75fd0b74Schristos * ldlang.c (relax_sections): New. 1140*75fd0b74Schristos (lang_process): Use. Call relax_sections link_info.relax_pass 1141*75fd0b74Schristos times. 1142*75fd0b74Schristos 1143*75fd0b74Schristos * ldmain.c (main): Set link_info.relax_pass to 1. Remove 1144*75fd0b74Schristos link_info.need_relax_finalize. 1145*75fd0b74Schristos 1146*75fd0b74Schristos2006-04-05 Alan Modra <amodra@bigpond.net.au> 1147*75fd0b74Schristos 1148*75fd0b74Schristos * Makefile.am (GENSCRIPTS): Pass prefix. 1149*75fd0b74Schristos * Makefile.in: Regenerate. 1150*75fd0b74Schristos * genscripts.sh: Adjust for extra parameter. 1151*75fd0b74Schristos * emultempl/elf32.em (parse_ld_so_conf): Return true iff file 1152*75fd0b74Schristos exists. 1153*75fd0b74Schristos (check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists. 1154*75fd0b74Schristos * NEWS: Update. 1155*75fd0b74Schristos 1156*75fd0b74Schristos2006-04-05 Richard Sandiford <richard@codesourcery.com> 1157*75fd0b74Schristos Daniel Jacobowitz <dan@codesourcery.com> 1158*75fd0b74Schristos 1159*75fd0b74Schristos * configure.tgt (sparc*-*-vxworks*): New stanza. 1160*75fd0b74Schristos * emulparams/elf32_sparc_vxworks.sh: New file. 1161*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o. 1162*75fd0b74Schristos (eelf32_sparc_vxworks.c): New rule. 1163*75fd0b74Schristos * Makefile.in: Regenerate. 1164*75fd0b74Schristos 1165*75fd0b74Schristos2006-04-04 Eric Botcazou <ebotcazou@adacore.com> 1166*75fd0b74Schristos 1167*75fd0b74Schristos * ldlang.c (lang_map): Print the list of discarded input sections. 1168*75fd0b74Schristos (print_input_section): Change parameter and print zero-sized sections. 1169*75fd0b74Schristos (print_statement): Adjust call to print_input_section. 1170*75fd0b74Schristos 1171*75fd0b74Schristos2006-04-01 Danny Smith <dannysmith@users.sourceforge.net> 1172*75fd0b74Schristos 1173*75fd0b74Schristos * deffilep.y (def_image_name): If LIBRARY or NAME statement 1174*75fd0b74Schristos specifies an empty string, retain the name specified on command 1175*75fd0b74Schristos line. 1176*75fd0b74Schristos * ld.texinfo: Document above. 1177*75fd0b74Schristos 1178*75fd0b74Schristos2006-03-31 Jakub Jelinek <jakub@redhat.com> 1179*75fd0b74Schristos 1180*75fd0b74Schristos * ldmisc.c (vfinfo): Revert 2005-10-05 changes. If 1181*75fd0b74Schristos bfd_find_nearest_line succeeded for %C or %D, but filename 1182*75fd0b74Schristos is NULL, print section+offset at the end. 1183*75fd0b74Schristos 1184*75fd0b74Schristos2006-03-25 Bernd Schmidt <bernd.schmidt@analog.com> 1185*75fd0b74Schristos 1186*75fd0b74Schristos * emulparams/elf32bfinfd.sh: New file. 1187*75fd0b74Schristos * emultempl/bfin.em: Delete. 1188*75fd0b74Schristos * emulparams/bfin.sh: Lose reference to bfin.em. 1189*75fd0b74Schristos * Makefile.am (eelf32bfin.c): Likewise. 1190*75fd0b74Schristos (eelf32bfinfd.c): New. 1191*75fd0b74Schristos * Makefile.in: Regenerate. 1192*75fd0b74Schristos * configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to 1193*75fd0b74Schristos targ_extra_emuls. 1194*75fd0b74Schristos 1195*75fd0b74Schristos2006-03-22 Richard Sandiford <richard@codesourcery.com> 1196*75fd0b74Schristos Daniel Jacobowitz <dan@codesourcery.com> 1197*75fd0b74Schristos Phil Edwards <phil@codesourcery.com> 1198*75fd0b74Schristos Zack Weinberg <zack@codesourcery.com> 1199*75fd0b74Schristos Mark Mitchell <mark@codesourcery.com> 1200*75fd0b74Schristos Nathan Sidwell <nathan@codesourcery.com> 1201*75fd0b74Schristos 1202*75fd0b74Schristos * configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use 1203*75fd0b74Schristos separate VxWorks emulations. 1204*75fd0b74Schristos * emulparams/elf32ebmipvxworks.sh: New file. 1205*75fd0b74Schristos * emulparams/elf32elmipvxworks.sh: New file. 1206*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and 1207*75fd0b74Schristos eelf32elmipvxworks.o. 1208*75fd0b74Schristos (eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules. 1209*75fd0b74Schristos * Makefile.in: Regenerate. 1210*75fd0b74Schristos 1211*75fd0b74Schristos2006-03-16 Alan Modra <amodra@bigpond.net.au> 1212*75fd0b74Schristos 1213*75fd0b74Schristos PR 2434 1214*75fd0b74Schristos * ldcref.c (add_cref): Adjust bfd_hash_table_init calls. 1215*75fd0b74Schristos * ldlang.c (output_statement_table_init, lang_init): Likewise. 1216*75fd0b74Schristos * ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise. 1217*75fd0b74Schristos (undefined_symbol): Likewise. 1218*75fd0b74Schristos 1219*75fd0b74Schristos2006-03-07 Richard Sandiford <richard@codesourcery.com> 1220*75fd0b74Schristos Daniel Jacobowitz <dan@codesourcery.com> 1221*75fd0b74Schristos Zack Weinberg <zack@codesourcery.com> 1222*75fd0b74Schristos Nathan Sidwell <nathan@codesourcery.com> 1223*75fd0b74Schristos Paul Brook <paul@codesourcery.com> 1224*75fd0b74Schristos Ricardo Anguiano <anguiano@codesourcery.com> 1225*75fd0b74Schristos Phil Edwards <phil@codesourcery.com> 1226*75fd0b74Schristos 1227*75fd0b74Schristos * emulparams/armelf_vxworks.sh: Include vxworks.sh. 1228*75fd0b74Schristos (MAXPAGESIZE): Define. 1229*75fd0b74Schristos * emulparams/vxworks.sh: Undefine EMBEDDED. 1230*75fd0b74Schristos * Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em. 1231*75fd0b74Schristos * Makefile.in: Regenerate. 1232*75fd0b74Schristos 1233*75fd0b74Schristos2006-03-03 Bjoern Haase <bjoern.m.haase@web.de> 1234*75fd0b74Schristos 1235*75fd0b74Schristos * scripttempl/avr.sc: Add *(.jumptables) *(.lowtext) sections. 1236*75fd0b74Schristos Add KEEP() directives. 1237*75fd0b74Schristos Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and 1238*75fd0b74Schristos .bss output sections. 1239*75fd0b74Schristos 1240*75fd0b74Schristos2006-03-03 Richard Sandiford <richard@codesourcery.com> 1241*75fd0b74Schristos 1242*75fd0b74Schristos * emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable. 1243*75fd0b74Schristos (EXTRA_EM_FILE): Define. 1244*75fd0b74Schristos * emultempl/vxworks.em: New file. 1245*75fd0b74Schristos * ld.texinfo (--force-dynamic): Document. 1246*75fd0b74Schristos * Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend 1247*75fd0b74Schristos on vxworks.em. 1248*75fd0b74Schristos * Makefile.in: Regenerate. 1249*75fd0b74Schristos 1250*75fd0b74Schristos2006-03-02 Richard Sandiford <richard@codesourcery.com> 1251*75fd0b74Schristos 1252*75fd0b74Schristos * emulparams/elf32ppccommon.sh: New file, extracted from... 1253*75fd0b74Schristos * emulparams/elf32ppc.sh: ...here. 1254*75fd0b74Schristos * emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh 1255*75fd0b74Schristos instead of elf32ppc.sh. 1256*75fd0b74Schristos (BSS_PLT): Remove override. 1257*75fd0b74Schristos * Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h. 1258*75fd0b74Schristos (eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise. 1259*75fd0b74Schristos (eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise. 1260*75fd0b74Schristos (eelf32ppclinux.c): Likewise. 1261*75fd0b74Schristos (eelf32ppcvxworks.c): Likewise. Add missing vxworks.sh dependency. 1262*75fd0b74Schristos * Makefile.in: Regenerate. 1263*75fd0b74Schristos 1264*75fd0b74Schristos2006-02-27 Carlos O'Donell <carlos@codesourcery.com> 1265*75fd0b74Schristos 1266*75fd0b74Schristos * Makefile.am: Add html target. 1267*75fd0b74Schristos * Makefile.in: Regenerate. 1268*75fd0b74Schristos * po/Make-in: Add html target. 1269*75fd0b74Schristos 1270*75fd0b74Schristos2006-02-17 Shrirang Khisti <shrirangk@kpitcummins.com> 1271*75fd0b74Schristos Anil Paranjape <anilp1@kpitcummins.com> 1272*75fd0b74Schristos Shilin Shakti <shilins@kpitcummins.com> 1273*75fd0b74Schristos 1274*75fd0b74Schristos * scripttemp/elf32xc16x.sc: Default linker script for tiny model. 1275*75fd0b74Schristos * scripttemp/elf32xc16xl.sc: Default linker script for large model. 1276*75fd0b74Schristos * scripttemp/elf32xc16xs.sc: Default linker script for small model. 1277*75fd0b74Schristos * emulparams/elf32xc16x.sh: Emulation script for tiny model. 1278*75fd0b74Schristos * emulparams/elf32xc16xl.sh: Emulation script for large model. 1279*75fd0b74Schristos * emulparams/elf32xc16xs.sh: Emulation script for small model. 1280*75fd0b74Schristos * Makefile.am: Add entry to make xc16x target. 1281*75fd0b74Schristos * Makefile.in: Regenerate. 1282*75fd0b74Schristos * configure.tgt: Specify default and other emulation parameters 1283*75fd0b74Schristos for xc16x. 1284*75fd0b74Schristos * NEWS: Announce the support for the new target. 1285*75fd0b74Schristos 1286*75fd0b74Schristos2006-02-16 Nick Hudson <nick.hudson@dsl.pipex.com> 1287*75fd0b74Schristos 1288*75fd0b74Schristos * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): 1289*75fd0b74Schristos Use the traditional target. 1290*75fd0b74Schristos 1291*75fd0b74Schristos2006-02-13 Joseph S. Myers <joseph@codesourcery.com> 1292*75fd0b74Schristos 1293*75fd0b74Schristos * configure.tgt (arm*b-*-linux-gnueabi): Change to 1294*75fd0b74Schristos arm*b-*-linux-*eabi. 1295*75fd0b74Schristos (arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi. 1296*75fd0b74Schristos 1297*75fd0b74Schristos2006-02-08 H.J. Lu <hongjiu.lu@intel.com> 1298*75fd0b74Schristos 1299*75fd0b74Schristos PR ld/2290 1300*75fd0b74Schristos * NEWS: Updated for the Linux linker search order change. 1301*75fd0b74Schristos 1302*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call 1303*75fd0b74Schristos gld${EMULATION_NAME}_check_ld_so_conf before checking default 1304*75fd0b74Schristos search directories for DT_NEEDED entries. 1305*75fd0b74Schristos 1306*75fd0b74Schristos2006-02-07 Paul Brook <paul@codesourcery.com> 1307*75fd0b74Schristos 1308*75fd0b74Schristos * emultempl/armelf.em: Include elf/arm.h. 1309*75fd0b74Schristos (arm_elf_finish): Set low address bit if enty point is a Thumb 1310*75fd0b74Schristos function. 1311*75fd0b74Schristos 1312*75fd0b74Schristos2006-02-01 Danny Smith <dannysmith@users.sourceforge.net> 1313*75fd0b74Schristos 1314*75fd0b74Schristos * deffilep.y (def_image_name): If the image name does not have 1315*75fd0b74Schristos a suffix, append the default. 1316*75fd0b74Schristos * ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files. 1317*75fd0b74Schristos 1318*75fd0b74Schristos2006-01-31 Danny Smith dannysmith@users.sourceforge.net 1319*75fd0b74Schristos 1320*75fd0b74Schristos * NEWS: Mention support for forward exports in PE-COFF dll's. 1321*75fd0b74Schristos * ld.texinfo: Expand documentation of EXPORT statements in 1322*75fd0b74Schristos PE-COFF .def files. 1323*75fd0b74Schristos 1324*75fd0b74Schristos2006-01-31 Filip Navara <navaraf@reactos.com> 1325*75fd0b74Schristos 1326*75fd0b74Schristos * deffile.h (struct def_file_export): Add field flag_forward. 1327*75fd0b74Schristos * pe-dll.c (process_def_file): Check for forward exports. 1328*75fd0b74Schristos (generate_edata): Generate forward export symbols. 1329*75fd0b74Schristos (fill_edata): Emit them. 1330*75fd0b74Schristos 1331*75fd0b74Schristos * pe-dll.c (process_def_file): Don't crash on malformed 1332*75fd0b74Schristos fastcall symbol names in .def file. 1333*75fd0b74Schristos 1334*75fd0b74Schristos2006-01-30 Nick Clifton <nickc@redhat.com> 1335*75fd0b74Schristos 1336*75fd0b74Schristos * po/vi.po: Updated Vietnamese translation. 1337*75fd0b74Schristos 1338*75fd0b74Schristos2006-01-27 Yitzchak Scott-Thoennes <sthoenna@efn.org> 1339*75fd0b74Schristos 1340*75fd0b74Schristos * pe-dll.c (pe_dll_generate_implib): Issue "Creating library 1341*75fd0b74Schristos file:" as informational message, not a warning. 1342*75fd0b74Schristos 1343*75fd0b74Schristos2006-01-18 Roger Sayle <roger@eyesopen.com> 1344*75fd0b74Schristos 1345*75fd0b74Schristos * emultempl/irix.em: Use lbasename instead of basename. 1346*75fd0b74Schristos 1347*75fd0b74Schristos2006-01-16 Nick Clifton <nickc@redhat.com> 1348*75fd0b74Schristos 1349*75fd0b74Schristos * po/zh_CN.po: New Chinese (simplified) translation. 1350*75fd0b74Schristos * configure.in (ALL_LINGUAS): Add "zh_CH". 1351*75fd0b74Schristos * configure: Regenerate. 1352*75fd0b74Schristos 1353*75fd0b74Schristos2006-01-16 Bernhard Fischer <aldot@gcc.gnu.org> 1354*75fd0b74Schristos 1355*75fd0b74Schristos * ld.texinfo (Options): Fix typo. 1356*75fd0b74Schristos 1357*75fd0b74SchristosFor older changes see ChangeLog-2005 1358*75fd0b74Schristos 1359*75fd0b74SchristosCopyright (C) 2006 Free Software Foundation, Inc. 1360*75fd0b74Schristos 1361*75fd0b74SchristosCopying and distribution of this file, with or without modification, 1362*75fd0b74Schristosare permitted in any medium without royalty provided the copyright 1363*75fd0b74Schristosnotice and this notice are preserved. 1364*75fd0b74Schristos 1365*75fd0b74SchristosLocal Variables: 1366*75fd0b74Schristosmode: change-log 1367*75fd0b74Schristosleft-margin: 8 1368*75fd0b74Schristosfill-column: 74 1369*75fd0b74Schristosversion-control: never 1370*75fd0b74SchristosEnd: 1371