aboutsummaryrefslogtreecommitdiff
path: root/ld
AgeCommit message (Collapse)AuthorFilesLines
2003-12-082003-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to cplus_demangle.
2003-12-07 * ldemul.c: Convert to ISO-C.Kazu Hirata3-66/+42
* ldver.c: Likewise.
2003-12-07 * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".Richard Sandiford3-2/+7
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
2003-12-07 * lexsup.c (is_num): Remove.Kazu Hirata2-23/+4
2003-12-05Fixes for use of ARM_26D reloc in arm-wince toolchain.Nick Clifton2-1/+11
2003-12-04bfd/H.J. Lu4-3/+13
2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * elfxx-ia64.c (elfNN_ia64_relax_section): Use the need_relax_finalize field in link_info instead of relax_finalizing to check if the relax finalize pass is being done. include/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Change relax_finalizing to need_relax_finalize. ld/ 2003-12-04 H.J. Lu <hongjiu.lu@intel.com> * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set link_info.need_relax_finalize to TRUE. * ldlang.c (lang_process): Use link_info.need_relax_finalize instead of link_info.relax_finalizing. * ldmain.c (main): Likewise.
2003-12-04Define RELOCATEABLE_OUTPUT_FORMATNick Clifton2-0/+8
2003-12-04 * ldlang.c (lang_do_assignments): Function return is void.Alan Modra6-4/+17
* ldlang.h (lang_do_assignments): Ditto. * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. * Makefile.am (ens32knbsd.c): Depend on netbsd.em. * Makefile.in: Regenerate.
2003-12-03Add vax-linux-gnu targetNick Clifton2-0/+5
2003-12-03(HEAP_SECTION_MSP430): New section for forthcoming devices.Nick Clifton2-1/+30
(_etext): provide this defenition for all scripts.
2003-12-03 * emultempl/beos.em: Remove ARGSUSED.Kazu Hirata2-1/+4
2003-12-02Rename bfd_link_hash_entry field "next" -> "und_next".Alan Modra3-4/+12
2003-12-02Update docs to reflect fact the --undefined-symbols==ignore-all is no longerNick Clifton2-6/+8
the default for shared libraries and dynamic executables.
2003-12-02make "dep-am"Alan Modra3-9/+18
2003-12-02 * ldmain.c (main): Remove mpc860c0 code.Alan Modra3-23/+8
* lexsup.c (enum option_values): Delete OPTION_MPC860C0. (ld_options): Delete mpc860c0 entry. (parse_args): Likewise.
2003-12-01 * ld-sh/sh64/shmix-1.s: Add align to match data alignment.Kaz Kojima9-24/+37
* ld-sh/sh64/shmix-3.s: Likewise. * ld-sh/sh64/mix1.sd: Update. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix1-noexp.sd: Likewise. * ld-sh/sh64/mix2.sd: Likewise. * ld-sh/sh64/mix2.xd: Likewise. * ld-sh/sh64/mix2-noexp.sd: Likewise.
2003-12-01Update for changed section alignment.Alan Modra10-13/+25
2003-12-01 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): TestAlan Modra3-3/+18
hash table type rather than testing creator flavour. * emultempl/hppaelf.em (hppaelf_create_output_section_statements): Only create stub_file bfd if hash table creator is as expected. (gld${EMULATION_NAME}_finish): Test stub_file.
2003-11-28Fix building for FreeBSDNick Clifton2-0/+7
2003-11-19 * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.Alan Modra3-9/+14
* ld-powerpc/tlsso32.d: Likewise.
2003-11-19Fix IA-64 linker failure reported by Andreas Schwab.Jim Wilson2-3/+8
* ldlang.c (lang_process): Move lang_reset_memory_regions call after lang_do_assignments call.
2003-11-19Fix -pie core dump with .rela.opd section.Jim Wilson2-0/+7
bfd/ChangeLog * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd. (elfNN_ia64_size_dynamic_sections): When stripping sections, check for ia64_info->rel_fptr_sec. ld/ChangeLog * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include .rela.opd if -pie.
2003-11-10Add initial support for TLS sections in PE format files.Nick Clifton2-0/+13
2003-11-09 * configure.host (HOSTING_LIBS): Group libgcc and libc withAlan Modra2-15/+14
--start-group, --end-group pair. (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. (am33_2.0-*-linux*): Edit default HOSTING_CRT0. (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.
2003-11-07Use consistent error messages for missing files.Nick Clifton2-2/+6
Detect directories where an ordinary file is expected.
2003-11-06Fix 'the the' typoNick Clifton2-1/+5
2003-11-04 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only doAlan Modra2-1/+7
pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. (pr_sym): Move inside #ifdef DLL_SUPPORT.
2003-11-04 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): ZapAlan Modra2-45/+47
unused variable.
2003-11-04 * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.Alan Modra2-0/+5
2003-11-04 * bfd-in.h (_bfd_elf_tls_setup): Declare.Alan Modra2-0/+8
* bfd-in2.h: Regenerate. * elf-bfd.h (struct elf_link_tls_segment): Delete. (struct elf_link_hash_table): Add tls_sec and tls_size. * elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size. * elflink.c (_bfd_elf_tls_setup): New function. * elflink.h (struct elf_final_link_info): Remove first_tls_sec. (elf_bfd_final_link): Don't set first_tls_sec here. Update code saving tls segment info, round segment size up. (elf_link_output_extsym): Adjust code using tls segment info. (elf_link_input_bfd): Likewise. * elf32-i386.c (dtpoff_base, tpoff): Likewise. * elf32-s390.c (dtpoff_base, tpoff): Likewise. * elf32-sh.c (dtpoff_base, tpoff): Likewise. * elf32-sparc.c (dtpoff_base, tpoff): Likewise. * elf64-s390.c (dtpoff_base, tpoff): Likewise. * elf64-x86-64.c (dtpoff_base, tpoff): Likewise. * elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise. (elfNN_ia64_dtprel_base): Likewise. * elf64-alpha.c (alpha_get_dtprel_base): Likewise. (alpha_get_tprel_base): Likewise. (struct alpha_relax_info): Remove tls_segment. (elf64_alpha_relax_got_load): Adjust invocation of alpha_get_dtprel_base and alpha_get_tprel_base. (elf64_alpha_relax_tls_get_addr): Likewise. (elf64_alpha_relax_section): Likewise. (elf64_alpha_relocate_section): Likewise. (elf64_alpha_relax_find_tls_segment): Delete. * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec. (ppc_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. (ppc_elf_relocate_section): Adjust to use elf.tls_sec. * elf32-ppc.h (ppc_elf_tls_setup): Update. * elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec. (ppc64_elf_tls_setup): Call _bfd_elf_tls_setup. Return section. (ppc64_elf_tls_optimize): Adjust to use elf.tls_sec. (ppc64_elf_relocate_section): Likewise. * elf64-ppc.h (ppc64_elf_tls_setup): Update. * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call _bfd_elf_tls_setup.
2003-10-31When looking for a previously loaded file compare the local_sym_name not theNick Clifton2-4/+19
filename, as the filename might have been transformed via the search directory path lookup. If the sought-for file has not been found in the input file chain then create a new node with the search_dirs_flag set so that the entire set of directory paths will be scanned for it.
2003-10-31Index: sim/frv/ChangeLogAndrew Cagney3-7/+12
2003-10-30 Andrew Cagney <cagney@redhat.com> * traps.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/d10v/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * simops.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: sim/common/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: ld/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". Index: bfd/ChangeLog 2003-10-30 Andrew Cagney <cagney@redhat.com> * syms.c: Replace "struct symbol_cache_entry" with "struct bfd_symbol". * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto. * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto. * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto. * bfd-in2.h: Re-generate.
2003-10-30oops - use correct version of automake to regenerate Makefile.inNick Clifton1-471/+467
2003-10-30Switch to ELF targeted VxWorks targetsNick Clifton5-472/+523
2003-10-27 * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812Stephane Carrez2-0/+9
due to elf/Dwarf2 binutils limitation.
2003-10-27 * scripttempl/elfm68hc12.sc: Define eeprom memory region.Stephane Carrez2-0/+5
2003-10-25 * ChangeLog-9197: Fix typos.Kazu Hirata5-5/+12
* NEWS: Likewise. * ld.texinfo: Likewise. * ldlang.c: Fix comment typos.
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* ldlang.c (lang_vers_match): Fix a typo.
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+7
* ldlang.c (lang_vers_match): Check demangled symbols.
2003-10-24bfd/H.J. Lu3-25/+80
2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up hash table for real symbols. include/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove "wildcard". ld/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (lang_vers_match): Check "symbol" instead of "wildcard" and "pattern". Fix a typo. (lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (realsymbol): New function. (lang_new_vers_pattern): Set "symbol" and remove "wildcard". * ldlex.l (V_IDENTIFIER): Allow '\\'.
2003-10-24Oops - omitted from patch that added a second parameter to ↵Nick Clifton2-1/+6
lang_memory_region_lookup.
2003-10-232003-10-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+6
* ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the linker option from gcc.
2003-10-23 * ld-powerpc/tlsexetoc.d: Correct.Alan Modra3-8/+13
* ld-powerpc/tlstoc.d: Correct.
2003-10-22bfd/Jakub Jelinek3-98/+251
* elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals field changes. (_bfd_elf_link_assign_sym_version): Likewise. * elflink.h (size_dynamic_sections): Likewise. include/ * bfdlink.h (struct bfd_elf_version_expr): Remove match field. Add wildcard and mask fields. (BFD_ELF_VERSION_C_TYPE): Define. (BFD_ELF_VERSION_CXX_TYPE): Likewise. (BFD_ELF_VERSION_JAVA_TYPE): Likewise. (struct bfd_elf_version_expr_head): New. (struct bfd_elf_version_tree): Add match field. Change type of globals and locals fields to struct bfd_elf_version_expr_head. ld/ * ldlang.c: Include hashtab.h. (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus, lang_vers_match_lang_java): Remove. (lang_vers_match): New function. (lang_new_vers_pattern): Initialize wildcard and mask fields, don't initialize match. (lang_new_vers_node): Use xcalloc. Adjust for globals and locals field type changes. Set match field. (version_expr_head_hash, version_expr_head_eq): New functions. (lang_finalize_version_expr_head): New function. (lang_register_vers_node): Call lang_finalize_version_expr_head. Search in hash table if not wildcard when looking for duplicates. * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with duplicate checking. Initialize all fields of dot_entry from entry with the exception of pattern and next.
2003-10-21Add warning messages for the use of an undeclared memory region and theNick Clifton4-25/+56
redefintion of an already declared region.
2003-10-202003-10-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-8/+12
* targets.c: Replace "struct sec" with "struct bfd_section" * syms.c, sparclynx.c, section.c, opncls.c: Ditto. * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto. * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto. * aout-tic30.c, aout-target.h: * bfd-in2.h, libcoff.h, libbfd.h: Regenerate. Index: binutils/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * coffgrok.h (coff_section): Replace 'struct sec" with "struct bfd_section". Index: gdb/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * symtab.c: Replace "struct sec" with "struct bfd_section". * objfiles.c, linespec.c, blockframe.c, block.c: Ditto. Index: ld/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * pe-dll.c: Replace "struct sec" with "struct bfd_section". Index: sim/common/ChangeLog 2003-10-19 Andrew Cagney <cagney@redhat.com> * sim-base.h: Replace "struct sec" with "struct bfd_section".
2003-10-19 * Makefile.am: Remove old (before GCC 3.3) emulations for AVRMarek Michalkiewicz13-358/+35
target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103, avrmega161, avrmega603. Default to avr2. * Makefile.in: Regenerate. * configure.tgt: Likewise. * emulparams/avr1200.sh: Remove. * emulparams/avr23xx.sh: Remove. * emulparams/avr4433.sh: Remove. * emulparams/avr44x4.sh: Remove. * emulparams/avr85xx.sh: Remove. * emulparams/avrmega103.sh: Remove. * emulparams/avrmega161.sh: Remove. * emulparams/avrmega603.sh: Remove. * scripttempl/elf32avr.sc: Remove.
2003-10-19 * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): AddAndreas Schwab2-1/+4
newline to message.
2003-10-19 * deffilep.y: Remove commas from %token lines.Andreas Schwab2-3/+7
2003-10-18 * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d,Hans-Peter Nilsson33-6/+745
ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass --no-pushj-stubs to the assembler. * ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d, ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d, ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d, ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d, ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d, ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d, ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d, ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d, ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests.