1*56bb7041Schristos2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 2*56bb7041Schristos 3*56bb7041Schristos Add m32r-linux and PIC support. Add new ABI that uses RELA. 4*56bb7041Schristos * Makefile.am: Added em32rlelf.c, em32relf_linux.c, 5*56bb7041Schristos em32rlelf_linux.c. 6*56bb7041Schristos * Makefile.in: Regenerate. 7*56bb7041Schristos * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added. 8*56bb7041Schristos * emulparams/m32relf_linux.sh: Added. 9*56bb7041Schristos * emulparams/m32rlelf.sh: Ditto. 10*56bb7041Schristos * emulparams/m32rlelf_linux.sh: Ditto. 11*56bb7041Schristos * NEWS: Mention support m32r Linux. 12*56bb7041Schristos 13*56bb7041Schristos2003-12-18 Eric Youngdale <eric@mkssoftware.com> 14*56bb7041Schristos Nick Clifton <nickc@redhat.com> 15*56bb7041Schristos 16*56bb7041Schristos * emultempl/pe.em (_after_open): When scanning MS import 17*56bb7041Schristos libraries allow for the possible presence of static objects. 18*56bb7041Schristos 19*56bb7041Schristos2003-12-07 H.J. Lu <hongjiu.lu@intel.com> 20*56bb7041Schristos 21*56bb7041Schristos * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to 22*56bb7041Schristos cplus_demangle. 23*56bb7041Schristos 24*56bb7041Schristos2003-12-07 Kazu Hirata <kazu@cs.umass.edu> 25*56bb7041Schristos 26*56bb7041Schristos * ldemul.c: Convert to ISO-C. 27*56bb7041Schristos * ldver.c: Likewise. 28*56bb7041Schristos 29*56bb7041Schristos2003-12-06 Kazu Hirata <kazu@cs.umass.edu> 30*56bb7041Schristos 31*56bb7041Schristos * lexsup.c (is_num): Remove. 32*56bb7041Schristos 33*56bb7041Schristos2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> 34*56bb7041Schristos 35*56bb7041Schristos * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to 36*56bb7041Schristos 0. This fixes "bad fixup" error generated by MS linker. 37*56bb7041Schristos 38*56bb7041Schristos2003-12-04 H.J. Lu <hongjiu.lu@intel.com> 39*56bb7041Schristos 40*56bb7041Schristos * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set 41*56bb7041Schristos link_info.need_relax_finalize to TRUE. 42*56bb7041Schristos 43*56bb7041Schristos * ldlang.c (lang_process): Use link_info.need_relax_finalize 44*56bb7041Schristos instead of link_info.relax_finalizing. 45*56bb7041Schristos * ldmain.c (main): Likewise. 46*56bb7041Schristos 47*56bb7041Schristos2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> 48*56bb7041Schristos 49*56bb7041Schristos * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. 50*56bb7041Schristos 51*56bb7041Schristos2003-12-04 Alan Modra <amodra@bigpond.net.au> 52*56bb7041Schristos 53*56bb7041Schristos * ldlang.c (lang_do_assignments): Function return is void. 54*56bb7041Schristos * ldlang.h (lang_do_assignments): Ditto. 55*56bb7041Schristos * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. 56*56bb7041Schristos * Makefile.am (ens32knbsd.c): Depend on netbsd.em. 57*56bb7041Schristos * Makefile.in: Regenerate. 58*56bb7041Schristos 59*56bb7041Schristos2003-12-03 Dave Airlie <airlied@linux.ie> 60*56bb7041Schristos 61*56bb7041Schristos * configure.tgt: Add vax-linux-gnu target. 62*56bb7041Schristos 63*56bb7041Schristos2003-12-03 Dmitry Diky <diwil@mail.ru> 64*56bb7041Schristos 65*56bb7041Schristos * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for 66*56bb7041Schristos forthcoming devices. 67*56bb7041Schristos (_etext): provide this defenition for all scripts. 68*56bb7041Schristos 69*56bb7041Schristos2003-12-02 Kazu Hirata <kazu@cs.umass.edu> 70*56bb7041Schristos 71*56bb7041Schristos * emultempl/beos.em: Remove ARGSUSED. 72*56bb7041Schristos 73*56bb7041Schristos2003-12-03 Alan Modra <amodra@bigpond.net.au> 74*56bb7041Schristos 75*56bb7041Schristos * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed 76*56bb7041Schristos bfd_link_hash_entry field "next" -> "und_next". 77*56bb7041Schristos (pe_find_data_imports): Likewise. 78*56bb7041Schristos (gld_${EMULATION_NAME}_after_open): Likewise. 79*56bb7041Schristos * emultempl/sunos.em (before_allocation): Likewise. 80*56bb7041Schristos 81*56bb7041Schristos2003-12-02 Nick Clifton <nickc@redhat.com> 82*56bb7041Schristos 83*56bb7041Schristos * ld.texinfo (Options): --ignore-all is no longer the default 84*56bb7041Schristos behaviour for shared libraries and dynamic executables. 85*56bb7041Schristos 86*56bb7041Schristos2003-12-02 Alan Modra <amodra@bigpond.net.au> 87*56bb7041Schristos 88*56bb7041Schristos * Makefile.am: Run "make dep-am". 89*56bb7041Schristos * Makefile.in: Regenerate. 90*56bb7041Schristos 91*56bb7041Schristos2003-12-02 Alan Modra <amodra@bigpond.net.au> 92*56bb7041Schristos 93*56bb7041Schristos * ldmain.c (main): Remove mpc860c0 code. 94*56bb7041Schristos * lexsup.c (enum option_values): Delete OPTION_MPC860C0. 95*56bb7041Schristos (ld_options): Delete mpc860c0 entry. 96*56bb7041Schristos (parse_args): Likewise. 97*56bb7041Schristos 98*56bb7041Schristos2003-12-01 Alan Modra <amodra@bigpond.net.au> 99*56bb7041Schristos 100*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test 101*56bb7041Schristos hash table type rather than testing creator flavour. 102*56bb7041Schristos * emultempl/hppaelf.em (hppaelf_create_output_section_statements): 103*56bb7041Schristos Only create stub_file bfd if hash table creator is as expected. 104*56bb7041Schristos (gld${EMULATION_NAME}_finish): Test stub_file. 105*56bb7041Schristos 106*56bb7041Schristos2003-11-28 Marcel Moolenaar <marcel@xcllnt.net> 107*56bb7041Schristos 108*56bb7041Schristos * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. 109*56bb7041Schristos (DATA_ADDR): Unset. 110*56bb7041Schristos 111*56bb7041Schristos2003-11-18 James E Wilson <wilson@specifixinc.com> 112*56bb7041Schristos 113*56bb7041Schristos * ldlang.c (lang_process): Move lang_reset_memory_regions call after 114*56bb7041Schristos lang_do_assignments call. 115*56bb7041Schristos 116*56bb7041Schristos * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include 117*56bb7041Schristos .rela.opd if -pie. 118*56bb7041Schristos 119*56bb7041Schristos2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au> 120*56bb7041Schristos 121*56bb7041Schristos * scripttempl/pe.sc: Add support for TLS sections. 122*56bb7041Schristos 123*56bb7041Schristos2003-11-09 Alan Modra <amodra@bigpond.net.au> 124*56bb7041Schristos 125*56bb7041Schristos * configure.host (HOSTING_LIBS): Group libgcc and libc with 126*56bb7041Schristos --start-group, --end-group pair. 127*56bb7041Schristos (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. 128*56bb7041Schristos (am33_2.0-*-linux*): Edit default HOSTING_CRT0. 129*56bb7041Schristos (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. 130*56bb7041Schristos (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. 131*56bb7041Schristos 132*56bb7041Schristos2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org> 133*56bb7041Schristos 134*56bb7041Schristos * ldfile.c (ldfile_open_file): Use "No such file" error message. 135*56bb7041Schristos 136*56bb7041Schristos2003-11-06 Bruno Rohee <bruno@rohee.com> 137*56bb7041Schristos 138*56bb7041Schristos * ls.texinfo: Fix "the the" typo. 139*56bb7041Schristos 140*56bb7041Schristos2003-11-05 Alan Modra <amodra@bigpond.net.au> 141*56bb7041Schristos 142*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do 143*56bb7041Schristos pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. 144*56bb7041Schristos (pr_sym): Move inside #ifdef DLL_SUPPORT. 145*56bb7041Schristos 146*56bb7041Schristos * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap 147*56bb7041Schristos unused variable. 148*56bb7041Schristos 149*56bb7041Schristos * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. 150*56bb7041Schristos 151*56bb7041Schristos2003-11-04 Alan Modra <amodra@bigpond.net.au> 152*56bb7041Schristos 153*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call 154*56bb7041Schristos _bfd_elf_tls_setup. 155*56bb7041Schristos 156*56bb7041Schristos2003-10-31 Nick Clifton <nickc@redhat.com> 157*56bb7041Schristos 158*56bb7041Schristos * ldlang.c (lookup_name): When looking for a previously loaded 159*56bb7041Schristos file compare the local_sym_name not the filename, as the 160*56bb7041Schristos filename might have been transformed via the search directory 161*56bb7041Schristos path lookup. 162*56bb7041Schristos If the sought-for file has not been found in the input file 163*56bb7041Schristos chain then create a new node with the search_dirs_flag set so 164*56bb7041Schristos that the entire set of directory paths will be scanned for it. 165*56bb7041Schristos 166*56bb7041Schristos2003-10-30 Andrew Cagney <cagney@redhat.com> 167*56bb7041Schristos 168*56bb7041Schristos * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" 169*56bb7041Schristos with "struct bfd_symbol". 170*56bb7041Schristos 171*56bb7041Schristos2003-10-30 Phil Edwards <phil@codesourcery.com> 172*56bb7041Schristos 173*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o. 174*56bb7041Schristos (eelf32mipswindiss.c): New target. 175*56bb7041Schristos * Makefile.in: Regenerated. 176*56bb7041Schristos * emulparams/elf32mipswindiss.sh: New file. 177*56bb7041Schristos * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks, 178*56bb7041Schristos mips*-*-vxworks*): Use ELF now. 179*56bb7041Schristos (mips*-*-windiss): New stanza, use elf32mipswindiss. 180*56bb7041Schristos 181*56bb7041Schristos2003-10-27 Stephane Carrez <stcarrez@nerim.fr> 182*56bb7041Schristos 183*56bb7041Schristos * scripttempl/elfm68hc12.sc: Define eeprom memory region. 184*56bb7041Schristos 185*56bb7041Schristos2003-10-25 Kazu Hirata <kazu@cs.umass.edu> 186*56bb7041Schristos 187*56bb7041Schristos * ChangeLog-9197: Fix typos. 188*56bb7041Schristos * NEWS: Likewise. 189*56bb7041Schristos * ld.texinfo: Likewise. 190*56bb7041Schristos * ldlang.c: Fix comment typos. 191*56bb7041Schristos 192*56bb7041Schristos2003-10-24 H.J. Lu <hongjiu.lu@intel.com> 193*56bb7041Schristos 194*56bb7041Schristos * ldlang.c (lang_vers_match): Fix a typo. 195*56bb7041Schristos 196*56bb7041Schristos2003-10-24 H.J. Lu <hongjiu.lu@intel.com> 197*56bb7041Schristos 198*56bb7041Schristos * ldlang.c (lang_vers_match): Check demangled symbols. 199*56bb7041Schristos 200*56bb7041Schristos2003-10-24 H.J. Lu <hongjiu.lu@intel.com> 201*56bb7041Schristos 202*56bb7041Schristos * ldlang.c (lang_vers_match): Check "symbol" instead of 203*56bb7041Schristos "wildcard" and "pattern". Fix a typo. 204*56bb7041Schristos (lang_finalize_version_expr_head): Likewise. 205*56bb7041Schristos (lang_register_vers_node): Likewise. 206*56bb7041Schristos (realsymbol): New function. 207*56bb7041Schristos (lang_new_vers_pattern): Set "symbol" and remove "wildcard". 208*56bb7041Schristos 209*56bb7041Schristos * ldlex.l (V_IDENTIFIER): Allow '\\'. 210*56bb7041Schristos 211*56bb7041Schristos2003-10-24 Nick Clifton <nickc@redhat.com> 212*56bb7041Schristos 213*56bb7041Schristos * emultempl/m68hc1xelf.em (before_allocation): Add missing second 214*56bb7041Schristos parameter to lang_memory_region_lookup. 215*56bb7041Schristos 216*56bb7041Schristos2003-10-22 Jakub Jelinek <jakub@redhat.com> 217*56bb7041Schristos 218*56bb7041Schristos * ldlang.c: Include hashtab.h. 219*56bb7041Schristos (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, 220*56bb7041Schristos lang_vers_match_lang_java): Remove. 221*56bb7041Schristos (lang_vers_match): New function. 222*56bb7041Schristos (lang_new_vers_pattern): Initialize wildcard and mask 223*56bb7041Schristos fields, don't initialize match. 224*56bb7041Schristos (lang_new_vers_node): Use xcalloc. Adjust for globals and 225*56bb7041Schristos locals field type changes. Set match field. 226*56bb7041Schristos (version_expr_head_hash, version_expr_head_eq): New functions. 227*56bb7041Schristos (lang_finalize_version_expr_head): New function. 228*56bb7041Schristos (lang_register_vers_node): Call lang_finalize_version_expr_head. 229*56bb7041Schristos Search in hash table if not wildcard when looking for duplicates. 230*56bb7041Schristos * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with 231*56bb7041Schristos duplicate checking. Initialize all fields of dot_entry from entry 232*56bb7041Schristos with the exception of pattern and next. 233*56bb7041Schristos 234*56bb7041Schristos2003-10-21 Nick Clifton <nickc@redhat.com> 235*56bb7041Schristos 236*56bb7041Schristos * ldlang.c (lang_memory_region_lookup): Add second parameter - 237*56bb7041Schristos create - which is true if the region is being created. Issue 238*56bb7041Schristos appropriate warning messages for finding and not finding 239*56bb7041Schristos already created regions. 240*56bb7041Schristos (lang_memory_default): Use DEFAULT_MEMORY_REGION. 241*56bb7041Schristos (lang_leave_overlay_section): Likewise. 242*56bb7041Schristos (lang_size_sections_1): Likewise. 243*56bb7041Schristos Pass second parameter to lang_memory_region_lookup. 244*56bb7041Schristos (lang_get_regions): Likewise. 245*56bb7041Schristos * ldlang.h (DEFAULT_MEMORY_REGION): Define. 246*56bb7041Schristos Update prototype for lang_memory_region_lookup. 247*56bb7041Schristos * ldgram.y: Pass second parameter to lang_memory_region_lookup. 248*56bb7041Schristos Use DEFAULT_MEMORY_REGION instead of "*default". 249*56bb7041Schristos 250*56bb7041Schristos2003-10-20 Andrew Cagney <cagney@redhat.com> 251*56bb7041Schristos 252*56bb7041Schristos * pe-dll.c: Replace "struct sec" with "struct bfd_section". 253*56bb7041Schristos 254*56bb7041Schristos2003-10-19 Marek Michalkiewicz <marekm@amelek.gda.pl> 255*56bb7041Schristos 256*56bb7041Schristos * Makefile.am: Remove old (before GCC 3.3) emulations for AVR 257*56bb7041Schristos target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, 258*56bb7041Schristos avrmega161, avrmega603. Default to avr2. 259*56bb7041Schristos * Makefile.in: Regenerate. 260*56bb7041Schristos * configure.tgt: Likewise. 261*56bb7041Schristos * emulparams/avr1200.sh: Remove. 262*56bb7041Schristos * emulparams/avr23xx.sh: Remove. 263*56bb7041Schristos * emulparams/avr4433.sh: Remove. 264*56bb7041Schristos * emulparams/avr44x4.sh: Remove. 265*56bb7041Schristos * emulparams/avr85xx.sh: Remove. 266*56bb7041Schristos * emulparams/avrmega103.sh: Remove. 267*56bb7041Schristos * emulparams/avrmega161.sh: Remove. 268*56bb7041Schristos * emulparams/avrmega603.sh: Remove. 269*56bb7041Schristos * scripttempl/elf32avr.sc: Remove. 270*56bb7041Schristos 271*56bb7041Schristos2003-10-19 Andreas Schwab <schwab@suse.de> 272*56bb7041Schristos 273*56bb7041Schristos * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add 274*56bb7041Schristos newline to message. 275*56bb7041Schristos 276*56bb7041Schristos * deffilep.y: Remove commas from %token lines. 277*56bb7041Schristos 278*56bb7041Schristos2003-10-18 Hans-Peter Nilsson <hp@bitrange.com> 279*56bb7041Schristos 280*56bb7041Schristos * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker 281*56bb7041Schristos relaxation always; don't exclude relocatable linking. Adjust for 282*56bb7041Schristos _bfd_mmix_prepare_linker_allocated_gregs renamed to 283*56bb7041Schristos _bfd_mmix_before_linker_allocation. 284*56bb7041Schristos (mmix_after_allocation): Adjust for 285*56bb7041Schristos _bfd_mmix_finalize_linker_allocated_gregs renamed to 286*56bb7041Schristos _bfd_mmix_after_linker_allocation. 287*56bb7041Schristos * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text). 288*56bb7041Schristos 289*56bb7041Schristos * ldlang.c (lang_size_sections): Last, set _cooked_size for output 290*56bb7041Schristos sections. 291*56bb7041Schristos 292*56bb7041Schristos2003-10-16 Alan Modra <amodra@bigpond.net.au> 293*56bb7041Schristos 294*56bb7041Schristos * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove. Use 295*56bb7041Schristos GENSCRIPTS and GEN_DEPENDS in place of these. 296*56bb7041Schristos * Makefile.in: Regenerate. 297*56bb7041Schristos * genscripts_extra.sh: Delete. Merge extra functionality to.. 298*56bb7041Schristos * genscripts.sh: ..here. 299*56bb7041Schristos 300*56bb7041Schristos * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define. 301*56bb7041Schristos * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 302*56bb7041Schristos * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 303*56bb7041Schristos * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 304*56bb7041Schristos * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. 305*56bb7041Schristos 306*56bb7041Schristos2003-10-16 Alan Modra <amodra@bigpond.net.au> 307*56bb7041Schristos 308*56bb7041Schristos * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't 309*56bb7041Schristos use $EMULATION_NAME to call bfd function. 310*56bb7041Schristos 311*56bb7041Schristos2003-10-14 Danny Smith <dannysmith@users.sourceforge.net> 312*56bb7041Schristos 313*56bb7041Schristos * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections 314*56bb7041Schristos to identify data symbols. 315*56bb7041Schristos 316*56bb7041Schristos2003-10-13 Richard Sandiford <rsandifo@redhat.com> 317*56bb7041Schristos 318*56bb7041Schristos * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move 319*56bb7041Schristos definition from elf64btsmip.sh. 320*56bb7041Schristos (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh. 321*56bb7041Schristos * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove. 322*56bb7041Schristos * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove. 323*56bb7041Schristos * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define. 324*56bb7041Schristos (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects. 325*56bb7041Schristos Define __program_header_table in terms of __elf_header. 326*56bb7041Schristos 327*56bb7041Schristos2003-10-10 H.J. Lu <hongjiu.lu@intel.com> 328*56bb7041Schristos 329*56bb7041Schristos * Makefile.am (eelf64_ia64.c): Also depend on 330*56bb7041Schristos $(srcdir)/emultempl/ia64elf.em. 331*56bb7041Schristos * Makefile.in: Regenerated. 332*56bb7041Schristos 333*56bb7041Schristos * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. 334*56bb7041Schristos 335*56bb7041Schristos * emultempl/ia64elf.em: New. 336*56bb7041Schristos 337*56bb7041Schristos2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> 338*56bb7041Schristos 339*56bb7041Schristos * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. 340*56bb7041Schristos 341*56bb7041Schristos2003-10-11 Hans-Peter Nilsson <hp@bitrange.com> 342*56bb7041Schristos 343*56bb7041Schristos * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols 344*56bb7041Schristos defined before the statement using DEFINED yield 1. 345*56bb7041Schristos * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum, 346*56bb7041Schristos call lang_track_definedness on symbol. In subsequent phases, use 347*56bb7041Schristos lang_symbol_definition_iteration and lang_statement_iteration to 348*56bb7041Schristos check whether the symbol was defined before the current statement. 349*56bb7041Schristos (exp_fold_tree) <case etree_assign et al>: Call 350*56bb7041Schristos lang_update_definedness before updating symbol type when setting 351*56bb7041Schristos symbol. 352*56bb7041Schristos * ldlang.c (lang_definedness_table): New variable. 353*56bb7041Schristos (lang_definedness_newfunc, lang_track_definedness) 354*56bb7041Schristos (lang_symbol_definition_iteration, lang_update_definedness): New 355*56bb7041Schristos functions. 356*56bb7041Schristos (lang_init): Initialize lang_definedness_table and 357*56bb7041Schristos lang_statement_iteration. 358*56bb7041Schristos (lang_finish): Destroy bfd_hash_table_free. 359*56bb7041Schristos (lang_size_sections): Increment lang_statement_iteration. 360*56bb7041Schristos (lang_do_assignments_1): New function with former 361*56bb7041Schristos lang_do_assignments contents. Change recursive calls to call this 362*56bb7041Schristos function. 363*56bb7041Schristos (lang_do_assignments): Evacuate contents. Increment 364*56bb7041Schristos lang_statement_iteration, then just call lang_do_assignments_1. 365*56bb7041Schristos * ldlang.h (struct lang_definedness_hash_entry) 366*56bb7041Schristos (lang_statement_iteration, lang_track_definedness) 367*56bb7041Schristos (lang_symbol_definition_iteration, lang_update_definedness): 368*56bb7041Schristos Declare. 369*56bb7041Schristos 370*56bb7041Schristos2003-10-09 H.J. Lu <hongjiu.lu@intel.com> 371*56bb7041Schristos 372*56bb7041Schristos * scripttempl/elf.sc (__executable_start): Provide. 373*56bb7041Schristos 374*56bb7041Schristos2003-10-09 Daniel Jacobowitz <drow@mvista.com> 375*56bb7041Schristos 376*56bb7041Schristos * emulparams/armelf.sh: Define NO_SMALL_DATA. 377*56bb7041Schristos * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, 378*56bb7041Schristos emulparams/armnto.sh: Likewise. 379*56bb7041Schristos 380*56bb7041Schristos2003-10-08 Alexandre Oliva <aoliva@redhat.com> 381*56bb7041Schristos 382*56bb7041Schristos * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell 383*56bb7041Schristos whether to skip test for no memory region. 384*56bb7041Schristos 385*56bb7041Schristos2003-10-08 Nick Clifton <nickc@redhat.com> 386*56bb7041Schristos 387*56bb7041Schristos * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment 388*56bb7041Schristos describing defaults. Change default to report unresolved symbols 389*56bb7041Schristos in object files as well. 390*56bb7041Schristos 391*56bb7041Schristos2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> 392*56bb7041Schristos 393*56bb7041Schristos * ldexp.c (fold_name) <case DEFINED>: Set section of result to 394*56bb7041Schristos abs_output_section. 395*56bb7041Schristos 396*56bb7041Schristos2003-10-07 Bob Wilson <bob.wilson@acm.org> 397*56bb7041Schristos 398*56bb7041Schristos * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS, 399*56bb7041Schristos OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to 400*56bb7041Schristos zero for relocatable links. 401*56bb7041Schristos 402*56bb7041Schristos2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 403*56bb7041Schristos 404*56bb7041Schristos * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. 405*56bb7041Schristos 406*56bb7041Schristos2003-10-07 Nathan Sidwell <nathan@codesourcery.com> 407*56bb7041Schristos 408*56bb7041Schristos * ldwrite.c (unsplittable_name): New. 409*56bb7041Schristos (clone_section): Strip existing numeric suffix. Only truncate names 410*56bb7041Schristos for coff targets. 411*56bb7041Schristos (split_sections): Use unsplittable_name. 412*56bb7041Schristos 413*56bb7041Schristos2003-10-06 Nick Clifton <nickc@redhat.com> 414*56bb7041Schristos 415*56bb7041Schristos * lexsup.c (parse_args): Report unresolved symbols in shared 416*56bb7041Schristos libraries when creating a dynamic executable. This is a 417*56bb7041Schristos restoration of the default behaviour for previous versions of 418*56bb7041Schristos the linker. 419*56bb7041Schristos 420*56bb7041Schristos2003-10-06 Matt Thomas <matt@3am-software.com> 421*56bb7041Schristos 422*56bb7041Schristos * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. 423*56bb7041Schristos * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". 424*56bb7041Schristos 425*56bb7041Schristos2003-10-06 Robert Millan <robertmh@gnu.org> 426*56bb7041Schristos 427*56bb7041Schristos * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. 428*56bb7041Schristos 429*56bb7041Schristos2003-10-02 Ivan Warren <ivan@vmfacility.fr> 430*56bb7041Schristos 431*56bb7041Schristos * pe-dll.c (make_one): Correct sym def order & pick right sym for 432*56bb7041Schristos .idata$7 reloc. 433*56bb7041Schristos 434*56bb7041Schristos2003-09-30 Chris Demetriou <cgd@broadcom.com> 435*56bb7041Schristos 436*56bb7041Schristos * NEWS: Add an indication of the cutoff for 2.14. 437*56bb7041Schristos 438*56bb7041Schristos2003-09-30 Chris Demetriou <cgd@broadcom.com> 439*56bb7041Schristos 440*56bb7041Schristos * ldmain.c (get_emulation): Ignore "-mips64r2". 441*56bb7041Schristos 442*56bb7041Schristos2003-09-03 Robert Millan <robertmh@gnu.org> 443*56bb7041Schristos 444*56bb7041Schristos * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu 445*56bb7041Schristos triplet. 446*56bb7041Schristos * configure.tgt: Likewise. 447*56bb7041Schristos 448*56bb7041Schristos2003-08-29 Jafa <jafa@silicondust.com> 449*56bb7041Schristos 450*56bb7041Schristos * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. 451*56bb7041Schristos 452*56bb7041Schristos2003-08-21 Nick Clifton <nickc@redhat.com> 453*56bb7041Schristos 454*56bb7041Schristos * po/tr.po: Updated Turkish translation. 455*56bb7041Schristos 456*56bb7041Schristos2003-08-20 Nick Clifton <nickc@redhat.com> 457*56bb7041Schristos 458*56bb7041Schristos * ldmain.c: Initialise the new fields in bfd_link_info to 459*56bb7041Schristos NOT_YET_SET. 460*56bb7041Schristos * lexsup.c (enum option_values): New enum. Use this to 461*56bb7041Schristos replace the hand coded values for the long switch options. 462*56bb7041Schristos (ld_options): Add 'unresolved-symbols', 463*56bb7041Schristos 'warn-unresolved-symbols' and 'error-unresolved-symbols'. 464*56bb7041Schristos (parse_args): Handle the new switches. Set the values of 465*56bb7041Schristos unresolved_symbols_in_objects and 466*56bb7041Schristos unresolved_symbols_in_shared_libs appropriately. If they were 467*56bb7041Schristos not initialised by the command line, install default values. 468*56bb7041Schristos * emultempl/elf32.em (handle_option): Update OPTION_GROUP and 469*56bb7041Schristos -z defs to use the new fields in bfd_link_info. 470*56bb7041Schristos * ld.texinfo: Document the new switches. 471*56bb7041Schristos * NEWS: Mention this feature. 472*56bb7041Schristos 473*56bb7041Schristos2003-08-15 Dmitry Diky <diwil@mail.ru> 474*56bb7041Schristos 475*56bb7041Schristos * Makefile.am (GENSCRIPTS_EXTRA): New script definition which 476*56bb7041Schristos calls genscripts_extra.sh. 477*56bb7041Schristos Rearrange all msp430 depends using this script. 478*56bb7041Schristos * Makefile.in: Regenerate. 479*56bb7041Schristos * genscripts_extra.sh: New file: Similar to genscripts.sh, except 480*56bb7041Schristos that the script to be run to generate the emulations can be passed 481*56bb7041Schristos as an optional parameter instead of being computed from the 482*56bb7041Schristos emulation name. 483*56bb7041Schristos * emulparams/msp430all.sh: New file: Combine all msp430 subdevice 484*56bb7041Schristos definitions into one file. 485*56bb7041Schristos * emulparams/msp430x*.sh: Removed. 486*56bb7041Schristos 487*56bb7041Schristos2003-08-15 Nick Clifton <nickc@redhat.com> 488*56bb7041Schristos 489*56bb7041Schristos * ld.texinfo (Options): Put keywords for the -z option into a 490*56bb7041Schristos table. Add more text describing what the -z now option does. 491*56bb7041Schristos 492*56bb7041Schristos2003-08-14 Alan Modra <amodra@bigpond.net.au> 493*56bb7041Schristos 494*56bb7041Schristos * dep-in.sed: Remove libintl.h. 495*56bb7041Schristos * Makefile.am (POTFILES.in): Unset LC_COLLATE. 496*56bb7041Schristos * Makefile.in: Regenerate. 497*56bb7041Schristos 498*56bb7041Schristos2003-08-13 Alan Modra <amodra@bigpond.net.au> 499*56bb7041Schristos 500*56bb7041Schristos * genscripts.sh (libpath.exp): Only generate for first emulation. 501*56bb7041Schristos (LIB_PATH): Correct order of paths. Don't add $tool_lib when 502*56bb7041Schristos already present or when LIB_PATH is set to ":". 503*56bb7041Schristos 504*56bb7041Schristos2003-08-12 Ian Lance Taylor <ian@airs.com> 505*56bb7041Schristos 506*56bb7041Schristos * ldmain.c (undefined_symbol): Change parameter name from `fatal' 507*56bb7041Schristos to `error'. If only a warning, put warning in the reported 508*56bb7041Schristos string. Consistently set failure flag when not a warning. 509*56bb7041Schristos 510*56bb7041Schristos2003-08-08 Dmitry Diky <diwil@mail.ru> 511*56bb7041Schristos 512*56bb7041Schristos * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to 513*56bb7041Schristos gcc order. 514*56bb7041Schristos * Makefile.in: Regenerate. 515*56bb7041Schristos * configure.tgt: Add extra emulations. 516*56bb7041Schristos * emulparams/msp430xE423.sh: New file. 517*56bb7041Schristos * emulparams/msp430xE427.sh: New file. 518*56bb7041Schristos * emulparams/msp430xW425.sh: New file. 519*56bb7041Schristos * emulparams/msp430xE425.sh: New file. 520*56bb7041Schristos * emulparams/msp430xW423.sh: New file. 521*56bb7041Schristos * emulparams/msp430xW427.sh: New file. 522*56bb7041Schristos 523*56bb7041Schristos2003-08-07 Danny Smith <dannysmith@users.sourceforge.net> 524*56bb7041Schristos 525*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): 526*56bb7041Schristos Change second (cmdline) arg to lang_add_entry to FALSE. 527*56bb7041Schristos (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. 528*56bb7041Schristos 529*56bb7041Schristos2003-08-05 Christian Groessler <chris@groessler.org> 530*56bb7041Schristos Jason Eckhardt <jle@rice.edu> 531*56bb7041Schristos 532*56bb7041Schristos * configure.tgt: Recognize new target i860-*-coff. 533*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. 534*56bb7041Schristos (ecoff_i860.c): New rule. 535*56bb7041Schristos * emulparams/coff_i860.sh: New file. 536*56bb7041Schristos * scripttempl/i860coff.sc: New file. 537*56bb7041Schristos * Makefile.in: Regenerate. 538*56bb7041Schristos 539*56bb7041Schristos2003-08-04 Nick Clifton <nickc@redhat.com> 540*56bb7041Schristos 541*56bb7041Schristos * emultempl/elf32.em (before_allocation): Prepend "warning: " 542*56bb7041Schristos to messages produced for .gnu.warning.SYMBOL sections. 543*56bb7041Schristos 544*56bb7041Schristos2003-08-04 Alan Modra <amodra@bigpond.net.au> 545*56bb7041Schristos 546*56bb7041Schristos * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put 547*56bb7041Schristos .rel.dyn before other reloc sections. Don't stop looking for reloc 548*56bb7041Schristos sections on finding one that isn't allocated. Match .rel even when 549*56bb7041Schristos placing .rela and vice versa, when setting last_rel and 550*56bb7041Schristos last_rel_alloc for the first time. If no reloc sections in script, 551*56bb7041Schristos prefer allocated section over non-alloc. 552*56bb7041Schristos (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. 553*56bb7041Schristos 554*56bb7041Schristos2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> 555*56bb7041Schristos 556*56bb7041Schristos * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack 557*56bb7041Schristos section for shared library. 558*56bb7041Schristos * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. 559*56bb7041Schristos * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. 560*56bb7041Schristos 561*56bb7041Schristos2003-07-29 Stephane Carrez <stcarrez@nerim.fr> 562*56bb7041Schristos 563*56bb7041Schristos * scripttempl/elfm68hc12.sc: Add gcc_except_table. 564*56bb7041Schristos * scripttempl/elfm68hc11.sc: Likewise. 565*56bb7041Schristos 566*56bb7041Schristos2003-07-28 Alan Modra <amodra@bigpond.net.au> 567*56bb7041Schristos 568*56bb7041Schristos * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. 569*56bb7041Schristos 570*56bb7041Schristos * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. 571*56bb7041Schristos 572*56bb7041Schristos2003-07-27 Alan Modra <amodra@bigpond.net.au> 573*56bb7041Schristos 574*56bb7041Schristos * ld.texinfo: Typo fixes. Document SUBALIGN. 575*56bb7041Schristos * ldgram.y (opt_subalign): Add. 576*56bb7041Schristos * ldlex.l (SUBALIGN): Recognize. 577*56bb7041Schristos * ldlang.c (overlay_subalign): New var. 578*56bb7041Schristos (lang_enter_overlay): Add subalign param. 579*56bb7041Schristos (lang_enter_overlay_section): Pass overlay_subalign to 580*56bb7041Schristos lang_enter_output_section_statement. 581*56bb7041Schristos * ldlang.h (lang_enter_overlay): Update. 582*56bb7041Schristos 583*56bb7041Schristos2003-07-24 Nick Clifton <nickc@redhat.com> 584*56bb7041Schristos 585*56bb7041Schristos * po/fr.po: Updated French translation. 586*56bb7041Schristos 587*56bb7041Schristos2003-07-23 Stephane Carrez <stcarrez@nerim.fr> 588*56bb7041Schristos 589*56bb7041Schristos * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into 590*56bb7041Schristos account .tramp sections; 591*56bb7041Schristos * scripttempl/elfm68hc12.sc: Likewise. 592*56bb7041Schristos 593*56bb7041Schristos2003-07-17 Charles Wilson <cwilson@ece.gatech.edu> 594*56bb7041Schristos 595*56bb7041Schristos * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] 596*56bb7041Schristos 597*56bb7041Schristos2003-07-17 Nick Clifton <nickc@redhat.com> 598*56bb7041Schristos 599*56bb7041Schristos * po/es.po: New Spanish translation. 600*56bb7041Schristos 601*56bb7041Schristos2003-07-11 Alan Modra <amodra@bigpond.net.au> 602*56bb7041Schristos 603*56bb7041Schristos * po/ld.pot: Regenerate. 604*56bb7041Schristos 605*56bb7041Schristos2003-07-10 Bob Wilson <bob.wilson@acm.org> 606*56bb7041Schristos 607*56bb7041Schristos * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit 608*56bb7041Schristos with new .got.loc section. 609*56bb7041Schristos (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for 610*56bb7041Schristos non-relocating links. 611*56bb7041Schristos (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce 612*56bb7041Schristos sections separate for non-relocating links; likewise for .xt.insn. 613*56bb7041Schristos 614*56bb7041Schristos2003-07-10 Alexandre Oliva <aoliva@redhat.com> 615*56bb7041Schristos 616*56bb7041Schristos 2001-08-22 Alexandre Oliva <aoliva@redhat.com> 617*56bb7041Schristos * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. 618*56bb7041Schristos 2001-05-09 Alexandre Oliva <aoliva@redhat.com> 619*56bb7041Schristos * configure.host (am33_2.0-*-linux*): Added. 620*56bb7041Schristos * configure.tgt (am33_2.0-*-linux*): Likewise. 621*56bb7041Schristos * emulparams/elf32am33lin.sh: New. 622*56bb7041Schristos * Makefile.am (eelf32am33lin.c): New rule. 623*56bb7041Schristos * Makefile.in: Rebuilt. 624*56bb7041Schristos 625*56bb7041Schristos2003-07-09 Alexandre Oliva <aoliva@redhat.com> 626*56bb7041Schristos 627*56bb7041Schristos 2001-04-17 Alexandre Oliva <aoliva@redhat.com> 628*56bb7041Schristos * emulparams/mn10300.sh (TEMPLATE_NAME): Define. 629*56bb7041Schristos (GENERATE_SHLIB_SCRIPT): Likewise. 630*56bb7041Schristos 631*56bb7041Schristos2003-07-10 Alan Modra <amodra@bigpond.net.au> 632*56bb7041Schristos 633*56bb7041Schristos * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. 634*56bb7041Schristos (GOT): Define. 635*56bb7041Schristos * emultempl/ppc64elf.em (stub_added): New static var. 636*56bb7041Schristos (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. 637*56bb7041Schristos (ppc_add_stub_section): Set stub_added. 638*56bb7041Schristos (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust 639*56bb7041Schristos ppc64_elf_size_stubs call and test for stubs. 640*56bb7041Schristos * scripttempl/elf.sc (GOT): Define and use. 641*56bb7041Schristos 642*56bb7041Schristos2003-07-08 J"orn Rennecke <joern.rennecke@superh.com> 643*56bb7041Schristos 644*56bb7041Schristos * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 645*56bb7041Schristos Allow second call from ldemul_finish. 646*56bb7041Schristos 647*56bb7041Schristos2003-07-04 J"orn Rennecke <joern.rennecke@superh.com> 648*56bb7041Schristos 649*56bb7041Schristos * emulparams/shelf32.sh (STACK_ADDR): Don't define. 650*56bb7041Schristos (OTHER_SECTIONS): Include .stack. 651*56bb7041Schristos * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. 652*56bb7041Schristos 653*56bb7041Schristos2003-07-02 Jakub Jelinek <jakub@redhat.com> 654*56bb7041Schristos 655*56bb7041Schristos * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include 656*56bb7041Schristos .opd if -pie. 657*56bb7041Schristos (OTHER_READWRITE_SECTIONS): Include .opd if -pie. 658*56bb7041Schristos * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR 659*56bb7041Schristos if -pie. 660*56bb7041Schristos 661*56bb7041Schristos2003-06-28 Alan Modra <amodra@bigpond.net.au> 662*56bb7041Schristos 663*56bb7041Schristos * ld.h: Convert to C90, remove unnecessary prototypes and casts. 664*56bb7041Schristos Replace PTR with void *. Formatting. 665*56bb7041Schristos * ldcref.c: Likewise. 666*56bb7041Schristos * ldctor.c: Likewise. 667*56bb7041Schristos * ldctor.h: Likewise. 668*56bb7041Schristos * ldemul.h: Likewise. 669*56bb7041Schristos * ldexp.c: Likewise. 670*56bb7041Schristos * ldexp.h: Likewise. 671*56bb7041Schristos * ldfile.c: Likewise. 672*56bb7041Schristos * ldfile.h: Likewise. 673*56bb7041Schristos * ldlang.c: Likewise. 674*56bb7041Schristos * ldlang.h: Likewise. 675*56bb7041Schristos * ldlex.h: Likewise. 676*56bb7041Schristos * ldlex.l: Likewise. 677*56bb7041Schristos * ldmain.c: Likewise. 678*56bb7041Schristos * ldmain.h: Likewise. 679*56bb7041Schristos * ldmisc.c: Likewise. 680*56bb7041Schristos * ldmisc.h: Likewise. 681*56bb7041Schristos * ldver.h: Likewise. 682*56bb7041Schristos * ldwrite.c: Likewise. 683*56bb7041Schristos * ldwrite.h: Likewise. 684*56bb7041Schristos * lexsup.c: Likewise. 685*56bb7041Schristos * mri.c: Likewise. 686*56bb7041Schristos * mri.h: Likewise. 687*56bb7041Schristos * pe-dll.c: Likewise. 688*56bb7041Schristos * pe-dll.h: Likewise. 689*56bb7041Schristos * deffilep.y: Likewise. 690*56bb7041Schristos * deffile.h: Likewise. Don't include ansidecl.h. 691*56bb7041Schristos * emulparams/elf32mcore.sh: Remove unnecessary cast. 692*56bb7041Schristos * emultempl/m68kcoff.em: Likewise. 693*56bb7041Schristos * emultempl/m68kelf.em: Likewise. 694*56bb7041Schristos * emultempl/ticoff.em: Remove lang_add_output_format declaration. 695*56bb7041Schristos * sysdep.h: Don't include ansidecl.h. 696*56bb7041Schristos * Makefile.am: Run "make dep-am". 697*56bb7041Schristos * Makefile.in: Regenerate. 698*56bb7041Schristos 699*56bb7041Schristos2003-06-27 Nick Clifton <nickc@redhat.com> 700*56bb7041Schristos 701*56bb7041Schristos * deffilep.y (def_file_add_directive): Cope with NUL seperated 702*56bb7041Schristos directives. Fix reporting of unparseable directives. 703*56bb7041Schristos (def_error): Check for a NULL def_filename. 704*56bb7041Schristos 705*56bb7041Schristos2003-06-27 Alan Modra <amodra@bigpond.net.au> 706*56bb7041Schristos 707*56bb7041Schristos * emultempl/aix.em: Convert to C90, remove unnecessary prototypes 708*56bb7041Schristos and casts. Replace PTR with void *. Formatting. 709*56bb7041Schristos * emultempl/alphaelf.em: Likewise. 710*56bb7041Schristos * emultempl/armcoff.em: Likewise. 711*56bb7041Schristos * emultempl/armelf.em: Likewise. 712*56bb7041Schristos * emultempl/armelf_oabi.em: Likewise. 713*56bb7041Schristos * emultempl/beos.em: Likewise. 714*56bb7041Schristos * emultempl/elf32.em: Likewise. 715*56bb7041Schristos * emultempl/generic.em: Likewise. 716*56bb7041Schristos * emultempl/gld960.em: Likewise. 717*56bb7041Schristos * emultempl/gld960c.em: Likewise. 718*56bb7041Schristos * emultempl/hppaelf.em: Likewise. 719*56bb7041Schristos * emultempl/linux.em: Likewise. 720*56bb7041Schristos * emultempl/lnk960.em: Likewise. 721*56bb7041Schristos * emultempl/m68hc1xelf.em: Likewise. 722*56bb7041Schristos * emultempl/m68kcoff.em: Likewise. 723*56bb7041Schristos * emultempl/m68kelf.em: Likewise. 724*56bb7041Schristos * emultempl/mipsecoff.em: Likewise. 725*56bb7041Schristos * emultempl/mipself.em: Likewise. 726*56bb7041Schristos * emultempl/mmix-elfnmmo.em: Likewise. 727*56bb7041Schristos * emultempl/mmixelf.em: Likewise. 728*56bb7041Schristos * emultempl/mmo.em: Likewise. 729*56bb7041Schristos * emultempl/needrelax.em: Likewise. 730*56bb7041Schristos * emultempl/netbsd.em: Likewise. 731*56bb7041Schristos * emultempl/pe.em: Likewise. 732*56bb7041Schristos * emultempl/sh64elf.em: Likewise. 733*56bb7041Schristos * emultempl/sunos.em: Likewise. 734*56bb7041Schristos * emultempl/ticoff.em: Likewise. 735*56bb7041Schristos * emultempl/vanilla.em: Likewise. 736*56bb7041Schristos * emultempl/xtensaelf.em: Likewise. 737*56bb7041Schristos * Makefile.am: Correct dependencies. 738*56bb7041Schristos * Makefile.in: Regenerate. 739*56bb7041Schristos 740*56bb7041Schristos2003-06-25 Alan Modra <amodra@bigpond.net.au> 741*56bb7041Schristos 742*56bb7041Schristos * ld.texinfo: Correct spelling of "relocatable". 743*56bb7041Schristos * ldctor.c: Likewise. 744*56bb7041Schristos * ldexp.c: Likewise. 745*56bb7041Schristos * ldfile.c: Likewise. 746*56bb7041Schristos * ldint.texinfo: Likewise. 747*56bb7041Schristos * ldlang.c: Likewise. 748*56bb7041Schristos * ldmain.c: Likewise. 749*56bb7041Schristos * ldwrite.c: Likewise. 750*56bb7041Schristos * lexsup.c: Likewise. 751*56bb7041Schristos * emultempl/aix.em: Likewise. 752*56bb7041Schristos * emultempl/alphaelf.em: Likewise. 753*56bb7041Schristos * emultempl/armcoff.em: Likewise. 754*56bb7041Schristos * emultempl/armelf_oabi.em: Likewise. 755*56bb7041Schristos * emultempl/beos.em: Likewise. 756*56bb7041Schristos * emultempl/elf32.em: Likewise. 757*56bb7041Schristos * emultempl/generic.em: Likewise. 758*56bb7041Schristos * emultempl/gld960.em: Likewise. 759*56bb7041Schristos * emultempl/gld960c.em: Likewise. 760*56bb7041Schristos * emultempl/hppaelf.em: Likewise. 761*56bb7041Schristos * emultempl/linux.em: Likewise. 762*56bb7041Schristos * emultempl/lnk960.em: Likewise. 763*56bb7041Schristos * emultempl/m68hc1xelf.em: Likewise. 764*56bb7041Schristos * emultempl/m68kcoff.em: Likewise. 765*56bb7041Schristos * emultempl/m68kelf.em: Likewise. 766*56bb7041Schristos * emultempl/mipsecoff.em: Likewise. 767*56bb7041Schristos * emultempl/mipself.em: Likewise. 768*56bb7041Schristos * emultempl/mmix-elfnmmo.em: Likewise. 769*56bb7041Schristos * emultempl/mmo.em: Likewise. 770*56bb7041Schristos * emultempl/needrelax.em: Likewise. 771*56bb7041Schristos * emultempl/pe.em: Likewise. 772*56bb7041Schristos * emultempl/ppc64elf.em: Likewise. 773*56bb7041Schristos * emultempl/sh64elf.em: Likewise. 774*56bb7041Schristos * emultempl/sunos.em: Likewise. 775*56bb7041Schristos * emultempl/ticoff.em: Likewise. 776*56bb7041Schristos * emultempl/xtensaelf.em: Likewise. 777*56bb7041Schristos 778*56bb7041Schristos2003-06-24 Alan Modra <amodra@bigpond.net.au> 779*56bb7041Schristos 780*56bb7041Schristos * emultempl/ppc32elf.em: Convert to C90. 781*56bb7041Schristos 782*56bb7041Schristos2003-06-20 Alan Modra <amodra@bigpond.net.au> 783*56bb7041Schristos 784*56bb7041Schristos * emultempl/ppc64elf.em: Convert to C90 function definitions, remove 785*56bb7041Schristos unnecessary prototypes and casts. 786*56bb7041Schristos 787*56bb7041Schristos2003-06-19 Alan Modra <amodra@bigpond.net.au> 788*56bb7041Schristos 789*56bb7041Schristos * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out 790*56bb7041Schristos statistics from ppc64_elf_build_stubs. 791*56bb7041Schristos 792*56bb7041Schristos2003-06-19 Alan Modra <amodra@bigpond.net.au> 793*56bb7041Schristos 794*56bb7041Schristos * emultempl/ppc64elf.em (build_section_lists): Check return status 795*56bb7041Schristos from ppc64_elf_next_input_section. 796*56bb7041Schristos 797*56bb7041Schristos2003-06-17 H.J. Lu <hongjiu.lu@intel.com> 798*56bb7041Schristos 799*56bb7041Schristos * ldlang.c (section_already_linked): Put back assignment of 800*56bb7041Schristos kept_section. 801*56bb7041Schristos 802*56bb7041Schristos2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com> 803*56bb7041Schristos 804*56bb7041Schristos * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D 805*56bb7041Schristos reloc. 806*56bb7041Schristos 807*56bb7041Schristos2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> 808*56bb7041Schristos 809*56bb7041Schristos * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 810*56bb7041Schristos if not produced by gcc. 811*56bb7041Schristos 812*56bb7041Schristos2003-06-16 Hans-Peter Nilsson <hp@axis.com> 813*56bb7041Schristos 814*56bb7041Schristos * configure.tgt: Add specific case for cris-*-linux-gnu* 815*56bb7041Schristos with crislinux emulation only. 816*56bb7041Schristos 817*56bb7041Schristos2003-06-13 Robert Millan <zeratul2@wanadoo.es> 818*56bb7041Schristos 819*56bb7041Schristos * configure.tgt: Add i386-netbsd-gnu target. 820*56bb7041Schristos 821*56bb7041Schristos2003-06-12 Richard Sandiford <rsandifo@redhat.com> 822*56bb7041Schristos 823*56bb7041Schristos * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations 824*56bb7041Schristos to $targ_extra_libpath. 825*56bb7041Schristos 826*56bb7041Schristos2003-06-11 H.J. Lu <hongjiu.lu@intel.com> 827*56bb7041Schristos 828*56bb7041Schristos * po/Make-in (DESTDIR): New. 829*56bb7041Schristos (install-data-yes): Support $(DESTDIR). 830*56bb7041Schristos (uninstall): Likewise. 831*56bb7041Schristos 832*56bb7041Schristos2003-06-10 Doug Evans <dje@sebabeach.org> 833*56bb7041Schristos 834*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add em32relf.o. 835*56bb7041Schristos * Makefile.in: Regenerate. 836*56bb7041Schristos 837*56bb7041Schristos2003-06-10 Richard Sandiford <rsandifo@redhat.com> 838*56bb7041Schristos 839*56bb7041Schristos * configure.tgt (h8300*): Add h8300sxn emulations. 840*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. 841*56bb7041Schristos (eh8300sxn.c, eh8300sxnelf.c): New rules. 842*56bb7041Schristos * Makefile.in: Regenerate. 843*56bb7041Schristos * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. 844*56bb7041Schristos * scripttempl/h8300sxn.sc: New file. 845*56bb7041Schristos 846*56bb7041Schristos2003-06-10 Alan Modra <amodra@bigpond.net.au> 847*56bb7041Schristos 848*56bb7041Schristos * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, 849*56bb7041Schristos CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. 850*56bb7041Schristos 851*56bb7041Schristos2003-06-08 Alan Modra <amodra@bigpond.net.au> 852*56bb7041Schristos 853*56bb7041Schristos * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. 854*56bb7041Schristos (build_toc_list): New function. 855*56bb7041Schristos (gld${EMULATION_NAME}_finish): Call build_toc_list and 856*56bb7041Schristos ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. 857*56bb7041Schristos (OPTION_STUBSYMS): Define. 858*56bb7041Schristos (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. 859*56bb7041Schristos (PARSE_AND_LIST_OPTIONS): Document. 860*56bb7041Schristos (PARSE_AND_LIST_ARGS_CASES): Handle. 861*56bb7041Schristos 862*56bb7041Schristos2003-06-05 Roland McGrath <roland@redhat.com> 863*56bb7041Schristos 864*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove 865*56bb7041Schristos extra \t in -z noexecstack line. 866*56bb7041Schristos 867*56bb7041Schristos2003-05-23 Jakub Jelinek <jakub@redhat.com> 868*56bb7041Schristos 869*56bb7041Schristos * ldgram.y (phdr_type): Grok PT_GNU_STACK. 870*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add 871*56bb7041Schristos -z execstack and -z noexecstack. 872*56bb7041Schristos (gld${EMULATION_NAME}_list_options): Likewise. 873*56bb7041Schristos * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. 874*56bb7041Schristos 875*56bb7041Schristos2003-06-03 Michael Snyder <msnyder@redhat.com> 876*56bb7041Schristos and Bernd Schmidt <bernds@redhat.com> 877*56bb7041Schristos and Alexandre Oliva <aoliva@redhat.com> 878*56bb7041Schristos 879*56bb7041Schristos * Makefile.am: Add new emulations for h8300sx. 880*56bb7041Schristos * Makefile.in: Regenerate. 881*56bb7041Schristos * configure.tgt: Add new emulations. 882*56bb7041Schristos * emulparams/h8300sx.sh: New emulation. 883*56bb7041Schristos * emulparams/h8300sxelf.sh: Ditto. 884*56bb7041Schristos * scripttempl/h8300sx.sc: Ditto. 885*56bb7041Schristos 886*56bb7041Schristos2003-06-03 H.J. Lu <hongjiu.lu@intel.com> 887*56bb7041Schristos 888*56bb7041Schristos * ldmisc.c: Include "bfdlink.h". 889*56bb7041Schristos (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION 890*56bb7041Schristos and -LD_DEFINITION_IN_DISCARDED_SECTION. 891*56bb7041Schristos 892*56bb7041Schristos * Makefile.am: Rebuild dependency. 893*56bb7041Schristos * Makefile.in: Regenerated. 894*56bb7041Schristos 895*56bb7041Schristos2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> 896*56bb7041Schristos 897*56bb7041Schristos * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. 898*56bb7041Schristos * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. 899*56bb7041Schristos 900*56bb7041Schristos2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> 901*56bb7041Schristos 902*56bb7041Schristos * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is 903*56bb7041Schristos sorted alphabetically, instead of exported_symbols, which is 904*56bb7041Schristos sorted by ordinal. 905*56bb7041Schristos 906*56bb7041Schristos2003-05-30 Ulrich Drepper <drepper@redhat.com> 907*56bb7041Schristos Jakub Jelinek <jakub@redhat.com> 908*56bb7041Schristos 909*56bb7041Schristos * lexsup.c (OPTION_PIE): Define. 910*56bb7041Schristos (ld_options): Add -pie and --pic-executable options. 911*56bb7041Schristos (parse_args): Handle OPTION_PIE. 912*56bb7041Schristos * ldmain.c (main): Initialize link_info.pie and 913*56bb7041Schristos link_info.executable. 914*56bb7041Schristos * genscripts.sh: Generate PIE scripts. 915*56bb7041Schristos * ld.texinfo: Document -pie and --pic-executable options. 916*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): 917*56bb7041Schristos (gld${EMULATION_NAME}_place_orphan): Likewise. 918*56bb7041Schristos (gld${EMULATION_NAME}_get_script): Include PIE scripts. 919*56bb7041Schristos * scripttempl/elf.sc: In PIE scripts set . the same way as in 920*56bb7041Schristos shared scripts. 921*56bb7041Schristos * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. 922*56bb7041Schristos * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. 923*56bb7041Schristos * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. 924*56bb7041Schristos * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. 925*56bb7041Schristos * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. 926*56bb7041Schristos * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. 927*56bb7041Schristos * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. 928*56bb7041Schristos * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. 929*56bb7041Schristos * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. 930*56bb7041Schristos * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. 931*56bb7041Schristos * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. 932*56bb7041Schristos 933*56bb7041Schristos2003-05-30 H.J. Lu <hongjiu.lu@intel.com> 934*56bb7041Schristos 935*56bb7041Schristos * genscripts.sh: Create tmpdir/libpath.exp. 936*56bb7041Schristos 937*56bb7041Schristos2003-05-30 Nick Clifton <nickc@redhat.com> 938*56bb7041Schristos 939*56bb7041Schristos * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT 940*56bb7041Schristos with a test for a NULL bfd_for_interworking. 941*56bb7041Schristos 942*56bb7041Schristos2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> 943*56bb7041Schristos 944*56bb7041Schristos * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS 945*56bb7041Schristos correctly for more recent versions of NetBSD. 946*56bb7041Schristos (alpha*-*-netbsd*): Remove. 947*56bb7041Schristos (i[3-7]86-*-netbsd*): Remove. 948*56bb7041Schristos 949*56bb7041Schristos2003-05-29 Nick Clifton <nickc@redhat.com> 950*56bb7041Schristos 951*56bb7041Schristos * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. 952*56bb7041Schristos 953*56bb7041Schristos2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 954*56bb7041Schristos 955*56bb7041Schristos * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to 956*56bb7041Schristos trap on pointer crops. 957*56bb7041Schristos 958*56bb7041Schristos2003-05-21 Marcus Comstedt <marcus@mc.pp.se> 959*56bb7041Schristos 960*56bb7041Schristos * configure.tgt: Check for a target triplet of shl-...-netbsdelf 961*56bb7041Schristos as well as shle-...-netbsdelf. 962*56bb7041Schristos 963*56bb7041Schristos2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> 964*56bb7041Schristos 965*56bb7041Schristos * configure.host: Accept i[3-7]86 variants. 966*56bb7041Schristos * configure.tgt: Likewise. 967*56bb7041Schristos 968*56bb7041Schristos2003-05-15 H.J. Lu <hongjiu.lu@intel.com> 969*56bb7041Schristos 970*56bb7041Schristos * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. 971*56bb7041Schristos 972*56bb7041Schristos2003-05-09 Daniel Jacobowitz <drow@mvista.com> 973*56bb7041Schristos 974*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. 975*56bb7041Schristos (earmelfb.c, earmelfb_linux.c): New rules. 976*56bb7041Schristos * Makefile.in: Regenerated. 977*56bb7041Schristos * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. 978*56bb7041Schristos * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. 979*56bb7041Schristos 980*56bb7041Schristos2003-05-09 Nick Clifton <nickc@redhat.com> 981*56bb7041Schristos 982*56bb7041Schristos * ldlang.c (lang_size_sections_1): Default to generating a 983*56bb7041Schristos fatal error message if a loadable section is not allocated 984*56bb7041Schristos to a memory region when regions are defined. 985*56bb7041Schristos 986*56bb7041Schristos2003-05-09 Alan Modra <amodra@bigpond.net.au> 987*56bb7041Schristos 988*56bb7041Schristos * Makefile.am (em68hc11elf.c): Correct dependencies. 989*56bb7041Schristos (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. 990*56bb7041Schristos * Makefile.in: Regenerate. 991*56bb7041Schristos * emultempl/elf32.em (find_exp_assignment): Adjust for changed 992*56bb7041Schristos bfd_elf_record_link_assignment name. 993*56bb7041Schristos 994*56bb7041Schristos2003-05-07 Alexandre Oliva <aoliva@redhat.com> 995*56bb7041Schristos 996*56bb7041Schristos * ldmain.h (overflow_cutoff_limit): Declare. 997*56bb7041Schristos * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. 998*56bb7041Schristos (reloc_overflow): Limit error messages based on it. 999*56bb7041Schristos * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to 1000*56bb7041Schristos unlimited. 1001*56bb7041Schristos 1002*56bb7041Schristos2003-05-05 Alan Modra <amodra@bigpond.net.au> 1003*56bb7041Schristos 1004*56bb7041Schristos * ldlex.l: Accept C style comments in version scripts. 1005*56bb7041Schristos 1006*56bb7041Schristos2003-04-28 H.J. Lu <hjl@gnu.org> 1007*56bb7041Schristos 1008*56bb7041Schristos * ldlang.c (lang_process): Add the relax finalize pass. 1009*56bb7041Schristos 1010*56bb7041Schristos * ldmain.c (main): Initialize link_info.relax_finalizing to 1011*56bb7041Schristos FALSE. 1012*56bb7041Schristos 1013*56bb7041Schristos2003-04-24 Roland McGrath <roland@redhat.com> 1014*56bb7041Schristos 1015*56bb7041Schristos * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. 1016*56bb7041Schristos If a name string is unknown, give an error rather than crashing later. 1017*56bb7041Schristos 1018*56bb7041Schristos2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> 1019*56bb7041Schristos 1020*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, 1021*56bb7041Schristos eh8300hnelf.o, eh8300snelf.o and respective rules. 1022*56bb7041Schristos * Makefile.in: Regenerate. 1023*56bb7041Schristos * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf 1024*56bb7041Schristos * emulparams/h8300hn.sh: New 1025*56bb7041Schristos * emulparams/h8300sn.sh: New 1026*56bb7041Schristos * emulparams/h8300hnelf.sh: New 1027*56bb7041Schristos * emulparams/h8300snelf.sh: New 1028*56bb7041Schristos * scripttempl/h8300hn.sc: new 1029*56bb7041Schristos * scripttempl/h8300sn.sc: new 1030*56bb7041Schristos 1031*56bb7041Schristos2003-04-23 H.J. Lu <hjl@gnu.org> 1032*56bb7041Schristos 1033*56bb7041Schristos * ldmain.c (link_callbacks): Initialize error_handler. 1034*56bb7041Schristos 1035*56bb7041Schristos * ldmisc.c (error_handler): New function. 1036*56bb7041Schristos 1037*56bb7041Schristos * ldmisc.h (error_handler): New prototype. 1038*56bb7041Schristos 1039*56bb7041Schristos2003-04-21 Stephane Carrez <stcarrez@nerim.fr> 1040*56bb7041Schristos 1041*56bb7041Schristos * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. 1042*56bb7041Schristos * emulparams/m68hc11elfb.sh: Likewise. 1043*56bb7041Schristos * emulparams/m68hc12elf.sh: Likewise. 1044*56bb7041Schristos * emulparams/m68hc12elfb.sh: Likewise. 1045*56bb7041Schristos 1046*56bb7041Schristos2003-04-19 Stephane Carrez <stcarrez@nerim.fr> 1047*56bb7041Schristos 1048*56bb7041Schristos * emultempl/m68hc1xelf.em: New file to generate far trampolines on 1049*56bb7041Schristos 68HC11 and 68HC12. 1050*56bb7041Schristos (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to 1051*56bb7041Schristos generate. 1052*56bb7041Schristos (LDEMUL_FINISH): Override to generate the trampolines after gc and 1053*56bb7041Schristos linker relaxation. 1054*56bb7041Schristos (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the 1055*56bb7041Schristos stub file for trampolines. 1056*56bb7041Schristos (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options 1057*56bb7041Schristos --no-trampoline and --bank-window to control the memory bank window. 1058*56bb7041Schristos 1059*56bb7041Schristos2003-04-18 H.J. Lu <hjl@gnu.org> 1060*56bb7041Schristos 1061*56bb7041Schristos * ldfile.c (ldfile_add_library_path): Remove the unused 1062*56bb7041Schristos variable. 1063*56bb7041Schristos 1064*56bb7041Schristos2003-04-18 Andrew Haley <aph@cambridge.redhat.com> 1065*56bb7041Schristos 1066*56bb7041Schristos * scripttempl/xstormy16.sc (__data, __rdata): New. 1067*56bb7041Schristos 1068*56bb7041Schristos2003-04-16 Nick Clifton <nickc@redhat.com> 1069*56bb7041Schristos 1070*56bb7041Schristos * scripttempl/xstormy16.sc: Add .jcr section mapping. 1071*56bb7041Schristos 1072*56bb7041Schristos2003-04-15 H.J. Lu <hjl@gnu.org> 1073*56bb7041Schristos 1074*56bb7041Schristos From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: 1075*56bb7041Schristos 1076*56bb7041Schristos * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. 1077*56bb7041Schristos 1078*56bb7041Schristos2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> 1079*56bb7041Schristos 1080*56bb7041Schristos * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. 1081*56bb7041Schristos * ld.texinfo: Likewise. 1082*56bb7041Schristos 1083*56bb7041Schristos2003-04-14 Alan Modra <amodra@bigpond.net.au> 1084*56bb7041Schristos 1085*56bb7041Schristos From Prashanth Tamraparni <prashanth_t@in.ibm.com> 1086*56bb7041Schristos * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and 1087*56bb7041Schristos other variants of crtbegin.o, crtend.o. 1088*56bb7041Schristos (DTOR): Likewise. 1089*56bb7041Schristos * scripttempl/crisaout.sc (ctors, dtors): Likewise. 1090*56bb7041Schristos * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. 1091*56bb7041Schristos * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. 1092*56bb7041Schristos * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. 1093*56bb7041Schristos * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. 1094*56bb7041Schristos * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. 1095*56bb7041Schristos * scripttempl/mmo.sc (ctors, dtors): Likewise. 1096*56bb7041Schristos * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. 1097*56bb7041Schristos 1098*56bb7041Schristos2003-04-09 Dmitry Diky <diwil@mail.ru> 1099*56bb7041Schristos 1100*56bb7041Schristos * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors 1101*56bb7041Schristos sections to respect C++ constructor/destructor. Add ctors/dtors 1102*56bb7041Schristos start/stop definitions. 1103*56bb7041Schristos * scripttempl/elf32msp430_3.sc: Likewise. 1104*56bb7041Schristos 1105*56bb7041Schristos2003-04-06 Nick Clifton <nickc@redhat.com> 1106*56bb7041Schristos 1107*56bb7041Schristos * ld.texinfo (Options): Add a reminder of the target specific 1108*56bb7041Schristos nature to the description of the i386 PE specific options, for 1109*56bb7041Schristos readers who have not read all the way through the manual. 1110*56bb7041Schristos 1111*56bb7041Schristos2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> 1112*56bb7041Schristos 1113*56bb7041Schristos * configure.tgt: Fixed bug in list of targ_extra_emuls. 1114*56bb7041Schristos * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace 1115*56bb7041Schristos cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ 1116*56bb7041Schristos * emulparams/tic3xcoff_onchip.sh: Ditto 1117*56bb7041Schristos * emulparams/tic4xcoff.sh: Ditto 1118*56bb7041Schristos * scripttempl/tic4xcoff.sc: Ditto 1119*56bb7041Schristos 1120*56bb7041Schristos2003-04-03 Nick Clifton <nickc@redhat.com> 1121*56bb7041Schristos 1122*56bb7041Schristos * NEWS: Mention support for Xtensa architecture. 1123*56bb7041Schristos 1124*56bb7041Schristos2003-04-02 Nick Clifton <nickc@redhat.com> 1125*56bb7041Schristos 1126*56bb7041Schristos * pe-dll.c (pe_detail_list): arm-pe targets use underscores. 1127*56bb7041Schristos 1128*56bb7041Schristos2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> 1129*56bb7041Schristos 1130*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): 1131*56bb7041Schristos Don't call pe_dll_build_section() if link_info.relocateable. 1132*56bb7041Schristos (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() 1133*56bb7041Schristos if link_info.relocateable. 1134*56bb7041Schristos 1135*56bb7041Schristos2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> 1136*56bb7041Schristos 1137*56bb7041Schristos * pe-dll.c (process_def_file): Don't create an export 1138*56bb7041Schristos section if there are no exports and we're building an exe 1139*56bb7041Schristos (pe_dll_build_sections): Ditto 1140*56bb7041Schristos (pe_dll_fill_sections): Conditionalize setting 1141*56bb7041Schristos abfd->dll true on info->shared 1142*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): 1143*56bb7041Schristos If i386pe or armpe, call pe_dll_build_section() 1144*56bb7041Schristos for both exe's and dll's, not just dll's. 1145*56bb7041Schristos (gld_${EMULATION_NAME}_finish): For all targets except 1146*56bb7041Schristos shpe and mipspe, call pe_dll_fill_sections() for both 1147*56bb7041Schristos exe's and dll's, not just dll's. 1148*56bb7041Schristos 1149*56bb7041Schristos2003-04-02 Bob Wilson <bob.wilson@acm.org> 1150*56bb7041Schristos 1151*56bb7041Schristos * emulparams/xtensa-config.sh: Remove comment indicating that this is 1152*56bb7041Schristos a generated file. 1153*56bb7041Schristos 1154*56bb7041Schristos2003-04-01 Bob Wilson <bob.wilson@acm.org> 1155*56bb7041Schristos 1156*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. 1157*56bb7041Schristos (eelf32xtensa.c): New target. 1158*56bb7041Schristos * Makefile.in: Regenerate. 1159*56bb7041Schristos * configure.tgt: Handle xtensa-*-*. 1160*56bb7041Schristos * gen-doc.texi: Set XTENSA variable. 1161*56bb7041Schristos * ld.texinfo: Set XTENSA variable. Add new Xtensa node. 1162*56bb7041Schristos * emulparams/elf32xtensa.sh: New file. 1163*56bb7041Schristos * emulparams/xtensa-config.sh: Likewise. 1164*56bb7041Schristos * emultempl/xtensaelf.em: Likewise. 1165*56bb7041Schristos * scripttempl/elfxtensa.sc: Likewise. 1166*56bb7041Schristos 1167*56bb7041Schristos2003-04-01 Jakub Jelinek <jakub@redhat.com> 1168*56bb7041Schristos 1169*56bb7041Schristos * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 1170*56bb7041Schristos targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath 1171*56bb7041Schristos if --enable-64-bit-bfd. 1172*56bb7041Schristos 1173*56bb7041Schristos2003-04-01 Nick Clifton <nickc@redhat.com> 1174*56bb7041Schristos 1175*56bb7041Schristos * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of 1176*56bb7041Schristos note section. 1177*56bb7041Schristos * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change 1178*56bb7041Schristos name of note section. 1179*56bb7041Schristos 1180*56bb7041Schristos2003-03-31 Alexandre Oliva <aoliva@redhat.com> 1181*56bb7041Schristos 1182*56bb7041Schristos * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of 1183*56bb7041Schristos --section-start. 1184*56bb7041Schristos 1185*56bb7041Schristos2003-03-31 David Heine <dlheine@suif.stanford.edu> 1186*56bb7041Schristos 1187*56bb7041Schristos * ldfile.c (ldfile_add_library_path): Always allocate space for 1188*56bb7041Schristos the filename. 1189*56bb7041Schristos * ldlang.c (lang_register_vers_node): Free the node if it cannot 1190*56bb7041Schristos be used. 1191*56bb7041Schristos * ldmain.c (set_scripts_dir): Always free the constructed 1192*56bb7041Schristos directory name. 1193*56bb7041Schristos (add_keepsyms_file): Fix memory leak. 1194*56bb7041Schristos * ldmisc.c (vfinfo): Likewise. 1195*56bb7041Schristos * lexsup.c (parse_args): Likewise. 1196*56bb7041Schristos 1197*56bb7041Schristos2003-03-25 Stan Cox <scox@redhat.com> 1198*56bb7041Schristos Nick Clifton <nickc@redhat.com> 1199*56bb7041Schristos 1200*56bb7041Schristos Contribute support for Intel's iWMMXt chip - an ARM variant: 1201*56bb7041Schristos 1202*56bb7041Schristos * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. 1203*56bb7041Schristos * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. 1204*56bb7041Schristos * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. 1205*56bb7041Schristos (.bss): Likewise. 1206*56bb7041Schristos 1207*56bb7041Schristos2003-03-25 Alexandre Oliva <aoliva@redhat.com> 1208*56bb7041Schristos 1209*56bb7041Schristos * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. 1210*56bb7041Schristos * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. 1211*56bb7041Schristos (main): Initialize them. 1212*56bb7041Schristos * ldfile.c: Include pathnames.h. 1213*56bb7041Schristos (is_sysrooted_pathname): New. 1214*56bb7041Schristos (ldfile_add_library_path): Use it. 1215*56bb7041Schristos (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't 1216*56bb7041Schristos search_dirs if given an absolute pathname. 1217*56bb7041Schristos (ldfile_open_file): Issue error message for sysrooted 1218*56bb7041Schristos absolute pathnames. 1219*56bb7041Schristos * Makefile.am: Updated dependencies. 1220*56bb7041Schristos * Makefile.in: Rebuild. 1221*56bb7041Schristos 1222*56bb7041Schristos2003-03-24 Daniel N�ri <dne@mayonnaise.net> 1223*56bb7041Schristos 1224*56bb7041Schristos * ld.texinfo: Rename all occurances of C54X to TIC54X. 1225*56bb7041Schristos 1226*56bb7041Schristos2003-03-19 Andreas Schwab <schwab@suse.de> 1227*56bb7041Schristos 1228*56bb7041Schristos * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after 1229*56bb7041Schristos eof. 1230*56bb7041Schristos 1231*56bb7041Schristos2003-03-18 Danny Smith <dannysmith@users.sourceforge.net> 1232*56bb7041Schristos 1233*56bb7041Schristos * deffilep.y (opt_base): If no number given, set to default 1234*56bb7041Schristos (-1), not 0. 1235*56bb7041Schristos 1236*56bb7041Schristos2003-03-13 Danny Smith <dannysmith@users.sourceforge.net> 1237*56bb7041Schristos 1238*56bb7041Schristos * deffilep.y (def_import): Use default extension of "dll" 1239*56bb7041Schristos if no extension provided in parsed IMPORT definition. 1240*56bb7041Schristos 1241*56bb7041Schristos * deffilep.y (def_lex): Revert 2003-03-12 change. 1242*56bb7041Schristos (dot_name): New id type and rule. 1243*56bb7041Schristos (expline): Use instead of ID. 1244*56bb7041Schristos (opt_equal_name): Likewise. 1245*56bb7041Schristos 1246*56bb7041Schristos2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> 1247*56bb7041Schristos 1248*56bb7041Schristos * deffilep.y (def_lex): Accept '.' as valid non-lead char. 1249*56bb7041Schristos 1250*56bb7041Schristos2003-03-07 Christopher Faylor <cgf@redhat.com> 1251*56bb7041Schristos 1252*56bb7041Schristos * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after 1253*56bb7041Schristos apparent accidental removal on 2003-01-06. 1254*56bb7041Schristos 1255*56bb7041Schristos2003-03-04 Dmitry Diky <diwil@mail.ru> 1256*56bb7041Schristos 1257*56bb7041Schristos * Makefile.am: Add new devices x1122 x1132 emulation 1258*56bb7041Schristos * configure.tgt: Likewise. 1259*56bb7041Schristos * Makefile.in: Regenerate. 1260*56bb7041Schristos * emulparams/msp430x1122.sh: New file. 1261*56bb7041Schristos * emulparams/msp430x1132.sh: New file. 1262*56bb7041Schristos 1263*56bb7041Schristos2003-03-03 Alexandre Oliva <aoliva@redhat.com> 1264*56bb7041Schristos 1265*56bb7041Schristos * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as 1266*56bb7041Schristos well. 1267*56bb7041Schristos 1268*56bb7041Schristos * ldfile.h (struct search_dirs): Added sysrooted field. 1269*56bb7041Schristos * ldlang.h (struct lang_input_statement_struct): Likewise. 1270*56bb7041Schristos * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. 1271*56bb7041Schristos (ldfile_open_file_search): Look for sysrooted filename starting 1272*56bb7041Schristos with / in ld_sysroot instead of in the current directory. Clear 1273*56bb7041Schristos sysrooted flag if it's found in the current directory. Set it 1274*56bb7041Schristos from the search directory's sysrooted flag where it is found 1275*56bb7041Schristos otherwise. 1276*56bb7041Schristos * ldlang.c (ldlang_sysrooted_script): New static variable. 1277*56bb7041Schristos (new_afile): Mark search_file_enums as sysrooted if 1278*56bb7041Schristos ldlang_sysrooted_script. 1279*56bb7041Schristos (load_symbols): Set ldlang_sysrooted_script according to the 1280*56bb7041Schristos script's sysrooted field while processing it. 1281*56bb7041Schristos * ld.texinfo: Document INPUT behavior in sysroot. 1282*56bb7041Schristos 1283*56bb7041Schristos2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> 1284*56bb7041Schristos 1285*56bb7041Schristos * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, 1286*56bb7041Schristos 1287*56bb7041Schristos2003-03-03 Alan Modra <amodra@bigpond.net.au> 1288*56bb7041Schristos 1289*56bb7041Schristos * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. 1290*56bb7041Schristos (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, 1291*56bb7041Schristos PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, 1292*56bb7041Schristos PARSE_AND_LIST_EPILOGUE): Don't define. 1293*56bb7041Schristos * emultempl/alphaelf.em: New file. 1294*56bb7041Schristos 1295*56bb7041Schristos2003-03-01 Alan Modra <amodra@bigpond.net.au> 1296*56bb7041Schristos 1297*56bb7041Schristos * ldemul.c: Include getopt.h. 1298*56bb7041Schristos * emultempl/elf32.em: Include getopt.h earlier. 1299*56bb7041Schristos * emultempl/ticoff.em: Likewise. 1300*56bb7041Schristos 1301*56bb7041Schristos2003-02-28 Alan Modra <amodra@bigpond.net.au> 1302*56bb7041Schristos 1303*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc 1304*56bb7041Schristos support when scripts read from files. 1305*56bb7041Schristos 1306*56bb7041Schristos2003-02-28 Alan Modra <amodra@bigpond.net.au> 1307*56bb7041Schristos 1308*56bb7041Schristos * ldemul.c (ldemul_parse_args): Return FALSE by default. 1309*56bb7041Schristos * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args 1310*56bb7041Schristos comment. 1311*56bb7041Schristos 1312*56bb7041Schristos * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. 1313*56bb7041Schristos (ldemul_parse_args): Return bfd_boolean. Formatting. 1314*56bb7041Schristos * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. 1315*56bb7041Schristos (ldemul_parse_args): Adjust. 1316*56bb7041Schristos (struct ld_emulation_xfer_struct): Add add_options and handle_option. 1317*56bb7041Schristos Return bfd_boolean from parse_args. 1318*56bb7041Schristos * lexsup.c (parse_args): Malloc shortopts, longopts and 1319*56bb7041Schristos really_longopts. Call ldemul_add_options and ldemul_handle_option. 1320*56bb7041Schristos * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from 1321*56bb7041Schristos gld${EMULATION_NAME}_parse_args. 1322*56bb7041Schristos (gld${EMULATION_NAME}_handle_option): Likewise. 1323*56bb7041Schristos (ld_${EMULATION_NAME}_emulation): Adjust initializer. 1324*56bb7041Schristos * emultempl/armcoff.em: As for aix.em, but remove parse_args. 1325*56bb7041Schristos * emultempl/beos.em: Likewise. 1326*56bb7041Schristos * emultempl/pe.em: Likewise. 1327*56bb7041Schristos * emultempl/ticoff.em: Likewise. 1328*56bb7041Schristos * emultempl/elf32.em: Likewise. Don't duplicate long options either. 1329*56bb7041Schristos (gld${EMULATION_NAME}_add_sysroot): Prototype. 1330*56bb7041Schristos * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate 1331*56bb7041Schristos options. 1332*56bb7041Schristos * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 1333*56bb7041Schristos * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 1334*56bb7041Schristos * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. 1335*56bb7041Schristos * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust 1336*56bb7041Schristos initializer. 1337*56bb7041Schristos * emultempl/generic.em: Likewise. 1338*56bb7041Schristos * emultempl/gld960.em: Likewise. 1339*56bb7041Schristos * emultempl/gld960c.em: Likewise. 1340*56bb7041Schristos * emultempl/linux.em: Likewise. 1341*56bb7041Schristos * emultempl/lnk960.em: Likewise. 1342*56bb7041Schristos * emultempl/m68kcoff.em: Likewise. 1343*56bb7041Schristos * emultempl/mipsecoff.em: Likewise. 1344*56bb7041Schristos * emultempl/sunos.em: Likewise. 1345*56bb7041Schristos * emultempl/vanilla.em: Likewise. 1346*56bb7041Schristos * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. 1347*56bb7041Schristos 1348*56bb7041Schristos2003-02-25 Alexandre Oliva <aoliva@redhat.com> 1349*56bb7041Schristos 1350*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix 1351*56bb7041Schristos memory allocation error. 1352*56bb7041Schristos 1353*56bb7041Schristos * Makefile.am (ldmain.o): Define TOOLBINDIR. 1354*56bb7041Schristos * Makefile.in: Rebuilt. 1355*56bb7041Schristos * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. 1356*56bb7041Schristos 1357*56bb7041Schristos2003-02-21 Bob Wilson <bob.wilson@acm.org> 1358*56bb7041Schristos 1359*56bb7041Schristos * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only 1360*56bb7041Schristos call os_region_check when it is set. 1361*56bb7041Schristos (lang_size_sections): Add CHECK_REGIONS argument and pass it through to 1362*56bb7041Schristos lang_size_sections_1. 1363*56bb7041Schristos (lang_process): Change lang_size_sections calls to set CHECK_REGIONS 1364*56bb7041Schristos only for the last call, not on every relaxation iteration. 1365*56bb7041Schristos * ldlang.h (lang_size_sections): Update prototype. 1366*56bb7041Schristos * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls 1367*56bb7041Schristos to lang_size_sections. 1368*56bb7041Schristos (pe_exe_fill_sections): Likewise. 1369*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. 1370*56bb7041Schristos * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 1371*56bb7041Schristos * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. 1372*56bb7041Schristos (ppc_layout_sections_again): Likewise. 1373*56bb7041Schristos 1374*56bb7041Schristos2003-02-21 Bob Wilson <bob.wilson@acm.org> 1375*56bb7041Schristos 1376*56bb7041Schristos * gen-doc.texi: Set ARM and HPPA variables. 1377*56bb7041Schristos * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section 1378*56bb7041Schristos title capitalization more consistent. Add missing menu entries for 1379*56bb7041Schristos machine-specific sections and conditionalize them consistently. 1380*56bb7041Schristos Conditionalize text that is irrelevant when SingleFormat is set. 1381*56bb7041Schristos Add @group divisions to improve page breaks in long examples. 1382*56bb7041Schristos Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output 1383*56bb7041Schristos is correct. Remove "FIXME" comment about not using 1384*56bb7041Schristos @raisesections/@lowersections. Use @raisesections/@lowersections 1385*56bb7041Schristos consistently for machine-specific sections. Change to be more polite 1386*56bb7041Schristos about poor bug reports. Replace FDL appendix with include of fdl.texi. 1387*56bb7041Schristos Move WIN32 node to match its order in the menus. 1388*56bb7041Schristos * fdl.texi: New file. 1389*56bb7041Schristos 1390*56bb7041Schristos2003-02-20 Alexandre Oliva <aoliva@redhat.com> 1391*56bb7041Schristos 1392*56bb7041Schristos * configure.in (TARGET_SYSTEM_ROOT): Set default to 1393*56bb7041Schristos ${exec_prefix}/${target_alias}/sys-root. Match explicit 1394*56bb7041Schristos '${exec_prefix}' (in addition to the expansion thereof) as 1395*56bb7041Schristos relocatable. 1396*56bb7041Schristos * configure: Rebuilt. 1397*56bb7041Schristos 1398*56bb7041Schristos2003-02-20 Phil Edwards <pme@gcc.gnu.org> 1399*56bb7041Schristos 1400*56bb7041Schristos * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. 1401*56bb7041Schristos 1402*56bb7041Schristos2003-02-20 Harri Porten <porten@kde.org> 1403*56bb7041Schristos 1404*56bb7041Schristos * ldgram.y (vers_defns): Allow optional trailing semicolon in 1405*56bb7041Schristos EXTERN NAME block; 1406*56bb7041Schristos 1407*56bb7041Schristos2003-02-18 Alan Modra <amodra@bigpond.net.au> 1408*56bb7041Schristos 1409*56bb7041Schristos * emultempl/ppc32elf.em: New file. 1410*56bb7041Schristos * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. 1411*56bb7041Schristos * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. 1412*56bb7041Schristos (eelf32lppcnto.c): Likewise. 1413*56bb7041Schristos (eelf32lppcsim.c): Likewise. 1414*56bb7041Schristos (eelf32ppcnto.c): Likewise. 1415*56bb7041Schristos (eelf32ppc.c): Likewise. 1416*56bb7041Schristos (eelf32ppc_fbsd.c): Likewise. 1417*56bb7041Schristos (eelf32ppcsim.c): Likewise. 1418*56bb7041Schristos (eelf32ppclinux.c): Likewise. 1419*56bb7041Schristos * Makefile.in: Regenerate. 1420*56bb7041Schristos 1421*56bb7041Schristos2003-02-18 Alan Modra <amodra@bigpond.net.au> 1422*56bb7041Schristos 1423*56bb7041Schristos * ld.texinfo: Remove spaces between @samp and opening brace. 1424*56bb7041Schristos 1425*56bb7041Schristos2003-02-18 Alan Modra <amodra@bigpond.net.au> 1426*56bb7041Schristos 1427*56bb7041Schristos * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check 1428*56bb7041Schristos hash creator. 1429*56bb7041Schristos (ppc_before_allocation): Don't do optimizations if wrong hash table. 1430*56bb7041Schristos (gld${EMULATION_NAME}_finish): Ditto. 1431*56bb7041Schristos 1432*56bb7041Schristos2003-02-17 Nick Clifton <nickc@redhat.com> 1433*56bb7041Schristos 1434*56bb7041Schristos * ldmain.c (main) Default allow_shlib_undefined to true. 1435*56bb7041Schristos * lexsup.c (ld_options): Add --no-allow-shlib-undefined. 1436*56bb7041Schristos (parse_args): Parse the new switch. 1437*56bb7041Schristos * ld.texinfo: Document new switch and default behaviour of 1438*56bb7041Schristos allowing undefined symbols in shared libraries. 1439*56bb7041Schristos 1440*56bb7041Schristos2003-02-11 Dmitry Diky <diwil@mail.ru> 1441*56bb7041Schristos 1442*56bb7041Schristos * scripttempl/elf32msp430.sc: Add new data anchors definitions. 1443*56bb7041Schristos * scripttempl/elf32msp430_3.sc: Likewise. 1444*56bb7041Schristos 1445*56bb7041Schristos2003-02-11 Uwe Stieber <uwe@wwws.de> 1446*56bb7041Schristos 1447*56bb7041Schristos * configure.tgt: Add support for kaOS as cross build target 1448*56bb7041Schristos system. 1449*56bb7041Schristos 1450*56bb7041Schristos2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca> 1451*56bb7041Schristos 1452*56bb7041Schristos * hppaelf.em (group_size): Change default back to 1. 1453*56bb7041Schristos 1454*56bb7041Schristos2003-02-09 Alan Modra <amodra@bigpond.net.au> 1455*56bb7041Schristos 1456*56bb7041Schristos * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. 1457*56bb7041Schristos 1458*56bb7041Schristos2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> 1459*56bb7041Schristos 1460*56bb7041Schristos * hppaelf.em (group_size): Change default to -1. 1461*56bb7041Schristos 1462*56bb7041Schristos2003-02-07 Nick Clifton <nickc@redhat.com> 1463*56bb7041Schristos 1464*56bb7041Schristos * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short 1465*56bb7041Schristos opt. 1466*56bb7041Schristos (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for 1467*56bb7041Schristos no-pipeline-knowledge. This will prevent the getopt package from 1468*56bb7041Schristos thinking that there are any shorter abbreviations for 1469*56bb7041Schristos --no-pipeline-knowledge. 1470*56bb7041Schristos 1471*56bb7041Schristos2003-02-07 Jakub Jelinek <jakub@redhat.com> 1472*56bb7041Schristos 1473*56bb7041Schristos * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths 1474*56bb7041Schristos which already have it. Avoid duplicates. 1475*56bb7041Schristos 1476*56bb7041Schristos2003-02-06 Jakub Jelinek <jakub@redhat.com> 1477*56bb7041Schristos 1478*56bb7041Schristos * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. 1479*56bb7041Schristos * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. 1480*56bb7041Schristos * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. 1481*56bb7041Schristos 1482*56bb7041Schristos2003-02-05 Alan Modra <amodra@bigpond.net.au> 1483*56bb7041Schristos 1484*56bb7041Schristos * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then 1485*56bb7041Schristos call ppc64_elf_tls_optimize. 1486*56bb7041Schristos 1487*56bb7041Schristos2003-02-03 Daniel Jacobowitz <drow@mvista.com> 1488*56bb7041Schristos 1489*56bb7041Schristos * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot 1490*56bb7041Schristos outside of GNU/Linux conditional. 1491*56bb7041Schristos 1492*56bb7041Schristos2003-01-28 Ralf Habacker <ralf.habacker@freenet.de> 1493*56bb7041Schristos 1494*56bb7041Schristos * deffilep.y (def_get_module): New function: locate an already 1495*56bb7041Schristos added module. 1496*56bb7041Schristos * deffile.h (def_get_module): New prototype. 1497*56bb7041Schristos * pe-dll.c (pe_implied_import_dll): Add code to prevent importing 1498*56bb7041Schristos a dll multiple times. 1499*56bb7041Schristos 1500*56bb7041Schristos2003-01-23 Alan Modra <amodra@bigpond.net.au> 1501*56bb7041Schristos 1502*56bb7041Schristos * emultempl/sh64elf.em: Include elf32-sh64.h. 1503*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed 1504*56bb7041Schristos sh64_elf_section_data. 1505*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. 1506*56bb7041Schristos 1507*56bb7041Schristos2003-01-23 Wu Yongwei <adah@netstd.com> 1508*56bb7041Schristos 1509*56bb7041Schristos * ld.texinfo: Remove an extra "i" in --dll-search-prefix. 1510*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a 1511*56bb7041Schristos cross-80th-column-margin "an" to the next line. 1512*56bb7041Schristos 1513*56bb7041Schristos2003-01-21 Nick Clifton <nickc@redhat.com> 1514*56bb7041Schristos 1515*56bb7041Schristos * emulparams/tic3xcoff-onchip.sh: Rename to ...z 1516*56bb7041Schristos * emulparams/tic3xcoff_onchip.sh: ...this. 1517*56bb7041Schristos * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. 1518*56bb7041Schristos * Makefile.in: Regenerate. 1519*56bb7041Schristos 1520*56bb7041Schristos2003-01-21 Fabio Alemagna <falemagn@aros.org> 1521*56bb7041Schristos 1522*56bb7041Schristos * configure.tgt: Handle i[3456]86-*-aros* 1523*56bb7041Schristos 1524*56bb7041Schristos2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com> 1525*56bb7041Schristos 1526*56bb7041Schristos * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o 1527*56bb7041Schristos * Makefile.in: Regenerate 1528*56bb7041Schristos * configure.tgt: Added extra target emulations 1529*56bb7041Schristos * emulparams/tic3xcoff.sh: Remove old settings 1530*56bb7041Schristos * emulparams/tic4xcoff.sh: Ditto 1531*56bb7041Schristos * emulparams/tic3xcoff-onchip.sh: Added new 1532*56bb7041Schristos * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x 1533*56bb7041Schristos * scripttempl/tic3xcoff.sc: Remove 1534*56bb7041Schristos 1535*56bb7041Schristos2003-01-17 Andreas Jaeger <aj@suse.de> 1536*56bb7041Schristos 1537*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not 1538*56bb7041Schristos skip ':'. 1539*56bb7041Schristos 1540*56bb7041Schristos2003-01-16 Alan Modra <amodra@bigpond.net.au> 1541*56bb7041Schristos 1542*56bb7041Schristos * Makefile.in: Regenerate. 1543*56bb7041Schristos 1544*56bb7041Schristos2003-01-14 Charles Wilson <cwilson@ece.gatech.edu> 1545*56bb7041Schristos 1546*56bb7041Schristos * ld.texinfo (node WIN32): Some clarifications 1547*56bb7041Schristos and formatting fixups. 1548*56bb7041Schristos 1549*56bb7041Schristos2003-01-09 Chris Demetriou <cgd@broadcom.com> 1550*56bb7041Schristos 1551*56bb7041Schristos * ldmain.c (get_emulation): Sort -mipsNN checks in the usual 1552*56bb7041Schristos order, and handle (ignore) -mips32r2. 1553*56bb7041Schristos 1554*56bb7041Schristos2003-01-09 Daniel Jacobowitz <drow@mvista.com> 1555*56bb7041Schristos 1556*56bb7041Schristos * ldmain.c (main): Make sure ld_sysroot is initialized. 1557*56bb7041Schristos 1558*56bb7041Schristos2003-01-06 Daniel Jacobowitz <drow@mvista.com> 1559*56bb7041Schristos 1560*56bb7041Schristos * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. 1561*56bb7041Schristos 1562*56bb7041Schristos * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. 1563*56bb7041Schristos (GENSCRIPTS): Add @use_sysroot@. 1564*56bb7041Schristos * Makefile.in: Regenerated. 1565*56bb7041Schristos * configure.host: Move setting of NATIVE_LIB_DIRS to... 1566*56bb7041Schristos * configure.tgt: ... here. Use ${target} instead of ${host} 1567*56bb7041Schristos for NATIVE_LIB_DIRS. 1568*56bb7041Schristos * configure.in: Add --with-sysroot. 1569*56bb7041Schristos * configure: Regenerated. 1570*56bb7041Schristos * genscripts.sh: Accept use_sysroot option. Set new variables 1571*56bb7041Schristos NATIVE and USE_LIBPATH. Prepend "=" to directory names if 1572*56bb7041Schristos $use_sysroot. Don't search $tool_lib if $use_sysroot. 1573*56bb7041Schristos * ldfile.c (ldfile_add_library_path): Handle leading '='. 1574*56bb7041Schristos * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. 1575*56bb7041Schristos (ld_sysroot): New variable. 1576*56bb7041Schristos (main): Initialize ld_sysroot. 1577*56bb7041Schristos * ldmain.h (ld_sysroot): New extern. 1578*56bb7041Schristos * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of 1579*56bb7041Schristos searching $EMULATION_LIBPATH. 1580*56bb7041Schristos (gld${EMULATION_NAME}_add_sysroot): New function. 1581*56bb7041Schristos (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. 1582*56bb7041Schristos (gld${EMULATION_NAME}_after_open): Likewise. Only search 1583*56bb7041Schristos environment variables if $NATIVE. 1584*56bb7041Schristos * ld.texinfo (Options): Mention "=" prefix in the description of -L. 1585*56bb7041Schristos * NEWS: Mention --with-sysroot. 1586*56bb7041Schristos 1587*56bb7041Schristos * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX 1588*56bb7041Schristos instead of setting LIB_PATH. 1589*56bb7041Schristos * emulparams/elf32ppc.sh: Likewise. 1590*56bb7041Schristos * emulparams/elf64_s390.sh: Likewise. 1591*56bb7041Schristos * emulparams/elf64_sparc.sh: Likewise. 1592*56bb7041Schristos * emulparams/elf64ppc.sh: Likewise. 1593*56bb7041Schristos * emulparams/elf_x86_64.sh: Likewise. 1594*56bb7041Schristos 1595*56bb7041Schristos * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. 1596*56bb7041Schristos * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. 1597*56bb7041Schristos 1598*56bb7041Schristos2003-01-03 Charles Wilson <cwilson@ece.gatech.edu> 1599*56bb7041Schristos 1600*56bb7041Schristos * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. 1601*56bb7041Schristos 1602*56bb7041Schristos2003-01-04 Daniel Jacobowitz <drow@mvista.com> 1603*56bb7041Schristos 1604*56bb7041Schristos * Makefile.am (ldmain.o): Pass BINDIR. 1605*56bb7041Schristos * Makefile.in: Regenerated. 1606*56bb7041Schristos * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first 1607*56bb7041Schristos search path. 1608*56bb7041Schristos 1609*56bb7041Schristos2003-01-02 Ben Elliston <bje@redhat.com> 1610*56bb7041Schristos 1611*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. 1612*56bb7041Schristos (eelf32iq2000.c): New target. 1613*56bb7041Schristos * Makefile.in: Regenerate. 1614*56bb7041Schristos * configure.tgt: Handle iq2000-*-elf. 1615*56bb7041Schristos * emulparams/elf32iq10.sh: New file. 1616*56bb7041Schristos * emulparams/elf32iq2000.sh: New file. 1617*56bb7041Schristos * scripttempl/iq2000.sc: New file. 1618*56bb7041Schristos 1619*56bb7041Schristos2003-01-02 Charles Wilson <cwilson@ece.gatech.edu> 1620*56bb7041Schristos 1621*56bb7041Schristos * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc 1622*56bb7041Schristos and _pei386_runtime_relocator to the exclude list. 1623*56bb7041Schristos 1624*56bb7041Schristos2003-01-01 Kazu Hirata <kazu@cs.umass.edu> 1625*56bb7041Schristos 1626*56bb7041Schristos * ldfile.c: Fix comment typos. 1627*56bb7041Schristos * ldlang.c: Likewise. 1628*56bb7041Schristos * mri.c: Likewise. 1629*56bb7041Schristos * pe-dll.c: Likewise. 1630*56bb7041Schristos 1631*56bb7041Schristos2003-01-01 Daniel Jacobowitz <drow@mvista.com> 1632*56bb7041Schristos 1633*56bb7041Schristos Suggested by Manfred Hollstein <manfred.h@gmx.net>: 1634*56bb7041Schristos * Makefile.am (ld.1): Depend on configdoc.texi 1635*56bb7041Schristos and ldver.texi. 1636*56bb7041Schristos * Makefile.in: Regenerated. 1637*56bb7041Schristos 1638*56bb7041Schristos2002-12-24 Dmitry Diky <diwil@mail.ru> 1639*56bb7041Schristos 1640*56bb7041Schristos * Makefile.am: Add msp430 target. 1641*56bb7041Schristos * configure.tgt: Likewise. 1642*56bb7041Schristos * Makefile.in: Regenerate. 1643*56bb7041Schristos * emulparams/msp430x???.sh: New files. Linker script parameters 1644*56bb7041Schristos for various msp430 configurations. 1645*56bb7041Schristos * gen-doc.texi: Enable msp430 documenation. 1646*56bb7041Schristos * ld.texinfo: Document msp430 sections. 1647*56bb7041Schristos * scripttempl/elf32msp430.sc: New file. Linker script for msp430. 1648*56bb7041Schristos * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430. 1649*56bb7041Schristos 1650*56bb7041Schristos2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de> 1651*56bb7041Schristos Charles Wilson <cwilson@ece.gatech.edu> 1652*56bb7041Schristos 1653*56bb7041Schristos * config.in (HAVE_REALPATH): New entry. 1654*56bb7041Schristos (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete. 1655*56bb7041Schristos 1656*56bb7041Schristos2002-12-30 Ralf Habacker <ralf.habacker@freenet.de> 1657*56bb7041Schristos 1658*56bb7041Schristos * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll 1659*56bb7041Schristos symbols'. 1660*56bb7041Schristos 1661*56bb7041Schristos2002-12-23 Alan Modra <amodra@bigpond.net.au> 1662*56bb7041Schristos 1663*56bb7041Schristos * ldmain.c (main): Init "strip_discarded". 1664*56bb7041Schristos * lexsup.c (OPTION_STRIP_DISCARDED): Define. 1665*56bb7041Schristos (OPTION_NO_STRIP_DISCARDED): Define. 1666*56bb7041Schristos (ld_options): Add "strip-discarded" and "no-strip-discarded". 1667*56bb7041Schristos (parse_args): Handle them. 1668*56bb7041Schristos 1669*56bb7041Schristos2002-12-23 Nick Clifton <nickc@redhat.com> 1670*56bb7041Schristos 1671*56bb7041Schristos * ld.h (struct args_type): Add new field 1672*56bb7041Schristos 'accept_unknown_input_architecture'. 1673*56bb7041Schristos * ldmain.c (main): Initialise 'accept_unknown_input_architecture' 1674*56bb7041Schristos to false. 1675*56bb7041Schristos * ldlang.c (lang_check): Pass accept_unknown_input_architecture to 1676*56bb7041Schristos bfd_arch_get_compatible. 1677*56bb7041Schristos * ldfile.c (ldfile_try_open_bfd): Likewise. 1678*56bb7041Schristos * lexsup.c (ld_options): Add new command line switch 1679*56bb7041Schristos --accept-unknown-input-architecture and its inverse. 1680*56bb7041Schristos (parse_args): Handle --accept-unknown-input-architecture. 1681*56bb7041Schristos * ld.texinfo: Document new linker option. 1682*56bb7041Schristos * NEWS: Mention new linker option. 1683*56bb7041Schristos 1684*56bb7041Schristos2002-12-20 Alan Modra <amodra@bigpond.net.au> 1685*56bb7041Schristos 1686*56bb7041Schristos * ldmain.c (main): Re-order link_info initialization. Init all 1687*56bb7041Schristos fields. 1688*56bb7041Schristos 1689*56bb7041Schristos2002-12-19 Charles Wilson <cwilson@ece.gatech.edu> 1690*56bb7041Schristos 1691*56bb7041Schristos * ld.texinfo: Clarify and extend the documentation 1692*56bb7041Schristos in the Machine Dependent, WIN32 section. 1693*56bb7041Schristos 1694*56bb7041Schristos2002-12-18 Ralf Habacker <ralf.habacker@freenet.de> 1695*56bb7041Schristos 1696*56bb7041Schristos * ld.texinfo: Add win32 machine depending section. 1697*56bb7041Schristos * gen-doc.texi: Enable win32 machine depending section. 1698*56bb7041Schristos 1699*56bb7041Schristos * configure.host: Add win32 library search path. 1700*56bb7041Schristos 1701*56bb7041Schristos2002-12-17 Ralf Habacker <ralf.habacker@freenet.de> 1702*56bb7041Schristos 1703*56bb7041Schristos * emultempl/pe.em (pe_find_data_imports): Don't search for data 1704*56bb7041Schristos import when auto-import is disabled. 1705*56bb7041Schristos 1706*56bb7041Schristos2002-12-17 Danny Smith <dannysmith@users.sourceforge.net> 1707*56bb7041Schristos 1708*56bb7041Schristos * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to 1709*56bb7041Schristos account for trailing '\0'. 1710*56bb7041Schristos 1711*56bb7041Schristos2002-12-17 Nick Clifton <nickc@redhat.com> 1712*56bb7041Schristos 1713*56bb7041Schristos * emultempl/pe.em (longopts): Duplicate entry for --compact-implib 1714*56bb7041Schristos so that it is not confused with -c. 1715*56bb7041Schristos 1716*56bb7041Schristos2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de> 1717*56bb7041Schristos Charles Wilson <cwilson@ece.gatech.edu> 1718*56bb7041Schristos 1719*56bb7041Schristos * configure.in: Add check for realpath function. 1720*56bb7041Schristos * configure: Regenerate. 1721*56bb7041Schristos * config.in: Regenerate. 1722*56bb7041Schristos * aclocal.m4: Regenerate. 1723*56bb7041Schristos * deffile.h: Add .data field to def_file_import 1724*56bb7041Schristos structure. 1725*56bb7041Schristos * pe-dll.c (pe_proces_import_defs): Use .data field of 1726*56bb7041Schristos def_file_import structure to initialize flag_data field of 1727*56bb7041Schristos def_file_export structure. 1728*56bb7041Schristos (pe_implied_import_dll): New variables exp_funcbase and 1729*56bb7041Schristos [data|bss]_[start|end]. Use DLL's internal name to set dll_name, 1730*56bb7041Schristos not filename (which may be a symlink). Scan the sections and 1731*56bb7041Schristos initialize [data|bss]_[start|end]. When scanning the export 1732*56bb7041Schristos table, skip _nm_ symbols, and mark any symbols whose rva indicates 1733*56bb7041Schristos that it is in the .bss or .data sections as data. 1734*56bb7041Schristos * sysdep.h: Include limits.h and sys/param.h, and define 1735*56bb7041Schristos LD_PATHMAX as appropriate. Also define REALPATH as realpath if it 1736*56bb7041Schristos exists, NULL otherwise. 1737*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call 1738*56bb7041Schristos pe_process_import_defs before pe_find_data_imports, so that 1739*56bb7041Schristos auto-import will check the virtual implib as well as "real" 1740*56bb7041Schristos implibs. 1741*56bb7041Schristos (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow 1742*56bb7041Schristos symlinks to their target; check that the target's extension is 1743*56bb7041Schristos .dll before calling pe_implied_import_dll(), not the filename 1744*56bb7041Schristos itself (which may be a symlink). 1745*56bb7041Schristos 1746*56bb7041Schristos2002-12-10 Alan Modra <amodra@bigpond.net.au> 1747*56bb7041Schristos 1748*56bb7041Schristos * emultempl/elf32.em (struct orphan_save): Add os_tail field. 1749*56bb7041Schristos (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement 1750*56bb7041Schristos list too. 1751*56bb7041Schristos 1752*56bb7041Schristos2002-12-08 Alan Modra <amodra@bigpond.net.au> 1753*56bb7041Schristos 1754*56bb7041Schristos * ldlang.h: Formatting. 1755*56bb7041Schristos 1756*56bb7041Schristos2002-12-07 Alan Modra <amodra@bigpond.net.au> 1757*56bb7041Schristos 1758*56bb7041Schristos * ldlang.c (init_os): Ensure sections mentioned in load_base 1759*56bb7041Schristos are initialized. 1760*56bb7041Schristos 1761*56bb7041Schristos2002-12-05 Alan Modra <amodra@bigpond.net.au> 1762*56bb7041Schristos 1763*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set 1764*56bb7041Schristos load_base for orphans that follow a section with load_base set. 1765*56bb7041Schristos 1766*56bb7041Schristos2002-12-01 H.J. Lu <hjl@gnu.org> 1767*56bb7041Schristos 1768*56bb7041Schristos * ld.texinfo: Remove the extra `;' in sample version script. 1769*56bb7041Schristos 1770*56bb7041Schristos2002-11-30 Alan Modra <amodra@bigpond.net.au> 1771*56bb7041Schristos 1772*56bb7041Schristos * configure.host: Correct dynamic-linker for powerpc64 hosts. 1773*56bb7041Schristos 1774*56bb7041Schristos * Makefile.am (eelf32ppcwindiss.c): Correct dependencies. 1775*56bb7041Schristos * Makefile.in: Regenerate. 1776*56bb7041Schristos 1777*56bb7041Schristos * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c, 1778*56bb7041Schristos ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c, 1779*56bb7041Schristos ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h, 1780*56bb7041Schristos emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em, 1781*56bb7041Schristos emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em, 1782*56bb7041Schristos emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em, 1783*56bb7041Schristos emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em, 1784*56bb7041Schristos emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em, 1785*56bb7041Schristos emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em, 1786*56bb7041Schristos emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em, 1787*56bb7041Schristos emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace 1788*56bb7041Schristos boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify 1789*56bb7041Schristos comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. 1790*56bb7041Schristos 1791*56bb7041Schristos2002-11-27 David O'Brien <obrien@FreeBSD.org> 1792*56bb7041Schristos 1793*56bb7041Schristos * configure.host: Fix generic FreeBSD configuration entry. 1794*56bb7041Schristos 1795*56bb7041Schristos2002-11-27 H.J. Lu <hjl@gnu.org> 1796*56bb7041Schristos 1797*56bb7041Schristos * ld.texinfo: Add the missing `;' to sample version scripts. 1798*56bb7041Schristos 1799*56bb7041Schristos2002-11-20 Alan Modra <amodra@bigpond.net.au> 1800*56bb7041Schristos 1801*56bb7041Schristos * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define. 1802*56bb7041Schristos 1803*56bb7041Schristos2002-11-14 Egor Duda <deo@logos-m.ru> 1804*56bb7041Schristos 1805*56bb7041Schristos * ldmain.c (main): Make runtime relocs disabled by default. Remove 1806*56bb7041Schristos assignment which has no effect. 1807*56bb7041Schristos * pe-dll.h (pe_create_import_fixup): Change prototype. 1808*56bb7041Schristos * pe-dll.c (make_runtime_pseudo_reloc): New function. 1809*56bb7041Schristos (pe_create_runtime_relocator_reference): Ditto. 1810*56bb7041Schristos (pe_create_import_fixup): Handle relocations with non-zero addends. 1811*56bb7041Schristos * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and 1812*56bb7041Schristos --disable-runtime-pseudo-reloc. 1813*56bb7041Schristos (make_import_fixup): Handle relocations with non-zero addends. Create 1814*56bb7041Schristos an external reference to _pei386_runtime_relocator symbol if at least 1815*56bb7041Schristos one pseudo reloc was created. 1816*56bb7041Schristos * ld.texinfo: Document --enable-runtime-pseudo-reloc and 1817*56bb7041Schristos --disable-runtime-pseudo-reloc options. 1818*56bb7041Schristos 1819*56bb7041Schristos2002-11-12 Earl Chew <earl_chew@agilent.com> 1820*56bb7041Schristos 1821*56bb7041Schristos * ldlang.c (lang_add_section): Discard debugging sections that have 1822*56bb7041Schristos been marked SEC_EXCLUDE. 1823*56bb7041Schristos 1824*56bb7041Schristos2002-11-12 Nick Clifton <nickc@redhat.com> 1825*56bb7041Schristos 1826*56bb7041Schristos * configure.in (ALL_LINGUAS): Add da. 1827*56bb7041Schristos * configure: Regenerate. 1828*56bb7041Schristos * po/da.po: New Danish translation. 1829*56bb7041Schristos 1830*56bb7041Schristos2002-11-12 Alan Modra <amodra@bigpond.net.au> 1831*56bb7041Schristos 1832*56bb7041Schristos * emultempl/ppc64elf.em (ppc_before_allocation): New function. 1833*56bb7041Schristos (LDEMUL_BEFORE_ALLOCATION): Define. 1834*56bb7041Schristos (gld${EMULATION_NAME}_finish): Run discard_info for relocatable 1835*56bb7041Schristos linking. 1836*56bb7041Schristos * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise. 1837*56bb7041Schristos 1838*56bb7041Schristos2002-11-11 Christopher Faylor <cgf@redhat.com> 1839*56bb7041Schristos 1840*56bb7041Schristos * configure.tgt (LIB_PATH): Default to searching w32api directory under 1841*56bb7041Schristos cygwin. 1842*56bb7041Schristos 1843*56bb7041Schristos2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> 1844*56bb7041Schristos 1845*56bb7041Schristos * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list 1846*56bb7041Schristos of restricted auto-export libs. 1847*56bb7041Schristos 1848*56bb7041Schristos2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> 1849*56bb7041Schristos 1850*56bb7041Schristos * pe-dll.c (autofilter_liblist): Generalize library names to catch more 1851*56bb7041Schristos creative library naming instances like, e.g., libstdc++-2.a. 1852*56bb7041Schristos 1853*56bb7041Schristos2002-11-06 Alexandre Oliva <aoliva@redhat.com> 1854*56bb7041Schristos 1855*56bb7041Schristos * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define. 1856*56bb7041Schristos * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise. 1857*56bb7041Schristos 1858*56bb7041Schristos2002-11-07 Danny Smith <dannysmith@users.sourceforge.net> 1859*56bb7041Schristos 1860*56bb7041Schristos * deffilep.y (def_lex): Handle '@' as first character of an ID. 1861*56bb7041Schristos * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__". 1862*56bb7041Schristos (make_one): Don't prefix decorated fastcall symbols with '_'. 1863*56bb7041Schristos (pe_process_import_defs): Likewise. 1864*56bb7041Schristos * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall 1865*56bb7041Schristos symbols to cdecl names or vise-versa. 1866*56bb7041Schristos 1867*56bb7041Schristos2002-10-13 Eric Kohl <ekohl@rz-online.de> 1868*56bb7041Schristos 1869*56bb7041Schristos * pe-dll.c (process_def_file): Handle fastcall symbols when 1870*56bb7041Schristos generating undecorated aliases. Don't prefix decorated fastcall 1871*56bb7041Schristos symbols with '_'. 1872*56bb7041Schristos (fill_exported_offsets): Don't prefix decorated fastcall symbols 1873*56bb7041Schristos with '_'. 1874*56bb7041Schristos 1875*56bb7041Schristos2002-10-29 Daniel Jacobowitz <drow@mvista.com> 1876*56bb7041Schristos 1877*56bb7041Schristos * emultempl/aix.em: Use include <> for generated headers. 1878*56bb7041Schristos * emultempl/beos.em: Likewise. 1879*56bb7041Schristos * emultempl/elf32.em: Likewise. 1880*56bb7041Schristos * emultempl/pe.em: Likewise. 1881*56bb7041Schristos * ldctor.c: Likewise. 1882*56bb7041Schristos * ldexp.c: Likewise. 1883*56bb7041Schristos * ldfile.c: Likewise. 1884*56bb7041Schristos * ldlang.c: Likewise. 1885*56bb7041Schristos * ldlex.c: Likewise. 1886*56bb7041Schristos * ldlex.l: Likewise. 1887*56bb7041Schristos * ldmain.c: Likewise. 1888*56bb7041Schristos * ldmisc.c: Likewise. 1889*56bb7041Schristos * ldwrite.c: Likewise. 1890*56bb7041Schristos * lexsup.c: Likewise. 1891*56bb7041Schristos * mri.c: Likewise. 1892*56bb7041Schristos * pe-dll.c: Likewise. 1893*56bb7041Schristos 1894*56bb7041Schristos2002-10-23 Jakub Jelinek <jakub@redhat.com> 1895*56bb7041Schristos 1896*56bb7041Schristos * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* 1897*56bb7041Schristos sections into .rel{,a}.dyn. 1898*56bb7041Schristos 1899*56bb7041Schristos2002-10-23 Nick Clifton <nickc@redhat.com> 1900*56bb7041Schristos 1901*56bb7041Schristos * lexsup.c (OPTION_NO_OMAGIC): Define. 1902*56bb7041Schristos (ld_options): Add "no-omagic" option. 1903*56bb7041Schristos (parse_args): Parse --no-omagic. 1904*56bb7041Schristos * ld.texinfo: Document --no-omagic. 1905*56bb7041Schristos * NEWS: Mention new option. 1906*56bb7041Schristos 1907*56bb7041Schristos2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net> 1908*56bb7041Schristos 1909*56bb7041Schristos * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, 1910*56bb7041Schristos __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. 1911*56bb7041Schristos 1912*56bb7041Schristos2002-10-22 Alexandre Oliva <aoliva@redhat.com> 1913*56bb7041Schristos 1914*56bb7041Schristos * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to 1915*56bb7041Schristos emulation name. Set LIB_PATH only for native tools, and 1916*56bb7041Schristos search the ABI-specific versions of NATIVE_LIB_DIRS before the 1917*56bb7041Schristos .../lib variants, not instead of them. Mostly copied from... 1918*56bb7041Schristos * emulparams/elf32ppc.sh: ... here. Fixed typo. 1919*56bb7041Schristos * emulparams/elf64bmip-defs.sh: Backed out. 1920*56bb7041Schristos * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. 1921*56bb7041Schristos * emulparams/elf64btsmip.sh: Likewise. 1922*56bb7041Schristos (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, 1923*56bb7041Schristos TEXT_DYNAMIC): Removed. 1924*56bb7041Schristos 1925*56bb7041Schristos2002-10-17 Alexandre Oliva <aoliva@redhat.com> 1926*56bb7041Schristos 1927*56bb7041Schristos * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32. 1928*56bb7041Schristos (GENERATE_SHLIB_SCRIPT): Set to yes. 1929*56bb7041Schristos (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... 1930*56bb7041Schristos * emulparams/elf32bmipn32.sh: here. 1931*56bb7041Schristos (GENERATE_SHLIB_SCRIPT): Deleted as redundant. 1932*56bb7041Schristos * emulparams/elf32btsmipn32.sh: Delete redundant unsets. 1933*56bb7041Schristos * emulparams/elf64bmip-defs.sh: New file. Extend 1934*56bb7041Schristos elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. 1935*56bb7041Schristos * emulparams/elf64bmip.sh: Bring in definitions from 1936*56bb7041Schristos elf64bmip-defs.sh. 1937*56bb7041Schristos (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant 1938*56bb7041Schristos settings. 1939*56bb7041Schristos (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. 1940*56bb7041Schristos * emulparams/elf64btsmip.sh: Bring in definitions from 1941*56bb7041Schristos elf64bmip-defs.sh. 1942*56bb7041Schristos (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. 1943*56bb7041Schristos (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets. 1944*56bb7041Schristos 1945*56bb7041Schristos2002-10-16 Jakub Jelinek <jakub@redhat.com> 1946*56bb7041Schristos 1947*56bb7041Schristos * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. 1948*56bb7041Schristos (s390-*-linux*): Add elf64_s390 emulation if want64. 1949*56bb7041Schristos * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 1950*56bb7041Schristos genscript.sh changes. 1951*56bb7041Schristos * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. 1952*56bb7041Schristos * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. 1953*56bb7041Schristos 1954*56bb7041Schristos2002-10-15 Alan Modra <amodra@bigpond.net.au> 1955*56bb7041Schristos 1956*56bb7041Schristos * ldlang.c (load_symbols): Revert last change. 1957*56bb7041Schristos 1958*56bb7041Schristos2002-10-14 Alan Modra <amodra@bigpond.net.au> 1959*56bb7041Schristos 1960*56bb7041Schristos * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when 1961*56bb7041Schristos just_syms_flag. 1962*56bb7041Schristos (lang_reasonable_defaults): Don't compare against false. 1963*56bb7041Schristos (size_input_section): Likewise. 1964*56bb7041Schristos (lang_size_sections_1): Likewise. 1965*56bb7041Schristos (lang_do_assignments): Likewise. 1966*56bb7041Schristos (lang_add_output): Likewise. 1967*56bb7041Schristos 1968*56bb7041Schristos * Makefile.am: Run "make dep-am". 1969*56bb7041Schristos * Makefile.in: Regenerate. 1970*56bb7041Schristos * ldver.c: #include "bfdver.h". 1971*56bb7041Schristos 1972*56bb7041Schristos2002-10-13 Stephane Carrez <stcarrez@nerim.fr> 1973*56bb7041Schristos 1974*56bb7041Schristos * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, 1975*56bb7041Schristos .finiN section. 1976*56bb7041Schristos * scripttempl/elfm68hc12.sc: Likewise. 1977*56bb7041Schristos 1978*56bb7041Schristos2002-10-11 Alan Modra <amodra@bigpond.net.au> 1979*56bb7041Schristos 1980*56bb7041Schristos * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. 1981*56bb7041Schristos 1982*56bb7041Schristos * ldgram.y (memory_spec): Provide empty action. 1983*56bb7041Schristos (section <NAME>): Likewise. 1984*56bb7041Schristos 1985*56bb7041Schristos2002-10-10 Jakub Jelinek <jakub@redhat.com> 1986*56bb7041Schristos 1987*56bb7041Schristos * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if 1988*56bb7041Schristos they have OUTPUT_FORMAT not matching actual output format. 1989*56bb7041Schristos * ldlang.c (lang_get_output_target): New function. 1990*56bb7041Schristos (open_output): Use it. 1991*56bb7041Schristos * ldlang.h (lang_get_output_target): New prototype. 1992*56bb7041Schristos 1993*56bb7041Schristos2002-10-10 Alan Modra <amodra@bigpond.net.au> 1994*56bb7041Schristos 1995*56bb7041Schristos * emultempl/elf32.em (output_rel_find): Prefer .rel script sections 1996*56bb7041Schristos when orphan is .rel, .rela when orphan is .rela. 1997*56bb7041Schristos (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case 1998*56bb7041Schristos first. Remove outsecname var. 1999*56bb7041Schristos 2000*56bb7041Schristos2002-10-09 Richard Shann <richard.shann@superh.com> 2001*56bb7041Schristos Stephen Clarke <stephen.clarke@superh.com> 2002*56bb7041Schristos 2003*56bb7041Schristos * Makefile.am: Add eshelf32_linux.o and 2004*56bb7041Schristos eshlelf32_linux.o, new emulations for sh64 Linux. 2005*56bb7041Schristos * Makefile.in: Regenerate. 2006*56bb7041Schristos * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. 2007*56bb7041Schristos * emulparams/shelf32_linux.sh: New file. 2008*56bb7041Schristos * emulparams/shlelf32_linux.sh: New file. 2009*56bb7041Schristos 2010*56bb7041Schristos2002-10-08 H.J. Lu <hjl@gnu.org> 2011*56bb7041Schristos 2012*56bb7041Schristos * ldlang.c (lang_file_exist): Removed. 2013*56bb7041Schristos (new_afile): Revert the last change. 2014*56bb7041Schristos * ldlang.h (lang_file_exist): Removed. 2015*56bb7041Schristos * lexsup.c (parse_args): Revert the last change. 2016*56bb7041Schristos 2017*56bb7041Schristos2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de> 2018*56bb7041Schristos 2019*56bb7041Schristos * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export 2020*56bb7041Schristos auto-import symbols. 2021*56bb7041Schristos (make_one): Create _nm_<symbol> for data only. 2022*56bb7041Schristos 2023*56bb7041Schristos2002-10-05 Elias Athanasopoulos <eathan@otenet.gr> 2024*56bb7041Schristos 2025*56bb7041Schristos * ldlang.c (lang_file_exist): New function. 2026*56bb7041Schristos (new_afile): Abort if the filename to be added matches the linker 2027*56bb7041Schristos output filename. 2028*56bb7041Schristos * ldlang.h: Add prototype for lang_file_exist. 2029*56bb7041Schristos * lexsup.c (parse_args): Abort if the output filename matches 2030*56bb7041Schristos one of the input filenames. 2031*56bb7041Schristos 2032*56bb7041Schristos2002-10-02 Alan Modra <amodra@bigpond.net.au> 2033*56bb7041Schristos 2034*56bb7041Schristos * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. 2035*56bb7041Schristos 2036*56bb7041Schristos2002-09-30 Alan Modra <amodra@bigpond.net.au> 2037*56bb7041Schristos 2038*56bb7041Schristos * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. 2039*56bb7041Schristos * scripttempl/elfm68hc11.sc: Likewise. 2040*56bb7041Schristos * scripttempl/elfm68hc12.sc: Likewise. 2041*56bb7041Schristos 2042*56bb7041Schristos * emultempl/elf32.em (output_rel_find): Always place orphan loadable 2043*56bb7041Schristos reloc sections just before .rel.plt/.rela.plt. 2044*56bb7041Schristos (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. 2045*56bb7041Schristos Only put loadable reloc sections in hold_rel. 2046*56bb7041Schristos 2047*56bb7041Schristos2002-09-29 H.J. Lu <hjl@gnu.org> 2048*56bb7041Schristos 2049*56bb7041Schristos * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. 2050*56bb7041Schristos 2051*56bb7041Schristos2002-09-25 Daniel Jacobowitz <drow@mvista.com> 2052*56bb7041Schristos 2053*56bb7041Schristos From "Anita Kulkarni" <AnitaK@kpit.com> 2054*56bb7041Schristos * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* 2055*56bb7041Schristos sections. 2056*56bb7041Schristos 2057*56bb7041Schristos2002-09-25 Alan Modra <amodra@bigpond.net.au> 2058*56bb7041Schristos 2059*56bb7041Schristos * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before 2060*56bb7041Schristos TARGET_PAGE_SIZE. 2061*56bb7041Schristos * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate 2062*56bb7041Schristos SEGMENT_SIZE alignment. 2063*56bb7041Schristos * emulparams/elf64ppc.sh (DATA_ADDR): Delete. 2064*56bb7041Schristos (SEGMENT_SIZE): Define. 2065*56bb7041Schristos 2066*56bb7041Schristos * ldexp.c (fold_unary): New. Split out from exp_fold_tree. 2067*56bb7041Schristos (fold_binary): Correct abs - non-abs case. 2068*56bb7041Schristos (fold_trinary): New. Split out from exp_fold_tree. 2069*56bb7041Schristos 2070*56bb7041Schristos2002-09-24 Alan Modra <amodra@bigpond.net.au> 2071*56bb7041Schristos 2072*56bb7041Schristos * emulparams/elf64ppc.sh (DATA_ADDR): Define. 2073*56bb7041Schristos * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address 2074*56bb7041Schristos for start of .data, instead align up to 256M boundary. 2075*56bb7041Schristos * scripttempl/aix.sc: Likewise. 2076*56bb7041Schristos 2077*56bb7041Schristos2002-09-22 Mark Elbrecht <snowball3@softhome.net> 2078*56bb7041Schristos 2079*56bb7041Schristos * scripttempl/i386go32.sc: Handle bss unique sections. 2080*56bb7041Schristos 2081*56bb7041Schristos2002-09-21 Alan Modra <amodra@bigpond.net.au> 2082*56bb7041Schristos 2083*56bb7041Schristos * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. 2084*56bb7041Schristos 2085*56bb7041Schristos2002-09-17 Stan Cox <scox@redhat.com> 2086*56bb7041Schristos 2087*56bb7041Schristos * emulparams/elf32bmipn32-defs.sh: New file. 2088*56bb7041Schristos * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. 2089*56bb7041Schristos * emulparams/elf32btsmipn32.sh: Likewise. 2090*56bb7041Schristos * emulparams/elf64bmip.sh: Likewise. 2091*56bb7041Schristos * emulparams/elf64btsmip.sh: Likewise. 2092*56bb7041Schristos 2093*56bb7041Schristos2002-09-16 Bruno Haible <bruno@clisp.org> 2094*56bb7041Schristos 2095*56bb7041Schristos * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to 2096*56bb7041Schristos elf32-i386-freebsd. 2097*56bb7041Schristos * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to 2098*56bb7041Schristos elf64-alpha-freebsd. 2099*56bb7041Schristos 2100*56bb7041Schristos2002-09-11 Nick Clifton <nickc@redhat.com> 2101*56bb7041Schristos 2102*56bb7041Schristos * NEWS: New TI port supports both C4x and C3x series of DSPs. 2103*56bb7041Schristos 2104*56bb7041Schristos * po/tr.po: Updated Turkish translation. 2105*56bb7041Schristos 2106*56bb7041Schristos2002-09-06 Jeffrey A Law (law@redhat.com) 2107*56bb7041Schristos 2108*56bb7041Schristos * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore. 2109*56bb7041Schristos 2110*56bb7041Schristos2002-09-02 Nick Clifton <nickc@redhat.com> 2111*56bb7041Schristos 2112*56bb7041Schristos * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and 2113*56bb7041Schristos __ep. 2114*56bb7041Schristos * emulparams/v850.sh (TEMPLATE_NAME): Define. 2115*56bb7041Schristos 2116*56bb7041Schristos2002-08-30 Nick Clifton <nickc@redhat.com> 2117*56bb7041Schristos 2118*56bb7041Schristos * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not 2119*56bb7041Schristos used. Change INSN to start at 0x01000000 and extend for 2120*56bb7041Schristos 256K (ignoring holes). Start the STACK on a word aligned 2121*56bb7041Schristos boundary. 2122*56bb7041Schristos (.rodata): Start it at the READONLY_START_ADDR. 2123*56bb7041Schristos 2124*56bb7041Schristos2002-08-30 Alan Modra <amodra@bigpond.net.au> 2125*56bb7041Schristos 2126*56bb7041Schristos * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common". 2127*56bb7041Schristos 2128*56bb7041Schristos2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> 2129*56bb7041Schristos 2130*56bb7041Schristos * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and 2131*56bb7041Schristos added makefile targets for this file. 2132*56bb7041Schristos * Makefile.in: Regenerate. 2133*56bb7041Schristos * configure.tgt: Added tic4x-coff and c4x-coff emulations. 2134*56bb7041Schristos * NEWS: Mention new port. 2135*56bb7041Schristos 2136*56bb7041Schristos2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 2137*56bb7041Schristos 2138*56bb7041Schristos * emulparams/tic3xcoff.sh: New file. 2139*56bb7041Schristos * emulparams/tic4xcoff.sh: New file. 2140*56bb7041Schristos * scripttempl/tic3xcoff.sc: New file. 2141*56bb7041Schristos * scripttempl/tic4xcoff.sc: New file. 2142*56bb7041Schristos 2143*56bb7041Schristos2002-08-28 Alan Modra <amodra@bigpond.net.au> 2144*56bb7041Schristos 2145*56bb7041Schristos * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll, 2146*56bb7041Schristos strtoul and strtoull with bfd_scan_vma. 2147*56bb7041Schristos (gld${EMULATION_NAME}_read_file): Likewise. 2148*56bb7041Schristos 2149*56bb7041Schristos2002-08-28 Alan Modra <amodra@bigpond.net.au> 2150*56bb7041Schristos 2151*56bb7041Schristos * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*. 2152*56bb7041Schristos 2153*56bb7041Schristos2002-08-27 Egor Duda <deo@logos-m.ru> 2154*56bb7041Schristos 2155*56bb7041Schristos * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. 2156*56bb7041Schristos Add symbols for application to access them. 2157*56bb7041Schristos 2158*56bb7041Schristos2002-08-27 Nick Clifton <nickc@redhat.com> 2159*56bb7041Schristos 2160*56bb7041Schristos * emultempl/armelf.em: Revert this patch, it is not needed. 2161*56bb7041Schristos 2162*56bb7041Schristos 2002-08-22 Adam Nemet <anemet@lnxw.com> 2163*56bb7041Schristos 2164*56bb7041Schristos2002-08-20 Dan Kegel <dank@kegel.com> 2165*56bb7041Schristos 2166*56bb7041Schristos * configure.in: added --with-lib-path argument to ld's configure 2167*56bb7041Schristos to set LIB_PATH. 2168*56bb7041Schristos * NEWS: Document new switch. 2169*56bb7041Schristos * README: Mention new switch. 2170*56bb7041Schristos * configure: Regenerate. 2171*56bb7041Schristos * Makefile.in: Regenerate. 2172*56bb7041Schristos 2173*56bb7041Schristos Based on this patch: 2174*56bb7041Schristos 2001-04-25 Christopher Faylor <cgf@cygnus.com> 2175*56bb7041Schristos 2176*56bb7041Schristos * Makefile.in (LIB_PATH): Make configurable. 2177*56bb7041Schristos (GENSCRIPTS): Set LIB_PATH in environment. 2178*56bb7041Schristos * configure.in: Substitute LIB_PATH. 2179*56bb7041Schristos 2180*56bb7041Schristos2002-08-22 Adam Nemet <anemet@lnxw.com> 2181*56bb7041Schristos 2182*56bb7041Schristos * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h. 2183*56bb7041Schristos (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI 2184*56bb7041Schristos depending on the type of the function. 2185*56bb7041Schristos (arm_elf_convert_thumb_symbol_to_address): New function. 2186*56bb7041Schristos 2187*56bb7041Schristos2002-08-22 Graeme Peterson <gp@qnx.com> 2188*56bb7041Schristos 2189*56bb7041Schristos * Makefile.am: Add esh{l}elf_nto.o files. 2190*56bb7041Schristos * Makefile.in: Regenerate. 2191*56bb7041Schristos * configure.tgt: Add support for sh-**-nto* targets. 2192*56bb7041Schristos * emulparams/shelf_nto.sh: New file. 2193*56bb7041Schristos * emulparams/shlelf_nto.sh: New file. 2194*56bb7041Schristos 2195*56bb7041Schristos2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> 2196*56bb7041Schristos 2197*56bb7041Schristos * ldlang.c (offsetof): Define if not defined. 2198*56bb7041Schristos 2199*56bb7041Schristos2002-08-14 H.J. Lu <hjl@gnu.org> 2200*56bb7041Schristos 2201*56bb7041Schristos * configure.tgt: Always enable 64bit emulations for 32bit 2202*56bb7041Schristos Linux/mips. 2203*56bb7041Schristos 2204*56bb7041Schristos2002-08-13 Alan Modra <amodra@bigpond.net.au> 2205*56bb7041Schristos 2206*56bb7041Schristos * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1. 2207*56bb7041Schristos (MAXPAGESIZE): Set to 1. 2208*56bb7041Schristos 2209*56bb7041Schristos * ld.h (ALIGN_N): Delete. 2210*56bb7041Schristos * ldexp.h (align_n): Declare. 2211*56bb7041Schristos * ldexp.c (align_n): New function. 2212*56bb7041Schristos (fold_binary): Use align_n instead of ALIGN_N. 2213*56bb7041Schristos (exp_fold_tree): Likewise. 2214*56bb7041Schristos * ldlang.c (lang_size_sections_1): Likewise. 2215*56bb7041Schristos (lang_one_common): Likewise. 2216*56bb7041Schristos * ld.texinfo (ALIGN): Remove power of 2 restriction. 2217*56bb7041Schristos 2218*56bb7041Schristos2002-07-31 Graeme Peterson <gp@qnx.com> 2219*56bb7041Schristos 2220*56bb7041Schristos * configure.tgt: Add support for powerpc{le}-*-nto* targets. 2221*56bb7041Schristos * Makefile.am: Add eelf32{l}ppcnto.o files. 2222*56bb7041Schristos * Makefile.in: Regenerate. 2223*56bb7041Schristos * emulparams/elf32lppcnto.sh: New file. 2224*56bb7041Schristos * emulparams/elf32ppcnto.sh: New file. 2225*56bb7041Schristos 2226*56bb7041Schristos2002-08-07 H.J. Lu <hjl@gnu.org> 2227*56bb7041Schristos 2228*56bb7041Schristos * ld.texinfo: Document --no-undefined-version. 2229*56bb7041Schristos 2230*56bb7041Schristos * ldlang.c (lang_new_vers_pattern): Set the `symver' and 2231*56bb7041Schristos `script.' fields to 0. 2232*56bb7041Schristos 2233*56bb7041Schristos * ldmain.c (main): Initialize the allow_undefined_version to 2234*56bb7041Schristos true. 2235*56bb7041Schristos 2236*56bb7041Schristos * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New. 2237*56bb7041Schristos (ld_options): Add --no-undefined-version. 2238*56bb7041Schristos (parse_args): Support OPTION_NO_UNDEFINED_VERSION. 2239*56bb7041Schristos 2240*56bb7041Schristos2002-08-07 Nick Clifton <nickc@redhat.com> 2241*56bb7041Schristos 2242*56bb7041Schristos * emultempl/armelf.em (arm_elf_before_allocation): Only search for 2243*56bb7041Schristos an interworking bfd if there are input bfds. (107501) 2244*56bb7041Schristos 2245*56bb7041Schristos2002-08-06 Alan Modra <amodra@bigpond.net.au> 2246*56bb7041Schristos 2247*56bb7041Schristos * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts 2248*56bb7041Schristos 2002-05-10 change. 2249*56bb7041Schristos 2250*56bb7041Schristos2002-08-01 Nick Clifton <nickc@redhat.com> 2251*56bb7041Schristos 2252*56bb7041Schristos * emulparams/armelf.sh: Revert previous delta. 2253*56bb7041Schristos * scripttempl/elf.sc: Revert previous delta. 2254*56bb7041Schristos 2255*56bb7041Schristos2002-07-31 H.J. Lu <hjl@gnu.org> 2256*56bb7041Schristos 2257*56bb7041Schristos * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for 2258*56bb7041Schristos --enable-64-bit-bfd. 2259*56bb7041Schristos 2260*56bb7041Schristos2002-07-31 H.J. Lu <hjl@gnu.org> 2261*56bb7041Schristos 2262*56bb7041Schristos * configure.tgt: Enable x86-64 emulation for Linux/i386 if 2263*56bb7041Schristos 64bit BFD is selected. 2264*56bb7041Schristos 2265*56bb7041Schristos2002-07-31 H.J. Lu <hjl@gnu.org> 2266*56bb7041Schristos 2267*56bb7041Schristos * configure.tgt: Enable 64bit emulations for 32bit Linux/mips 2268*56bb7041Schristos if 64bit BFD is selected. 2269*56bb7041Schristos 2270*56bb7041Schristos2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> 2271*56bb7041Schristos 2272*56bb7041Schristos * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set 2273*56bb7041Schristos link_info.common_skip_ar_aymbols. 2274*56bb7041Schristos * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file. 2275*56bb7041Schristos 2276*56bb7041Schristos * ldmain.c (main): Initialize new field 2277*56bb7041Schristos link_info.common_skip_ar_aymbols. 2278*56bb7041Schristos 2279*56bb7041Schristos2002-07-31 Adam Nemet <anemet@lnxw.com> 2280*56bb7041Schristos 2281*56bb7041Schristos * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it 2282*56bb7041Schristos to .plt.thumb. 2283*56bb7041Schristos * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is 2284*56bb7041Schristos used. 2285*56bb7041Schristos 2286*56bb7041Schristos2002-07-31 Nick Clifton <nickc@redhat.com> 2287*56bb7041Schristos 2288*56bb7041Schristos * NEWS: Retroactively add entry for Lars Brinkhoff's contribution 2289*56bb7041Schristos of the PDP-11 and 2.11BSD a.out support. 2290*56bb7041Schristos 2291*56bb7041Schristos2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 2292*56bb7041Schristos 2293*56bb7041Schristos * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations 2294*56bb7041Schristos for n32 ABI support. 2295*56bb7041Schristos * Makefile.in: Regenerate. 2296*56bb7041Schristos * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add 2297*56bb7041Schristos n32 ABI emulations for these 64 bit targets. 2298*56bb7041Schristos * emulparams/elf32bmipn32.sh: Expand comment. 2299*56bb7041Schristos * emulparams/elf32btsmipn32.sh: New file, for traditional big endian 2300*56bb7041Schristos n32 ABI. 2301*56bb7041Schristos * emulparams/elf32ltsmipn32.sh: Likewise for little endian. 2302*56bb7041Schristos 2303*56bb7041Schristos2002-07-30 Graeme Peterson <gp@qnx.com> 2304*56bb7041Schristos 2305*56bb7041Schristos * configure.tgt: Add support for arm-*-nto target. 2306*56bb7041Schristos * Makefile.am: Add earmnto.o file. 2307*56bb7041Schristos * Makefile.in: Regenerate. 2308*56bb7041Schristos * NEWS: Mention port of ARM support to QNX. 2309*56bb7041Schristos * emulparams/armnto.sh: New file. 2310*56bb7041Schristos 2311*56bb7041Schristos2002-07-30 Jakub Jelinek <jakub@redhat.com> 2312*56bb7041Schristos 2313*56bb7041Schristos * ldlang.c (lang_add_section): Don't turn .tbss into normal sections 2314*56bb7041Schristos for relocatable link. 2315*56bb7041Schristos (lang_size_sections_1): Don't make .tbss zero size for relocatable 2316*56bb7041Schristos link. 2317*56bb7041Schristos 2318*56bb7041Schristos2002-07-26 Bernd Schmidt <bernds@redhat.com> 2319*56bb7041Schristos 2320*56bb7041Schristos * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete. 2321*56bb7041Schristos (STACK_ADDR): New. 2322*56bb7041Schristos 2323*56bb7041Schristos2002-07-25 Nick Clifton <nickc@redhat.com> 2324*56bb7041Schristos 2325*56bb7041Schristos * po/sv.po: Updated Swedish translation. 2326*56bb7041Schristos * po/es.po: Updated Spanish translation. 2327*56bb7041Schristos * po/fr.po: Updated French translation. 2328*56bb7041Schristos 2329*56bb7041Schristos2002-07-24 Nick Clifton <nickc@redhat.com> 2330*56bb7041Schristos 2331*56bb7041Schristos * po/sv.po: Updated Swedish translation. 2332*56bb7041Schristos * po/es.po: Updated Spanish translation. 2333*56bb7041Schristos 2334*56bb7041Schristos2002-07-23 Nick Clifton <nickc@redhat.com> 2335*56bb7041Schristos 2336*56bb7041Schristos * po/fr.po: Updated French translation. 2337*56bb7041Schristos 2338*56bb7041Schristos2002-07-20 Alan Modra <amodra@bigpond.net.au> 2339*56bb7041Schristos 2340*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 2341*56bb7041Schristos bomb on /DISCARD/ input section. 2342*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 2343*56bb7041Schristos * emultempl/mmo.em (mmo_place_orphan): Likewise. 2344*56bb7041Schristos 2345*56bb7041Schristos2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> 2346*56bb7041Schristos 2347*56bb7041Schristos * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text 2348*56bb7041Schristos output section. 2349*56bb7041Schristos 2350*56bb7041Schristos2002-07-16 Denis Chertykov <denisc@overta.ru> 2351*56bb7041Schristos Nick Clifton <nickc@redhat.com> 2352*56bb7041Schristos Frank Ch. Eigler <fche@redhat.com> 2353*56bb7041Schristos John Healy <jhealy@redhat.com> 2354*56bb7041Schristos 2355*56bb7041Schristos * configure.tgt: Add support for ip2k-elf. 2356*56bb7041Schristos * Makefile.am: Add support for ip2k-elf. 2357*56bb7041Schristos * Makefile.in: Regenerate. 2358*56bb7041Schristos * emulparams/elf32ip2k.sh: New file. 2359*56bb7041Schristos * scripttempl/ip2k.sc: New file 2360*56bb7041Schristos * NEWS: Mention support for new port. 2361*56bb7041Schristos 2362*56bb7041Schristos2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> 2363*56bb7041Schristos 2364*56bb7041Schristos * NEWS: Add 'Changes in 2.13'. 2365*56bb7041Schristos 2366*56bb7041Schristos2002-07-14 H.J. Lu <hjl@gnu.org> 2367*56bb7041Schristos 2368*56bb7041Schristos * ld.texinfo: Document a .symver takes precedence over a 2369*56bb7041Schristos version script. 2370*56bb7041Schristos 2371*56bb7041Schristos2002-07-12 Alan Modra <amodra@bigpond.net.au> 2372*56bb7041Schristos 2373*56bb7041Schristos * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. 2374*56bb7041Schristos (COMMONPAGESIZE): Define. 2375*56bb7041Schristos 2376*56bb7041Schristos2002-07-09 Alan Modra <amodra@bigpond.net.au> 2377*56bb7041Schristos 2378*56bb7041Schristos * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. 2379*56bb7041Schristos 2380*56bb7041Schristos2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> 2381*56bb7041Schristos 2382*56bb7041Schristos * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, 2383*56bb7041Schristos powerpc-*-openbsd* and sparc64-*-openbsd*. 2384*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. 2385*56bb7041Schristos * Makefile.in: Regenerate. 2386*56bb7041Schristos * emulparams/hppaobsd.sh: New file. 2387*56bb7041Schristos 2388*56bb7041Schristos2002-07-05 Alan Modra <amodra@bigpond.net.au> 2389*56bb7041Schristos 2390*56bb7041Schristos * ldlang.c (print_wild_statement): Fix output formatting. 2391*56bb7041Schristos 2392*56bb7041Schristos2002-07-04 Alan Modra <amodra@bigpond.net.au> 2393*56bb7041Schristos 2394*56bb7041Schristos * ldlang.c: (strip_excluded_output_sections): New function. 2395*56bb7041Schristos (lang_process): Call it. 2396*56bb7041Schristos (lang_size_sections_1): Revert 2002-06-10 change. 2397*56bb7041Schristos 2398*56bb7041Schristos2002-07-03 Alan Modra <amodra@bigpond.net.au> 2399*56bb7041Schristos 2400*56bb7041Schristos * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. 2401*56bb7041Schristos Run "make dep-am". 2402*56bb7041Schristos * Makefile.in: Regenerate. 2403*56bb7041Schristos 2404*56bb7041Schristos2002-07-02 Alan Modra <amodra@bigpond.net.au> 2405*56bb7041Schristos 2406*56bb7041Schristos * ldfile.c (ldfile_try_open_bfd): Formatting. 2407*56bb7041Schristos 2408*56bb7041Schristos * ldmisc.c (demangle): Move so that it doesn't intrude between 2409*56bb7041Schristos vfinfo comment and body. Add comment. 2410*56bb7041Schristos 2411*56bb7041Schristos2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> 2412*56bb7041Schristos 2413*56bb7041Schristos * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. 2414*56bb7041Schristos 2415*56bb7041Schristos2002-07-01 Alan Modra <amodra@bigpond.net.au> 2416*56bb7041Schristos 2417*56bb7041Schristos * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. 2418*56bb7041Schristos * ldlang.c (entry_sym): Likewise. 2419*56bb7041Schristos (ldlang_undef_chain_list_type): Likewise. 2420*56bb7041Schristos (lang_finish): Adjust references to entry_symbol. 2421*56bb7041Schristos (lang_add_entry): Likewise. 2422*56bb7041Schristos (lang_gc_sections): Use link_info.gc_sym_list. 2423*56bb7041Schristos (lang_process): Set link_info.gc_sym_list. 2424*56bb7041Schristos * ldlex.l: Include bfdlink.h. 2425*56bb7041Schristos * ldmain.c (main): Init link_info.gc_sym_list. 2426*56bb7041Schristos * emultempl/aix.em: Adjust references to entry_symbol. 2427*56bb7041Schristos * emultempl/armcoff.em: Likewise. 2428*56bb7041Schristos * emultempl/armelf.em: Likewise. 2429*56bb7041Schristos * emultempl/pe.em: Likewise. 2430*56bb7041Schristos * emultempl/ppc64elf.em (ppc_after_open): New function. 2431*56bb7041Schristos (LDEMUL_AFTER_OPEN): Define. 2432*56bb7041Schristos * emulparams/elf64ppc.sh: KEEP .opd sections. 2433*56bb7041Schristos 2434*56bb7041Schristos2002-06-29 Stephane Carrez <stcarrez@nerim.fr> 2435*56bb7041Schristos 2436*56bb7041Schristos * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. 2437*56bb7041Schristos * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. 2438*56bb7041Schristos * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. 2439*56bb7041Schristos (EEPROM_START_ADDR): Define. 2440*56bb7041Schristos (EEPROM_MEMORY): Define. 2441*56bb7041Schristos * emulparams/m68hc12elf.sh: Likewise. 2442*56bb7041Schristos * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs 2443*56bb7041Schristos section to put soft registers in .page0. 2444*56bb7041Schristos * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. 2445*56bb7041Schristos 2446*56bb7041Schristos2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca> 2447*56bb7041Schristos 2448*56bb7041Schristos * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd 2449*56bb7041Schristos section. Add ${RELOCATING-0}. 2450*56bb7041Schristos 2451*56bb7041Schristos2002-06-26 J"orn Rennecke <joern.rennecke@superh.com> 2452*56bb7041Schristos 2453*56bb7041Schristos * emulparams/shelf.sh (STACK_ADDR): Don't define. 2454*56bb7041Schristos (OTHER_SECTIONS): Define. 2455*56bb7041Schristos * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. 2456*56bb7041Schristos (OTHER_SECTIONS): Undef. 2457*56bb7041Schristos 2458*56bb7041Schristos2002-06-26 Alan Modra <amodra@bigpond.net.au> 2459*56bb7041Schristos 2460*56bb7041Schristos * ldmisc.c (demangle): Restore dots stripped from sym name. 2461*56bb7041Schristos 2462*56bb7041Schristos2002-06-25 H.J. Lu <hjl@gnu.org> 2463*56bb7041Schristos 2464*56bb7041Schristos * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. 2465*56bb7041Schristos * Makefile.in: Regenerated. 2466*56bb7041Schristos 2467*56bb7041Schristos2002-06-20 Nick Clifton <nickc@cambridge.redhat.com> 2468*56bb7041Schristos 2469*56bb7041Schristos * ld.texinfo (Bug Reporting): Update text to suggest a limit on 2470*56bb7041Schristos the size of attached object files, to allow make the object files 2471*56bb7041Schristos available via FTP or HTTP and to mention that the mail will be 2472*56bb7041Schristos sent to a mailing list. 2473*56bb7041Schristos 2474*56bb7041Schristos2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> 2475*56bb7041Schristos 2476*56bb7041Schristos * configure.host (romp): Drop support. 2477*56bb7041Schristos 2478*56bb7041Schristos2002-06-18 Chris Demetriou <cgd@broadcom.com> 2479*56bb7041Schristos 2480*56bb7041Schristos * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check 2481*56bb7041Schristos section flags for SEC_DATA, rather than for SEC_CODE being unset. 2482*56bb7041Schristos 2483*56bb7041Schristos2002-06-18 Chris Demetriou <cgd@broadcom.com> 2484*56bb7041Schristos 2485*56bb7041Schristos * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix 2486*56bb7041Schristos format specifier used to print BFD name. 2487*56bb7041Schristos 2488*56bb7041Schristos2002-06-18 Dave Brolley <brolley@redhat.com> 2489*56bb7041Schristos 2490*56bb7041Schristos From Catherine Moore, Michael Meissner, Jim Blandy: 2491*56bb7041Schristos * emulparams/elf32frv.sh: New file. 2492*56bb7041Schristos * configure.tgt: Support frv-*-*. 2493*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. 2494*56bb7041Schristos (eelf32frv.c): New target. 2495*56bb7041Schristos 2496*56bb7041Schristos2002-06-17 Tom Rix <trix@redhat.com> 2497*56bb7041Schristos 2498*56bb7041Schristos * emultempl/elf32.em: gld*_get_script: Check for 2499*56bb7041Schristos GENERATE_COMBRELOC_SCRIPT. 2500*56bb7041Schristos * scripttempl/elfd10v.sc : Fix STACK and INSN. 2501*56bb7041Schristos * emulparams/d10velf.sh : Fix TEXT_START_ADDR. 2502*56bb7041Schristos 2503*56bb7041Schristos2002-06-13 J"orn Rennecke <joern.rennecke@superh.com> 2504*56bb7041Schristos 2505*56bb7041Schristos * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. 2506*56bb7041Schristos 2507*56bb7041Schristos2002-06-12 H.J. Lu <hjl@gnu.org> 2508*56bb7041Schristos 2509*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return 2510*56bb7041Schristos false if xvec doesn't match. 2511*56bb7041Schristos 2512*56bb7041Schristos2002-06-10 Richard Sandiford <rsandifo@redhat.com> 2513*56bb7041Schristos 2514*56bb7041Schristos * ldlang.c (lang_size_sections_1): Skip removed output sections. 2515*56bb7041Schristos 2516*56bb7041Schristos2002-06-08 Alan Modra <amodra@bigpond.net.au> 2517*56bb7041Schristos 2518*56bb7041Schristos * ldexp.c: Replace CONST with const. 2519*56bb7041Schristos * ldfile.c: Likewise. 2520*56bb7041Schristos * ldfile.h: Likewise. 2521*56bb7041Schristos * ldlex.l: Likewise. 2522*56bb7041Schristos * mri.c: Likewise. 2523*56bb7041Schristos * pe-dll.h: Likewise. 2524*56bb7041Schristos 2525*56bb7041Schristos2002-06-07 Alan Modra <amodra@bigpond.net.au> 2526*56bb7041Schristos 2527*56bb7041Schristos * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. 2528*56bb7041Schristos 2529*56bb7041Schristos2002-06-07 Charles Wilson <cwilson@ece.gatech.edu> 2530*56bb7041Schristos 2531*56bb7041Schristos * ldmain.c (main): initialize link_info.pei386_auto_import 2532*56bb7041Schristos to -1 == implicit enable. 2533*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): 2534*56bb7041Schristos initialize link_info.pei386_auto_import to -1 == implicit 2535*56bb7041Schristos enable. 2536*56bb7041Schristos (gld_${EMULATION_NAME}_parse_args): When processing 2537*56bb7041Schristos --enable-auto-import and --disable-auto-import options, use 2538*56bb7041Schristos '1' and '0' instead of 'true' and 'false'. 2539*56bb7041Schristos (pe_find_data_imports): Only issue message about auto-import 2540*56bb7041Schristos when the feature is implicitly enabled. Downgrade message to 2541*56bb7041Schristos informational instead of warning. 2542*56bb7041Schristos 2543*56bb7041Schristos2002-06-07 Alan Modra <amodra@bigpond.net.au> 2544*56bb7041Schristos 2545*56bb7041Schristos * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. 2546*56bb7041Schristos 2547*56bb7041Schristos2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> 2548*56bb7041Schristos 2549*56bb7041Schristos * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, 2550*56bb7041Schristos HOSTING_CRT0 and HOSTING_LIBS. 2551*56bb7041Schristos 2552*56bb7041Schristos2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> 2553*56bb7041Schristos 2554*56bb7041Schristos * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. 2555*56bb7041Schristos 2556*56bb7041Schristos2002-06-05 Jason Thorpe <thorpej@wasabisystems.com> 2557*56bb7041Schristos 2558*56bb7041Schristos * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. 2559*56bb7041Schristos (NONPAGED_TEXT_START_ADDR): Set to 0x1000. 2560*56bb7041Schristos 2561*56bb7041Schristos2002-06-05 Alan Modra <amodra@bigpond.net.au> 2562*56bb7041Schristos 2563*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place 2564*56bb7041Schristos SEC_EXCLUDE sections when doing a relocatable link. 2565*56bb7041Schristos 2566*56bb7041Schristos2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> 2567*56bb7041Schristos 2568*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, 2569*56bb7041Schristos eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. 2570*56bb7041Schristos (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) 2571*56bb7041Schristos (eshlelf64_nbsd.c): New rules. 2572*56bb7041Schristos * Makefile.in: Regenerate. 2573*56bb7041Schristos * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) 2574*56bb7041Schristos (sh64-*-netbsd*): New targets. 2575*56bb7041Schristos * emulparams/shelf32_nbsd.sh: New file. 2576*56bb7041Schristos * emulparams/shelf64_nbsd.sh: New file. 2577*56bb7041Schristos * emulparams/shlelf32_nbsd.sh: New file. 2578*56bb7041Schristos * emulparams/shlelf64_nbsd.sh: New file. 2579*56bb7041Schristos 2580*56bb7041Schristos2002-06-04 Alan Modra <amodra@bigpond.net.au> 2581*56bb7041Schristos 2582*56bb7041Schristos * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. 2583*56bb7041Schristos 2584*56bb7041Schristos2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> 2585*56bb7041Schristos 2586*56bb7041Schristos * scripttempl/avr.sc: Changes to support current GCC and avr-libc, 2587*56bb7041Schristos C++ constructors/destructors, loosely based on the m68hc11 port. 2588*56bb7041Schristos 2589*56bb7041Schristos2002-05-31 Alan Modra <amodra@bigpond.net.au> 2590*56bb7041Schristos 2591*56bb7041Schristos * Makefile.in: Regenerate. 2592*56bb7041Schristos * aclocal.m4: Regenerate. 2593*56bb7041Schristos * config.in: Regenerate. 2594*56bb7041Schristos * configure: Regenerate. 2595*56bb7041Schristos 2596*56bb7041Schristos2002-05-31 Graeme Peterson <gp@qnx.com> 2597*56bb7041Schristos 2598*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. 2599*56bb7041Schristos (ei386nto.c): Add rule. 2600*56bb7041Schristos * Makefile.in: Regenerate. 2601*56bb7041Schristos * configure.tgt: Add i[3456]86-*-nto-qnx*. 2602*56bb7041Schristos * emulparams/i386nto.sh: New file. 2603*56bb7041Schristos 2604*56bb7041Schristos2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> 2605*56bb7041Schristos 2606*56bb7041Schristos * NEWS: Add entry for VAX ELF support. 2607*56bb7041Schristos 2608*56bb7041Schristos2002-05-29 Matt Thomas <matt@3am-software.com> 2609*56bb7041Schristos Jason Thorpe <thorpej@wasabisystems.com> 2610*56bb7041Schristos 2611*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. 2612*56bb7041Schristos (eelf32vax.c) 2613*56bb7041Schristos (evaxnbsd.c): New rules. 2614*56bb7041Schristos * Makefile.in: Regenerate. 2615*56bb7041Schristos * configure.tgt (vax-*-netbsdelf*) 2616*56bb7041Schristos (vax-*-netbsdaout*) 2617*56bb7041Schristos (vax-*-netbsd*): New targets. 2618*56bb7041Schristos * emulparams/elf32vax.sh: New file. 2619*56bb7041Schristos * emulparams/vaxnbsd.sh: New file. 2620*56bb7041Schristos 2621*56bb7041Schristos2002-05-29 Adam Nemet <anemet@lnxw.com> 2622*56bb7041Schristos 2623*56bb7041Schristos * emultempl/armelf.em (arm_elf_after_open): Don't determine 2624*56bb7041Schristos bfd_for_interwork, instead add glue sections to each input bfd. 2625*56bb7041Schristos (bfd_for_interwork): New global. 2626*56bb7041Schristos (arm_elf_set_bfd_for_interworking): New function. 2627*56bb7041Schristos (arm_elf_before_allocation): Use it. 2628*56bb7041Schristos 2629*56bb7041Schristos2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> 2630*56bb7041Schristos 2631*56bb7041Schristos * Makefile.am: Add DLX make target. 2632*56bb7041Schristos * configure.tgt: Add DLX configuration. 2633*56bb7041Schristos * Makefile.in: Regenerate. 2634*56bb7041Schristos * emulparams/elf32_dlx.sh: New file 2635*56bb7041Schristos * scripttempl/dlx.sc: New file 2636*56bb7041Schristos 2637*56bb7041Schristos2002-05-27 Per Lundberg <per@caleb.dnsalias.org> 2638*56bb7041Schristos 2639*56bb7041Schristos * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. 2640*56bb7041Schristos * Makefile.in: Regenerate. 2641*56bb7041Schristos * emulparams/elf_chaos.sh: Use elf_chaos script. 2642*56bb7041Schristos * scripttempl/elf_chaos.sc: New file. 2643*56bb7041Schristos 2644*56bb7041Schristos2002-05-27 Richard Sandiford <rsandifo@redhat.com> 2645*56bb7041Schristos 2646*56bb7041Schristos * ldlang.c (lang_size_sections_1): Move check for conflicting load 2647*56bb7041Schristos addresses and regions from here... 2648*56bb7041Schristos (lang_get_regions): ...to this new function. 2649*56bb7041Schristos (lang_leave_output_section_statement): Use lang_get_regions. 2650*56bb7041Schristos (lang_leave_overlay): Likewise. 2651*56bb7041Schristos * mri.c (mri_draw_tree): Pass null as last argument to 2652*56bb7041Schristos lang_leave_output_section_statement. 2653*56bb7041Schristos * emultempl/elf32.em (gld*_place_orphan): Likewise. 2654*56bb7041Schristos * emultempl/mmo.em (mmo_place_orphan): Likewise. 2655*56bb7041Schristos * emultempl/pe.em (gld*_place_orphan): Likewise. 2656*56bb7041Schristos 2657*56bb7041Schristos2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> 2658*56bb7041Schristos 2659*56bb7041Schristos * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. 2660*56bb7041Schristos 2661*56bb7041Schristos2002-05-25 Kazu Hirata <kazu@cs.umass.edu> 2662*56bb7041Schristos 2663*56bb7041Schristos * ldemul.c: Fix formatting. 2664*56bb7041Schristos * ldfile.c: Likewise. 2665*56bb7041Schristos * pe-dll.c: Likewise. 2666*56bb7041Schristos * pe-dll.h: Likewise. 2667*56bb7041Schristos 2668*56bb7041Schristos2002-05-25 Alan Modra <amodra@bigpond.net.au> 2669*56bb7041Schristos 2670*56bb7041Schristos * ldlang.c (lang_process): Formatting, grammar. 2671*56bb7041Schristos 2672*56bb7041Schristos * ldlex.l: Use #include "" instead of <> for local header files. 2673*56bb7041Schristos 2674*56bb7041Schristos2002-05-24 TAMURA Kent <kent@netbsd.org> 2675*56bb7041Schristos 2676*56bb7041Schristos * configure.tgt: Add a target for i386-netbsdpe. 2677*56bb7041Schristos 2678*56bb7041Schristos2002-05-23 Jakub Jelinek <jakub@redhat.com> 2679*56bb7041Schristos 2680*56bb7041Schristos * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. 2681*56bb7041Schristos * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for 2682*56bb7041Schristos output section if necessary. Handle .tbss. 2683*56bb7041Schristos (lang_size_sections): Clear _raw_size for .tbss section 2684*56bb7041Schristos (it allocates space in PT_TLS segment only). 2685*56bb7041Schristos * ldwrite.c (build_link_order): Build link order for .tbss too. 2686*56bb7041Schristos 2687*56bb7041Schristos2002-05-23 Alan Modra <amodra@bigpond.net.au> 2688*56bb7041Schristos 2689*56bb7041Schristos * configure.in: Correct spelling of AC_PREREQ. 2690*56bb7041Schristos 2691*56bb7041Schristos2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> 2692*56bb7041Schristos 2693*56bb7041Schristos * pe-dll.c (autofilter_liblist): Add more system libs excluded by 2694*56bb7041Schristos default. 2695*56bb7041Schristos (autofilter_objlist): Add crtbegin.o, crtend.o. 2696*56bb7041Schristos 2697*56bb7041Schristos2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> 2698*56bb7041Schristos 2699*56bb7041Schristos * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. 2700*56bb7041Schristos (longopts): Add new option --exclude-libs. 2701*56bb7041Schristos (gld_${EMULATION_NAME}_list_options): Give quick help about it. 2702*56bb7041Schristos (gld_${EMULATION_NAME}_parse_args): Use it. 2703*56bb7041Schristos * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. 2704*56bb7041Schristos * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols 2705*56bb7041Schristos from whole archives. 2706*56bb7041Schristos (pe_dll_add_excludes): Set excludes->type. 2707*56bb7041Schristos (auto_export): Add new variable libname and set to archive basename if 2708*56bb7041Schristos abfd. Use it when filtering default and user-specified libarary 2709*56bb7041Schristos excludes. Let string "ALL" mean all libs when filtering user-specified 2710*56bb7041Schristos libs. 2711*56bb7041Schristos * ld.texinfo: Document --exclude-libs. 2712*56bb7041Schristos 2713*56bb7041Schristos2002-05-22 Alan Modra <amodra@bigpond.net.au> 2714*56bb7041Schristos 2715*56bb7041Schristos * ldemul.c (ldemul_new_vers_pattern): New function. 2716*56bb7041Schristos * ldemul.h (ldemul_new_vers_pattern): Declare. 2717*56bb7041Schristos (struct ld_emulation_xfer_struct): Add new_vers_pattern. 2718*56bb7041Schristos * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. 2719*56bb7041Schristos * emultempl/ppc64elf.em (dotsyms): New static var. 2720*56bb7041Schristos (gld${EMULATION_NAME}_new_vers_pattern): New function. 2721*56bb7041Schristos (LDEMUL_NEW_VERS_PATTERN): Define. 2722*56bb7041Schristos (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. 2723*56bb7041Schristos (PARSE_AND_LIST_LONGOPTS): Likewise. 2724*56bb7041Schristos (PARSE_AND_LIST_ARGS_CASES): Handle them. 2725*56bb7041Schristos * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update 2726*56bb7041Schristos initialiser. 2727*56bb7041Schristos * emultempl/armcoff.em: Likewise. 2728*56bb7041Schristos * emultempl/armelf_oabi.em: Likewise. 2729*56bb7041Schristos * emultempl/beos.em: Likewise. 2730*56bb7041Schristos * emultempl/elf32.em: Likewise. 2731*56bb7041Schristos * emultempl/generic.em: Likewise. 2732*56bb7041Schristos * emultempl/gld960.em: Likewise. 2733*56bb7041Schristos * emultempl/gld960c.em: Likewise. 2734*56bb7041Schristos * emultempl/linux.em: Likewise. 2735*56bb7041Schristos * emultempl/lnk960.em: Likewise. 2736*56bb7041Schristos * emultempl/m68kcoff.em: Likewise. 2737*56bb7041Schristos * emultempl/mipsecoff.em: Likewise. 2738*56bb7041Schristos * emultempl/pe.em: Likewise. 2739*56bb7041Schristos * emultempl/sunos.em: Likewise. 2740*56bb7041Schristos * emultempl/ticoff.em: Likewise. 2741*56bb7041Schristos * emultempl/vanilla.em: Likewise. 2742*56bb7041Schristos 2743*56bb7041Schristos2002-05-22 Alan Modra <amodra@bigpond.net.au> 2744*56bb7041Schristos 2745*56bb7041Schristos * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir 2746*56bb7041Schristos and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. 2747*56bb7041Schristos (LIB_SEARCH_DIRS): No need to use "tr". 2748*56bb7041Schristos (COMPILE_IN): Only set for native targets. 2749*56bb7041Schristos * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs 2750*56bb7041Schristos here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. 2751*56bb7041Schristos * configure.tgt (powerpc*): Set tdir_*. 2752*56bb7041Schristos (powerpcle*): Correct targ_extra_emuls. 2753*56bb7041Schristos * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. 2754*56bb7041Schristos * emulparams/elf64ppc.sh (LIB_PATH): Likewise. 2755*56bb7041Schristos 2756*56bb7041Schristos2002-05-22 Alan Modra <amodra@bigpond.net.au> 2757*56bb7041Schristos 2758*56bb7041Schristos * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when 2759*56bb7041Schristos calling lang_add_entry. 2760*56bb7041Schristos 2761*56bb7041Schristos2002-05-21 H.J. Lu (hjl@gnu.org) 2762*56bb7041Schristos 2763*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle 2764*56bb7041Schristos "-z muldefs". 2765*56bb7041Schristos (gld${EMULATION_NAME}_list_options): Add "-z muldefs". 2766*56bb7041Schristos 2767*56bb7041Schristos * ld.texinfo: Updated for --allow-multiple-definition and 2768*56bb7041Schristos "-z muldefs". 2769*56bb7041Schristos 2770*56bb7041Schristos * ldmain.c (main): Initialize the allow_multiple_definition 2771*56bb7041Schristos field to false. 2772*56bb7041Schristos 2773*56bb7041Schristos * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. 2774*56bb7041Schristos (ld_options): Add --allow-multiple-definition. 2775*56bb7041Schristos (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. 2776*56bb7041Schristos 2777*56bb7041Schristos2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> 2778*56bb7041Schristos 2779*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. 2780*56bb7041Schristos (earmelfb_nbsd.c): New rule. 2781*56bb7041Schristos * Makefile.in: Regenerate. 2782*56bb7041Schristos * configure.tgt (armeb-*-netbsdelf*): New target. 2783*56bb7041Schristos (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. 2784*56bb7041Schristos (arm-*-netbsd*): Likewise. 2785*56bb7041Schristos * emulparams/armelfb_nbsd.sh: New file. 2786*56bb7041Schristos 2787*56bb7041Schristos2002-05-18 Tom Rix <trix@redhat.com> 2788*56bb7041Schristos 2789*56bb7041Schristos * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib 2790*56bb7041Schristos support. 2791*56bb7041Schristos 2792*56bb7041Schristos2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> 2793*56bb7041Schristos 2794*56bb7041Schristos * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. 2795*56bb7041Schristos * Makefile.in: Regenerate. 2796*56bb7041Schristos * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. 2797*56bb7041Schristos 2798*56bb7041Schristos2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> 2799*56bb7041Schristos 2800*56bb7041Schristos * emulparams/avr1.sh: New file. 2801*56bb7041Schristos * emulparams/avr2.sh: New file. 2802*56bb7041Schristos * emulparams/avr3.sh: New file. 2803*56bb7041Schristos * emulparams/avr4.sh: New file. 2804*56bb7041Schristos * emulparams/avr5.sh: New file. 2805*56bb7041Schristos * scripttempl/avr.sc: New file. 2806*56bb7041Schristos 2807*56bb7041Schristos2002-05-15 Alan Modra <amodra@bigpond.net.au> 2808*56bb7041Schristos 2809*56bb7041Schristos * ldlang.c (section_already_linked): Call bfd_link_just_syms. 2810*56bb7041Schristos (lang_place_orphans): Abort if just_syms_flag. 2811*56bb7041Schristos 2812*56bb7041Schristos2002-05-10 Tom Rix <trix@redhat.com> 2813*56bb7041Schristos 2814*56bb7041Schristos * emultempl/aix.em: (gld*_set_output_arch): New function. Use 2815*56bb7041Schristos architecture and machine information in the output bfd. 2816*56bb7041Schristos (gld*_before_parse): Remove old arch and machine code. 2817*56bb7041Schristos (choose_target): Rename to gld*_choose_target. 2818*56bb7041Schristos (rtld): Change type to int. 2819*56bb7041Schristos * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for 2820*56bb7041Schristos objects in XCOFF archives. 2821*56bb7041Schristos * ldfile.h: Update copyright date. 2822*56bb7041Schristos 2823*56bb7041Schristos2002-05-10 Jakub Jelinek <jakub@redhat.com> 2824*56bb7041Schristos 2825*56bb7041Schristos * ldmain.c (main): Enable -z combreloc by default. 2826*56bb7041Schristos 2827*56bb7041Schristos2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> 2828*56bb7041Schristos 2829*56bb7041Schristos * Makefile.am: Honour DESTDIR. 2830*56bb7041Schristos * Makefile.in: Regenerate. 2831*56bb7041Schristos 2832*56bb7041Schristos2002-05-07 Richard Sandiford <rsandifo@redhat.com> 2833*56bb7041Schristos 2834*56bb7041Schristos * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. 2835*56bb7041Schristos (lang_enter_overlay): Remove the last two parameters. 2836*56bb7041Schristos (lang_leave_overlay): Take them here instead. 2837*56bb7041Schristos * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. 2838*56bb7041Schristos (section): Pass LMA and crossref flag to lang_leave_overlay rather 2839*56bb7041Schristos than lang_enter_overlay. 2840*56bb7041Schristos * ldlang.c (lang_memory_region_lookup): Return null for null names. 2841*56bb7041Schristos (lang_output_section_statement_lookup): Initialize update_dot_tree. 2842*56bb7041Schristos (lang_size_sections_1): Evaluate it. 2843*56bb7041Schristos (lang_leave_output_section_statement): Rework LMA lookup. 2844*56bb7041Schristos (overlay_lma, overlay_nocrossrefs): Remove. 2845*56bb7041Schristos (lang_enter_overlay): Remove LMA and crossref arguments. 2846*56bb7041Schristos (lang_enter_overlay_section): Don't set the LMA here. 2847*56bb7041Schristos (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' 2848*56bb7041Schristos assignment to the last section's update_dot_tree. Unconditionally 2849*56bb7041Schristos use the load and run-time regions specified in the OVERLAY statement. 2850*56bb7041Schristos Likewise the first section's LMA. Only set the other sections' LMAs 2851*56bb7041Schristos when no load region is given. 2852*56bb7041Schristos 2853*56bb7041Schristos2002-05-06 Nick Clifton <nickc@redhat.com> 2854*56bb7041Schristos 2855*56bb7041Schristos * po/sv.po: New translation. 2856*56bb7041Schristos 2857*56bb7041Schristos2002-05-04 Alan Modra <amodra@bigpond.net.au> 2858*56bb7041Schristos 2859*56bb7041Schristos * emultempl/hppaelf.em (build_section_lists): New function. 2860*56bb7041Schristos (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists 2861*56bb7041Schristos and build_section_lists. 2862*56bb7041Schristos 2863*56bb7041Schristos2002-05-03 Kazu Hirata <kazu@cs.umass.edu> 2864*56bb7041Schristos 2865*56bb7041Schristos * ld.h: Fix formatting. 2866*56bb7041Schristos * ldexp.c: Likewise. 2867*56bb7041Schristos * ldfile.c: Likewise. 2868*56bb7041Schristos * ldlang.c: Likewise. 2869*56bb7041Schristos * ldmain.c: Likewise. 2870*56bb7041Schristos * lexsup.c: Likewise. 2871*56bb7041Schristos * pe-dll.c: Likewise. 2872*56bb7041Schristos 2873*56bb7041Schristos2002-05-02 Alan Modra <amodra@bigpond.net.au> 2874*56bb7041Schristos 2875*56bb7041Schristos * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): 2876*56bb7041Schristos Adjust for ppc64_elf_set_toc change. #include libbfd.h. 2877*56bb7041Schristos (build_section_lists): Do output_section tests here. 2878*56bb7041Schristos 2879*56bb7041Schristos2002-04-30 Tom Rix <trix@redhat.com> 2880*56bb7041Schristos 2881*56bb7041Schristos * emultempl/aix.em : (gld*_parse_arge): Formatting changes. 2882*56bb7041Schristos 2883*56bb7041Schristos2002-05-01 Alan Modra <amodra@bigpond.net.au> 2884*56bb7041Schristos 2885*56bb7041Schristos Long branch stubs, multiple stub sections. 2886*56bb7041Schristos * emultempl/ppc64elf.em: Include ldctor.h. 2887*56bb7041Schristos (stub_file): New var. 2888*56bb7041Schristos (group_size): New var. 2889*56bb7041Schristos (ppc_create_output_section_statements): New function. 2890*56bb7041Schristos (struct hook_stub_info): New. 2891*56bb7041Schristos (hook_in_stub): New function. 2892*56bb7041Schristos (ppc_add_stub_section): New function. 2893*56bb7041Schristos (ppc_layout_sections_again): New function. 2894*56bb7041Schristos (build_section_lists): New function. 2895*56bb7041Schristos (gld${EMULATION_NAME}_finish): Rewrite. 2896*56bb7041Schristos (real_func): New var. 2897*56bb7041Schristos (ppc_for_each_input_file_wrapper): New function. 2898*56bb7041Schristos (ppc_lang_for_each_input_file): New function. 2899*56bb7041Schristos (lang_for_each_input_file): Define. 2900*56bb7041Schristos (PARSE_AND_LIST_PROLOGUE): Define. 2901*56bb7041Schristos (PARSE_AND_LIST_LONGOPTS): Define. 2902*56bb7041Schristos (PARSE_AND_LIST_OPTIONS): Define. 2903*56bb7041Schristos (PARSE_AND_LIST_ARGS_CASES): Define. 2904*56bb7041Schristos (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. 2905*56bb7041Schristos 2906*56bb7041Schristos2002-04-30 Tom Rix <trix@redhat.com> 2907*56bb7041Schristos 2908*56bb7041Schristos * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add 2909*56bb7041Schristos -blibpath, -bnolibpath support. 2910*56bb7041Schristos 2911*56bb7041Schristos2002-04-30 Mark Mitchell <mark@codesourcery.com> 2912*56bb7041Schristos 2913*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. 2914*56bb7041Schristos (eelf32ppcwindiss.c): New target. 2915*56bb7041Schristos * Makefile.in: Regenerated. 2916*56bb7041Schristos * configure.tgt: Add support for powerpc-*-windiss. 2917*56bb7041Schristos * emulparams/elf32ppcwindiss.sh: New file. 2918*56bb7041Schristos 2919*56bb7041Schristos2002-04-30 Richard Sandiford <rsandifo@redhat.com> 2920*56bb7041Schristos 2921*56bb7041Schristos * ldlang.c (print_assignment): Update print_dot for assignments to ".". 2922*56bb7041Schristos * ldexp.c (exp_print_token): Add "infix_p" argument. 2923*56bb7041Schristos (exp_print_tree): Update accordingly. 2924*56bb7041Schristos 2925*56bb7041Schristos2002-04-28 Alan Modra <amodra@bigpond.net.au> 2926*56bb7041Schristos 2927*56bb7041Schristos * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. 2928*56bb7041Schristos * Makefile.in: Regenerate. 2929*56bb7041Schristos * mpw-elfmips.c: Delete. 2930*56bb7041Schristos * mpw-eppcmac.c: Delete. 2931*56bb7041Schristos * mpw-esh.c: Delete. 2932*56bb7041Schristos * mpw-idtmips.c: Delete. 2933*56bb7041Schristos 2934*56bb7041Schristos2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> 2935*56bb7041Schristos 2936*56bb7041Schristos * emulparams/shelf32.sh (MACHINE): Now sh5. 2937*56bb7041Schristos 2938*56bb7041Schristos2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 2939*56bb7041Schristos 2940*56bb7041Schristos * ldgram.y: Fix syntax warning. 2941*56bb7041Schristos 2942*56bb7041Schristos2002-04-11 Nick Clifton <nickc@cambridge.redhat.com> 2943*56bb7041Schristos 2944*56bb7041Schristos * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order 2945*56bb7041Schristos to prevent "-n" from being taken as an abbreviation for 2946*56bb7041Schristos "--no-pipeline-knowledge". 2947*56bb7041Schristos 2948*56bb7041Schristos2002-04-08 Alan Modra <amodra@bigpond.net.au> 2949*56bb7041Schristos 2950*56bb7041Schristos * ldlang.c (lang_size_sections_1): Don't complain about 2951*56bb7041Schristos SEC_NEVER_LOAD sections having no memory region specified. 2952*56bb7041Schristos 2953*56bb7041Schristos * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. 2954*56bb7041Schristos 2955*56bb7041Schristos2002-04-07 matthew green <mrg@redhat.com> 2956*56bb7041Schristos 2957*56bb7041Schristos * configure.host (*-*-netbsd*): Add support for NetBSD/ELF. 2958*56bb7041Schristos 2959*56bb7041Schristos2002-04-04 Alan Modra <amodra@bigpond.net.au> 2960*56bb7041Schristos 2961*56bb7041Schristos * dep-in.sed: Cope with absolute paths. 2962*56bb7041Schristos * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. 2963*56bb7041Schristos Run "make dep-am". 2964*56bb7041Schristos * Makefile.in: Regenerate. 2965*56bb7041Schristos 2966*56bb7041Schristos2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> 2967*56bb7041Schristos 2968*56bb7041Schristos * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. 2969*56bb7041Schristos 2970*56bb7041Schristos2002-04-03 Jakub Jelinek <jakub@redhat.com> 2971*56bb7041Schristos 2972*56bb7041Schristos * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size 2973*56bb7041Schristos is smaller than maximum, round dot up to common page boundary. 2974*56bb7041Schristos 2975*56bb7041Schristos2002-03-28 Alan Modra <amodra@bigpond.net.au> 2976*56bb7041Schristos 2977*56bb7041Schristos * configure.host: Set up for generic hosts first, then tweak as 2978*56bb7041Schristos necessary in more specific targets. 2979*56bb7041Schristos (HOSTING_LIBS): Include libgcc_eh.a if found. 2980*56bb7041Schristos 2981*56bb7041Schristos2002-03-23 Andreas Jaeger <aj@suse.de> 2982*56bb7041Schristos 2983*56bb7041Schristos * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. 2984*56bb7041Schristos 2985*56bb7041Schristos2002-03-21 Alan Modra <amodra@bigpond.net.au> 2986*56bb7041Schristos 2987*56bb7041Schristos * Makefile.am: Run "make dep-am". 2988*56bb7041Schristos * Makefile.in: Regenerate. 2989*56bb7041Schristos 2990*56bb7041Schristos2002-03-21 Albert Chin-A-Young <china@thewrittenword.com> 2991*56bb7041Schristos 2992*56bb7041Schristos * genscripts.sh (LIB_SEARCH_DIRS): Quote path. 2993*56bb7041Schristos 2994*56bb7041Schristos2002-03-20 Alan Modra <amodra@bigpond.net.au> 2995*56bb7041Schristos 2996*56bb7041Schristos * ldlang.c (ldlang_add_undef): If the output bfd has been opened, 2997*56bb7041Schristos add the symbol to the linker hash table immediately. 2998*56bb7041Schristos (lang_place_undefineds): Split symbol creation out.. 2999*56bb7041Schristos (insert_undefined): ..to here. 3000*56bb7041Schristos 3001*56bb7041Schristos2002-03-18 David O'Brien <obrien@FreeBSD.org> 3002*56bb7041Schristos 3003*56bb7041Schristos * emultempl/elf32.em: Use lbasename vs. basename to fix problem where 3004*56bb7041Schristos the contents of the buffer returned from basename function will are 3005*56bb7041Schristos getting overwritten while still being used. 3006*56bb7041Schristos 3007*56bb7041Schristos2002-03-18 Jan Hubicka <jh@suse.cz> 3008*56bb7041Schristos Andreas Jaeger <aj@suse.de> 3009*56bb7041Schristos Andreas Schwab <schwab@suse.de> 3010*56bb7041Schristos 3011*56bb7041Schristos * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. 3012*56bb7041Schristos * elf_x86_64.sh (ARCH): Set to i386:x86-64 3013*56bb7041Schristos set libraries to default to lib64 paths. 3014*56bb7041Schristos 3015*56bb7041Schristos2002-03-18 Tom Rix <trix@redhat.com> 3016*56bb7041Schristos 3017*56bb7041Schristos * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. 3018*56bb7041Schristos * configure.tgt : Same. 3019*56bb7041Schristos * emulparms/aix5ppc.sh : New file. For eaix5ppc. 3020*56bb7041Schristos * emulparms/aix5rs6.sh : New file. For eaix5rs6. 3021*56bb7041Schristos * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT 3022*56bb7041Schristos emulation parameters for better -b32, -b64 support. 3023*56bb7041Schristos * emulparms/aixrs6.sh : Same. 3024*56bb7041Schristos * emulparms/ppcmacos.sh : Same. 3025*56bb7041Schristos * emultempl/aix.em (choose_target) : Use new emulation parameters 3026*56bb7041Schristos OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. 3027*56bb7041Schristos * Makefile.in : Regenerate. 3028*56bb7041Schristos 3029*56bb7041Schristos2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> 3030*56bb7041Schristos 3031*56bb7041Schristos * po/fr.po: Updated version. 3032*56bb7041Schristos 3033*56bb7041Schristos2002-03-18 Alan Modra <amodra@bigpond.net.au> 3034*56bb7041Schristos 3035*56bb7041Schristos * ldmain.c (main): Move .text readonly flag fudges from here.. 3036*56bb7041Schristos * ldlang.c (lang_process): ..to here. 3037*56bb7041Schristos 3038*56bb7041Schristos2002-03-14 Alan Modra <amodra@bigpond.net.au> 3039*56bb7041Schristos 3040*56bb7041Schristos * ldlang.c (lang_check): Remove the word size check added in last 3041*56bb7041Schristos change. Treat emitrelocations case as for relocatable links. 3042*56bb7041Schristos 3043*56bb7041Schristos2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> 3044*56bb7041Schristos 3045*56bb7041Schristos * po/fr.po: Updated version. 3046*56bb7041Schristos 3047*56bb7041Schristos2002-03-13 Alan Modra <amodra@bigpond.net.au> 3048*56bb7041Schristos 3049*56bb7041Schristos * ldlang.c (lang_check): Do relocatable link checks first, so that 3050*56bb7041Schristos warn_mismatch can't override. Check compatible and word size too. 3051*56bb7041Schristos 3052*56bb7041Schristos2002-03-07 Daniel Jacobowitz <drow@mvista.com> 3053*56bb7041Schristos 3054*56bb7041Schristos * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. 3055*56bb7041Schristos 3056*56bb7041Schristos2002-03-05 Jakub Jelinek <jakub@redhat.com> 3057*56bb7041Schristos 3058*56bb7041Schristos * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with 3059*56bb7041Schristos DATA_SEGMENT_ALIGN. 3060*56bb7041Schristos 3061*56bb7041Schristos2002-03-04 H.J. Lu <hjl@gnu.org> 3062*56bb7041Schristos 3063*56bb7041Schristos * scripttempl/elf.sc: Put .preinit_array, .init_array and 3064*56bb7041Schristos .fini_array in the data segment. 3065*56bb7041Schristos 3066*56bb7041Schristos2002-03-04 Alan Modra <amodra@bigpond.net.au> 3067*56bb7041Schristos 3068*56bb7041Schristos * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. 3069*56bb7041Schristos 3070*56bb7041Schristos2002-03-01 David Mosberger <davidm@hpl.hp.com> 3071*56bb7041Schristos 3072*56bb7041Schristos * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, 3073*56bb7041Schristos .init_array, and .fini_array. 3074*56bb7041Schristos 3075*56bb7041Schristos2002-02-20 Andreas Schwab <schwab@suse.de> 3076*56bb7041Schristos 3077*56bb7041Schristos * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold 3078*56bb7041Schristos .IA64_unwind* in a relocatable link. 3079*56bb7041Schristos 3080*56bb7041Schristos2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> 3081*56bb7041Schristos 3082*56bb7041Schristos * NEWS: Mark 2.12 branch. 3083*56bb7041Schristos 3084*56bb7041Schristos2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> 3085*56bb7041Schristos 3086*56bb7041Schristos * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". 3087*56bb7041Schristos * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". 3088*56bb7041Schristos 3089*56bb7041Schristos2002-02-18 Tom Rix <trix@redhat.com> 3090*56bb7041Schristos 3091*56bb7041Schristos * emultempl/aix.em (gld*_parse_args): Add -brtl support. 3092*56bb7041Schristos (gld*_before_allocation): Same. 3093*56bb7041Schristos (gld*_create_output_section_statements): Generate 3094*56bb7041Schristos __rtinit if run time linking. Add librtl.a to the link. 3095*56bb7041Schristos (gld*_read_file): Clean. 3096*56bb7041Schristos 3097*56bb7041Schristos2002-02-18 Alan Modra <amodra@bigpond.net.au> 3098*56bb7041Schristos 3099*56bb7041Schristos * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. 3100*56bb7041Schristos 3101*56bb7041Schristos2002-02-18 David O'Brien <obrien@FreeBSD.org> 3102*56bb7041Schristos 3103*56bb7041Schristos * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, 3104*56bb7041Schristos eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, 3105*56bb7041Schristos and eelf64alpha_fbsd. 3106*56bb7041Schristos * Makefile.in: Regenerate. 3107*56bb7041Schristos * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, 3108*56bb7041Schristos x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): 3109*56bb7041Schristos use a FreeBSD-specific emulation rather than the psABI one. 3110*56bb7041Schristos * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value 3111*56bb7041Schristos for all FreeBSD ELF systems. 3112*56bb7041Schristos * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI 3113*56bb7041Schristos emulation. 3114*56bb7041Schristos * emulparams/elf32ppc_fbsd.sh: Likewise. 3115*56bb7041Schristos * emulparams/elf64_ia64_fbsd.sh: Likewise. 3116*56bb7041Schristos * emulparams/elf64_sparc_fbsd.sh: Likewise. 3117*56bb7041Schristos * emulparams/elf64alpha_fbsd.sh: Likewise. 3118*56bb7041Schristos * emulparams/elf_i386_fbsd.sh: Likewise. 3119*56bb7041Schristos * emulparams/elf_x86_64_fbsd.sh: Likewise. 3120*56bb7041Schristos 3121*56bb7041Schristos2002-02-18 Nick Clifton <nickc@cambridge.redhat.com> 3122*56bb7041Schristos 3123*56bb7041Schristos * po/tr.po: Updated version. 3124*56bb7041Schristos 3125*56bb7041Schristos2002-02-18 Alan Modra <amodra@bigpond.net.au> 3126*56bb7041Schristos 3127*56bb7041Schristos * ld.texinfo (Output Section Fill): Fix amateur texinfo. 3128*56bb7041Schristos (FILL): Likewise. 3129*56bb7041Schristos 3130*56bb7041Schristos2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> 3131*56bb7041Schristos 3132*56bb7041Schristos * emultempl/mmo.em (mmo_after_open): Don't call 3133*56bb7041Schristos _bfd_mmix_check_all_relocs when producing ELF output. 3134*56bb7041Schristos 3135*56bb7041Schristos2002-02-15 Richard Henderson <rth@redhat.com> 3136*56bb7041Schristos 3137*56bb7041Schristos * emulparams/elf64alpha.sh (NOP): Adjust for big-endian 3138*56bb7041Schristos definition. Emit a unop+nop pair. 3139*56bb7041Schristos 3140*56bb7041Schristos2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> 3141*56bb7041Schristos 3142*56bb7041Schristos * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check 3143*56bb7041Schristos for presence of .MMIX.reg_contents.linker_allocated before early 3144*56bb7041Schristos exit. 3145*56bb7041Schristos 3146*56bb7041Schristos * NEWS: Mention support for MMIX. 3147*56bb7041Schristos 3148*56bb7041Schristos2002-02-15 Alan Modra <amodra@bigpond.net.au> 3149*56bb7041Schristos 3150*56bb7041Schristos Support arbitrary length fill patterns. 3151*56bb7041Schristos * ld.texinfo (Output Section Fill): Describe fill expressions. 3152*56bb7041Schristos (FILL): Refer to the above. 3153*56bb7041Schristos * ldexp.h (etree_value_type): Add "str" field. 3154*56bb7041Schristos (union etree_union): Add "str" to "value" struct. 3155*56bb7041Schristos (exp_bigintop): Declare. 3156*56bb7041Schristos (exp_get_fill): Declare. 3157*56bb7041Schristos * ldexp.c: Include "safe-ctype.h". 3158*56bb7041Schristos (exp_intop): Set value.str to NULL. 3159*56bb7041Schristos (exp_bigintop): New function. 3160*56bb7041Schristos (new_rel): Pass in "str", and set new.str from it. 3161*56bb7041Schristos (new_rel_from_section): Set new.str to NULL. 3162*56bb7041Schristos (fold_name): Adjust calls to new_rel. 3163*56bb7041Schristos (exp_fold_tree): Likewise. 3164*56bb7041Schristos (exp_get_fill): New function. 3165*56bb7041Schristos * ldgram.y (struct big_int bigint, fill_type *fill): New. 3166*56bb7041Schristos (INT): Returns a "bigint". Adjust all code handling INTs. 3167*56bb7041Schristos (fill_opt): Returns a "fill". 3168*56bb7041Schristos (fill_exp): Split out of fill_opt, use for FILL. 3169*56bb7041Schristos * ldlang.h (struct _fill_type): New. 3170*56bb7041Schristos (fill_type): Move typedef to ldexp.h. 3171*56bb7041Schristos (lang_output_section_statement_type): "fill" is now a pointer. 3172*56bb7041Schristos (lang_fill_statement_type): Likewise. 3173*56bb7041Schristos (lang_padding_statement_type): Likewise. 3174*56bb7041Schristos (lang_add_fill): Now takes a "fill_type *" param. 3175*56bb7041Schristos (lang_leave_output_section_statement): Likewise. 3176*56bb7041Schristos (lang_do_assignments): Likewise. 3177*56bb7041Schristos (lang_size_sections): Likewise. 3178*56bb7041Schristos (lang_leave_overlay_section): Likewise. 3179*56bb7041Schristos (lang_leave_overlay): Likewise. 3180*56bb7041Schristos * ldlang.c: Include ldgram.h after ldexp.h. 3181*56bb7041Schristos (lang_output_section_statement_lookup): Adjust for fill_type change. 3182*56bb7041Schristos (print_fill_statement): Likewise. 3183*56bb7041Schristos (print_padding_statement): Likewise. 3184*56bb7041Schristos (insert_pad): Now takes a "fill_type *" arg. 3185*56bb7041Schristos (size_input_section): Likewise. 3186*56bb7041Schristos (lang_size_sections_1): Likewise. 3187*56bb7041Schristos (lang_size_sections): Likewise. 3188*56bb7041Schristos (lang_do_assignments): Likewise. 3189*56bb7041Schristos (lang_add_fill): Likewise. 3190*56bb7041Schristos (lang_leave_output_section_statement): Likewise. 3191*56bb7041Schristos (lang_leave_overlay_section): Likewise. 3192*56bb7041Schristos (lang_leave_overlay): Likewise. 3193*56bb7041Schristos Adjust all callers of the above function. 3194*56bb7041Schristos * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers 3195*56bb7041Schristos starting with "0X" as well as "0x". Return bigint.str for hex 3196*56bb7041Schristos numbers starting with "0x" or "0X", zero bigint.str otherwise. 3197*56bb7041Schristos Always use base 16 for numbers starting with "$". 3198*56bb7041Schristos * ldmain.c: Include ldgram.h after ldexp.h. 3199*56bb7041Schristos * ldwrite.c (build_link_order): Use bfd_data_link_order in place 3200*56bb7041Schristos of bfd_fill_link_order. 3201*56bb7041Schristos * pe-dll.c: Adjust lang_do_assignments calls. 3202*56bb7041Schristos * emultempl/elf32.em: Likewise. 3203*56bb7041Schristos * emultempl/hppaelf.em: Likewise. 3204*56bb7041Schristos * emultempl/ppc64elf.em: Likewise. 3205*56bb7041Schristos * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust 3206*56bb7041Schristos lang_add_assignment call. 3207*56bb7041Schristos * emultempl/pe.em: Likewise. 3208*56bb7041Schristos 3209*56bb7041Schristos2002-02-14 Phil Edwards <pme@gcc.gnu.org> 3210*56bb7041Schristos 3211*56bb7041Schristos * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. 3212*56bb7041Schristos * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; 3213*56bb7041Schristos the pattern in question is not a regexp. 3214*56bb7041Schristos * ldlang.c: Likewise. 3215*56bb7041Schristos * ldlang.h: Likewise. 3216*56bb7041Schristos * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. 3217*56bb7041Schristos 3218*56bb7041Schristos2002-02-12 Jakub Jelinek <jakub@redhat.com> 3219*56bb7041Schristos 3220*56bb7041Schristos * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. 3221*56bb7041Schristos * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. 3222*56bb7041Schristos (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). 3223*56bb7041Schristos * ldexp.c (exp_data_seg): New variable. 3224*56bb7041Schristos (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. 3225*56bb7041Schristos (fold_binary): Handle DATA_SEGMENT_ALIGN. 3226*56bb7041Schristos (exp_fold_tree): Handle DATA_SEGMENT_END. 3227*56bb7041Schristos Pass allocation_done when recursing instead of hardcoding 3228*56bb7041Schristos lang_allocating_phase_enum. 3229*56bb7041Schristos * ldexp.h (exp_data_seg): New. 3230*56bb7041Schristos * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. 3231*56bb7041Schristos (lang_size_sections): New. 3232*56bb7041Schristos * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. 3233*56bb7041Schristos * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END 3234*56bb7041Schristos if COMMONPAGESIZE is defined. 3235*56bb7041Schristos * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. 3236*56bb7041Schristos * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. 3237*56bb7041Schristos * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. 3238*56bb7041Schristos * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. 3239*56bb7041Schristos * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared 3240*56bb7041Schristos libraries only. 3241*56bb7041Schristos 3242*56bb7041Schristos2002-02-11 Alan Modra <amodra@bigpond.net.au> 3243*56bb7041Schristos 3244*56bb7041Schristos * Makefile.in: Regenerate. 3245*56bb7041Schristos 3246*56bb7041Schristos2002-02-10 Daniel Jacobowitz <drow@mvista.com> 3247*56bb7041Schristos 3248*56bb7041Schristos * lexsup.c: Remove strtoul declaration. 3249*56bb7041Schristos 3250*56bb7041Schristos2002-02-10 Daniel Jacobowitz <drow@mvista.com> 3251*56bb7041Schristos 3252*56bb7041Schristos * ldmain.c: Add prototype for main (). 3253*56bb7041Schristos * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. 3254*56bb7041Schristos * emultempl/lnk960.em (lnk960_choose_target): Function should 3255*56bb7041Schristos take two arguments. 3256*56bb7041Schristos 3257*56bb7041Schristos2002-02-10 Alan Modra <amodra@bigpond.net.au> 3258*56bb7041Schristos 3259*56bb7041Schristos * ldlang.c (entry_section): New initialised variable. 3260*56bb7041Schristos (lang_finish): Use it. 3261*56bb7041Schristos * ldlang.h (entry_section): Declare. 3262*56bb7041Schristos * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set 3263*56bb7041Schristos entry_section to ".opd". 3264*56bb7041Schristos 3265*56bb7041Schristos2002-02-09 Chris Demetriou <cgd@broadcom.com> 3266*56bb7041Schristos 3267*56bb7041Schristos * ld.texinfo (Options): Add back in -nostdlib documentation, 3268*56bb7041Schristos which had been inadvertently removed. 3269*56bb7041Schristos 3270*56bb7041Schristos2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> 3271*56bb7041Schristos 3272*56bb7041Schristos * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust 3273*56bb7041Schristos register section vma to a sane value after emitting error. Make 3274*56bb7041Schristos fatal conditions cause program exit when emitting message. 3275*56bb7041Schristos 3276*56bb7041Schristos2002-02-08 Ivan Guzvinec <ivang@opencores.org> 3277*56bb7041Schristos 3278*56bb7041Schristos * configure.tgt: Add or32-*-rtems target. 3279*56bb7041Schristos 3280*56bb7041Schristos2002-02-08 Alexandre Oliva <aoliva@redhat.com> 3281*56bb7041Schristos 3282*56bb7041Schristos Contribute sh64-elf. 3283*56bb7041Schristos 2002-01-24 Alexandre Oliva <aoliva@redhat.com> 3284*56bb7041Schristos * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined 3285*56bb7041Schristos in OTHER_RELOCATABLE_SECTIONS. 3286*56bb7041Schristos 2002-01-18 Alexandre Oliva <aoliva@redhat.com> 3287*56bb7041Schristos * emulparams/shelf32.sh (STACK_ADDR): Define. 3288*56bb7041Schristos (OTHER_RELOCATABLE_SECTIONS): Renamed to... 3289*56bb7041Schristos (OTHER_SECTIONS): this. Removed stack settings. 3290*56bb7041Schristos * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. 3291*56bb7041Schristos (OTHER_SECTIONS): Reset after sourcing shelf32.sh. 3292*56bb7041Schristos 2001-03-12 DJ Delorie <dj@redhat.com> 3293*56bb7041Schristos * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable 3294*56bb7041Schristos relaxing if any shmedia or mixed sections are found. 3295*56bb7041Schristos 2001-03-07 DJ Delorie <dj@redhat.com> 3296*56bb7041Schristos * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to 3297*56bb7041Schristos einfo. Gracefully decline to output to non-elf formats. 3298*56bb7041Schristos 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> 3299*56bb7041Schristos * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: 3300*56bb7041Schristos Default to _end aligned to next multiple of 0x40000, plus 0x40000. 3301*56bb7041Schristos * emulparams/shelf32.sh: Ditto. 3302*56bb7041Schristos 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> 3303*56bb7041Schristos * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak 3304*56bb7041Schristos comment. 3305*56bb7041Schristos 2001-01-10 Ben Elliston <bje@redhat.com> 3306*56bb7041Schristos * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid 3307*56bb7041Schristos non-portable shell constructs. From Hans-Peter Nilsson. 3308*56bb7041Schristos 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> 3309*56bb7041Schristos * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. 3310*56bb7041Schristos * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust 3311*56bb7041Schristos dependencies to the shell script include chain. 3312*56bb7041Schristos * Makefile.in: Regenerate. 3313*56bb7041Schristos 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> 3314*56bb7041Schristos * emultempl/sh64elf.em: Update and tweak comments. 3315*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and 3316*56bb7041Schristos make a .cranges section SEC_IN_MEMORY. 3317*56bb7041Schristos 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> 3318*56bb7041Schristos * emultempl/sh64elf.em 3319*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when 3320*56bb7041Schristos .cranges section found to be necessary; continue and set stored 3321*56bb7041Schristos section contents flags for sections with non-mixed contents. 3322*56bb7041Schristos Use a struct sh64_section_data container and sh64_elf_section_data 3323*56bb7041Schristos to store contents-type flags. 3324*56bb7041Schristos Remove unused update of "isec". 3325*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_after_allocation): Only process 3326*56bb7041Schristos sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to 3327*56bb7041Schristos access contents-type flags. Assert that the associated container 3328*56bb7041Schristos is initialized. Use that container, not elf_gp_size, to hold size 3329*56bb7041Schristos of linker-generated cranges contents. 3330*56bb7041Schristos 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> 3331*56bb7041Schristos * emultempl/sh64elf.em 3332*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if 3333*56bb7041Schristos there's already a .cranges section. When section flag difference 3334*56bb7041Schristos is found, don't NULL-check cranges a second time. Tweak comments. 3335*56bb7041Schristos (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after 3336*56bb7041Schristos merging, not max size, as size of ld-generated .cranges contents. 3337*56bb7041Schristos Don't set ELF section flags in output section. When checking for 3338*56bb7041Schristos needed .cranges descriptors, don't use a variable; compare 3339*56bb7041Schristos incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak 3340*56bb7041Schristos comments. 3341*56bb7041Schristos 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> 3342*56bb7041Schristos * emultempl/sh64elf.em: New file. 3343*56bb7041Schristos * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. 3344*56bb7041Schristos * Makefile.in: Regenerate. 3345*56bb7041Schristos * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. 3346*56bb7041Schristos (OTHER_RELOCATING_SECTIONS): Ditto. 3347*56bb7041Schristos (EXTRA_EM_FILE): New, set to sh64elf if not set. 3348*56bb7041Schristos * emulparams/shlelf32.sh: Stub out all settings except 3349*56bb7041Schristos OUTPUT_FORMAT. Source shelf32.sh. 3350*56bb7041Schristos * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and 3351*56bb7041Schristos OTHER_RELOCATING_SECTIONS. 3352*56bb7041Schristos (OTHER_RELOCATING_SECTIONS): Remove .cranges. 3353*56bb7041Schristos * emulparams/shlelf64.sh: Stub out all settings except 3354*56bb7041Schristos OUTPUT_FORMAT. Source shelf64.sh. 3355*56bb7041Schristos 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> 3356*56bb7041Schristos * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include 3357*56bb7041Schristos .cranges section. 3358*56bb7041Schristos (DATA_START_SYMBOLS): Define, provide ___data. 3359*56bb7041Schristos (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 3360*56bb7041Schristos for consecutive .data section. 3361*56bb7041Schristos (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss 3362*56bb7041Schristos section after .data section. 3363*56bb7041Schristos * emulparams/shlelf64.sh: Ditto. 3364*56bb7041Schristos * emulparams/shelf32.sh: Ditto. 3365*56bb7041Schristos (ALIGNMENT): Define to 8. 3366*56bb7041Schristos * emulparams/shelf32.sh: Ditto. 3367*56bb7041Schristos 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> 3368*56bb7041Schristos * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get 3369*56bb7041Schristos built-in linker scripts. 3370*56bb7041Schristos 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> 3371*56bb7041Schristos * emulparams/shlelf64.sh: New. 3372*56bb7041Schristos * emulparams/shelf64.sh: New. 3373*56bb7041Schristos * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to 3374*56bb7041Schristos targ_extra_emuls. 3375*56bb7041Schristos * Makefile.am: Add support for shlelf64 and shelf64. 3376*56bb7041Schristos * Makefile.in: Regenerate. 3377*56bb7041Schristos 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> 3378*56bb7041Schristos * configure.tgt (sh64-*-elf*): Add shelf as default. 3379*56bb7041Schristos Add shlelf to targ_extra_emuls. 3380*56bb7041Schristos 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> 3381*56bb7041Schristos * emulparams/shelf32.sh: New file. 3382*56bb7041Schristos * emulparams/shlelf32.sh: New file. 3383*56bb7041Schristos * Makefile.am: Add support for shlelf32 and shelf32. 3384*56bb7041Schristos * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. 3385*56bb7041Schristos * Makefile.in: Regenerate. 3386*56bb7041Schristos 3387*56bb7041Schristos2002-02-05 Hans-Peter Nilsson <hp@axis.com> 3388*56bb7041Schristos 3389*56bb7041Schristos * ldlang.c (lang_reset_memory_regions): Rename from 3390*56bb7041Schristos reset_memory_regions. Change all callers. Make public. 3391*56bb7041Schristos * ldlang.h (lang_reset_memory_regions): Prototype. 3392*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call 3393*56bb7041Schristos lang_reset_memory_regions before lang_size_sections. 3394*56bb7041Schristos * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. 3395*56bb7041Schristos * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. 3396*56bb7041Schristos 3397*56bb7041Schristos2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> 3398*56bb7041Schristos 3399*56bb7041Schristos * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed 3400*56bb7041Schristos arithmetic when checking for too many global registers. 3401*56bb7041Schristos 3402*56bb7041Schristos2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> 3403*56bb7041Schristos 3404*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. 3405*56bb7041Schristos (ehppanbsd.c): New rule. 3406*56bb7041Schristos * Makefile.in: Regenerate. 3407*56bb7041Schristos * configure.tgt (hppa*-*-netbsd*): New target. 3408*56bb7041Schristos * emulparams/hppalinux.sh: Add comment to check other files 3409*56bb7041Schristos that source this file it is modified, and list which 3410*56bb7041Schristos files that do. 3411*56bb7041Schristos * emulparams/hppanbsd.sh: New file. 3412*56bb7041Schristos 3413*56bb7041Schristos2002-02-01 Geoffrey Keating <geoffk@redhat.com> 3414*56bb7041Schristos 3415*56bb7041Schristos * scripttempl/xstormy16.sc: Don't allocate extra space for the 3416*56bb7041Schristos stack. 3417*56bb7041Schristos 3418*56bb7041Schristos2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> 3419*56bb7041Schristos 3420*56bb7041Schristos Support on-demand global register allocation from 3421*56bb7041Schristos R_MMIX_BASE_PLUS_OFFSET relocs. 3422*56bb7041Schristos * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from 3423*56bb7041Schristos mmix_set_reg_section_vma. Call 3424*56bb7041Schristos _bfd_mmix_finalize_linker_allocated_gregs. 3425*56bb7041Schristos (mmix_before_allocation): New function. 3426*56bb7041Schristos (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. 3427*56bb7041Schristos (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. 3428*56bb7041Schristos * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. 3429*56bb7041Schristos (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated 3430*56bb7041Schristos before .MMIX.reg_contents. 3431*56bb7041Schristos * emultempl/mmo.em (gldmmo_before_allocation): Define to default. 3432*56bb7041Schristos (mmo_after_open): New function. 3433*56bb7041Schristos (LDEMUL_AFTER_OPEN): Define to mmo_after_open. 3434*56bb7041Schristos * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add 3435*56bb7041Schristos .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. 3436*56bb7041Schristos 3437*56bb7041Schristos2002-01-31 Ivan Guzvinec <ivang@opencores.org> 3438*56bb7041Schristos 3439*56bb7041Schristos * emulparams/or32.sh: New file. 3440*56bb7041Schristos * emulparams/or32elf.sh: New file. 3441*56bb7041Schristos * scripttempl/or32.sc: New file. 3442*56bb7041Schristos * configure.tgt : Add support for or32. 3443*56bb7041Schristos * configure: Regenerate 3444*56bb7041Schristos * Makefile.am: Add support for or32. 3445*56bb7041Schristos * Makefile.in: Regenerate. 3446*56bb7041Schristos * NEWS: Mention support for or32. 3447*56bb7041Schristos * po/ld.pot: Regenerate. 3448*56bb7041Schristos 3449*56bb7041Schristos2002-01-29 Chris Demetriou <cgd@broadcom.com> 3450*56bb7041Schristos Mitch Lichtenberg <mpl@broadcom.com> 3451*56bb7041Schristos 3452*56bb7041Schristos * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. 3453*56bb7041Schristos * emultempl/mipself.em: New file to handle MIPS ELF embedded 3454*56bb7041Schristos reloc creation (ld --embedded-relocs). 3455*56bb7041Schristos 3456*56bb7041Schristos2002-01-27 Daniel Jacobowitz <drow@mvista.com> 3457*56bb7041Schristos 3458*56bb7041Schristos * configure: Regenerated. 3459*56bb7041Schristos 3460*56bb7041Schristos2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> 3461*56bb7041Schristos 3462*56bb7041Schristos * Makefile.am (install): Depend on install-info. 3463*56bb7041Schristos * Makefile.in: Regenerate. 3464*56bb7041Schristos 3465*56bb7041Schristos2002-01-26 Christian Rose <menthos@menthos.com> 3466*56bb7041Schristos 3467*56bb7041Schristos * ldmain.c (main): Use full sentences to ease translation. 3468*56bb7041Schristos 3469*56bb7041Schristos2002-01-26 Nick Clifton <nickc@cambridge.redhat.com> 3470*56bb7041Schristos 3471*56bb7041Schristos * po/fr.po: Updated version. 3472*56bb7041Schristos 3473*56bb7041Schristos2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> 3474*56bb7041Schristos 3475*56bb7041Schristos * po/es.po: Updated version. 3476*56bb7041Schristos 3477*56bb7041Schristos2002-01-25 Andreas Jaeger <aj@suse.de> 3478*56bb7041Schristos 3479*56bb7041Schristos * ldlex.l (yy_input): Correct error check. 3480*56bb7041Schristos 3481*56bb7041Schristos2002-01-25 Alan Modra <amodra@bigpond.net.au> 3482*56bb7041Schristos 3483*56bb7041Schristos * ldmisc.c (demangle): Put back dots when string not demangled. 3484*56bb7041Schristos 3485*56bb7041Schristos2002-01-22 Richard Henderson <rth@redhat.com> 3486*56bb7041Schristos 3487*56bb7041Schristos * emulparams/elf64alpha.sh (NOP): Use unop. 3488*56bb7041Schristos 3489*56bb7041Schristos2002-01-21 Andreas Jaeger <aj@suse.de> 3490*56bb7041Schristos 3491*56bb7041Schristos * ldlex.l: Use fread instead of read. 3492*56bb7041Schristos 3493*56bb7041Schristos2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> 3494*56bb7041Schristos 3495*56bb7041Schristos * configure.tgt (ia64-*-netbsd*): New target. 3496*56bb7041Schristos 3497*56bb7041Schristos2002-01-21 H.J. Lu <hjl@gnu.org> 3498*56bb7041Schristos 3499*56bb7041Schristos * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to 3500*56bb7041Schristos 0. 3501*56bb7041Schristos * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. 3502*56bb7041Schristos 3503*56bb7041Schristos2002-01-18 Andreas Jaeger <aj@suse.de> 3504*56bb7041Schristos 3505*56bb7041Schristos * ldver.c (ldversion): Update year. 3506*56bb7041Schristos 3507*56bb7041Schristos2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> 3508*56bb7041Schristos 3509*56bb7041Schristos * po/ld.pot: Regenerate. 3510*56bb7041Schristos 3511*56bb7041Schristos2002-01-16 Alan Modra <amodra@bigpond.net.au> 3512*56bb7041Schristos 3513*56bb7041Schristos * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. 3514*56bb7041Schristos * Makefile.in: Regenerate. 3515*56bb7041Schristos * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. 3516*56bb7041Schristos * emultempl/ppc64elf.em: New file. 3517*56bb7041Schristos 3518*56bb7041Schristos2002-01-15 DJ Delorie <dj@redhat.com> 3519*56bb7041Schristos 3520*56bb7041Schristos * scripttempl/pe.sc: Add support for constructor priorities. 3521*56bb7041Schristos 3522*56bb7041Schristos2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> 3523*56bb7041Schristos 3524*56bb7041Schristos * emulparams/avr1200.sh (DATA_START): Define as 0x60. 3525*56bb7041Schristos * emulparams/avr23xx.sh: Likewise. 3526*56bb7041Schristos * emulparams/avr4433.sh: Likewise. 3527*56bb7041Schristos * emulparams/avr44x4.sh: Likewise. 3528*56bb7041Schristos * emulparams/avr85xx.sh: Likewise. 3529*56bb7041Schristos * emulparams/avrmega103.sh: Likewise. 3530*56bb7041Schristos * emulparams/avrmega161.sh: Likewise. 3531*56bb7041Schristos * emulparams/avrmega603.sh: Likewise. 3532*56bb7041Schristos * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. 3533*56bb7041Schristos 3534*56bb7041Schristos2002-01-08 Alexandre Oliva <aoliva@redhat.com> 3535*56bb7041Schristos 3536*56bb7041Schristos * ldlang.c (walk_wild_section): Exclude object file if enclosing 3537*56bb7041Schristos archive is excluded. 3538*56bb7041Schristos 3539*56bb7041Schristos2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> 3540*56bb7041Schristos 3541*56bb7041Schristos * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. 3542*56bb7041Schristos (eshelf_nbsd.c): New rule. 3543*56bb7041Schristos (eshlelf_nbsd.c): New rule. 3544*56bb7041Schristos * Makefile.in: Regenerate. 3545*56bb7041Schristos * configure.tgt (sh*le-*-netbsdelf*): New target. 3546*56bb7041Schristos (sh*-*-netbsdelf*): New target. 3547*56bb7041Schristos * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. 3548*56bb7041Schristos * emulparams/shelf_nbsd.sh: New emulation. 3549*56bb7041Schristos * emulparams/shlelf_nbsd.sh: New emulation. 3550*56bb7041Schristos 3551*56bb7041Schristos2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> 3552*56bb7041Schristos 3553*56bb7041Schristos * po/es.po: New file: Spanish translation. 3554*56bb7041Schristos * configure.in (ALL_LINGUAS): Add es. 3555*56bb7041Schristos * configure: Regenerate. 3556*56bb7041Schristos 3557*56bb7041Schristos2002-01-06 John Marshall <jmarshall@acm.org> 3558*56bb7041Schristos 3559*56bb7041Schristos * ld.texinfo: Note that --emit-relocs is currently only 3560*56bb7041Schristos implemented for ELF. 3561*56bb7041Schristos 3562*56bb7041Schristos2002-01-05 Alan Modra <amodra@bigpond.net.au> 3563*56bb7041Schristos 3564*56bb7041Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use 3565*56bb7041Schristos of bfd_section_list_remove and bfd_section_list_insert macros. 3566*56bb7041Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 3567*56bb7041Schristos * emultempl/mmo.em (mmo_place_orphan): Likewise. 3568*56bb7041Schristos 3569*56bb7041Schristos2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> 3570*56bb7041Schristos 3571*56bb7041Schristos * configure.tgt (x86_64-*-netbsd*): New target. 3572*56bb7041Schristos 3573*56bb7041SchristosFor older changes see ChangeLog-0001 3574*56bb7041Schristos 3575*56bb7041SchristosCopyright (C) 2002-2003 Free Software Foundation, Inc. 3576*56bb7041Schristos 3577*56bb7041SchristosCopying and distribution of this file, with or without modification, 3578*56bb7041Schristosare permitted in any medium without royalty provided the copyright 3579*56bb7041Schristosnotice and this notice are preserved. 3580*56bb7041Schristos 3581*56bb7041SchristosLocal Variables: 3582*56bb7041Schristosmode: change-log 3583*56bb7041Schristosleft-margin: 8 3584*56bb7041Schristosfill-column: 74 3585*56bb7041Schristosversion-control: never 3586*56bb7041SchristosEnd: 3587