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