aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2004-01-15 * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.Alan Modra1-0/+4
2004-01-13* ldlang.c (lang_get_regions): Add extra parameter 'have_vma' which if true willNick Clifton1-0/+12
prevent the LMA region being used as a replacement for a default VMA region. (lang_leave_output_section_statement): Pass extra parameter. (lang_leave_overlay): Likewise. * ld.texinfo (Output Section LMA): Document that the LMA region can be set to the VMA region if no VMA has been set. * ldlang.h (struct lang_output_section_phdr_list): Create a typedef for this type. Minor formatting fixes.
2004-01-13If dot is advanced, then assume that the section should be allocated.Nick Clifton1-0/+5
2004-01-12 * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOADAlan Modra1-0/+6
sections. Do ignore SEC_NEVER_LOAD sections. (lang_size_sections_1): Remove test made redundant with the above.
2004-01-09 * emultempl/ppc64elf.em (ppc_before_allocation): Clear cachedAlan Modra1-0/+5
program_header_size.
2004-01-062003-11-28 Alexandre Oliva <aoliva@redhat.com>Alexandre Oliva1-0/+26
* emulparams/elf32frvfd.sh (EMBEDDED): Clear. 2003-11-05 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frvfd.sh (STACK_ADDR): Unset. (MAXPAGESIZE): Set to 64Kb. (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and __ROFIXUP_END__. Don't map .rofixup.got any more. * emulparams/elf32frv.sh (NOP): Set. 2003-10-31 Alexandre Oliva <aoliva@redhat.com> * configure.tgt: Add frv-*-*linux*. 2003-09-30 Alexandre Oliva <aoliva@redhat.com> * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o. (eelf32frvfd.c): New. * configure.tgt <frv-*-*>: Added it to targ_extra_emuls. * emulparams/elf32frv.sh: Reverted previous two patches. * emulparams/elf32frvfd.sh: New. * Makefile.in: Rebuilt. 2003-09-18 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added .rofixup.got to .rofixup. 2003-09-15 Alexandre Oliva <aoliva@redhat.com> * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B. (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
2004-01-05 * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.Jakub Jelinek1-0/+5
* emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
2004-01-03typo fixAlan Modra1-4/+4
2004-01-03 * ldexp.c (align_n): Make static.Alan Modra1-0/+27
* ldexp.h (align_n): Delete declaration. * ldlang.h (lang_enter_output_section_statement): Remove block_value param. * ldlang.c (lang_enter_output_section_statement): Likewise. (TO_ADDR, TO_SIZE): Define. (opb): New var. (init_opb): New function. (print_input_section): Call init_opb and use TO_ADDR. (print_data_statement, print_reloc_statement): Likewise. (print_padding_statement): Likewise. (size_input_section): Use TO_SIZE and TO_ADDR, and global opb. (lang_check_section_addresses): Likewise. (lang_size_sections_1): Likewise. (lang_do_assignments_1): Likewise. (lang_set_startof): Likewise. (lang_one_common): Likewise. Combine power_of_two and opb alignment. (lang_process): Call init_opb. (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb. (lang_enter_overlay_section): Adjust lang_enter_output_section_statement call. * ldgram.y: Likewise. * mri.c (mri_draw_tree): Likewise. * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise. * emultempl/mmo.em (mmo_place_orphan): Likewise. * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
2004-01-03 * ldfile.c (ldfile_set_output_arch): Add defarch param.Alan Modra1-0/+21
* ldfile.h (ldfile_set_output_arch): Ditto. * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use ldfile_set_output_arch. * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto. * ldgram.y: Adjust ldfile_set_output_arch call. * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/gld960c.em (gld960_set_output_arch): Ditto. * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto. * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
2004-01-02Add m68k-uclinux targetNick Clifton1-0/+3
2004-01-02Split ChangeLog files.Alan Modra1-6940/+1
2003-12-19Add support for m32r-linux target, including a RELA ABI and PIC.Nick Clifton1-0/+12
2003-12-18When scanning MS import libraries allow for the possible presence of staticNick Clifton1-0/+6
objects.
2003-12-16Fix typo.Michael Snyder1-1/+1
2003-12-082003-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+5
* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to cplus_demangle.
2003-12-07 * ldemul.c: Convert to ISO-C.Kazu Hirata1-0/+5
* ldver.c: Likewise.
2003-12-07 * lexsup.c (is_num): Remove.Kazu Hirata1-0/+4
2003-12-05Fixes for use of ARM_26D reloc in arm-wince toolchain.Nick Clifton1-0/+5
2003-12-04bfd/H.J. Lu1-0/+9
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 Clifton1-0/+4
2003-12-04 * ldlang.c (lang_do_assignments): Function return is void.Alan Modra1-0/+8
* 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 Clifton1-0/+4
2003-12-03(HEAP_SECTION_MSP430): New section for forthcoming devices.Nick Clifton1-0/+6
(_etext): provide this defenition for all scripts.
2003-12-03 * emultempl/beos.em: Remove ARGSUSED.Kazu Hirata1-0/+4
2003-12-02Rename bfd_link_hash_entry field "next" -> "und_next".Alan Modra1-0/+8
2003-12-02Update docs to reflect fact the --undefined-symbols==ignore-all is no longerNick Clifton1-0/+5
the default for shared libraries and dynamic executables.
2003-12-02make "dep-am"Alan Modra1-0/+5
2003-12-02 * ldmain.c (main): Remove mpc860c0 code.Alan Modra1-0/+7
* lexsup.c (enum option_values): Delete OPTION_MPC860C0. (ld_options): Delete mpc860c0 entry. (parse_args): Likewise.
2003-12-01 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): TestAlan Modra1-0/+8
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 Clifton1-0/+5
2003-11-19Fix IA-64 linker failure reported by Andreas Schwab.Jim Wilson1-0/+3
* 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 Wilson1-0/+5
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 Clifton1-0/+4
2003-11-09 * configure.host (HOSTING_LIBS): Group libgcc and libc withAlan Modra1-1/+10
--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 Clifton1-0/+4
Detect directories where an ordinary file is expected.
2003-11-06Fix 'the the' typoNick Clifton1-0/+4
2003-11-04 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only doAlan Modra1-0/+4
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 Modra1-44/+47
unused variable.
2003-11-04 * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.Alan Modra1-0/+4
2003-11-04 * bfd-in.h (_bfd_elf_tls_setup): Declare.Alan Modra1-0/+5
* 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 Clifton1-0/+10
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 Cagney1-0/+5
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-30Switch to ELF targeted VxWorks targetsNick Clifton1-0/+10
2003-10-27 * scripttempl/elfm68hc12.sc: Define eeprom memory region.Stephane Carrez1-0/+4
2003-10-25 * ChangeLog-9197: Fix typos.Kazu Hirata1-0/+7
* NEWS: Likewise. * ld.texinfo: Likewise. * ldlang.c: Fix comment typos.
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* ldlang.c (lang_vers_match): Fix a typo.
2003-10-242003-10-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* ldlang.c (lang_vers_match): Check demangled symbols.
2003-10-24bfd/H.J. Lu1-0/+11
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 Clifton1-0/+5
lang_memory_region_lookup.