summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bfd/H.J. Lu2004-10-2170-176/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> PR 463 * aoutx.h (aout_link_input_section_std): Pass proper hash entry to linker reloc_overflow callback. (aout_link_input_section_ext): Likewise. (aout_link_reloc_link_order): Likewise. * coff-a29k.c (coff_a29k_relocate_section): Likewise. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents): Likewise. (alpha_relocate_section): Likewise. * coff-arm.c (coff_arm_relocate_section): Likewise. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. * coff-h8500.c (extra_case): Likewise. * coff-i960.c (coff_i960_relocate_section): Likewise. * coff-mcore.c (coff_mcore_relocate_section): Likewise. * coff-mips.c (mips_relocate_section): Likewise. * coff-or32.c (coff_or32_relocate_section): Likewise. * coff-ppc.c (coff_ppc_relocate_section): Likewise. * coff-rs6000.c (xcoff_ppc_relocate_section): Likewise. * coff-sh.c (sh_relocate_section): Likewise. * coff-tic80.c (coff_tic80_relocate_section): Likewise. * coff-w65.c (w65_reloc16_extra_cases): Likewise. * coff-z8k.c (extra_case): Likewise. * coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise. * cofflink.c (_bfd_coff_reloc_link_order): Likewise. (_bfd_coff_generic_relocate_section): Likewise. * ecoff.c (ecoff_reloc_link_order): Likewise. * elf-hppa.h (elf_hppa_relocate_section): Likewise. * elf-m10200.c (mn10200_elf_relocate_section): Likewise. * elf-m10300.c (mn10300_elf_relocate_section): Likewise. * elf32-arm.h (elf32_arm_relocate_section): Likewise. * elf32-avr.c (elf32_avr_relocate_section): Likewise. * elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise. * elf32-cris.c (cris_elf_relocate_section): Likewise. * elf32-crx.c (elf32_crx_relocate_section): Likewise. * elf32-d10v.c (elf32_d10v_relocate_section): Likewise. * elf32-fr30.c (fr30_elf_relocate_section): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-h8300.c (elf32_h8_relocate_section): Likewise. * elf32-hppa.c (elf32_hppa_relocate_section): Likewise. * elf32-i370.c (i370_elf_relocate_section): Likewise. * elf32-i386.c (elf_i386_relocate_section): Likewise. * elf32-i860.c (elf32_i860_relocate_section): Likewise. * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise. * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise. * elf32-m32r.c (m32r_elf_relocate_section): Likewise. * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise. * elf32-m68k.c (elf_m68k_relocate_section): Likewise. * elf32-mcore.c (mcore_elf_relocate_section): Likewise. * elf32-msp430.c (elf32_msp430_relocate_section): Likewise. * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sh.c (sh_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf32-v850.c (v850_elf_relocate_section): Likewise. * elf32-vax.c (elf_vax_relocate_section): Likewise. * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-mmix.c (mmix_elf_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sh64.c (sh_elf64_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elflink.c (elf_reloc_link_order): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise. (_bfd_elf_mips_get_relocated_section_contents): Likewise. * linker.c (_bfd_generic_reloc_link_order): Likewise. * pdp11.c (pdp11_aout_link_input_section): Likewise. (aout_link_reloc_link_order): Likewise. * reloc.c (bfd_generic_get_relocated_section_contents): Likewise. * xcofflink.c (xcoff_reloc_link_order): Likewise. * simple.c (simple_dummy_reloc_overflow): Updated. include/ 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> PR 463 * bfdlink.h (bfd_link_callbacks): Add a pointer to struct bfd_link_hash_entry to reloc_overflow. ld/ 2004-10-21 H.J. Lu <hongjiu.lu@intel.com> PR 463 * ldmain.c (reloc_overflow): Accept a pointer to struct bfd_link_hash_entry. Report symbol location for relocation overflow.
* 2004-10-21 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-212-5/+9
| | | | | * genscripts.sh (libpath.exp): Really generate for first emulation only.
* daily updateAlan Modra2004-10-211-1/+1
|
* * elf32-m68k.c (elf_m68k_plt_sym_val): New function.Andreas Schwab2004-10-202-0/+18
| | | | (elf_backend_plt_sym_val): Define.
* * config.bfd: Set targ_underscore=yes for PE COFF targets.Danny Smith2004-10-202-0/+5
|
* daily updateAlan Modra2004-10-201-1/+1
|
* * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): SimplifyDanny Smith2004-10-192-11/+15
| | | | comparison and replacement of filenames.
* 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-192-0/+6
| | | | * readelf.c (process_section_groups): Free symtab after use.
* 2004-10-19 Andrew Cagney <cagney@gnu.org>gdb_6_3-20041109-releaseAndrew Cagney2004-10-192-4/+9
| | | | | * src-release (do-djunpack, do-md5sum): Install the generated file directly into the proto-toplev/ directory.
* 2004-10-19 Andrew Cagney <cagney@gnu.org>Andrew Cagney2004-10-192-1/+5
| | | | * src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
* 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-194-3/+12
| | | | | | | * ld-elf/exclude.exp: Allow cris-*-elf. * ld-elf/exclude1.s: Add ".data". Remove "- include_sym". * ld-elf/exclude2.s: Add ".data".
* 2004-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-192-0/+9
| | | | | | PR 459 * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic option on linker script as the one for linker script.
* * elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.Alan Modra2004-10-192-2/+36
| | | | (ppc64_elf_edit_opd): Likewise.
* * elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.Mark Mitchell2004-10-193-1/+13
| | | | | * elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT, set SEC_ALLOC and SEC_LOAD.
* * ld-elf/exclude.exp: Don't run for cris-*-elf.Hans-Peter Nilsson2004-10-192-2/+6
|
* daily updateAlan Modra2004-10-191-1/+1
|
* strings.c (usage): Place radix values for -t option into the correct order.Nick Clifton2004-10-185-8/+23
| | | | | | | | | | objcopy.c (add_redefine_syms_file): Change error messages to use <filename>:<linenumber>: format for easier parsing by automatic tools. srconv.c (show_usage): Fix spelling typo. windres.c (format_from_filename): Suggest the use of -J instead of -I if the file type cannot be determined.
* strings.c: Include <sys/stat.h>.Nick Clifton2004-10-182-0/+5
|
* * config/tc-i386.c (O_secrel): Delete.Alan Modra2004-10-183-2/+29
| | | | | | (tc_pe_dwarf2_emit_offset): New function. * config/tc-i386.h (O_secrel): Define as O_md1. (TC_DWARF2_EMIT_OFFSET): Define.
* Compute 'name' for relocs against both local and global symbols.gdb_6_3-20041019-branchpointNick Clifton2004-10-182-4/+15
|
* Accept and ignore @fptr() directives for 4-byte fixups.Nick Clifton2004-10-182-3/+24
|
* * budemang.c (demangle): Fix thinko.Alan Modra2004-10-182-1/+3
|
* * budemang.c (demangle): Handle "@plt" suffix.Alan Modra2004-10-182-16/+45
|
* daily updateAlan Modra2004-10-181-1/+1
|
* daily updateAlan Modra2004-10-171-1/+1
|
* bfd/Daniel Jacobowitz2004-10-1613-10/+262
| | | | | | | | | | | | | | | | | | * bfd-in2.h: Regenerate. * bfd.c (struct bfd): Add no_export. * elflink.c (elf_link_add_object_symbols): Handle no_export. ld/ * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs) (check_excluded_libs): New. (load_symbols): Call check_excluded_libs. * ldlang.h (add_excluded_libs): New prototype. * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define. (gld${EMULATION_NAME}_add_options): Add --exclude-libs. (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs. * ld.texinfo (Command Line Variables): Document --exclude-libs. (Options Specific to i386 PE Targets): Remove --exclude-libs. ld/testsuite/ * ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
* daily updateAlan Modra2004-10-161-1/+1
|
* * ldexp.c (exp_fold_tree): Don't immediately exit ld on aAlan Modra2004-10-152-3/+6
| | | | failing link script assert.
* * ldctor.c (ldctor_add_set_entry): Fix comment typo.Alan Modra2004-10-152-2/+6
|
* * Makefile.am: Run "make dep-am"Alan Modra2004-10-156-12/+28
| | | | * Makefile.in: Regenerate.
* * config.bfd: Whitespace cleanup.Alan Modra2004-10-154-38/+46
| | | | | * Makefile.am: Run "make dep-am" * Makefile.in: Regenerate.
* * elflink.c (struct already_linked_section): Removed.Jakub Jelinek2004-10-152-83/+46
| | | | | | | | (try_match_symbols_in_sections, already_linked): Removed. (_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\. prefix of section names when finding already_linked_table chain. Compare section names. Instead of calling already_linked, do it inline and only for sections in the same already_linked_list.
* * ld-crx/reloc-num8.d: Adjust for changed orphan placement.Alan Modra2004-10-156-9/+17
| | | | | | | * ld-crx/reloc-num16.d: Likewise. * ld-crx/reloc-num32.d: Likewise. * ld-scripts/provide-2.t: Start .data at 0x2000. * ld-scripts/provide-2.d: Adjust.
* daily updateAlan Modra2004-10-151-1/+1
|
* * elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"Alan Modra2004-10-144-5/+28
| | | | | | | | parameter. If called after _bfd_elf_write_section_eh_frame, don't allow a -2 return unless need_* bit is already set, and handle offsets adjusted for output_offset. * elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype. * elf.c (_bfd_elf_section_offset): Update call.
* * doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):Bob Wilson2004-10-142-28/+47
| | | | | | | Remove comments about placement of literal pools. (Literal Directive): Update description of literal placement. (Literal Prefix Directive): Remove statement that this does not apply to absolute-mode literals. Describe new section naming scheme.
* 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-144-2/+23
| | | | | | | | | | | PR 445 * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set. (SMALL_DATA_DTOR): Set. * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset. (SMALL_DATA_DTOR): Unset. * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors after .data. If SMALL_DATA_DTOR is set, move .dtors after .data.
* 2004-10-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-142-0/+9
| | | | * ld-scripts/sort.exp: Run for ELF targets only.
* * gas/arm/mapping.d: Pass --special-syms to objdump.Paul Brook2004-10-142-1/+5
|
* ld/Alan Modra2004-10-149-775/+779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 63 * ldlang.h (lang_output_section_statement_type): Make "next" a struct lang_output_section_statement_struct *. (struct orphan_save): Move from elf32.em. Add "name" and "flags". (lang_output_section_find_by_flags, lang_insert_orphan): Declare. * ldlang.c (lang_output_section_find_1): Adjust for changed output_section_statement "next". (strip_excluded_output_sections): Likewise. (lang_record_phdrs): Likewise. (lang_output_section_find_by_flags): New function. (output_prev_sec_find): Move from pe.em. Adjust iterator. (lang_insert_orphan): New function. Tail end of elf32.em's place_orphan merged with that from pe.em. Allow bfd_section to be placed first. New heuristic for placing new output section statement in existing script, and accompanying split of __start symbol alignment into a separate assignment to dot. (lang_add_section): Consistently use output->bfd_section rather than an alias, section->output_section. (map_input_to_output_sections): Rename overly long arg. Move initialization of data_statement output section to here.. (lang_check_section_addresses): ..from here. (print_assignment): Correct printing of etree_assert. (print_all_symbols): Don't bomb if userdata is NULL. (IGNORE_SECTION): Rearrange. * emultempl/elf32.em (output_rel_find): Adjust interator. (output_prev_sec_find): Delete. (struct orphan_save): Delete. (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section flags without creating a duplicate output section statement. Revise code holding history of various orphan section placements. Allow orphan sections to place before script specified output sections. Call lang_output_section_find_by_flags when placement by name fails. Use lang_insert_orphan. * emultempl/mmo.em (output_prev_sec_find): Delete. (struct orphan_save): Delete. (mmo_place_orphan): Revise code holding history of orphan placement. Allow orphans to place before existing output sections. Use lang_insert_orphan. * emultempl/pe.em (output_prev_sec_find): Delete. (struct orphan_save): Delete. (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of lang_insert_orphan. ld/testsuite/ * ld-scripts/overlay-size.d: Update for changed orphan section placement. * ld-mmix/bpo-18.d: Likewise.
* (usage): Fix description of --special-syms switch.Nick Clifton2004-10-142-1/+5
|
* daily updateAlan Modra2004-10-141-1/+1
|
* 2004-10-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-10-132-1/+7
| | | | | | PR 440 * coffcode.h (coff_compute_section_file_positions): Cast to bfd_vma when computing page alignment.
* * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use fileMark Mitchell2004-10-134-4/+23
| | | | | | | offsets, not VMAs, for DT_VERSYM, DT_VERDEF, DT_VERNEED. * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a loadable segment.
* * strings.c (statbuf): New typedef.Jakub Jelinek2004-10-135-9/+109
| | | | | | | | | (file_stat): Define. (strings_object_file): Avoid using get_file_size, instead do the checks here, using file_stat. * configure.in (HAVE_STAT64): New test. * configure: Rebuilt. * config.in: Rebuilt.
* * elf32-arm.h (elf32_arm_finish_dynamic_symbol): Make .rel.pltMark Mitchell2004-10-132-1/+7
| | | | relocations use a virtual address, not a section offset.
* PR 44Alan Modra2004-10-132-13/+46
| | | | | | * ldcref.c (check_section_sym_xref): Delete. (check_local_sym_xref): New function. (check_nocrossrefs): Adjust call.
* daily updateAlan Modra2004-10-131-1/+1
|
* PR 44Alan Modra2004-10-122-97/+139
| | | | | * emultempl/pe.em (struct orphan_save): Add os_tail. (place_orphan): Backport assorted fixes from elf32.em.
* merge from gccDJ Delorie2004-10-123-88/+80
| | | | | | 2004-10-12 Kelley Cook <kcook@gcc.gnu.org> * configure.in (*-*-cygwin*): Supress warning if newlib not present. * configure: Regenerate.