1*75fd0b74Schristos2005-12-28 Jie Zhang <jie.zhang@analog.com> 2*75fd0b74Schristos 3*75fd0b74Schristos * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS. 4*75fd0b74Schristos And add a prefix '_' to ENTRY. 5*75fd0b74Schristos * scripttempl/elf.sc: Add END_SYMBOLS. 6*75fd0b74Schristos 7*75fd0b74Schristos2005-12-27 H.J. Lu <hongjiu.lu@intel.com> 8*75fd0b74Schristos 9*75fd0b74Schristos * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete. 10*75fd0b74Schristos (LDEMUL_PLACE_ORPHAN): Delete. 11*75fd0b74Schristos 12*75fd0b74Schristos2005-12-27 Leif Ekblad <leif@rdos.net> 13*75fd0b74Schristos 14*75fd0b74Schristos * configure.tgt: Add support for RDOS targets. 15*75fd0b74Schristos 16*75fd0b74Schristos2005-12-27 Nick Clifton <nickc@redhat.com> 17*75fd0b74Schristos 18*75fd0b74Schristos * po/vi.po: New Vietnamese translation. 19*75fd0b74Schristos * configure.in (ALL_LINGUAS): Add vi. 20*75fd0b74Schristos * configure: Regenerate. 21*75fd0b74Schristos 22*75fd0b74Schristos2005-12-27 Alan Modra <amodra@bigpond.net.au> 23*75fd0b74Schristos 24*75fd0b74Schristos * Makefile.am: Run "make dep-am". 25*75fd0b74Schristos * Makefile.in: Regenerate. 26*75fd0b74Schristos 27*75fd0b74Schristos2005-12-24 Alan Modra <amodra@bigpond.net.au> 28*75fd0b74Schristos 29*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Add prev. 30*75fd0b74Schristos * ldlang.c (output_statement_newfunc): Set os.prev. 31*75fd0b74Schristos (lang_insert_orphan): Likewise. 32*75fd0b74Schristos (output_prev_sec_find): Use os.prev. 33*75fd0b74Schristos 34*75fd0b74Schristos2005-12-22 Santosh Raktawan <santoshr2@kpitcummins.com> 35*75fd0b74Schristos 36*75fd0b74Schristos * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION, 37*75fd0b74Schristos TINY_DATA_SECTION, TINY_BSS_SECTION): Define. 38*75fd0b74Schristos * ld/emulparms/h8300self.sh: Likewise. 39*75fd0b74Schristos * ld/emulparms/h8300sxelf.sh: Likewise. 40*75fd0b74Schristos * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION, 41*75fd0b74Schristos TINY_DATA_SECTION, TINY_BSS_SECTION. 42*75fd0b74Schristos 43*75fd0b74Schristos2005-12-19 H.J. Lu <hongjiu.lu@intel.com> 44*75fd0b74Schristos 45*75fd0b74Schristos PR ld/2065 46*75fd0b74Schristos * ldlang.c (output_statement_newfunc): Revert the change made on 47*75fd0b74Schristos 2005-11-16. 48*75fd0b74Schristos (output_prev_sec_find): Likewise. 49*75fd0b74Schristos * ldlang.h (lang_statement_list_type): Likewise. 50*75fd0b74Schristos 51*75fd0b74Schristos2005-12-16 Nathan Sidwell <nathan@codesourcery.com> 52*75fd0b74Schristos 53*75fd0b74Schristos Second part of ms1 to mt renaming. 54*75fd0b74Schristos * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust. 55*75fd0b74Schristos 56*75fd0b74Schristos2005-12-14 Jakub Jelinek <jakub@redhat.com> 57*75fd0b74Schristos 58*75fd0b74Schristos * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into 59*75fd0b74Schristos .data.rel.ro output section. Fix a pasto for -z nocombreloc 60*75fd0b74Schristos .rela.data.rel.ro section content. 61*75fd0b74Schristos 62*75fd0b74Schristos2005-12-12 Nathan Sidwell <nathan@codesourcery.com> 63*75fd0b74Schristos 64*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. 65*75fd0b74Schristos (eelf32mt.c): Update target name and dependencies. 66*75fd0b74Schristos * Makefile.in: Rebuilt. 67*75fd0b74Schristos * configure.tgt: Replace ms1 arch with mt arch. 68*75fd0b74Schristos * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update 69*75fd0b74Schristos comment. 70*75fd0b74Schristos 71*75fd0b74Schristos2005-12-11 Bernhard Fischer <aldot@gcc.gnu.org> 72*75fd0b74Schristos 73*75fd0b74Schristos * scripttempl/armbpabi.sc: Fix typo in comment for .ctors. 74*75fd0b74Schristos * scripttempl/elf.sc: Ditto. 75*75fd0b74Schristos * scripttempl/elf32sh-symbian.sc: Ditto. 76*75fd0b74Schristos * scripttempl/elf_chaos.sc: Ditto. 77*75fd0b74Schristos * scripttempl/elfd10v.sc: Ditto. 78*75fd0b74Schristos * scripttempl/elfd30v.sc: Ditto. 79*75fd0b74Schristos * scripttempl/elfxtensa.sc: Ditto. 80*75fd0b74Schristos * scripttempl/iq2000.sc: Ditto. 81*75fd0b74Schristos * scripttempl/xstormy16.sc: Ditto. 82*75fd0b74Schristos 83*75fd0b74Schristos2005-12-08 Alan Modra <amodra@bigpond.net.au> 84*75fd0b74Schristos 85*75fd0b74Schristos * emultempl/ppc32elf.em (emit_stub_syms): New var. 86*75fd0b74Schristos (ppc_after_open): Pass it to ppc_elf_select_plt_layout. 87*75fd0b74Schristos (PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define. 88*75fd0b74Schristos (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. 89*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms. 90*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Handle it. 91*75fd0b74Schristos 92*75fd0b74Schristos2005-12-08 Alan Modra <amodra@bigpond.net.au> 93*75fd0b74Schristos 94*75fd0b74Schristos * pe-dll.c (build_filler_bfd): Conform error message to standard. 95*75fd0b74Schristos (pe_dll_generate_implib): Use %E in error message. 96*75fd0b74Schristos (add_bfd_to_link): Likewise. 97*75fd0b74Schristos (pe_implied_import_dll): Likewise. 98*75fd0b74Schristos 99*75fd0b74Schristos2005-12-07 Thiemo Seufer <ths@networkno.de> 100*75fd0b74Schristos H.J. Lu <hongjiu.lu@intel.com> 101*75fd0b74Schristos 102*75fd0b74Schristos PR ld/1932 103*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): 104*75fd0b74Schristos Adjust bfd_elf_record_link_assignment call. 105*75fd0b74Schristos 106*75fd0b74Schristos * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol. 107*75fd0b74Schristos 108*75fd0b74Schristos2005-11-25 Jan Beulich <jbeulich@novell.com> 109*75fd0b74Schristos 110*75fd0b74Schristos * Makefile.am: Make configdoc.texi writeable before trying 111*75fd0b74Schristos to write to it. 112*75fd0b74Schristos * Makefile.in: Refresh. 113*75fd0b74Schristos 114*75fd0b74Schristos2005-11-24 Alan Modra <amodra@bigpond.net.au> 115*75fd0b74Schristos 116*75fd0b74Schristos * ldlang.c (lang_output_section_find_by_flags): Add match_type param. 117*75fd0b74Schristos Run two passes, first using match_type, second without. 118*75fd0b74Schristos * ldlang.h (lang_match_sec_type_func): New typedef. 119*75fd0b74Schristos (lang_output_section_find_by_flags): Update prototype. 120*75fd0b74Schristos bfd_match_sections_by_type and lang_output_section_find_by_flags. 121*75fd0b74Schristos * emultempl/pe.em (place_orphan): Likewise. 122*75fd0b74Schristos 123*75fd0b74Schristos2005-11-24 Alan Modra <amodra@bigpond.net.au> 124*75fd0b74Schristos 125*75fd0b74Schristos * ldlang.c (lang_insert_orphan): Skip first assignment to dot 126*75fd0b74Schristos in script when looking for place to insert orphan statements. 127*75fd0b74Schristos 128*75fd0b74Schristos2005-11-18 Alan Modra <amodra@bigpond.net.au> 129*75fd0b74Schristos 130*75fd0b74Schristos * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme. 131*75fd0b74Schristos (.got, .toc1, .opd): Likewise. 132*75fd0b74Schristos 133*75fd0b74Schristos2005-11-18 Alan Modra <amodra@bigpond.net.au> 134*75fd0b74Schristos 135*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional 136*75fd0b74Schristos changes to section alignment. 137*75fd0b74Schristos * ldmisc.c (vfinfo): Handle %ld and %lu. 138*75fd0b74Schristos 139*75fd0b74Schristos2005-11-16 Mark Mitchell <mark@codesourcery.com> 140*75fd0b74Schristos 141*75fd0b74Schristos * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi.. 142*75fd0b74Schristos * Makefile.in: Regenerated. 143*75fd0b74Schristos * ld.texinfo: Include configdoc.texi and ldver.texi in man pages. 144*75fd0b74Schristos Add @file documentation. 145*75fd0b74Schristos 146*75fd0b74Schristos2005-11-17 Alan Modra <amodra@bigpond.net.au> 147*75fd0b74Schristos 148*75fd0b74Schristos * ldlang.h (lang_input_section_type): Remove "ifile" field. 149*75fd0b74Schristos (lang_insert_orphan, lang_add_section): Update prototypes. 150*75fd0b74Schristos * ldlang.c (lang_insert_orphan): Remove "file" param. 151*75fd0b74Schristos (lang_add_section): Likewise. Update all callers. 152*75fd0b74Schristos (wild_sort): Get an input section's bfd via "section->owner". 153*75fd0b74Schristos (size_input_section): Access just_syms_flag via bfd usrdata. 154*75fd0b74Schristos (lang_place_orphans): Update ldemul_place_orphan call. 155*75fd0b74Schristos * ldemul.h (ldemul_place_orphan): Remove input_statement param. 156*75fd0b74Schristos (struct ld_emulation_xfer_struct <place_orphan>): Likewise. 157*75fd0b74Schristos * ldemul.c (ldemul_place_orphan): Likewise. 158*75fd0b74Schristos * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata. 159*75fd0b74Schristos * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise. 160*75fd0b74Schristos * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner. 161*75fd0b74Schristos (sort_sections): Likewise. 162*75fd0b74Schristos (place_orphan): Remove "file" param. Adjust lang_add_section call. 163*75fd0b74Schristos * emultempl/elf32.em (place_orphan): Remove "file" param. Adjust 164*75fd0b74Schristos lang_add_section and lang_insert_orphan calls. 165*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust 166*75fd0b74Schristos lang_add_section call. 167*75fd0b74Schristos (build_section_lists): Access just_syms_flag via bfd usrdata. 168*75fd0b74Schristos * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust 169*75fd0b74Schristos lang_add_section call. 170*75fd0b74Schristos * emultempl/mmo.em (mmo_place_orphan): Remove "file" param. Adjust 171*75fd0b74Schristos lang_add_section and lang_insert_orphan calls. 172*75fd0b74Schristos * emultempl/pe.em (place_orphan): Likewise. Access bfd via section 173*75fd0b74Schristos owner. 174*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust 175*75fd0b74Schristos lang_add_section call. 176*75fd0b74Schristos (build_toc_list): Access just_syms_flag via bfd usrdata. 177*75fd0b74Schristos (build_section_lists): Likewise. 178*75fd0b74Schristos * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file" 179*75fd0b74Schristos param. Adjust place_orphan call. 180*75fd0b74Schristos (ld_build_required_section_dependence): Access bfd via section owner. 181*75fd0b74Schristos 182*75fd0b74Schristos2005-11-16 Alan Modra <amodra@bigpond.net.au> 183*75fd0b74Schristos 184*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Add prev. 185*75fd0b74Schristos * ldlang.c (new_afile): Always init header.type. 186*75fd0b74Schristos (output_statement_newfunc): Set os.prev. 187*75fd0b74Schristos (output_prev_sec_find): Use os.prev. 188*75fd0b74Schristos (lang_enter_output_section_statement): Formatting. 189*75fd0b74Schristos (lang_final, lang_add_target, lang_add_fill): Likewise. 190*75fd0b74Schristos (lang_add_data, lang_add_reloc): Likewise. 191*75fd0b74Schristos (lang_add_attribute): Only alloc the header. 192*75fd0b74Schristos 193*75fd0b74Schristos2005-11-16 Alan Modra <amodra@bigpond.net.au> 194*75fd0b74Schristos 195*75fd0b74Schristos * ld.texinfo (Forced Output Alignment): Specify that this is an 196*75fd0b74Schristos alignment increase, not an override. 197*75fd0b74Schristos * ldlang.c (init_os): Set output section alignment here.. 198*75fd0b74Schristos (lang_add_section): ..rather than here. 199*75fd0b74Schristos (lang_size_sections_1): Consolidate alignment code. Warn if section 200*75fd0b74Schristos alignment affects start address when explicit address given. 201*75fd0b74Schristos 202*75fd0b74Schristos2005-11-07 Steve Ellcey <sje@cup.hp.com> 203*75fd0b74Schristos 204*75fd0b74Schristos * configure: Regenerate after modifying bfd/warning.m4. 205*75fd0b74Schristos 206*75fd0b74Schristos2005-11-07 Olaf Hering <olh@suse.de> 207*75fd0b74Schristos 208*75fd0b74Schristos * ldmain.c (main): Add \n to error message. 209*75fd0b74Schristos 210*75fd0b74Schristos2005-11-04 Alan Modra <amodra@bigpond.net.au> 211*75fd0b74Schristos 212*75fd0b74Schristos * ldlang.c (struct output_statement_hash_entry): Don't indirect to os. 213*75fd0b74Schristos (output_statement_newfunc): Rewrite. 214*75fd0b74Schristos (lang_output_section_find_1): Merge into.. 215*75fd0b74Schristos (lang_output_section_find): ..here. 216*75fd0b74Schristos (lang_output_section_statement_lookup_1): Rewrite to handle 217*75fd0b74Schristos multiple sections with the same name. 218*75fd0b74Schristos (output_statement_table_init): Commonise error message. 219*75fd0b74Schristos (lang_init, open_output): Likewise. 220*75fd0b74Schristos 221*75fd0b74Schristos2005-11-03 Paul Brook <paul@codesourcery.com> 222*75fd0b74Schristos 223*75fd0b74Schristos * scripttempl/elf.sc: Add .init_array.* and .fini_array.*. 224*75fd0b74Schristos * scripttempl/armbpabi.sc: Make init/fini array consistent with 225*75fd0b74Schristos elf.sc. 226*75fd0b74Schristos * scripttempl/elf32sh-symbian.sc: Ditto. 227*75fd0b74Schristos * scripttempl/elfxtensa.sc: Ditto. 228*75fd0b74Schristos 229*75fd0b74Schristos2005-11-03 Alan Modra <amodra@bigpond.net.au> 230*75fd0b74Schristos 231*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Rearrange. Remove 232*75fd0b74Schristos memspec. Make "processed" a bitfield. 233*75fd0b74Schristos (lang_data_statement_type, lang_reloc_statement_type): Rename 234*75fd0b74Schristos output_vma to output_offset. 235*75fd0b74Schristos * ldlang.c (lang_output_section_statement_lookup_1): Init 236*75fd0b74Schristos all_input_readonly. Don't init memspec. 237*75fd0b74Schristos (init_os): Remove incorrect comment. 238*75fd0b74Schristos (print_data_statement, print_reloc_statement): Adjust for 239*75fd0b74Schristos lang_data_statement_type and lang_reloc_statement_type change. 240*75fd0b74Schristos (lang_size_sections_1, lang_add_reloc): Likewise. 241*75fd0b74Schristos * ldwrite.c (build_link_order): Likewise. 242*75fd0b74Schristos 243*75fd0b74Schristos2005-10-30 Mark Mitchell <mark@codesourcery.com> 244*75fd0b74Schristos 245*75fd0b74Schristos * lexsup.c (help): Document "@FILE". 246*75fd0b74Schristos 247*75fd0b74Schristos2005-10-30 H.J. Lu <hongjiu.lu@intel.com> 248*75fd0b74Schristos 249*75fd0b74Schristos * Makefile.am: Run "make dep-am". 250*75fd0b74Schristos * Makefile.in: Regenerated. 251*75fd0b74Schristos 252*75fd0b74Schristos * dep-in.sed: Replace " ./" with " ". 253*75fd0b74Schristos 254*75fd0b74Schristos2005-10-25 Arnold Metselaar <arnold.metselaar@planet.nl> 255*75fd0b74Schristos 256*75fd0b74Schristos * Makefile.am: Add support for Z80 257*75fd0b74Schristos * Makefile.in: Regenerated 258*75fd0b74Schristos * configure.tgt: Add z80-*-coff 259*75fd0b74Schristos * emulparams/z80.sh: New file. 260*75fd0b74Schristos * emultempl/z80.em: New file. 261*75fd0b74Schristos * scripttempl/z80.sc New file. 262*75fd0b74Schristos * NEWS: Mention this new support. 263*75fd0b74Schristos 264*75fd0b74Schristos2005-10-25 Alan Modra <amodra@bigpond.net.au> 265*75fd0b74Schristos 266*75fd0b74Schristos * po/ld.pot: Regenerate. 267*75fd0b74Schristos 268*75fd0b74Schristos2005-10-25 Chris Metcalf <cdmetcalf@comcast.net> 269*75fd0b74Schristos 270*75fd0b74Schristos * ld.texinfo (--reduce-memory-overheads): Fix typo. 271*75fd0b74Schristos 272*75fd0b74Schristos2005-10-23 H.J. Lu <hongjiu.lu@intel.com> 273*75fd0b74Schristos 274*75fd0b74Schristos PR ld/1487 275*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call 276*75fd0b74Schristos bfd_match_sections_by_type to match section types. 277*75fd0b74Schristos 278*75fd0b74Schristos * ldlang.c (init_os): Take the input section. Call 279*75fd0b74Schristos bfd_init_private_section_data if the input section isn't NULL. 280*75fd0b74Schristos (exp_init_os): Pass NULL to init_os. 281*75fd0b74Schristos (map_input_to_output_sections): Likewise. 282*75fd0b74Schristos (lang_add_section): Pass the input section to init_os. 283*75fd0b74Schristos 284*75fd0b74Schristos2005-10-19 Paul Brook <paul@codesourcery.com> 285*75fd0b74Schristos 286*75fd0b74Schristos * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS. 287*75fd0b74Schristos 288*75fd0b74Schristos2005-10-15 H.J. Lu <hongjiu.lu@intel.com> 289*75fd0b74Schristos 290*75fd0b74Schristos PR ld/1467 291*75fd0b74Schristos * emultempl/elf32.em: Include "elf-bfd.h". 292*75fd0b74Schristos (gld${EMULATION_NAME}_place_orphan): Check section type and 293*75fd0b74Schristos don't use section name for ELF input sections. 294*75fd0b74Schristos 295*75fd0b74Schristos * ld.texinfo: Document orphan section processing. 296*75fd0b74Schristos 297*75fd0b74Schristos * ldlang.c (lang_output_section_find_by_flags): Match section 298*75fd0b74Schristos types by calling bfd_match_sections_by_type. 299*75fd0b74Schristos 300*75fd0b74Schristos2005-10-13 Mark Mitchell <mark@codesourcery.com> 301*75fd0b74Schristos 302*75fd0b74Schristos * ld.texino: Describe double-quoted string syntax for version 303*75fd0b74Schristos nodes. 304*75fd0b74Schristos * ldlang.h (lang_new_vers_pattern): Add literal_p parameter. 305*75fd0b74Schristos * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER. 306*75fd0b74Schristos Adjust calls to lang_new_vers_pattern to pass literal_p argument. 307*75fd0b74Schristos * ldlang.c (lang_vers_match): Fix indentation. Do not glob-match 308*75fd0b74Schristos version nodes without a pattern. 309*75fd0b74Schristos (lang_new_vers_pattern): Add literal_p parameter. 310*75fd0b74Schristos (lang_do_version_exports_section): Pass it. 311*75fd0b74Schristos 312*75fd0b74Schristos2005-10-12 Mark Mitchell <mark@codesourcery.com> 313*75fd0b74Schristos 314*75fd0b74Schristos * NEWS: Mention @file. 315*75fd0b74Schristos 316*75fd0b74Schristos2005-10-05 H.J. Lu <hongjiu.lu@intel.com> 317*75fd0b74Schristos 318*75fd0b74Schristos PR ld/1396 319*75fd0b74Schristos * ldcref.c (check_refs): Accept bfd_boolean. 320*75fd0b74Schristos (check_local_sym_xref): Pass FALSE to check_refs. 321*75fd0b74Schristos (check_nocrossref): Pass TRUE to check_refs. 322*75fd0b74Schristos (check_refs_info): Add bfd_boolean. 323*75fd0b74Schristos (check_refs): Add bfd_boolean to check_refs_info. 324*75fd0b74Schristos (check_reloc_refs): Match relocations with proper symbols. 325*75fd0b74Schristos 326*75fd0b74Schristos * ldmisc.c (vfinfo): Don't add extra ":\n". 327*75fd0b74Schristos 328*75fd0b74Schristos2005-10-05 Danny Smith <dannysmith@users.sourceforge.net> 329*75fd0b74Schristos 330*75fd0b74Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set 331*75fd0b74Schristos default entry symbol to ENTRY here. 332*75fd0b74Schristos * scripttempl/pe.sc: Not here. 333*75fd0b74Schristos 334*75fd0b74Schristos2005-09-30 James E Wilson <wilson@specifix.com> 335*75fd0b74Schristos 336*75fd0b74Schristos * ldlang.c (lang_startup): Add missing ": " to einfo call. 337*75fd0b74Schristos 338*75fd0b74Schristos2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 339*75fd0b74Schristos 340*75fd0b74Schristos * Makefile.am: Run "make dep-am". 341*75fd0b74Schristos * Makefile.in: Regenerated. 342*75fd0b74Schristos * aclocal.m4: Likewise. 343*75fd0b74Schristos 344*75fd0b74Schristos2005-09-30 H.J. Lu <hongjiu.lu@intel.com> 345*75fd0b74Schristos 346*75fd0b74Schristos * ldlang.c (output_statement_hash_entry): New type. 347*75fd0b74Schristos (output_statement_table): New variable for hash table. 348*75fd0b74Schristos (output_statement_newfunc): New function. 349*75fd0b74Schristos (output_statement_table_init): Likewise. 350*75fd0b74Schristos (output_statement_table_free): Likewise. 351*75fd0b74Schristos (lang_init): Call output_statement_table_init. 352*75fd0b74Schristos (lang_finish): Renamed to ... 353*75fd0b74Schristos (lang_end): This. 354*75fd0b74Schristos (lang_process): Updated. 355*75fd0b74Schristos (lang_finish): New function. 356*75fd0b74Schristos (lang_output_section_find_1): Use hash table. 357*75fd0b74Schristos (lang_output_section_statement_lookup_1): Likewise. 358*75fd0b74Schristos 359*75fd0b74Schristos * ldlang.h (lang_finish): New. 360*75fd0b74Schristos 361*75fd0b74Schristos * ldmain.c (main): Call lang_finish. 362*75fd0b74Schristos 363*75fd0b74Schristos2005-09-30 Mark Mitchell <mark@codesourcery.com> 364*75fd0b74Schristos 365*75fd0b74Schristos * ldmain.c (main): Use expandargv. 366*75fd0b74Schristos 367*75fd0b74Schristos2005-09-30 Catherine Moore <clm@cm00re.com> 368*75fd0b74Schristos 369*75fd0b74Schristos * Makefile.am: Bfin support. 370*75fd0b74Schristos * Makefile.in: Regenerated. 371*75fd0b74Schristos * aclocal.m4: Regenerated. 372*75fd0b74Schristos * configure.tgt: Bfin support. 373*75fd0b74Schristos * emulparams/bfin.sh: New file. 374*75fd0b74Schristos * emultempl/bfin.em: New file. 375*75fd0b74Schristos 376*75fd0b74Schristos2005-09-30 Matthias Kurz <mk@baerlap.north.de> 377*75fd0b74Schristos 378*75fd0b74Schristos * ld.h: Prevent the inclusion of <libintl.h> from the Solaris 379*75fd0b74Schristos version of <locale.h> when ENABLE_NLS is not defined. 380*75fd0b74Schristos 381*75fd0b74Schristos2005-09-27 H.J. Lu <hongjiu.lu@intel.com> 382*75fd0b74Schristos 383*75fd0b74Schristos * ld.texinfo (ALIGN): Document it as forcing output section 384*75fd0b74Schristos alignment. 385*75fd0b74Schristos 386*75fd0b74Schristos * ldgram.y (ALIGN): Support it for forcing output section 387*75fd0b74Schristos alignment. 388*75fd0b74Schristos 389*75fd0b74Schristos2005-09-20 Alan Modra <amodra@bigpond.net.au> 390*75fd0b74Schristos 391*75fd0b74Schristos * ldlang.h (lang_output_section_statement_struct): Change type of 392*75fd0b74Schristos "processed" to bfd_boolean. 393*75fd0b74Schristos * ldexp.c (fold_name): Update references to os->processed. 394*75fd0b74Schristos * ldlang.c (lang_output_section_statement_lookup_1): Likewise. 395*75fd0b74Schristos (lang_size_sections_1): Likewise. 396*75fd0b74Schristos (lang_reset_memory_regions): Likewise. 397*75fd0b74Schristos 398*75fd0b74Schristos PR ld/1353 399*75fd0b74Schristos * ldlang.c (lang_size_sections_1): Process addr_tree earlier, 400*75fd0b74Schristos so that unused output section statements affect dot. 401*75fd0b74Schristos 402*75fd0b74Schristos2005-09-08 Jakub Jelinek <jakub@redhat.com> 403*75fd0b74Schristos 404*75fd0b74Schristos * ld.texinfo: Document -z {no,}execstack, -z {no,}relro 405*75fd0b74Schristos and --eh-frame-hdr options. 406*75fd0b74Schristos 407*75fd0b74Schristos2005-09-07 Alan Modra <amodra@bigpond.net.au> 408*75fd0b74Schristos 409*75fd0b74Schristos * ldexp.c (fold_name <SIZEOF>): Return 0 for non-existent section. 410*75fd0b74Schristos (exp_fold_tree_1): Print assert message only in final stage of 411*75fd0b74Schristos linking. Trigger assertion failure if expression cannot be 412*75fd0b74Schristos evaluated. 413*75fd0b74Schristos 414*75fd0b74Schristos2005-09-06 H.J. Lu <hongjiu.lu@intel.com> 415*75fd0b74Schristos 416*75fd0b74Schristos PR ld/1263 417*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check 418*75fd0b74Schristos --just-symbols on DSO. 419*75fd0b74Schristos 420*75fd0b74Schristos2005-08-18 Alan Modra <amodra@bigpond.net.au> 421*75fd0b74Schristos 422*75fd0b74Schristos * scripttempl/elf.sc: Remove commented out defines. 423*75fd0b74Schristos 424*75fd0b74Schristos2005-08-18 Alan Modra <amodra@bigpond.net.au> 425*75fd0b74Schristos 426*75fd0b74Schristos * emulparams/a29k.sh: Delete. 427*75fd0b74Schristos * emulparams/ebmon29k.sh: Delete. 428*75fd0b74Schristos * emulparams/sa29200.sh: Delete. 429*75fd0b74Schristos * Makefile.am: Remove a29k support. 430*75fd0b74Schristos * configure.tgt: Likewise. 431*75fd0b74Schristos * ld.texinfo: Likewise. 432*75fd0b74Schristos * Makefile.in: Regenerate. 433*75fd0b74Schristos 434*75fd0b74Schristos2005-08-17 Jakub Jelinek <jakub@redhat.com> 435*75fd0b74Schristos 436*75fd0b74Schristos * ldgram.y (vers_defns): Don't lose pattern list before 437*75fd0b74Schristos extern NAME {}. Handle global, local and extern symbol names. 438*75fd0b74Schristos 439*75fd0b74Schristos2005-08-17 Kaz Kojima <kkojima@rr.iij4u.or.jp> 440*75fd0b74Schristos 441*75fd0b74Schristos * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): 442*75fd0b74Schristos Don't increment rel_count of .cranges here. Set rawsize of .cranges. 443*75fd0b74Schristos 444*75fd0b74Schristos2005-08-10 Nick Clifton <nickc@redhat.com> 445*75fd0b74Schristos 446*75fd0b74Schristos * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions 447*75fd0b74Schristos before lang_size_sections. 448*75fd0b74Schristos 449*75fd0b74Schristos2005-08-09 Alan Modra <amodra@bigpond.net.au> 450*75fd0b74Schristos 451*75fd0b74Schristos * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss. 452*75fd0b74Schristos 453*75fd0b74Schristos2005-08-08 Eric Doenges <Eric.Doenges@betty-tv.com> 454*75fd0b74Schristos 455*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants. 456*75fd0b74Schristos Add rules to build these emulations. 457*75fd0b74Schristos * Makefile.in: Regenerate. 458*75fd0b74Schristos * configure.tgt (msp430): Add the new variants to the 459*75fd0b74Schristos targ_extra_emuls list. 460*75fd0b74Schristos * emulparams/msp430all.sh: Add entries for the msp430x21xx 461*75fd0b74Schristos variants. 462*75fd0b74Schristos 463*75fd0b74Schristos2005-08-05 H.J. Lu <hongjiu.lu@intel.com> 464*75fd0b74Schristos 465*75fd0b74Schristos * ld.texinfo: Document PROVIDE_HIDDEN. 466*75fd0b74Schristos 467*75fd0b74Schristos * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked. 468*75fd0b74Schristos (exp_provide): Add and set hidden. 469*75fd0b74Schristos 470*75fd0b74Schristos * ldexp.h (etree_type): Add hidden to assign. 471*75fd0b74Schristos 472*75fd0b74Schristos * ldgram.y (PROVIDE_HIDDEN): New. 473*75fd0b74Schristos * ldlex.l (PROVIDE_HIDDEN): Likewise. 474*75fd0b74Schristos 475*75fd0b74Schristos * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound 476*75fd0b74Schristos symbols. 477*75fd0b74Schristos 478*75fd0b74Schristos2005-08-05 Alan Modra <amodra@bigpond.net.au> 479*75fd0b74Schristos 480*75fd0b74Schristos * emulparams/elf_x86_64.sh: Revert last change. 481*75fd0b74Schristos * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here. 482*75fd0b74Schristos 483*75fd0b74Schristos2005-08-05 Alan Modra <amodra@bigpond.net.au> 484*75fd0b74Schristos 485*75fd0b74Schristos * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from 486*75fd0b74Schristos OTHER_END_SYMBOLS. 487*75fd0b74Schristos * emulparams/armelf_linux.sh: Likewise. 488*75fd0b74Schristos * emulparams/armnto.sh: Likewise. 489*75fd0b74Schristos * emulparams/criself.sh: Likewise. 490*75fd0b74Schristos * emulparams/elf32mcore.sh: Likewise. 491*75fd0b74Schristos * emulparams/criself.sh (OTHER_SYMBOLS): Define. 492*75fd0b74Schristos * emulparams/crislinux.sh (OTHER_SYMBOLS): Define. 493*75fd0b74Schristos (OTHER_END_SYMBOLS): Don't define. 494*75fd0b74Schristos * emulparams/elf32fr30.sh: Likewise. 495*75fd0b74Schristos * emulparams/elf64mmix.sh: Likewise. 496*75fd0b74Schristos * emulparams/hppa64linux.sh: Likewise. 497*75fd0b74Schristos * emulparams/m32relf.sh: Likewise. 498*75fd0b74Schristos * emulparams/vxworks.sh: Likewise. 499*75fd0b74Schristos * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete. 500*75fd0b74Schristos (OTHER_BSS_END_SYMBOLS): Add. 501*75fd0b74Schristos (OTHER_END_SYMBOLS): Move before current end sym definitions. 502*75fd0b74Schristos (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script. 503*75fd0b74Schristos * scripttempl/elf.sc: Likewise. 504*75fd0b74Schristos * scripttempl/elf32sh-symbian.sc: Likewise. 505*75fd0b74Schristos * scripttempl/elf_chaos.sc: Likewise. 506*75fd0b74Schristos * scripttempl/elfxtensa.sc: Likewise. 507*75fd0b74Schristos * scripttempl/iq2000.sc: Likewise. 508*75fd0b74Schristos * scripttempl/xstormy16.sc: Likewise. 509*75fd0b74Schristos 510*75fd0b74Schristos * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete. 511*75fd0b74Schristos (REL_LDATA, REL_LBSS, REL_LRODATA): Delete. 512*75fd0b74Schristos (REL_LARGE, LARGE_SECTIONS): Add. 513*75fd0b74Schristos * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text. 514*75fd0b74Schristos (REL_LARGE): Define. 515*75fd0b74Schristos * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. 516*75fd0b74Schristos (LARGE_SECTIONS): Define. 517*75fd0b74Schristos * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define. 518*75fd0b74Schristos (LARGE_SECTIONS): Define. 519*75fd0b74Schristos 520*75fd0b74Schristos2005-08-04 Alan Modra <amodra@bigpond.net.au> 521*75fd0b74Schristos 522*75fd0b74Schristos * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete. 523*75fd0b74Schristos * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete. 524*75fd0b74Schristos (struct ld_emulation_xfer_struct): Remove do_assignments field. 525*75fd0b74Schristos * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments. 526*75fd0b74Schristos * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New. 527*75fd0b74Schristos (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New. 528*75fd0b74Schristos * emultempl/aix.em (ld_*_emulation): Delete do_assignments init. 529*75fd0b74Schristos * emultempl/armcoff.em: Likewise. 530*75fd0b74Schristos * emultempl/beos.em: Likewise. 531*75fd0b74Schristos * emultempl/generic.em: Likewise. 532*75fd0b74Schristos * emultempl/gld960.em: Likewise. 533*75fd0b74Schristos * emultempl/gld960c.em: Likewise. 534*75fd0b74Schristos * emultempl/linux.em: Likewise. 535*75fd0b74Schristos * emultempl/lnk960.em: Likewise. 536*75fd0b74Schristos * emultempl/m68kcoff.em: Likewise. 537*75fd0b74Schristos * emultempl/pe.em: Likewise. 538*75fd0b74Schristos * emultempl/sunos.em: Likewise. 539*75fd0b74Schristos * emultempl/ticoff.em: Likewise. 540*75fd0b74Schristos * emultempl/vanilla.em: Likewise. 541*75fd0b74Schristos * emultempl/elf32.em: Likewise. 542*75fd0b74Schristos (gld*_provide_bound_symbols): Delete. 543*75fd0b74Schristos (gld*_provide_init_fini_syms): Delete. 544*75fd0b74Schristos (gld*_before_allocation): Don't call ldemul_do_assignments. 545*75fd0b74Schristos * emultempl/ppc32elf.em (ppc_do_assignments): Delete. 546*75fd0b74Schristos (LDEMUL_DO_ASSIGNMENTS): Delete. 547*75fd0b74Schristos * scripttempl/elf.sc: Provide init/fini syms. Add SBSS_START_SYMBOLS, 548*75fd0b74Schristos SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS. 549*75fd0b74Schristos 550*75fd0b74Schristos2005-08-04 Alan Modra <amodra@bigpond.net.au> 551*75fd0b74Schristos 552*75fd0b74Schristos * Makefile.am (eelf32m32c.c): Fix dependencies. 553*75fd0b74Schristos * Makefile.in: Regenerate. 554*75fd0b74Schristos 555*75fd0b74Schristos2005-08-04 Alan Modra <amodra@bigpond.net.au> 556*75fd0b74Schristos 557*75fd0b74Schristos * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally. 558*75fd0b74Schristos (finish_default): New function. 559*75fd0b74Schristos * ldemul.h (finish_default): Declare. 560*75fd0b74Schristos * emultempl/aix.em (gld*_before_allocation): Call 561*75fd0b74Schristos before_allocation_default rather than strip_excluded_output_sections. 562*75fd0b74Schristos (ld_*_emulation): Init finish field to finish_default. 563*75fd0b74Schristos * emultempl/armcoff.em: Likewise. 564*75fd0b74Schristos * emultempl/beos.em: Likewise. 565*75fd0b74Schristos * emultempl/elf32.em: Likewise. 566*75fd0b74Schristos * emultempl/generic.em: Likewise. 567*75fd0b74Schristos * emultempl/gld960.em: Likewise. 568*75fd0b74Schristos * emultempl/gld960c.em: Likewise. 569*75fd0b74Schristos * emultempl/hppaelf.em: Likewise. 570*75fd0b74Schristos * emultempl/linux.em: Likewise. 571*75fd0b74Schristos * emultempl/lnk960.em: Likewise. 572*75fd0b74Schristos * emultempl/m68kcoff.em: Likewise. 573*75fd0b74Schristos * emultempl/mmo.em: Likewise. 574*75fd0b74Schristos * emultempl/pe.em: Likewise. 575*75fd0b74Schristos * emultempl/ppc64elf.em: Likewise. 576*75fd0b74Schristos * emultempl/sunos.em: Likewise. 577*75fd0b74Schristos * emultempl/ticoff.em: Likewise. 578*75fd0b74Schristos * emultempl/vanilla.em: Likewise. 579*75fd0b74Schristos 580*75fd0b74Schristos2005-08-03 Alan Modra <amodra@bigpond.net.au> 581*75fd0b74Schristos 582*75fd0b74Schristos * ldlang.c (exp_init_os): Handle etree_provide. 583*75fd0b74Schristos * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from.. 584*75fd0b74Schristos (OTHER_BSS_END_SYMBOLS): ..this. 585*75fd0b74Schristos * emulparams/armelf_linux.sh: Likewise. 586*75fd0b74Schristos * emulparams/armnto.sh: Likewise. 587*75fd0b74Schristos * emulparams/criself.sh: Likewise. 588*75fd0b74Schristos * emulparams/crislinux.sh: Likewise. 589*75fd0b74Schristos * emulparams/elf32frv.sh: Likewise. 590*75fd0b74Schristos * emulparams/elf32mcore.sh: Likewise. 591*75fd0b74Schristos * emulparams/elf32ppc.sh: Likewise. 592*75fd0b74Schristos * emulparams/elf32ppclinux.sh: Likewise. 593*75fd0b74Schristos * emulparams/hppa64linux.sh: Likewise. 594*75fd0b74Schristos * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not 595*75fd0b74Schristos $OTHER_BSS_END_SYMBOLS. 596*75fd0b74Schristos * scripttempl/elf32sh-symbian.sc: Likewise. 597*75fd0b74Schristos * scripttempl/elf_chaos.sc: Likewise. 598*75fd0b74Schristos * scripttempl/iq2000.sc: Likewise. 599*75fd0b74Schristos * scripttempl/xstormy16.sc: Likewise. 600*75fd0b74Schristos * scripttempl/elf.sc: Likewise. Delete __bss_start comment. 601*75fd0b74Schristos * scripttempl/elfxtensa.sc: Likewise. 602*75fd0b74Schristos 603*75fd0b74Schristos2005-07-29 Nick Clifton <nickc@redhat.com> 604*75fd0b74Schristos 605*75fd0b74Schristos * ldmain.c (main): Allow -shared and -static to be used together. 606*75fd0b74Schristos * ld.texinfo (-static): Mention that it is allowed with -shared. 607*75fd0b74Schristos 608*75fd0b74Schristos2005-07-28 DJ Delorie <dj@redhat.com> 609*75fd0b74Schristos 610*75fd0b74Schristos * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a 611*75fd0b74Schristos unary & address operator, as that breaks GCC's strict aliasing 612*75fd0b74Schristos rules. 613*75fd0b74Schristos 614*75fd0b74Schristos2005-07-25 Jan Hubicka <jh@suse.cz> 615*75fd0b74Schristos H.J. Lu <hongjiu.lu@intel.com> 616*75fd0b74Schristos 617*75fd0b74Schristos * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New. 618*75fd0b74Schristos 619*75fd0b74Schristos * scripttempl/elf.sc: Updated for large section support. 620*75fd0b74Schristos 621*75fd0b74Schristos2005-07-21 Ralf Corsepius <ralf.corsepius@rtems.org> 622*75fd0b74Schristos 623*75fd0b74Schristos * configure.tgt: Remove i[3-7]86-*-rtemself*. 624*75fd0b74Schristos Remove sparc-*-rtemself*. 625*75fd0b74Schristos 626*75fd0b74Schristos2005-07-21 Ben Elliston <bje@gnu.org> 627*75fd0b74Schristos 628*75fd0b74Schristos * ldgram.y (ldgram_want_filename): Remove unused static. 629*75fd0b74Schristos 630*75fd0b74Schristos2005-07-20 DJ Delorie <dj@redhat.com> 631*75fd0b74Schristos 632*75fd0b74Schristos * emulparams/elf32m32c.sh (TEMPLATE_NAME): New. 633*75fd0b74Schristos (EXTRA_EM_FILE): New. 634*75fd0b74Schristos 635*75fd0b74Schristos2005-07-19 H.J. Lu <hongjiu.lu@intel.com> 636*75fd0b74Schristos 637*75fd0b74Schristos * ldmain.c (main): Reindent. 638*75fd0b74Schristos 639*75fd0b74Schristos2005-07-19 Paul Brook <paul@codesourcery.com> 640*75fd0b74Schristos 641*75fd0b74Schristos * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose 642*75fd0b74Schristos to determine dynamic linker name. 643*75fd0b74Schristos 644*75fd0b74Schristos2005-07-18 Nick Clifton <nickc@redhat.com> 645*75fd0b74Schristos 646*75fd0b74Schristos * configure.tgt: Restore alpha ordering to list of arches. 647*75fd0b74Schristos 648*75fd0b74Schristos2005-07-16 Alan Modra <amodra@bigpond.net.au> 649*75fd0b74Schristos 650*75fd0b74Schristos * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype. 651*75fd0b74Schristos (gld*_before_allocation): Call ldemul_do_assignments rather than 652*75fd0b74Schristos gld*_provide_init_fini_syms directly. 653*75fd0b74Schristos * emultempl/ppc32elf.em (gld*_after_allocation): Delete. 654*75fd0b74Schristos (ppc_do_assignments): New function. 655*75fd0b74Schristos (LDEMUL_AFTER_ALLOCATION): Don't define. 656*75fd0b74Schristos (LDEMUL_DO_ASSIGNMENTS): Define. 657*75fd0b74Schristos 658*75fd0b74Schristos2005-07-16 Alan Modra <amodra@bigpond.net.au> 659*75fd0b74Schristos 660*75fd0b74Schristos * Makefile.am: Run "make dep-am". 661*75fd0b74Schristos (emipsidt.c, emipsidtl.c): Depend on generic.em. 662*75fd0b74Schristos * Makefile.in: Regenerate. 663*75fd0b74Schristos 664*75fd0b74Schristos2005-07-15 Alan Modra <amodra@bigpond.net.au> 665*75fd0b74Schristos 666*75fd0b74Schristos * ldemul.c (ldemul_do_assignments): New function. 667*75fd0b74Schristos (do_assignments_default): New function. 668*75fd0b74Schristos * ldemul.h (ldemul_do_assignments): Declare. 669*75fd0b74Schristos (do_assignments_default): Declare. 670*75fd0b74Schristos (struct ld_emulation_xfer_struct): Add do_assignments. 671*75fd0b74Schristos * ldlang.c (lang_do_assignments) Call ldemul_do_assignments. 672*75fd0b74Schristos * emultempl/aix.em (ld_*_emulation): Init do_assignments field. 673*75fd0b74Schristos * emultempl/armcoff.em: Likewise. 674*75fd0b74Schristos * emultempl/beos.em: Likewise. 675*75fd0b74Schristos * emultempl/generic.em: Likewise. 676*75fd0b74Schristos * emultempl/gld960.em: Likewise. 677*75fd0b74Schristos * emultempl/gld960c.em: Likewise. 678*75fd0b74Schristos * emultempl/linux.em: Likewise. 679*75fd0b74Schristos * emultempl/lnk960.em: Likewise. 680*75fd0b74Schristos * emultempl/m68kcoff.em: Likewise. 681*75fd0b74Schristos * emultempl/pe.em: Likewise. 682*75fd0b74Schristos * emultempl/sunos.em: Likewise. 683*75fd0b74Schristos * emultempl/ticoff.em: Likewise. 684*75fd0b74Schristos * emultempl/vanilla.em: Likewise. 685*75fd0b74Schristos * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms. 686*75fd0b74Schristos (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call. 687*75fd0b74Schristos 688*75fd0b74Schristos2005-07-14 Jim Blandy <jimb@redhat.com> 689*75fd0b74Schristos 690*75fd0b74Schristos Add support for the Renesas M32C and M16C. 691*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. 692*75fd0b74Schristos (eelf32m32c.c): New target. 693*75fd0b74Schristos * Makefile.in: Regenerated. 694*75fd0b74Schristos * configure.tgt: Add case for m32c-*-elf. 695*75fd0b74Schristos * emulparams/elf32m32c.sh: New file. 696*75fd0b74Schristos 697*75fd0b74Schristos2005-07-14 Alan Modra <amodra@bigpond.net.au> 698*75fd0b74Schristos 699*75fd0b74Schristos * ldlang.c (strip_excluded_output_sections): Don't call 700*75fd0b74Schristos bfd_gc_sections. 701*75fd0b74Schristos * emultempl/elf32.em (gld*_provide_bound_symbols): Move. 702*75fd0b74Schristos (gld*_provide_init_fini_syms): Move. 703*75fd0b74Schristos (gld*_before_allocation): Call the above from here.. 704*75fd0b74Schristos (gld*_finish): ..not here. Call _bfd_elf_fix_excluded_sec_syms. 705*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_finish): Likewise. 706*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_finish): Likewise. 707*75fd0b74Schristos 708*75fd0b74Schristos2005-07-10 Ralf Corsepius <ralf.corsepius@rtems.org> 709*75fd0b74Schristos 710*75fd0b74Schristos * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*, 711*75fd0b74Schristos i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*, 712*75fd0b74Schristos powerpcle-*-rtems*. 713*75fd0b74Schristos 714*75fd0b74Schristos2005-07-09 Christopher Faylor <cgf@timesys.com> 715*75fd0b74Schristos 716*75fd0b74Schristos * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime 717*75fd0b74Schristos relocation by default. 718*75fd0b74Schristos (compute_dll_image_base): Avoid linking into cygwin dll address space. 719*75fd0b74Schristos 720*75fd0b74Schristos2005-07-08 Alan Modra <amodra@bigpond.net.au> 721*75fd0b74Schristos 722*75fd0b74Schristos * ldlang.c (wild_sort): Formatting. 723*75fd0b74Schristos (strip_excluded_output_sections): Strip zero size sections here. 724*75fd0b74Schristos * emultempl/elf32.em (gld*_strip_empty_sections): Delete. 725*75fd0b74Schristos (gld*_finish): Don't call the above. 726*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_finish): Likewise. 727*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_finish): Likewise. 728*75fd0b74Schristos 729*75fd0b74Schristos2005-07-05 Paul Brook <paul@codesourcery.com> 730*75fd0b74Schristos 731*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o. 732*75fd0b74Schristos (eelf32ppcvxworks.o): Add dependencies. 733*75fd0b74Schristos * Makefile.in: Regenerate. 734*75fd0b74Schristos * configure.tgt: Add entry for powerpc-vxworks. 735*75fd0b74Schristos * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment. 736*75fd0b74Schristos * emulparams/elf32ppcvxworks.sh: New file. 737*75fd0b74Schristos * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare. 738*75fd0b74Schristos (is_ppc_elf32_vec): New function. 739*75fd0b74Schristos (ppc_after_open, ppc_before_allocation, 740*75fd0b74Schristos gld${EMULATION_NAME}_after_allocation): Use it. 741*75fd0b74Schristos 742*75fd0b74Schristos2005-07-05 Peter S. Mazinger" <ps.m@gmx.net> 743*75fd0b74Schristos 744*75fd0b74Schristos * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes". 745*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes". 746*75fd0b74Schristos 747*75fd0b74Schristos2005-07-04 Mike Frysinger <vapier@gentoo.org> 748*75fd0b74Schristos 749*75fd0b74Schristos * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in 750*75fd0b74Schristos name. 751*75fd0b74Schristos 752*75fd0b74Schristos2005-07-04 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 753*75fd0b74Schristos 754*75fd0b74Schristos * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. 755*75fd0b74Schristos 756*75fd0b74Schristos2005-07-04 Aurelien Jarno <aurel32@debian.org> 757*75fd0b74Schristos 758*75fd0b74Schristos * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*. 759*75fd0b74Schristos 760*75fd0b74Schristos2005-07-01 Alan Modra <amodra@bigpond.net.au> 761*75fd0b74Schristos 762*75fd0b74Schristos * scripttempl/elf.sc (.gcc_except_table): Don't KEEP. 763*75fd0b74Schristos 764*75fd0b74Schristos2005-06-30 Ben Elliston <bje@gnu.org> 765*75fd0b74Schristos 766*75fd0b74Schristos * Makefile.am (check-DEJAGNU): Don't search for expect. 767*75fd0b74Schristos * Makefile.in: Regenerate. 768*75fd0b74Schristos 769*75fd0b74Schristos2005-06-30 Ben Elliston <bje@gnu.org> 770*75fd0b74Schristos 771*75fd0b74Schristos * Makefile.am (EXPECT): Set to expect. 772*75fd0b74Schristos (RUNTEST): Likewise, set to runtest. 773*75fd0b74Schristos * Makefile.in: Regenerate. 774*75fd0b74Schristos 775*75fd0b74Schristos2005-06-16 Alexander Klimov <alserkli@inbox.ru> 776*75fd0b74Schristos 777*75fd0b74Schristos * emultempl/armelf.em: Add quotes to avoid a null test 778*75fd0b74Schristos expression. 779*75fd0b74Schristos 780*75fd0b74Schristos2005-06-12 Daniel Jacobowitz <dan@codesourcery.com> 781*75fd0b74Schristos 782*75fd0b74Schristos * ld.texinfo (Command Line Options): Add @item for --hash-size. 783*75fd0b74Schristos 784*75fd0b74Schristos2005-06-10 Alan Modra <amodra@bigpond.net.au> 785*75fd0b74Schristos 786*75fd0b74Schristos * scripttempt/elf.sc (.bss): Align tail in a way that allows 787*75fd0b74Schristos empty section pruning. 788*75fd0b74Schristos 789*75fd0b74Schristos2005-06-09 Steve Ellcey <sje@cup.hp.com> 790*75fd0b74Schristos 791*75fd0b74Schristos * configure.in (AM_BINUTILS_WARNINGS): Add. 792*75fd0b74Schristos (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS. 793*75fd0b74Schristos * config.in: Regenerate. 794*75fd0b74Schristos * configure: Regenerate. 795*75fd0b74Schristos * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_* 796*75fd0b74Schristos * ldmain.c: Ditto. 797*75fd0b74Schristos 798*75fd0b74Schristos2005-06-09 Alan Modra <amodra@bigpond.net.au> 799*75fd0b74Schristos 800*75fd0b74Schristos * ldexp.c (fold_unary <ALIGN_K>): Revert last change. 801*75fd0b74Schristos 802*75fd0b74Schristos2005-06-09 Alan Modra <amodra@bigpond.net.au> 803*75fd0b74Schristos 804*75fd0b74Schristos * ld.h (lang_phase_type): Move to.. 805*75fd0b74Schristos * ldexp.h: ..here. Add lang_mark_phase_enum. 806*75fd0b74Schristos (node_type): Remove etree_undef and etree_unspec. 807*75fd0b74Schristos (exp_data_seg): Delete. 808*75fd0b74Schristos (struct ldexp_control, expld): New. 809*75fd0b74Schristos (invalid, exp_mark_used_section): Delete. 810*75fd0b74Schristos (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill, 811*75fd0b74Schristos exp_get_abs_int): Update prototypes. 812*75fd0b74Schristos * ldexp.c (assigning_to_dot): Delete. 813*75fd0b74Schristos (expld): Define. 814*75fd0b74Schristos (make_abs): Operate directly on expld.result. Update all callers. 815*75fd0b74Schristos (new_abs): Likewise. Return void. 816*75fd0b74Schristos (new_rel_from_abs): Rename from new_rel_from_section. 817*75fd0b74Schristos (new_rel, new_rel_from_abs): Operate on expld.result and return void. 818*75fd0b74Schristos Update all callers. 819*75fd0b74Schristos (fold_unary): Operate on expld.result and return void. Remove 820*75fd0b74Schristos "current_section", "allocation_done", "dot", "dotp" and "mark_used" 821*75fd0b74Schristos params. Update all callers. 822*75fd0b74Schristos (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise. 823*75fd0b74Schristos (fold_unary <ALIGN_K>): Ensure alignment is absolute. 824*75fd0b74Schristos (fold_unary <ABSOLUTE>): Use make_abs. 825*75fd0b74Schristos (fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for 826*75fd0b74Schristos allocating_phase. 827*75fd0b74Schristos (fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto. 828*75fd0b74Schristos (fold_binary <'%','/'>): Don't error if marking. 829*75fd0b74Schristos (fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when 830*75fd0b74Schristos marking. 831*75fd0b74Schristos (fold_name <NAME>): Remove FIXME; -R is handled correctly. Don't 832*75fd0b74Schristos error when marking. 833*75fd0b74Schristos (fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP. 834*75fd0b74Schristos (exp_fold_tree_1): Don't error when marking. 835*75fd0b74Schristos (exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first. 836*75fd0b74Schristos (exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL 837*75fd0b74Schristos current section, instead check for NULL dotp. 838*75fd0b74Schristos (exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment 839*75fd0b74Schristos source unless the symbol is referenced and undefined. 840*75fd0b74Schristos (exp_fold_tree): Remove "allocation_done" and "dot" params. Save 841*75fd0b74Schristos params to expld. 842*75fd0b74Schristos (exp_fold_tree_no_dot): Remove "current_section", "allocation_done 843*75fd0b74Schristos and "mark_used" params. Save params to expld. Update all callers. 844*75fd0b74Schristos (exp_assop): Do without temp var. 845*75fd0b74Schristos (exp_print_tree <etree_undef>): Delete code. 846*75fd0b74Schristos (exp_get_vma): Remove "allocation_done" param. Correct error return. 847*75fd0b74Schristos (exp_get_fill, exp_get_abs_int): Likewise. 848*75fd0b74Schristos (exp_get_value_int): Remove "allocation_done" param. 849*75fd0b74Schristos (exp_mark_used_section): Delete. 850*75fd0b74Schristos * ldgram.y (fill_exp): Update exp_get_fill call. 851*75fd0b74Schristos (origin_spec, length_spec): Update exp_get_vma call. 852*75fd0b74Schristos * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration. 853*75fd0b74Schristos (lang_mark_used_section_1, lang_mark_used_section): Delete. 854*75fd0b74Schristos (strip_excluded_output_sections): Call one_lang_size_sections_pass in 855*75fd0b74Schristos marking mode. Merge old lang_mark_used_section code. Correct handling 856*75fd0b74Schristos of output sections with excluded input sections and data statements. 857*75fd0b74Schristos Don't drop non-zero sized sections. Don't zap os->bfd_section. 858*75fd0b74Schristos Do set SEC_EXCLUDE when appropriate. 859*75fd0b74Schristos (print_output_section_statement): Update for changed ldexp.c 860*75fd0b74Schristos interface. 861*75fd0b74Schristos (print_assignment, lang_size_sections_1): Likewise. 862*75fd0b74Schristos (lang_do_assignments_1, lang_enter_output_section_statement): Likewise. 863*75fd0b74Schristos (lang_new_phdr, lang_record_phdrs): Likewise. 864*75fd0b74Schristos (lang_size_sections): Likewise. 865*75fd0b74Schristos (insert_pad): Use following statement if it is a pad, rather than 866*75fd0b74Schristos creating a new one. 867*75fd0b74Schristos (lang_size_sections_1 <lang_output_section_statement_enum>): Do 868*75fd0b74Schristos process ignored output section to set vma and lma, but don't 869*75fd0b74Schristos update dot for these sections. Don't error if marking. 870*75fd0b74Schristos (lang_size_sections_1 <lang_assignment_statement_enum>): Don't 871*75fd0b74Schristos update dot for ignored sections. 872*75fd0b74Schristos (lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute 873*75fd0b74Schristos section with SEC_ALLOC. 874*75fd0b74Schristos (one_lang_size_sections_pass): New function. 875*75fd0b74Schristos (lang_size_sections): Remove first five params. Set expld.phase on 876*75fd0b74Schristos entry and exit. Use one_lang_size_sections_pass. 877*75fd0b74Schristos (lang_do_assignments): Remove all params. Update all callers. 878*75fd0b74Schristos (lang_reset_memory_regions): Clear os->processed for all output 879*75fd0b74Schristos section statements. 880*75fd0b74Schristos * ldlang.h (lang_do_assignments): Update prototype. 881*75fd0b74Schristos (lang_size_sections): Likewise. 882*75fd0b74Schristos (one_lang_size_sections_pass): Declare. 883*75fd0b74Schristos * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update 884*75fd0b74Schristos lang_size_sections and lang_do_assignments calls. 885*75fd0b74Schristos * emultempl/elf32.em (layout_sections_again): Likewise. 886*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_before_allocation): Use 887*75fd0b74Schristos one_lang_size_sections_pass. 888*75fd0b74Schristos 889*75fd0b74Schristos2005-06-08 Aldy Hernandez <aldyh@redhat.com> 890*75fd0b74Schristos 891*75fd0b74Schristos * emulparams/elf32ms1.sh: New. 892*75fd0b74Schristos 893*75fd0b74Schristos2005-06-07 Eric Christopher <echristo@redhat.com> 894*75fd0b74Schristos 895*75fd0b74Schristos * Makefile.am (eelf32ms1.c): Use tab. 896*75fd0b74Schristos * Makefile.in: Regenerate. 897*75fd0b74Schristos 898*75fd0b74Schristos2005-06-07 Aldy Hernandez <aldyh@redhat.com> 899*75fd0b74Schristos Michael Snyder <msnyder@redhat.com> 900*75fd0b74Schristos Stan Cox <scox@redhat.com> 901*75fd0b74Schristos 902*75fd0b74Schristos * configure.tgt: Same. 903*75fd0b74Schristos 904*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o. 905*75fd0b74Schristos (eelf32ms1.c): Add eelf32ms1.c rule. 906*75fd0b74Schristos 907*75fd0b74Schristos * Makefile.in: Regenerate. 908*75fd0b74Schristos 909*75fd0b74Schristos2005-06-06 Alan Modra <amodra@bigpond.net.au> 910*75fd0b74Schristos 911*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_before_allocation): Always run 912*75fd0b74Schristos ppc64_elf_edit_opd. 913*75fd0b74Schristos 914*75fd0b74Schristos2005-06-05 H.J. Lu <hongjiu.lu@intel.com> 915*75fd0b74Schristos 916*75fd0b74Schristos * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current 917*75fd0b74Schristos section only if the symbol will be defined. 918*75fd0b74Schristos 919*75fd0b74Schristos2005-06-04 H.J. Lu <hongjiu.lu@intel.com> 920*75fd0b74Schristos 921*75fd0b74Schristos PR 992 922*75fd0b74Schristos * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current 923*75fd0b74Schristos section for etree_assign, etree_provide and etree_provided. 924*75fd0b74Schristos Call fold_binary on etree_binary. 925*75fd0b74Schristos 926*75fd0b74Schristos * ldlang.c (lang_mark_used_section_1): Handle load base. 927*75fd0b74Schristos 928*75fd0b74Schristos2005-06-03 Alan Modra <amodra@bigpond.net.au> 929*75fd0b74Schristos 930*75fd0b74Schristos * ldmain.c (link_callbacks): Add einfo. 931*75fd0b74Schristos (add_archive_element): Use passed info, not link_info. 932*75fd0b74Schristos (constructor_callback): Likewise. 933*75fd0b74Schristos (reloc_overflow): Don't handle null bfd specially. 934*75fd0b74Schristos (reloc_dangerous, unattached_reloc): Likewise. 935*75fd0b74Schristos * ldmisc.c (vfinfo <B>): Print "ld generated" for null bfd. 936*75fd0b74Schristos (vfinfo <C, D, G>): Handle null bfd. Wrap comments. 937*75fd0b74Schristos 938*75fd0b74Schristos2005-06-02 Alan Modra <amodra@bigpond.net.au> 939*75fd0b74Schristos 940*75fd0b74Schristos * ldexp.h (etree_value_type): Use "asection *" in place of 941*75fd0b74Schristos "struct lang_output_section_statement_struct *" for "section". 942*75fd0b74Schristos (exp_fold_tree): Likewise. 943*75fd0b74Schristos (exp_mark_used_section): Likewise. 944*75fd0b74Schristos * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary, 945*75fd0b74Schristos fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree, 946*75fd0b74Schristos exp_mark_used_section): Likewise for "current_section" param. 947*75fd0b74Schristos (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill, 948*75fd0b74Schristos exp_get_abs_int): Adjust for above changes. 949*75fd0b74Schristos * ldlang.c (lang_mark_used_section_1, print_assignment, 950*75fd0b74Schristos lang_size_sections_1, lang_do_assignments_1): Likewise. 951*75fd0b74Schristos * ldexp.c (fold_name): Init entire result struct. 952*75fd0b74Schristos 953*75fd0b74Schristos2005-06-01 Maciej W. Rozycki <macro@linux-mips.org> 954*75fd0b74Schristos 955*75fd0b74Schristos * emulparams/elf32btsmip.sh: Unset DATA_ADDR. 956*75fd0b74Schristos 957*75fd0b74Schristos2005-05-31 Zack Weinberg <zack@codesourcery.com> 958*75fd0b74Schristos 959*75fd0b74Schristos * ldlang.c (entry_symbol_default): New file-scope global. 960*75fd0b74Schristos (lang_finish): Use it, not a hardwired "start". 961*75fd0b74Schristos (lang_default_entry): Set it. 962*75fd0b74Schristos * ldlang.h: Declare lang_default_entry. 963*75fd0b74Schristos * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry, 964*75fd0b74Schristos not lang_add_entry, to override default entry point symbol. 965*75fd0b74Schristos 966*75fd0b74Schristos2005-05-29 Richard Henderson <rth@redhat.com> 967*75fd0b74Schristos 968*75fd0b74Schristos * emulparams/elf64alpha.sh (PLT): New. 969*75fd0b74Schristos (TEXT_PLT): New. 970*75fd0b74Schristos * emultempl/alphaelf.em (disable_relaxation): New. 971*75fd0b74Schristos (limit_32bit): Rename from elf64alpha_32bit; update all users. 972*75fd0b74Schristos (elf64_alpha_use_secureplt): Declare. 973*75fd0b74Schristos (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare. 974*75fd0b74Schristos (alpha_after_open): New. 975*75fd0b74Schristos (alpha_before_allocation): New. 976*75fd0b74Schristos (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New. 977*75fd0b74Schristos (PARSE_AND_LIST_LONGOPTS): Include them. 978*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Likewise. 979*75fd0b74Schristos (PARSE_AND_LIST_ARGS_CASES): Likewise. 980*75fd0b74Schristos (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New. 981*75fd0b74Schristos * scripttempl/elf.sc (TEXT_PLT): New. 982*75fd0b74Schristos (PLT): Use it. 983*75fd0b74Schristos 984*75fd0b74Schristos2005-05-27 Andreas Schwab <schwab@suse.de> 985*75fd0b74Schristos 986*75fd0b74Schristos * configure.host (HOSTING_LIBS): Add libunwind.a if it exists. 987*75fd0b74Schristos 988*75fd0b74Schristos2005-05-24 Alan Modra <amodra@bigpond.net.au> 989*75fd0b74Schristos 990*75fd0b74Schristos * emultempl/ppc32elf.em (after_allocation): Don't call 991*75fd0b74Schristos ppc_elf_set_sdata_syms when relocatable. 992*75fd0b74Schristos 993*75fd0b74Schristos2005-05-21 H.J. Lu <hongjiu.lu@intel.com> 994*75fd0b74Schristos 995*75fd0b74Schristos * Makefile.am (ld.1): Revert the last 2 changes. 996*75fd0b74Schristos (info-recursive): Depend on ld.1. 997*75fd0b74Schristos * Makefile.in: Regenerated. 998*75fd0b74Schristos 999*75fd0b74Schristos2005-05-21 H.J. Lu <hongjiu.lu@intel.com> 1000*75fd0b74Schristos 1001*75fd0b74Schristos * Makefile.am (ld.1): Depend on "info" instead of 1002*75fd0b74Schristos "configdoc.texi ldver.texi". 1003*75fd0b74Schristos * Makefile.in: Regenerated. 1004*75fd0b74Schristos 1005*75fd0b74Schristos2005-05-21 H.J. Lu <hongjiu.lu@intel.com> 1006*75fd0b74Schristos 1007*75fd0b74Schristos * Makefile.am (ld.1): Depend on "info". 1008*75fd0b74Schristos * Makefile.in: Regenerated. 1009*75fd0b74Schristos 1010*75fd0b74Schristos2005-05-19 Zack Weinberg <zack@codesourcery.com> 1011*75fd0b74Schristos 1012*75fd0b74Schristos * Makefile.am: Have 'all' depend on 'info' and 'ld.1'. 1013*75fd0b74Schristos * Makefile.in: Regenerate. 1014*75fd0b74Schristos 1015*75fd0b74Schristos2005-05-17 Zack Weinberg <zack@codesourcery.com> 1016*75fd0b74Schristos 1017*75fd0b74Schristos * ld-arm/mixed-app.d: Adjust expected disassembly a little. 1018*75fd0b74Schristos 1019*75fd0b74Schristos2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> 1020*75fd0b74Schristos 1021*75fd0b74Schristos * Makefile.am (ldver.texi): Don't use $<. 1022*75fd0b74Schristos * Makefile.in: Regenerated. 1023*75fd0b74Schristos 1024*75fd0b74Schristos2005-05-17 Daniel Jacobowitz <dan@codesourcery.com> 1025*75fd0b74Schristos 1026*75fd0b74Schristos * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include 1027*75fd0b74Schristos $(srcdir) before $(BFDDIR)/doc. 1028*75fd0b74Schristos * Makefile.in: Regenerated. 1029*75fd0b74Schristos 1030*75fd0b74Schristos2005-05-17 H.J. Lu <hongjiu.lu@intel.com> 1031*75fd0b74Schristos 1032*75fd0b74Schristos PR 797 1033*75fd0b74Schristos * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and 1034*75fd0b74Schristos take take a bfd_boolean, mark_used. Ignore assert failure if 1035*75fd0b74Schristos mark_used is TRUE. 1036*75fd0b74Schristos (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE. 1037*75fd0b74Schristos (exp_fold_tree_no_dot): Updated to take a bfd_boolean, 1038*75fd0b74Schristos mark_used and pass down. 1039*75fd0b74Schristos (fold_unary): Likewise. 1040*75fd0b74Schristos (fold_binary): Likewise. 1041*75fd0b74Schristos (fold_trinary): Likewise. 1042*75fd0b74Schristos (exp_binop): Add FALSE to call to exp_fold_tree_no_dot. 1043*75fd0b74Schristos (exp_trinop): Likewise. 1044*75fd0b74Schristos (exp_unop): Likewise. 1045*75fd0b74Schristos (exp_nameop): Likewise. 1046*75fd0b74Schristos (exp_get_vma): Likewise. 1047*75fd0b74Schristos (exp_get_fill): Likewise. 1048*75fd0b74Schristos (exp_get_abs_int): Likewise. 1049*75fd0b74Schristos (fold_name): Likewise. Set SEC_KEEP in output section flags. 1050*75fd0b74Schristos (exp_mark_used_section): New. 1051*75fd0b74Schristos 1052*75fd0b74Schristos * ldexp.h (exp_mark_used_section): New. 1053*75fd0b74Schristos 1054*75fd0b74Schristos * ldlang.c (lang_output_section_statement_lookup_1): Set the 1055*75fd0b74Schristos ignored field to FALSE. 1056*75fd0b74Schristos (lang_mark_used_section_1): New. 1057*75fd0b74Schristos (lang_mark_used_section): Call lang_mark_used_section_1. 1058*75fd0b74Schristos (strip_excluded_output_sections): Call lang_mark_used_section 1059*75fd0b74Schristos and check for unused sections. 1060*75fd0b74Schristos (lang_size_sections_1): Skip an output section if it should 1061*75fd0b74Schristos be ignored. 1062*75fd0b74Schristos (lang_do_assignments_1): Likewise. 1063*75fd0b74Schristos (lang_process): Don't call lang_mark_used_section here. 1064*75fd0b74Schristos 1065*75fd0b74Schristos * ldlang.h (lang_output_section_statement_type): Change 1066*75fd0b74Schristos all_input_readonly to bitfield. Add ignored. 1067*75fd0b74Schristos 1068*75fd0b74Schristos2005-05-17 Lennert Buytenhek <buytenh@wantstofly.org> 1069*75fd0b74Schristos Peter S. Mazinger" <ps.m@gmx.net> 1070*75fd0b74Schristos 1071*75fd0b74Schristos * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes". 1072*75fd0b74Schristos * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes". 1073*75fd0b74Schristos 1074*75fd0b74Schristos2005-05-17 Julian Brown <julian@codesourcery.com> 1075*75fd0b74Schristos 1076*75fd0b74Schristos * ldlang.c (print_assignment): Do not rely upon a valid result 1077*75fd0b74Schristos having a section associated with it. 1078*75fd0b74Schristos 1079*75fd0b74Schristos2005-05-17 Nick Clifton <nickc@redhat.com> 1080*75fd0b74Schristos 1081*75fd0b74Schristos * ldlang.c (Scan_for_self_assignment): Check an assignment tree to 1082*75fd0b74Schristos see if the same value is being used on the rhs as on the lhs. 1083*75fd0b74Schristos (print_assignment): Call scan_for_self_assignment and if it 1084*75fd0b74Schristos returns true, do no display the result of the computation but 1085*75fd0b74Schristos instead just the final value of the symbol on the lhs. 1086*75fd0b74Schristos * ld.texinfo: Document this behaviour and provide an example of 1087*75fd0b74Schristos when it will happen. 1088*75fd0b74Schristos 1089*75fd0b74Schristos2005-05-15 Daniel Jacobowitz <dan@codesourcery.com> 1090*75fd0b74Schristos 1091*75fd0b74Schristos * Makefile.am (AM_MAKEINFOFLAGS): Define. 1092*75fd0b74Schristos (TEXI2DVI): Define. 1093*75fd0b74Schristos (ldver.texi): Depend on distributed files instead of built files. 1094*75fd0b74Schristos (ld.info): Include $(srcdir) in the rule target. Remove actions. 1095*75fd0b74Schristos (ld.dvi): Remove actions. 1096*75fd0b74Schristos (MAINTAINERCLEANFILES): Add configdoc.texi. 1097*75fd0b74Schristos (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. 1098*75fd0b74Schristos (install-data-local): Renamed from install. 1099*75fd0b74Schristos (Makefile): Remove explicit dependency. 1100*75fd0b74Schristos * acinclude.m4: Remove obsolete code. 1101*75fd0b74Schristos * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. 1102*75fd0b74Schristos * Makefile.in, aclocal.m4, config.in, configure: Regenerated. 1103*75fd0b74Schristos 1104*75fd0b74Schristos2005-05-11 Bob Wilson <bob.wilson@acm.org> 1105*75fd0b74Schristos 1106*75fd0b74Schristos * scripttempl/elfxtensa.sc: Sync up with elf.sc. 1107*75fd0b74Schristos * emulparams/elf32xtensa.sh (PLT, GOT): Define. 1108*75fd0b74Schristos 1109*75fd0b74Schristos2005-05-11 Alan Modra <amodra@bigpond.net.au> 1110*75fd0b74Schristos 1111*75fd0b74Schristos * ldgram.y: Add SPECIAL token. 1112*75fd0b74Schristos (sect_constraint): Handle SPECIAL. 1113*75fd0b74Schristos * ldlang.c (lang_output_section_find_1): Don't match SPECIAL. 1114*75fd0b74Schristos (map_input_to_output_sections): Likewise. 1115*75fd0b74Schristos * ldlex.l (SPECIAL): Define. 1116*75fd0b74Schristos * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT, 1117*75fd0b74Schristos GOT, PLT, GOTPLT): Define. 1118*75fd0b74Schristos * emultempl/ppc32elf.em (old_plt, old_got): New static vars. 1119*75fd0b74Schristos (ppc_after_open): New function. 1120*75fd0b74Schristos (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT. 1121*75fd0b74Schristos (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got". 1122*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Document them. 1123*75fd0b74Schristos (PARSE_AND_LIST_ARGS_CASES): Handle them. 1124*75fd0b74Schristos (LDEMUL_AFTER_OPEN): Define. 1125*75fd0b74Schristos * scripttempl/elf.sc (PLT): Don't override existing define. 1126*75fd0b74Schristos (DATA_GOT, SDATA_GOT): Define and use to enable alternate got 1127*75fd0b74Schristos placement rather than using NO_SMALL_DATA. Emit GOTPLT for RELRO_NOW. 1128*75fd0b74Schristos 1129*75fd0b74Schristos2005-05-10 Alan Modra <amodra@bigpond.net.au> 1130*75fd0b74Schristos 1131*75fd0b74Schristos * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete. 1132*75fd0b74Schristos (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value. 1133*75fd0b74Schristos (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END. Place after 1134*75fd0b74Schristos DATA_SEGMENT_RELRO_END in script. 1135*75fd0b74Schristos 1136*75fd0b74Schristos2005-05-09 H.J. Lu <hongjiu.lu@intel.com> 1137*75fd0b74Schristos 1138*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): 1139*75fd0b74Schristos Don't use a removed section. 1140*75fd0b74Schristos 1141*75fd0b74Schristos2005-05-09 H.J. Lu <hongjiu.lu@intel.com> 1142*75fd0b74Schristos 1143*75fd0b74Schristos * ldmain.c (reloc_overflow): Use output_bfd if the symbol 1144*75fd0b74Schristos is defined in the ABS section. 1145*75fd0b74Schristos 1146*75fd0b74Schristos2005-05-06 H.J. Lu <hongjiu.lu@intel.com> 1147*75fd0b74Schristos 1148*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): 1149*75fd0b74Schristos Put back !link_info.relocatable. 1150*75fd0b74Schristos 1151*75fd0b74Schristos2005-05-06 H.J. Lu <hongjiu.lu@intel.com> 1152*75fd0b74Schristos 1153*75fd0b74Schristos PR 878 1154*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms): 1155*75fd0b74Schristos Just check link_info.executable. 1156*75fd0b74Schristos 1157*75fd0b74Schristos2005-05-06 Nick Clifton <nickc@redhat.com> 1158*75fd0b74Schristos 1159*75fd0b74Schristos * Update the address and phone number of the FSF organization in 1160*75fd0b74Schristos the GPL notices in the following files: 1161*75fd0b74Schristos aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c, 1162*75fd0b74Schristos ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c, 1163*75fd0b74Schristos ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h, 1164*75fd0b74Schristos ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h, 1165*75fd0b74Schristos ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h, 1166*75fd0b74Schristos sysdep.h, emultempl/aix.em, emultempl/alphaelf.em, 1167*75fd0b74Schristos emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em, 1168*75fd0b74Schristos emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em, 1169*75fd0b74Schristos emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em, 1170*75fd0b74Schristos emultempl/ia64elf.em, emultempl/irix.em, emultempl/linux.em, 1171*75fd0b74Schristos emultempl/lnk960.em, emultempl/m68hc1xelf.em, 1172*75fd0b74Schristos emultempl/m68kcoff.em, emultempl/m68kelf.em, 1173*75fd0b74Schristos emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em, 1174*75fd0b74Schristos emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em, 1175*75fd0b74Schristos emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em, 1176*75fd0b74Schristos emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em, 1177*75fd0b74Schristos emultempl/vanilla.em, emultempl/xtensaelf.em 1178*75fd0b74Schristos 1179*75fd0b74Schristos2005-05-05 H.J. Lu <hongjiu.lu@intel.com> 1180*75fd0b74Schristos 1181*75fd0b74Schristos * scripttempl/elf.sc: Document the usage of __bss_start. 1182*75fd0b74Schristos 1183*75fd0b74Schristos2005-05-05 Paul Brook <paul@codesourcery.com> 1184*75fd0b74Schristos 1185*75fd0b74Schristos * Makefile.am: Add eelf_i386_vxworks. 1186*75fd0b74Schristos * Makefile.in: Regenerate. 1187*75fd0b74Schristos * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks. 1188*75fd0b74Schristos * emulparams/elf_i386_vxworks.sh: New file. 1189*75fd0b74Schristos * emulparams/vxworks.sh: New file. 1190*75fd0b74Schristos * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME. 1191*75fd0b74Schristos 1192*75fd0b74Schristos2005-05-04 H.J. Lu <hongjiu.lu@intel.com> 1193*75fd0b74Schristos 1194*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): 1195*75fd0b74Schristos Call _bfd_elf_provide_section_bound_symbols. 1196*75fd0b74Schristos 1197*75fd0b74Schristos2005-05-04 Alan Modra <amodra@bigpond.net.au> 1198*75fd0b74Schristos 1199*75fd0b74Schristos * ldemul.c: Include bfdlink.h. 1200*75fd0b74Schristos (ldemul_before_allocation): Assume before_allocation is non-zero. 1201*75fd0b74Schristos (before_allocation_default): Call strip_excluded_output_sections. 1202*75fd0b74Schristos * ldlang.c (stripped_excluded_sections): New variable. 1203*75fd0b74Schristos (lang_add_section): Build input section list for each output 1204*75fd0b74Schristos section, attached via map_head and map_tail pointers. 1205*75fd0b74Schristos (strip_excluded_output_sections): Make global. Traverse the 1206*75fd0b74Schristos input section lists to find which output sections can go. Clear 1207*75fd0b74Schristos link_order pointers and set stripped_excluded_sections. 1208*75fd0b74Schristos (lang_process): Call strip_excluded_output_sections. 1209*75fd0b74Schristos * ldlang.h (strip_excluded_output_sections): Declare. 1210*75fd0b74Schristos * ldwrite.c: Update throuhout for link_order_head -> map_head change. 1211*75fd0b74Schristos * emultempl/aix.em (before_allocation): Call 1212*75fd0b74Schristos strip_excluded_output_sections. 1213*75fd0b74Schristos * emultempl/armcoff.em (before_allocation): Likewise. 1214*75fd0b74Schristos * emultempl/beos.em (before_allocation): Likewise. 1215*75fd0b74Schristos * emultempl/linux.em (before_allocation): Likewise. 1216*75fd0b74Schristos * emultempl/pe.em (before_allocation): Likewise. 1217*75fd0b74Schristos * emultempl/sunos.em (before_allocation): Likewise. 1218*75fd0b74Schristos * emultempl/elf32.em (before_allocation): Likewise. Call 1219*75fd0b74Schristos bfd_elf_size_dynsym_hash_dynstr too. 1220*75fd0b74Schristos * emultempl/lnk960.em (lnk960_before_allocation): Delete. 1221*75fd0b74Schristos (ld_lnk960): Use before_allocation_default. 1222*75fd0b74Schristos 1223*75fd0b74Schristos2005-05-02 H.J. Lu <hongjiu.lu@intel.com> 1224*75fd0b74Schristos 1225*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section): 1226*75fd0b74Schristos Updated for bfd_section_list_remove change. 1227*75fd0b74Schristos * ldlang.c (lang_insert_orphan): Likewise. 1228*75fd0b74Schristos (strip_excluded_output_sections): Likewise. 1229*75fd0b74Schristos (sort_sections_by_lma): New. 1230*75fd0b74Schristos (lang_check_section_addresses): Sort the sections before 1231*75fd0b74Schristos checking addresses. 1232*75fd0b74Schristos 1233*75fd0b74Schristos2005-04-29 Ralf Corsepius <ralf.corsepius@rtems.org> 1234*75fd0b74Schristos 1235*75fd0b74Schristos * configure.tgt: Add h8300*-*-rtemscoff. 1236*75fd0b74Schristos Switch h8300*-*-rtems* to elf. 1237*75fd0b74Schristos 1238*75fd0b74Schristos2005-04-29 Ben Elliston <bje@au.ibm.com> 1239*75fd0b74Schristos 1240*75fd0b74Schristos * ldgram.y (lang_memory_region_type): Make static. 1241*75fd0b74Schristos (ldgram_want_filename): Likewise. 1242*75fd0b74Schristos * ldemul.c (ld_emulation): Make static. 1243*75fd0b74Schristos * ldfile.h (ldfile_find_command_file): Remove extern. 1244*75fd0b74Schristos * ldfile.c (ldfile_find_command_file): Make static. 1245*75fd0b74Schristos * ldlang.h (unique_section_list): Remove extern declaration. 1246*75fd0b74Schristos * ldlang.c (unique_section_list): Make static. 1247*75fd0b74Schristos * mri.h (symbol_truncate): Remove extern declaration. 1248*75fd0b74Schristos * mri.c (symbol_truncate): Make static. 1249*75fd0b74Schristos (order, only_load, address, alias): Likewise. 1250*75fd0b74Schristos (alignment, subalignment): Likewise. 1251*75fd0b74Schristos 1252*75fd0b74Schristos2005-04-27 H.J. Lu <hongjiu.lu@intel.com> 1253*75fd0b74Schristos 1254*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): 1255*75fd0b74Schristos Use the first SEC_ALLOC section which isn't SEC_READONLY or the 1256*75fd0b74Schristos last SEC_ALLOC section if such a section doesn't exist. 1257*75fd0b74Schristos 1258*75fd0b74Schristos2005-04-24 Mark Kettenis <kettenis@gnu.org> 1259*75fd0b74Schristos 1260*75fd0b74Schristos * configure.host: Add *-*-openbsd support. 1261*75fd0b74Schristos 1262*75fd0b74Schristos2005-04-15 Julian Brown <julian@codesourcery.com> 1263*75fd0b74Schristos 1264*75fd0b74Schristos * ld.texinfo: Document --use-blx. 1265*75fd0b74Schristos * emultempl/armelf.em (use_blx): New variable. 1266*75fd0b74Schristos (arm_elf_create_output_section_statements): Communicate value of 1267*75fd0b74Schristos use_blx to bfd. 1268*75fd0b74Schristos (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX. 1269*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Add --use-blx option. 1270*75fd0b74Schristos (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case. 1271*75fd0b74Schristos 1272*75fd0b74Schristos2005-04-14 Alan Modra <amodra@bigpond.net.au> 1273*75fd0b74Schristos 1274*75fd0b74Schristos * Makefile.am (NO_WERROR): Define. Use instead of -Wno-error. 1275*75fd0b74Schristos * configure.in: Include ../bfd/warning.m4 contents. 1276*75fd0b74Schristos * Makefile.in: Regenerate. 1277*75fd0b74Schristos * configure: Regenerate. 1278*75fd0b74Schristos 1279*75fd0b74Schristos2005-04-12 Alan Modra <amodra@bigpond.net.au> 1280*75fd0b74Schristos 1281*75fd0b74Schristos * Makefile.am: Run "make dep-am". 1282*75fd0b74Schristos (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command. 1283*75fd0b74Schristos * Makefile.in: Regenerate. 1284*75fd0b74Schristos * config.in: Regenerate. 1285*75fd0b74Schristos 1286*75fd0b74Schristos2005-04-11 Alan Modra <amodra@bigpond.net.au> 1287*75fd0b74Schristos 1288*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore 1289*75fd0b74Schristos as_needed libs that were not needed. 1290*75fd0b74Schristos (gld${EMULATION_NAME}_check_needed): Likewise. 1291*75fd0b74Schristos 1292*75fd0b74Schristos2005-04-07 Nick Clifton <nickc@redhat.com> 1293*75fd0b74Schristos 1294*75fd0b74Schristos * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that 1295*75fd0b74Schristos ldfile.h can use the lang_input_statement type. 1296*75fd0b74Schristos 1297*75fd0b74Schristos2005-04-06 Jakub Jelinek <jakub@redhat.com> 1298*75fd0b74Schristos 1299*75fd0b74Schristos * ldlang.c: Formatting. 1300*75fd0b74Schristos (walk_wild_consider_section): Remember return value from wildcardp. 1301*75fd0b74Schristos (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen. 1302*75fd0b74Schristos (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen. 1303*75fd0b74Schristos 1304*75fd0b74Schristos2005-04-06 Robert O'Callahan <rocallahan@novell.com> 1305*75fd0b74Schristos 1306*75fd0b74Schristos * ld.h (lean_section_userdata_type): Remove. 1307*75fd0b74Schristos (fat_section_userdata_type): Remove file field. 1308*75fd0b74Schristos (SECTION_USERDATA_SIZE): Remove. 1309*75fd0b74Schristos * ldlang.c (init_os): Eliminate initialization of unused 1310*75fd0b74Schristos lean_section_userdata_type. 1311*75fd0b74Schristos 1312*75fd0b74Schristos * ldlang.h (callback_t, walk_wild_section_handler_t): New 1313*75fd0b74Schristos typedefs. 1314*75fd0b74Schristos (struct lang_wild_statement_struct): Add walk_wild_section_handler 1315*75fd0b74Schristos and handler_data fields. 1316*75fd0b74Schristos * ldlang.c (callback_t): Removed. 1317*75fd0b74Schristos (walk_wild_consider_section, walk_wild_section_general, 1318*75fd0b74Schristos section_iterator_callback, find_section, is_simple_wild, 1319*75fd0b74Schristos match_simple_wild, walk_wild_section_specs1_wild0, 1320*75fd0b74Schristos walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1, 1321*75fd0b74Schristos walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2, 1322*75fd0b74Schristos wild_spec_can_overlap, analyze_walk_wild_section_handler): New 1323*75fd0b74Schristos functions. 1324*75fd0b74Schristos (lang_add_wild): Call analyze_walk_wild_section_handler. 1325*75fd0b74Schristos (walk_wild_section): Renamed to walk_wild_section_general and 1326*75fd0b74Schristos created a wrapper function. 1327*75fd0b74Schristos (section_iterator_callback_data): New typedef. 1328*75fd0b74Schristos 1329*75fd0b74Schristos2005-04-04 Nick Clifton <nickc@redhat.com> 1330*75fd0b74Schristos 1331*75fd0b74Schristos * configure.in: Add a check for <unistd.h> providing a prototype 1332*75fd0b74Schristos for getopt() which is compatible with the one in 1333*75fd0b74Schristos include/getopt.h. If so then define HAVE_DECL_GETOPT. 1334*75fd0b74Schristos * configure: Regenerate. 1335*75fd0b74Schristos * config.in (HAVE_DECL_GETOPT): Add. 1336*75fd0b74Schristos * ldemul.c: Include config.h 1337*75fd0b74Schristos * lexsup.c: Likewise. 1338*75fd0b74Schristos * emultempl/elf32.sc: Likewise. 1339*75fd0b74Schristos 1340*75fd0b74Schristos2005-03-29 Alan Modra <amodra@bigpond.net.au> 1341*75fd0b74Schristos 1342*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again): 1343*75fd0b74Schristos New function, extracted from static void gld${EMULATION_NAME}_finish. 1344*75fd0b74Schristos (gld${EMULATION_NAME}_strip_empty_sections): Likewise. 1345*75fd0b74Schristos (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise. 1346*75fd0b74Schristos * emultempl/ppc64elf.em: Revert last change. 1347*75fd0b74Schristos (ppc_layout_sections_again): Use 1348*75fd0b74Schristos gld${EMULATION_NAME}_layout_sections_again. 1349*75fd0b74Schristos (ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call 1350*75fd0b74Schristos gld${EMULATION_NAME}_strip_empty_sections and 1351*75fd0b74Schristos gld${EMULATION_NAME}_provide_init_fini_syms. 1352*75fd0b74Schristos * emultempl/hppaelf.em: Similarly. 1353*75fd0b74Schristos 1354*75fd0b74Schristos2005-03-29 Alan Modra <amodra@bigpond.net.au> 1355*75fd0b74Schristos 1356*75fd0b74Schristos * emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs. 1357*75fd0b74Schristos (ppc_finish): Don't call bfd_elf_discard_info. 1358*75fd0b74Schristos * emultempl/hppaelf.em: Similarly. 1359*75fd0b74Schristos 1360*75fd0b74Schristos2005-03-24 Nick Clifton <nickc@redhat.com> 1361*75fd0b74Schristos 1362*75fd0b74Schristos * po/fr.po: Updated French translation. 1363*75fd0b74Schristos 1364*75fd0b74Schristos2005-03-23 Mike Frysinger <vapier@gentoo.org> 1365*75fd0b74Schristos Nick Clifton <nickc@redhat.com> 1366*75fd0b74Schristos 1367*75fd0b74Schristos * configure.host: Accept any C library to accompany a GNU Linux 1368*75fd0b74Schristos implementation, not just the GNU C library. 1369*75fd0b74Schristos * configure.tgt: Likewise. 1370*75fd0b74Schristos * emultempl/elf32.em: Likewise. 1371*75fd0b74Schristos 1372*75fd0b74Schristos2005-03-22 H.J. Lu <hongjiu.lu@intel.com> 1373*75fd0b74Schristos 1374*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New 1375*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Call 1376*75fd0b74Schristos gld${EMULATION_NAME}_provide_bound_symbols to provide 1377*75fd0b74Schristos __preinit_array_start, __preinit_array_end, __init_array_start, 1378*75fd0b74Schristos __init_array_end, __fini_array_start and __fini_array_end. 1379*75fd0b74Schristos 1380*75fd0b74Schristos * scripttempl/elf.sc: Don't provide __preinit_array_start, 1381*75fd0b74Schristos __preinit_array_end, __init_array_start, __init_array_end, 1382*75fd0b74Schristos __fini_array_start nor __fini_array_end. 1383*75fd0b74Schristos 1384*75fd0b74Schristos2005-03-23 Alan Modra <amodra@bigpond.net.au> 1385*75fd0b74Schristos 1386*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set 1387*75fd0b74Schristos SEC_EXCLUDE on .gnu.warning sections. 1388*75fd0b74Schristos 1389*75fd0b74Schristos2005-03-22 Alan Modra <amodra@bigpond.net.au> 1390*75fd0b74Schristos 1391*75fd0b74Schristos * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms. 1392*75fd0b74Schristos 1393*75fd0b74Schristos2005-03-21 Alan Modra <amodra@bigpond.net.au> 1394*75fd0b74Schristos 1395*75fd0b74Schristos * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New 1396*75fd0b74Schristos function. 1397*75fd0b74Schristos (LDEMUL_AFTER_ALLOCATION): Define. 1398*75fd0b74Schristos 1399*75fd0b74Schristos2005-03-21 Alan Modra <amodra@bigpond.net.au> 1400*75fd0b74Schristos 1401*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_finish): Rename from 1402*75fd0b74Schristos gld${EMULATION_NAME}_finish. Call gld${EMULATION_NAME}_finish. 1403*75fd0b74Schristos (LDEMUL_FINISH): Update. 1404*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise. 1405*75fd0b74Schristos * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise. 1406*75fd0b74Schristos 1407*75fd0b74Schristos2005-03-18 Julian Brown <julian@codesourcery.com> 1408*75fd0b74Schristos 1409*75fd0b74Schristos * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array, 1410*75fd0b74Schristos .rel.fini_array. 1411*75fd0b74Schristos (.rela.dyn): Add .rela.init_array, .rela.fini_array. 1412*75fd0b74Schristos (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs. 1413*75fd0b74Schristos 1414*75fd0b74Schristos2005-03-18 H.J. Lu <hongjiu.lu@intel.com> 1415*75fd0b74Schristos 1416*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set 1417*75fd0b74Schristos bfd_section when removing unused empty output sections for 1418*75fd0b74Schristos non-relocatable link. 1419*75fd0b74Schristos 1420*75fd0b74Schristos2005-03-19 Alan Modra <amodra@bigpond.net.au> 1421*75fd0b74Schristos 1422*75fd0b74Schristos * ldlang.c (lang_insert_orphan): Use old section_tail rather than 1423*75fd0b74Schristos traversing the bfd section list to find pointer to new section. 1424*75fd0b74Schristos 1425*75fd0b74Schristos2005-03-18 Alan Modra <amodra@bigpond.net.au> 1426*75fd0b74Schristos 1427*75fd0b74Schristos * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2 1428*75fd0b74Schristos input sections into .sdata and .sbss output respectively. 1429*75fd0b74Schristos 1430*75fd0b74Schristos2005-03-16 David Heine <dlheine@tensilica.com> 1431*75fd0b74Schristos Bob Wilson <bob.wilson@acm.org> 1432*75fd0b74Schristos 1433*75fd0b74Schristos * ldlang.c (IGNORE_SECTION): Remove check for zero size. 1434*75fd0b74Schristos (lang_check_section_addresses): Ignore zero size sections here. 1435*75fd0b74Schristos 1436*75fd0b74Schristos2005-03-16 H.J. Lu <hongjiu.lu@intel.com> 1437*75fd0b74Schristos 1438*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove 1439*75fd0b74Schristos unused empty output sections for non-relocatable link. 1440*75fd0b74Schristos 1441*75fd0b74Schristos * ld.h (args_type): Remove gc_sections. 1442*75fd0b74Schristos 1443*75fd0b74Schristos * ldlang.c (lang_mark_used_section): New. 1444*75fd0b74Schristos (lang_gc_sections): Use link_info.gc_sections instead of 1445*75fd0b74Schristos command_line.gc_sections. 1446*75fd0b74Schristos * ldmain.c (main): Likewise. 1447*75fd0b74Schristos * lexsup.c (parse_args): Likewise. 1448*75fd0b74Schristos * ldlang.c (lang_process): Call lang_mark_used_section. 1449*75fd0b74Schristos 1450*75fd0b74Schristos * ldmain.c (main): Initialize link_info.gc_sections to FALSE. 1451*75fd0b74Schristos 1452*75fd0b74Schristos2005-03-16 Nick Clifton <nickc@redhat.com> 1453*75fd0b74Schristos Ben Elliston <bje@au.ibm.com> 1454*75fd0b74Schristos 1455*75fd0b74Schristos * configure.in (werror): New switch: Add -Werror to the 1456*75fd0b74Schristos compiler command line. Enabled by default. Disable via 1457*75fd0b74Schristos --disable-werror. 1458*75fd0b74Schristos * configure: Regenerate. 1459*75fd0b74Schristos 1460*75fd0b74Schristos2005-03-16 Alan Modra <amodra@bigpond.net.au> 1461*75fd0b74Schristos 1462*75fd0b74Schristos * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete. 1463*75fd0b74Schristos (OTHER_RELRO_SECTIONS): Set this instead. 1464*75fd0b74Schristos 1465*75fd0b74Schristos2005-03-15 Nick Clifton <nickc@redhat.com> 1466*75fd0b74Schristos 1467*75fd0b74Schristos * NEWS: Add cutoff for changes in 2.16 release. 1468*75fd0b74Schristos 1469*75fd0b74Schristos2005-03-15 Mikkel Krautz <krautz@gmail.com> 1470*75fd0b74Schristos 1471*75fd0b74Schristos * configure.tgt (x86_64-elf): Add target. 1472*75fd0b74Schristos 1473*75fd0b74Schristos2005-03-15 Alan Modra <amodra@bigpond.net.au> 1474*75fd0b74Schristos 1475*75fd0b74Schristos * po/es.po: Commit new Spanish translation. 1476*75fd0b74Schristos 1477*75fd0b74Schristos2005-03-14 Alan Modra <amodra@bigpond.net.au> 1478*75fd0b74Schristos 1479*75fd0b74Schristos * ldexp.c (exp_fold_tree): Ensure return value is initialized. 1480*75fd0b74Schristos Tidy etree_assert case. 1481*75fd0b74Schristos 1482*75fd0b74Schristos2005-03-14 Alan Modra <amodra@bigpond.net.au> 1483*75fd0b74Schristos 1484*75fd0b74Schristos * po/tr.po: Commit new Turkish translation. 1485*75fd0b74Schristos 1486*75fd0b74Schristos2005-03-11 Daniel Jacobowitz <dan@codesourcery.com> 1487*75fd0b74Schristos 1488*75fd0b74Schristos * Makefile.am: Remove references to em68klynx.o and esparclynx.o. 1489*75fd0b74Schristos * Makefile.in: Regenerated. 1490*75fd0b74Schristos * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove. 1491*75fd0b74Schristos 1492*75fd0b74Schristos2005-03-07 Nick Clifton <nickc@redhat.com> 1493*75fd0b74Schristos 1494*75fd0b74Schristos * po/fr.po: Updated translation. 1495*75fd0b74Schristos 1496*75fd0b74Schristos2005-03-05 Alan Modra <amodra@bigpond.net.au> 1497*75fd0b74Schristos 1498*75fd0b74Schristos * po/ld.pot: Regenerate. 1499*75fd0b74Schristos 1500*75fd0b74Schristos2005-03-02 Jan Beulich <jbeulich@novell.com> 1501*75fd0b74Schristos 1502*75fd0b74Schristos * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. 1503*75fd0b74Schristos * pe-dll.c (pe_dll_generate_implib): Likewise. 1504*75fd0b74Schristos 1505*75fd0b74Schristos2005-02-24 Ben Elliston <bje@au.ibm.com> 1506*75fd0b74Schristos 1507*75fd0b74Schristos * ldfile.c: Remove GNU960 conditional code. 1508*75fd0b74Schristos * emultempl/gld960.em: Likewise. 1509*75fd0b74Schristos * emultempl/gld960c.em: Likewise. 1510*75fd0b74Schristos * emultempl/lnk960.em: Likewise. 1511*75fd0b74Schristos 1512*75fd0b74Schristos2005-02-24 Nick Clifton <nickc@redhat.com> 1513*75fd0b74Schristos 1514*75fd0b74Schristos * emultempl/lnk960.em (lnk960_before_parse): Remove redundant 1515*75fd0b74Schristos empty string from calls to concat. 1516*75fd0b74Schristos 1517*75fd0b74Schristos2005-02-23 Nick Clifton <nickc@redhat.com> 1518*75fd0b74Schristos 1519*75fd0b74Schristos * emultempl/lnk960.em (lnk960_before_parse): Terminate list of 1520*75fd0b74Schristos arguments passed to concat() with a NULL. 1521*75fd0b74Schristos 1522*75fd0b74Schristos * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they 1523*75fd0b74Schristos define types needed by ldfile.h 1524*75fd0b74Schristos 1525*75fd0b74Schristos2005-02-23 Alan Modra <amodra@bigpond.net.au> 1526*75fd0b74Schristos 1527*75fd0b74Schristos * pe-dll.c: Warning fixes. 1528*75fd0b74Schristos * emultempl/sunos.em: Likewise. 1529*75fd0b74Schristos 1530*75fd0b74Schristos2005-02-22 Daniel Jacobowitz <dan@codesourcery.com> 1531*75fd0b74Schristos 1532*75fd0b74Schristos * ldlang.c (section_already_linked): Don't call 1533*75fd0b74Schristos bfd_section_already_linked for dynamic objects. 1534*75fd0b74Schristos 1535*75fd0b74Schristos2005-02-22 Alan Modra <amodra@bigpond.net.au> 1536*75fd0b74Schristos 1537*75fd0b74Schristos * ldexp.c: Warning fixes. 1538*75fd0b74Schristos * ldwrite.c: Likewise. 1539*75fd0b74Schristos * emultempl/elf32.em: Likewise. 1540*75fd0b74Schristos 1541*75fd0b74Schristos2005-02-21 H.J. Lu <hongjiu.lu@intel.com> 1542*75fd0b74Schristos 1543*75fd0b74Schristos * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI 1544*75fd0b74Schristos tic54x input only. 1545*75fd0b74Schristos (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF 1546*75fd0b74Schristos and ECOFF output only. 1547*75fd0b74Schristos 1548*75fd0b74Schristos2005-02-21 Alan Modra <amodra@bigpond.net.au> 1549*75fd0b74Schristos 1550*75fd0b74Schristos * config.in: Regenerate. 1551*75fd0b74Schristos * configure: Regenerate. 1552*75fd0b74Schristos 1553*75fd0b74Schristos2005-02-17 Zack Weinberg <zack@codesourcery.com> 1554*75fd0b74Schristos 1555*75fd0b74Schristos * ldexp.c (assigning_to_dot): New global flag. 1556*75fd0b74Schristos (fold_name): If assigning_to_dot is true, object immediately to 1557*75fd0b74Schristos an undefined symbol. 1558*75fd0b74Schristos (exp_fold_tree): Set and clear assigning_to_dot around the 1559*75fd0b74Schristos recursive call to exp_fold_tree to process the right-hand side 1560*75fd0b74Schristos of an assignment to the location counter. 1561*75fd0b74Schristos 1562*75fd0b74Schristos2005-02-17 Paul Brook <paul@codesourcery.com> 1563*75fd0b74Schristos 1564*75fd0b74Schristos * scripttempl/armbpabi.sc: Add dummy name to version block. 1565*75fd0b74Schristos 1566*75fd0b74Schristos2005-02-17 Alan Modra <amodra@bigpond.net.au> 1567*75fd0b74Schristos 1568*75fd0b74Schristos * ldexp.c (new_abs): Init new.str. 1569*75fd0b74Schristos 1570*75fd0b74Schristos2005-02-15 Mark Mitchell <mark@codesourcery.com> 1571*75fd0b74Schristos 1572*75fd0b74Schristos * configure.in (AC_CHECK_FUNCS): Add glob. 1573*75fd0b74Schristos * configure: Regenerated. 1574*75fd0b74Schristos * emultempl/elf32.em (<glob.h>): Do not include if HAVE_GLOB is 1575*75fd0b74Schristos not defined. 1576*75fd0b74Schristos (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob 1577*75fd0b74Schristos if HAVE_GLOB is not defined. 1578*75fd0b74Schristos 1579*75fd0b74Schristos2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp> 1580*75fd0b74Schristos 1581*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define 1582*75fd0b74Schristos lib_path if NATIVE is yes. 1583*75fd0b74Schristos 1584*75fd0b74Schristos2005-02-16 Alan Modra <amodra@bigpond.net.au> 1585*75fd0b74Schristos 1586*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make 1587*75fd0b74Schristos an error creating fake bfd fatal. 1588*75fd0b74Schristos (ppc_before_allocation): Continue on after errors. 1589*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Likewise. 1590*75fd0b74Schristos 1591*75fd0b74Schristos2005-02-15 Nick Clifton <nickc@redhat.com> 1592*75fd0b74Schristos 1593*75fd0b74Schristos * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is 1594*75fd0b74Schristos not declared. It is not used and its presence causes a compile 1595*75fd0b74Schristos time warning. 1596*75fd0b74Schristos 1597*75fd0b74Schristos2005-02-11 Zack Weinberg <zack@codesourcery.com> 1598*75fd0b74Schristos 1599*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): 1600*75fd0b74Schristos If st.st_ino is zero, do not treat the library as a duplicate. 1601*75fd0b74Schristos 1602*75fd0b74Schristos2005-02-10 Jakub Jelinek <jakub@redhat.com> 1603*75fd0b74Schristos 1604*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_create_output_section_statements): 1605*75fd0b74Schristos Set BFD_LINKER_CREATED on the stubs bfd. 1606*75fd0b74Schristos * emultempl/ppc64elf.em (ppc_create_output_section_statements): 1607*75fd0b74Schristos Likewise. 1608*75fd0b74Schristos 1609*75fd0b74Schristos2005-02-08 Mark Mitchell <mark@codesourcery.com> 1610*75fd0b74Schristos 1611*75fd0b74Schristos * scripttempl/armbpabi.sc (VERSION): Make special section symbols 1612*75fd0b74Schristos local. 1613*75fd0b74Schristos (Image$$ER_RO$$Base): Define whenever RELOCATING. 1614*75fd0b74Schristos (Image$$ER_RO$$Limit): Likewise. 1615*75fd0b74Schristos (SHT$$INIT_ARRAY$$Base): Likewise. 1616*75fd0b74Schristos (SHT$$INIT_ARRAY$$Limit): Likeise. 1617*75fd0b74Schristos 1618*75fd0b74Schristos2005-02-10 Ben Elliston <bje@au.ibm.com> 1619*75fd0b74Schristos 1620*75fd0b74Schristos * emultempl/beos.em: Remove #if 0 and #if 1 blocks. 1621*75fd0b74Schristos 1622*75fd0b74Schristos2005-02-08 Richard Sandiford <rsandifo@redhat.com> 1623*75fd0b74Schristos 1624*75fd0b74Schristos * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath 1625*75fd0b74Schristos to include o32 and n64 emulations. 1626*75fd0b74Schristos (mips64*-*-linux-gnu*): Likewise. 1627*75fd0b74Schristos 1628*75fd0b74Schristos2005-02-08 Hans-Peter Nilsson <hp@axis.com> 1629*75fd0b74Schristos 1630*75fd0b74Schristos * ldmain.c (warning_callback, warning_find_reloc): Prepend 1631*75fd0b74Schristos "warning: " to warning messages. 1632*75fd0b74Schristos 1633*75fd0b74Schristos2005-02-04 Alan Modra <amodra@bigpond.net.au> 1634*75fd0b74Schristos 1635*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't 1636*75fd0b74Schristos look up symbol for etree_provide here. 1637*75fd0b74Schristos 1638*75fd0b74Schristos2005-02-02 Daniel Jacobowitz <dan@codesourcery.com> 1639*75fd0b74Schristos 1640*75fd0b74Schristos * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set. 1641*75fd0b74Schristos 1642*75fd0b74Schristos2005-02-01 Edward Welbourne <eddy@opera.com> 1643*75fd0b74Schristos Nick Clifton <nickc@redhat.com> 1644*75fd0b74Schristos 1645*75fd0b74Schristos * ld.texinfo (Source Code Reference): New node describing how to 1646*75fd0b74Schristos access linker script defined variables from source code. 1647*75fd0b74Schristos 1648*75fd0b74Schristos2005-02-01 Alan Modra <amodra@bigpond.net.au> 1649*75fd0b74Schristos 1650*75fd0b74Schristos * ld.texinfo: Clarify --as-needed operation. 1651*75fd0b74Schristos 1652*75fd0b74Schristos2005-01-31 Andrew Cagney <cagney@gnu.org> 1653*75fd0b74Schristos 1654*75fd0b74Schristos * configure: Regenerate to track ../gettext.m4. 1655*75fd0b74Schristos 1656*75fd0b74Schristos2005-01-31 Nick Clifton <nickc@redhat.com> 1657*75fd0b74Schristos 1658*75fd0b74Schristos * ldver.c (ldversion): Bump reported copyright date to 2005. 1659*75fd0b74Schristos 1660*75fd0b74Schristos2005-01-31 Nick Clifton <nickc@redhat.com> 1661*75fd0b74Schristos 1662*75fd0b74Schristos * configure.tgt: Remove obsolete targets m68k-lynxos and 1663*75fd0b74Schristos sparc-lynxos. 1664*75fd0b74Schristos 1665*75fd0b74Schristos2005-01-28 Julian Brown <julian@codesourcery.com> 1666*75fd0b74Schristos 1667*75fd0b74Schristos * emultempl/armelf.em (fix_v4bx): New variable. 1668*75fd0b74Schristos (arm_elf_create_output_section_statements): Communicate fix_v4bx flag 1669*75fd0b74Schristos value to bfd. 1670*75fd0b74Schristos (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX. 1671*75fd0b74Schristos (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx. 1672*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx. 1673*75fd0b74Schristos (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX. 1674*75fd0b74Schristos * NEWS: Mention --fix-v4bx. 1675*75fd0b74Schristos * ld.texinfo: Document --fix-v4bx. 1676*75fd0b74Schristos 1677*75fd0b74Schristos2005-01-25 Mark Mitchell <mark@codesourcery.com> 1678*75fd0b74Schristos 1679*75fd0b74Schristos * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so 1680*75fd0b74Schristos as to include .ARM.exidx$${Base,Limit}. 1681*75fd0b74Schristos * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment. 1682*75fd0b74Schristos Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}. 1683*75fd0b74Schristos Put .init_array, .fini_array, etc. into the read-only data 1684*75fd0b74Schristos segment. 1685*75fd0b74Schristos 1686*75fd0b74Schristos2005-01-25 Alan Modra <amodra@bigpond.net.au> 1687*75fd0b74Schristos 1688*75fd0b74Schristos * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting. 1689*75fd0b74Schristos (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were 1690*75fd0b74Schristos only needed by an as-needed lib that didn't get linked. 1691*75fd0b74Schristos 1692*75fd0b74Schristos2005-01-23 Alan Modra <amodra@bigpond.net.au> 1693*75fd0b74Schristos 1694*75fd0b74Schristos * ld.texinfo (Output Section Keywords <CONSTRUCTORS>): Correct 1695*75fd0b74Schristos __DTOR_LIST__ description. 1696*75fd0b74Schristos 1697*75fd0b74Schristos2005-01-23 Alan Modra <amodra@bigpond.net.au> 1698*75fd0b74Schristos 1699*75fd0b74Schristos * ld.texinfo (Location Counter <dot outside sections>): Document 1700*75fd0b74Schristos effects of orphan section placement, and ". = ." workaround. 1701*75fd0b74Schristos * Makefile.in: Regenerate. 1702*75fd0b74Schristos 1703*75fd0b74Schristos2005-01-22 Richard Sandiford <rsandifo@redhat.com> 1704*75fd0b74Schristos 1705*75fd0b74Schristos * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;". 1706*75fd0b74Schristos * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise. 1707*75fd0b74Schristos 1708*75fd0b74Schristos2005-01-21 Jakub Jelinek <jakub@redhat.com> 1709*75fd0b74Schristos 1710*75fd0b74Schristos * ldgram.y (AS_NEEDED): New token. 1711*75fd0b74Schristos (input_list): Handle AS_NEEDED ( input_list ). 1712*75fd0b74Schristos * ldlex.l (AS_NEEDED): Add. 1713*75fd0b74Schristos * ld.texinfo: Document AS_NEEDED (). 1714*75fd0b74Schristos * NEWS: Mention AS_NEEDED (). 1715*75fd0b74Schristos 1716*75fd0b74Schristos2005-01-21 Ben Elliston <bje@au.ibm.com> 1717*75fd0b74Schristos 1718*75fd0b74Schristos * ldlang.c (lang_reasonable_defaults): Remove. 1719*75fd0b74Schristos (lang_process): Don't call lang_reasonable_defaults. 1720*75fd0b74Schristos 1721*75fd0b74Schristos * ldexp.c (exp_assop): Remove #if 0'd code. 1722*75fd0b74Schristos (exp_print_tree): Likewise. 1723*75fd0b74Schristos * ldlang.c (lang_memory_region_lookup): Likewise. 1724*75fd0b74Schristos (open_output): Likewise. 1725*75fd0b74Schristos (lang_do_assignments_1): Likewise. 1726*75fd0b74Schristos (lang_place_orphans): Likewise. 1727*75fd0b74Schristos (lang_enter_output_section_statement): Likewise. 1728*75fd0b74Schristos (lang_reasonable_defaults): Likewise. 1729*75fd0b74Schristos * ldlang.h (struct lang_input_statement_struct): Likewise. 1730*75fd0b74Schristos * mri.c (mri_draw_tree): Likewise. 1731*75fd0b74Schristos (mri_load): Likewise. 1732*75fd0b74Schristos * pe-dll.c (generate_reloc): Likewise. 1733*75fd0b74Schristos (make_import_fixup_entry): Likewise. 1734*75fd0b74Schristos (pe_as16): Likewise. 1735*75fd0b74Schristos * emultempl/beos.em (set_pe_subsystem): Likewise. 1736*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. 1737*75fd0b74Schristos * emultempl/pe.em: Likewise. 1738*75fd0b74Schristos * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise. 1739*75fd0b74Schristos 1740*75fd0b74Schristos2005-01-20 Daniel Jacobowitz <dan@codesourcery.com> 1741*75fd0b74Schristos 1742*75fd0b74Schristos * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o. 1743*75fd0b74Schristos (earmelfb_linux_eabi.c): New target. 1744*75fd0b74Schristos * Makefile.in: Regenerated. 1745*75fd0b74Schristos * configure.tgt (arm*b-*-linux-gnueabi): New target. 1746*75fd0b74Schristos * emulparams/armelfb_linux_eabi.sh: New file. 1747*75fd0b74Schristos 1748*75fd0b74Schristos2005-01-20 Nick Hudson <skrll@netbsd.org> 1749*75fd0b74Schristos 1750*75fd0b74Schristos PR ld/676 1751*75fd0b74Schristos * emultempl/hppaelf.em (hppaelf_create_output_section_statements): 1752*75fd0b74Schristos Handle bfd_elf32_hppa_nbsd_vec. 1753*75fd0b74Schristos 1754*75fd0b74Schristos2005-01-19 Richard Sandiford <rsandifo@redhat.com> 1755*75fd0b74Schristos 1756*75fd0b74Schristos * ldmain.h (ld_sysroot): Change type to a constant string. 1757*75fd0b74Schristos * ldmain.c (ld_sysroot): Likewise. 1758*75fd0b74Schristos (get_relative_sysroot, get_sysroot): New functions, adding command-line 1759*75fd0b74Schristos support for changing the sysroot. 1760*75fd0b74Schristos (main): Call the new functions. 1761*75fd0b74Schristos * lexsup.c (OPTION_SYSROOT): New. 1762*75fd0b74Schristos (ld_options): Add --sysroot. 1763*75fd0b74Schristos (parse_args): Add a dummy handler for it. 1764*75fd0b74Schristos * ld.texinfo (--sysroot): Document. 1765*75fd0b74Schristos * NEWS: Mention the new --sysroot option. 1766*75fd0b74Schristos 1767*75fd0b74Schristos2005-01-18 Alan Modra <amodra@bigpond.net.au> 1768*75fd0b74Schristos 1769*75fd0b74Schristos * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call. 1770*75fd0b74Schristos (lang_place_orphans): Don't abort on just_syms_flag, instead call 1771*75fd0b74Schristos bfd_link_just_syms. 1772*75fd0b74Schristos 1773*75fd0b74Schristos2005-01-16 Danny Smith <dannysmith@users.sourceforge.net> 1774*75fd0b74Schristos 1775*75fd0b74Schristos * defilep.y (def_name, def_library): Combine into... 1776*75fd0b74Schristos (def_image_name): New function. Strip name to basename, 1777*75fd0b74Schristos with warning. 1778*75fd0b74Schristos 1779*75fd0b74Schristos2005-01-12 Mark Kettenis <kettenis@gnu.org> 1780*75fd0b74Schristos 1781*75fd0b74Schristos * configure.in: Be sure to invoke config.sub using the shell. 1782*75fd0b74Schristos * configure: Regenerate. 1783*75fd0b74Schristos 1784*75fd0b74Schristos2005-01-11 Alan Modra <amodra@bigpond.net.au> 1785*75fd0b74Schristos 1786*75fd0b74Schristos * configure.host: Correct sed patterns for last change. 1787*75fd0b74Schristos 1788*75fd0b74Schristos2005-01-10 Nick Clifton <nickc@redhat.com> 1789*75fd0b74Schristos 1790*75fd0b74Schristos PR binutils/609 1791*75fd0b74Schristos * ldmisc.c (vfinfo): Add an extra argument: is_warning. Use this 1792*75fd0b74Schristos to determine whether config.make_executable should be set to FALSE in 1793*75fd0b74Schristos conjunction with config.fatal_warnings. 1794*75fd0b74Schristos (info_msg, minfo, lfinof): Pass FALSE as the extra argument. 1795*75fd0b74Schristos (einfo): Pass TRUE as the extra argument. 1796*75fd0b74Schristos 1797*75fd0b74Schristos2005-01-10 Greg Schaffer <gschafer@zip.com.au> 1798*75fd0b74Schristos 1799*75fd0b74Schristos * configure.host (linux targets): Use "${CC} -dumpspecs" instead 1800*75fd0b74Schristos of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0. 1801*75fd0b74Schristos (ia64-*-aix): Delete - this target is obsolete, and would be 1802*75fd0b74Schristos broken by this patch. 1803*75fd0b74Schristos 1804*75fd0b74Schristos2005-01-06 Eric Botcazou <ebotcazou@libertysurf.fr> 1805*75fd0b74Schristos 1806*75fd0b74Schristos * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*. 1807*75fd0b74Schristos (sparc64-sun-solaris2*): New host. 1808*75fd0b74Schristos 1809*75fd0b74Schristos2005-01-06 Paul Brook <paul@codesourcery.com> 1810*75fd0b74Schristos 1811*75fd0b74Schristos * Makefie.am: Add earmelf_vxworks. 1812*75fd0b74Schristos * Makefile.in: Regenerate. 1813*75fd0b74Schristos * configure.tgt: Make arm-*-vxworks a separate case. 1814*75fd0b74Schristos * emulparams/armelf_vxworks.sh: New function. 1815*75fd0b74Schristos 1816*75fd0b74Schristos2005-01-06 Alan Modra <amodra@bigpond.net.au> 1817*75fd0b74Schristos 1818*75fd0b74Schristos * emultempl/ppc64elf.em (no_multi_toc): New var. 1819*75fd0b74Schristos (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists. 1820*75fd0b74Schristos (OPTION_NO_MULTI_TOC): Define. 1821*75fd0b74Schristos (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support. 1822*75fd0b74Schristos (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. 1823*75fd0b74Schristos 1824*75fd0b74Schristos2005-01-05 Nick Clifton <nickc@redhat.com> 1825*75fd0b74Schristos 1826*75fd0b74Schristos PR binutils/614 1827*75fd0b74Schristos * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding 1828*75fd0b74Schristos Standard's specification for parsable error messages. 1829*75fd0b74Schristos 1830*75fd0b74Schristos2005-01-04 Paul Brook <paul@codesourcery.com> 1831*75fd0b74Schristos 1832*75fd0b74Schristos * Makefile.am: Correct dependency for earmsymbian.c. 1833*75fd0b74Schristos * Makefile.in: Regenerate. 1834*75fd0b74Schristos 1835*75fd0b74SchristosFor older changes see ChangeLog-2004 1836*75fd0b74Schristos 1837*75fd0b74SchristosCopyright (C) 2005 Free Software Foundation, Inc. 1838*75fd0b74Schristos 1839*75fd0b74SchristosCopying and distribution of this file, with or without modification, 1840*75fd0b74Schristosare permitted in any medium without royalty provided the copyright 1841*75fd0b74Schristosnotice and this notice are preserved. 1842*75fd0b74Schristos 1843*75fd0b74SchristosLocal Variables: 1844*75fd0b74Schristosmode: change-log 1845*75fd0b74Schristosleft-margin: 8 1846*75fd0b74Schristosfill-column: 74 1847*75fd0b74Schristosversion-control: never 1848*75fd0b74SchristosEnd: 1849