OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * configure.tgt: Add hppaobsd.o.
Alan Modra [Tue, 9 Jul 2002 02:42:13 +0000 (02:42 +0000)]
* configure.tgt: Add hppaobsd.o.
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.

22 years ago * configure.in: Add hppa-*-openbsd* target, change
Alan Modra [Tue, 9 Jul 2002 02:41:16 +0000 (02:41 +0000)]
* configure.in: Add hppa-*-openbsd* target, change
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.

22 years agoFix typo last change
Hans-Peter Nilsson [Tue, 9 Jul 2002 02:41:15 +0000 (02:41 +0000)]
Fix typo last change

22 years agomerge from gcc
DJ Delorie [Tue, 9 Jul 2002 01:01:18 +0000 (01:01 +0000)]
merge from gcc

22 years ago * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
Hans-Peter Nilsson [Tue, 9 Jul 2002 00:50:01 +0000 (00:50 +0000)]
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.

22 years ago* config/tc-mips.c (macro): Shift the 32-bit address range
Maciej W. Rozycki [Tue, 9 Jul 2002 00:42:57 +0000 (00:42 +0000)]
* config/tc-mips.c (macro): Shift the 32-bit address range
accessible with a lone "lui" down by 32768.

22 years agodaily update
Alan Modra [Tue, 9 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* config/tc-mips.c (load_address): Use non-trapping "daddu"
Maciej W. Rozycki [Mon, 8 Jul 2002 22:42:09 +0000 (22:42 +0000)]
* config/tc-mips.c (load_address): Use non-trapping "daddu"
instead of "dadd" in address calculations.
(macro): Likewise.

22 years ago* configure.in: Don't build grez.
DJ Delorie [Mon, 8 Jul 2002 22:18:40 +0000 (22:18 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.

22 years ago* Makefile.in: Remove references to bsp, cygmon, libstub.
DJ Delorie [Mon, 8 Jul 2002 20:43:20 +0000 (20:43 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

22 years ago* configure.in (gxx_include_dir): Change to match versioned
DJ Delorie [Mon, 8 Jul 2002 17:14:04 +0000 (17:14 +0000)]
* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

22 years ago * gas/i386/intel16.s: New.
Alan Modra [Mon, 8 Jul 2002 10:40:37 +0000 (10:40 +0000)]
* gas/i386/intel16.s: New.
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.

22 years agogas/ChangeLog
Alan Modra [Mon, 8 Jul 2002 10:03:11 +0000 (10:03 +0000)]
gas/ChangeLog
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.

include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.

22 years ago * elf.c: Formatting.
Alan Modra [Mon, 8 Jul 2002 08:13:37 +0000 (08:13 +0000)]
* elf.c: Formatting.
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks.
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP.
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP
segments.

22 years ago * cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
Mark Mitchell [Mon, 8 Jul 2002 05:34:08 +0000 (05:34 +0000)]
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
account the impact of relocation count overflow when computing
section offsets.
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether
or not to apply the PE COFF reloc overflow handling.  Fix a
fencepost error in deciding whether or not to use that technique.

22 years agodaily update
Alan Modra [Mon, 8 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
Alan Modra [Sun, 7 Jul 2002 09:10:41 +0000 (09:10 +0000)]
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
change type of locsyms.
(bfd_elf_get_elf_syms): Declare.
* elf.c (bfd_elf_get_elf_syms): New function.
(group_signature): Use bfd_elf_get_elf_syms.
(bfd_section_from_r_symndx): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise.  Reorganise to increase
locality of various data structures.  Properly free internal relocs.
(elf_bfd_final_link): Properly free internal relocs.
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise.  Properly free internal relocs.
(elf_gc_sweep): Properly free internal relocs.
(elf_reloc_symbol_deleted_p): No need to swap syms in.
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms.  Properly free
internal relocs.
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code.
(mn10200_elf_symbol_address_p): Pass in internal syms.  Remove
symbol swapping code.
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c.
(m32r_elf_relax_delete_bytes): Likewise.
(m32r_elf_get_relocated_section_contents): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using
elf_section_data to determine whether cached.
(sh_elf_relax_section): As above for elf-m10200.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above.
* elf64-alpha.c (elf64_alpha_relax_section): As above.  Also delay
reading of local syms.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above.
* elfxx-ia64.c (elfNN_ia64_relax_section): As above.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal
relocs.
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly
free internal relocs and section contents.  Don't read symbols.
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms.
(elf32_hppa_size_stubs): Don't free local syms.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay
reading of local syms.  Use bfd_elf_get_elf_syms.  Properly free
possibly cached info.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms.
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and
all_local_syms.
(get_local_syms): Delete function.
(edit_opd): Use bfd_elf_get_elf_syms.  Free on error exit.  Cache
on exit.
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms.  Free/cache on exit.

22 years agodaily update
Alan Modra [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Sat, 6 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agoThis makes gprof work with non-standard text sections.
Jim Wilson [Fri, 5 Jul 2002 20:29:38 +0000 (20:29 +0000)]
This makes gprof work with non-standard text sections.
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.

22 years ago * ldlang.c (print_wild_statement): Fix output formatting.
Alan Modra [Fri, 5 Jul 2002 12:54:28 +0000 (12:54 +0000)]
* ldlang.c (print_wild_statement): Fix output formatting.

22 years agodaily update
Alan Modra [Fri, 5 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
Alexandre Oliva [Thu, 4 Jul 2002 22:51:16 +0000 (22:51 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.

22 years ago * merge.c (_bfd_merged_section_offset): Avoid accessing byte before
Jakub Jelinek [Thu, 4 Jul 2002 15:57:24 +0000 (15:57 +0000)]
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before
section content start.
Reported by Michael Schumacher <mike@hightec-rt.com>.

22 years ago * ldlang.c: (strip_excluded_output_sections): New function.
Alan Modra [Thu, 4 Jul 2002 14:41:01 +0000 (14:41 +0000)]
* ldlang.c: (strip_excluded_output_sections): New function.
(lang_process): Call it.
(lang_size_sections_1): Revert 2002-06-10 change.

22 years ago * section.c (_bfd_strip_section_from_output): Remove unnecessary
Alan Modra [Thu, 4 Jul 2002 14:40:25 +0000 (14:40 +0000)]
* section.c (_bfd_strip_section_from_output):  Remove unnecessary
link order code.  Don't actually remove the output section here;
Just set a flag for the linker to do so.
* elflink.c (_bfd_elf_link_renumber_dynsyms): Test for removed
sections when setting up output section dynsyms.

22 years ago * elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux
Alan Modra [Thu, 4 Jul 2002 13:26:30 +0000 (13:26 +0000)]
* elflink.h (elf_link_add_object_symbols): Revert 1999-09-02 hpux
fudge.
* elf.c (bfd_section_from_shdr): Work around broken hpux shared
libs here instead.

22 years agodaily update
Alan Modra [Thu, 4 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Make --without-x work.
DJ Delorie [Wed, 3 Jul 2002 23:35:31 +0000 (23:35 +0000)]
* configure.in: Make --without-x work.

22 years ago Remove next release number until the release is actually upon us.
Nick Clifton [Wed, 3 Jul 2002 17:16:29 +0000 (17:16 +0000)]
 Remove next release number until the release is actually upon us.

22 years ago New directory. Created to contain a copy of the texi2pod.pl script so that
Nick Clifton [Wed, 3 Jul 2002 11:20:13 +0000 (11:20 +0000)]
 New directory.  Created to contain a copy of the texi2pod.pl script so that
it is in the same place as the version in the FSF GCC sources.

22 years ago* configure.in: Rearrange target Makefile fragment collection.
DJ Delorie [Wed, 3 Jul 2002 03:23:47 +0000 (03:23 +0000)]
* configure.in: Rearrange target Makefile fragment collection.

22 years agodaily update
Alan Modra [Wed, 3 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Alan Modra [Tue, 2 Jul 2002 23:56:53 +0000 (23:56 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
Alan Modra [Tue, 2 Jul 2002 23:54:39 +0000 (23:54 +0000)]
* lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure
consistent sorting.
(run_dump_test): Likewise for objdump/nm/objcopy/readelf.
* ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise.

22 years ago * lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf
Alan Modra [Tue, 2 Jul 2002 23:50:14 +0000 (23:50 +0000)]
* lib/gas-defs.exp (run_dump_test): Run objdump/nm/objcopy/readelf
with LC_ALL=C to ensure consistent sorting.

22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
Alan Modra [Tue, 2 Jul 2002 23:48:45 +0000 (23:48 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
* Makefile.in: Regenerate.

22 years ago* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
DJ Delorie [Tue, 2 Jul 2002 18:57:43 +0000 (18:57 +0000)]
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src].
* configure.in: Ditto.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 2 Jul 2002 09:05:51 +0000 (09:05 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* elf64-s390.c (create_got_section): Set .got section alignment to
8 bytes.
(elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
Martin Schwidefsky [Tue, 2 Jul 2002 09:04:43 +0000 (09:04 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
to symbols in merge sections, even non pc-relative ones.

22 years ago * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.
Alan Modra [Tue, 2 Jul 2002 04:31:22 +0000 (04:31 +0000)]
* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.

22 years ago * ldfile.c (ldfile_try_open_bfd): Formatting.
Alan Modra [Tue, 2 Jul 2002 04:26:39 +0000 (04:26 +0000)]
* ldfile.c (ldfile_try_open_bfd): Formatting.

22 years ago * ldmisc.c (demangle): Move so that it doesn't intrude between
Alan Modra [Tue, 2 Jul 2002 04:21:57 +0000 (04:21 +0000)]
* ldmisc.c (demangle): Move so that it doesn't intrude between
vfinfo comment and body.  Add comment.

22 years ago * budemang.c: New file, "demangle" function.
Alan Modra [Tue, 2 Jul 2002 04:21:25 +0000 (04:21 +0000)]
* budemang.c: New file, "demangle" function.
* budemang.h: New file.
* addr2line.c (translate_addresses): Use "demangle".
* nm.c (print_symname): Likewise.
* objdump.c (objdump_print_symname): Likewise.
(dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
here since that obfuscates.
* rdcoff.c: Don't #include demangle.h.
* Makefile.am (CFILES): Add budemang.c, emul_aix.c,
emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
(HFILES): Add budemang.h.  Sort.
(nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years agomerge from gcc
DJ Delorie [Tue, 2 Jul 2002 04:09:35 +0000 (04:09 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 2 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agotypo fix
Alan Modra [Mon, 1 Jul 2002 23:47:10 +0000 (23:47 +0000)]
typo fix

22 years agoRemove redundant entry.
DJ Delorie [Mon, 1 Jul 2002 23:18:33 +0000 (23:18 +0000)]
Remove redundant entry.

22 years agomerge from gcc:
DJ Delorie [Mon, 1 Jul 2002 23:12:32 +0000 (23:12 +0000)]
merge from gcc:

2002-07-01  Nathanael Nerode <neroden@gcc.gnu.org>

* Makefile.in: Eliminate 'apache' targets.
* configure.in: Eliminate 'apache' targets.

* configure.in: Eliminate redundant tests.  Reorganize.

* Makefile.in: Eliminate last reference to LIBGCC1_TEST.

* config-ml.in: Eliminate references to Cygnus configure.

* Makefile.in: Eliminate references to building emacs.

2002-07-01  Denis Chertykov  <denisc@overta.ru>

* configure.in: Add support for ip2k.

22 years agomerge from gcc
DJ Delorie [Mon, 1 Jul 2002 18:02:30 +0000 (18:02 +0000)]
merge from gcc

22 years agoinclude/elf:
Jason Thorpe [Mon, 1 Jul 2002 16:43:38 +0000 (16:43 +0000)]
include/elf:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* Rename EF_* to EF_VAX_*.

bfd:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_*
to EF_VAX_*.

binutils:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* readelf.c: Include "elf/vax.h".
(guess_is_rela): Move EM_VAX from unknown to RELA case.
(dump_relocations): Handle VAX relocations.
(get_machine_flags): Handle VAX machine flags.

22 years ago * elfxx-mips.c (ABI_64_P): Fix comment.
Thiemo Seufer [Mon, 1 Jul 2002 10:01:01 +0000 (10:01 +0000)]
* elfxx-mips.c (ABI_64_P): Fix comment.
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the
new section names for N64 ABI.
(mips_elf_output_extsym): No special _gp_disp handling for NewABI.
(mips_elf_calculate_relocation): Code formatting.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too.
(_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI.
(_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64
in any NewABI.
(_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling
for NewABI.
(_bfd_mips_elf_modify_segment_map): Handle any N64 ABI.
(_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled
here, too.

22 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
Andreas Schwab [Mon, 1 Jul 2002 08:47:13 +0000 (08:47 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
R_X86_64_64 to R_X86_64_RELATIVE.

22 years ago * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
Alan Modra [Mon, 1 Jul 2002 08:32:30 +0000 (08:32 +0000)]
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.

22 years ago * vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
Alan Modra [Mon, 1 Jul 2002 08:31:53 +0000 (08:31 +0000)]
* vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend.
Run "make dep-am".
* config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of
host_aout_vec.
* configure.in (vaxbsd_vec): Add.
* targets.c (vaxbsd_vec): Add.
* Makefile.in: Rebuild.
* configure: Rebuild.
* po/SRC-POTFILES.in: Rebuild.

22 years ago * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
Alan Modra [Mon, 1 Jul 2002 08:07:31 +0000 (08:07 +0000)]
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
* ldlang.c (entry_sym): Likewise.
(ldlang_undef_chain_list_type): Likewise.
(lang_finish): Adjust references to entry_symbol.
(lang_add_entry): Likewise.
(lang_gc_sections): Use link_info.gc_sym_list.
(lang_process): Set link_info.gc_sym_list.
* ldlex.l: Include bfdlink.h.
* ldmain.c (main): Init link_info.gc_sym_list.
* emultempl/aix.em: Adjust references to entry_symbol.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em (ppc_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
* emulparams/elf64ppc.sh: KEEP .opd sections.

22 years ago * elflink.h (elf_gc_mark): Pass in the section whose relocs we are
Alan Modra [Mon, 1 Jul 2002 08:06:47 +0000 (08:06 +0000)]
* elflink.h (elf_gc_mark): Pass in the section whose relocs we are
examining to gc_mark_hook, rather than the bfd.
(elf_gc_sections): Adjust.
* elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise.
* elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
* elf32-frv.c (elf32_frv_gc_mark_hook): Likewise.  Also remove
redundant local sym tests.
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry.
(link_hash_newfunc): Init is_entry.
(ppc64_elf_copy_indirect_symbol): Copy is_entry.
(ppc64_elf_link_hash_table_create): Init all_local_syms.
(create_linkage_sections): Use bfd_make_section_anyway rather than
bfd_make_section.
(ppc64_elf_mark_entry_syms): New function.
(ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab.  Set
up opd entry to function section map.
(ppc64_elf_gc_mark_hook): Special case opd section relocs, and
relocs that reference the opd section.
(edit_opd): New function.
(ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd.
(ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here.
(get_local_syms): Do so here.  Exit if we already have local syms.
Remove bogus comment imported from elf32-hppa.c.  Don't attempt to
read local syms on non-ELF input.
(ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather
than duplicating it's function here.  Adjust free of internal
relocs to suit.
(ppc64_elf_relocate_section): Adjust local syms in opd section.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare.
* elf32-hppa.c (elf32_hppa_size_stubs): Call
_bfd_elf32_link_read_relocs rather than duplicating it's function
here.  Adjust free of internal relocs to suit.

22 years ago * bfdlink.h (struct bfd_sym_chain): Declare.
Alan Modra [Mon, 1 Jul 2002 08:04:47 +0000 (08:04 +0000)]
* bfdlink.h (struct bfd_sym_chain): Declare.
(struct bfd_link_info): Add gc_sym_list.  Formatting fixes.

22 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
Andreas Jaeger [Mon, 1 Jul 2002 06:42:27 +0000 (06:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
are not allowed in shared libs code, enforce -fPIC.

22 years agodaily update
Alan Modra [Mon, 1 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
Stephane Carrez [Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)]
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.

22 years agodaily update
Alan Modra [Sun, 30 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:45:09 +0000 (21:45 +0000)]
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
trailing zero-sequences when there's previous left-over data.

22 years ago * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
Hans-Peter Nilsson [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.

22 years ago * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
Stephane Carrez [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.

22 years ago * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
Stephane Carrez [Sat, 29 Jun 2002 10:33:45 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.

22 years ago * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
Stephane Carrez [Sat, 29 Jun 2002 10:32:34 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.

22 years agodaily update
Alan Modra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agodaily update
Alan Modra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
Jeff Law [Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.

22 years ago * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
Jeff Law [Thu, 27 Jun 2002 22:57:02 +0000 (22:57 +0000)]
    * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
        (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
        and opd_rel_sec in order for starting rela section.  Check _raw_size.
        (elf_backend_reloc_type_class): Define.

22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
Alan Modra [Thu, 27 Jun 2002 11:51:42 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
Alan Modra [Thu, 27 Jun 2002 11:29:15 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agodaily update
Alan Modra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years agold:
Joern Rennecke [Wed, 26 Jun 2002 15:42:33 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years agoRescind Tom Rix's maintainerships.
Nick Clifton [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
Alan Modra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
Alan Modra [Wed, 26 Jun 2002 13:22:55 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
Nick Clifton [Wed, 26 Jun 2002 08:21:04 +0000 (08:21 +0000)]
New Turkish translation

22 years ago* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
Jason Thorpe [Wed, 26 Jun 2002 03:10:20 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

22 years ago * ecoff.c: (get_tag): Replace strcpy with xstrdup.
Alan Modra [Wed, 26 Jun 2002 01:18:42 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.

22 years ago2002-06-25 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 26 Jun 2002 01:12:32 +0000 (01:12 +0000)]
2002-06-25  H.J. Lu <hjl@gnu.org>

* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.

22 years agodaily update
Alan Modra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update

22 years agoCheck unit->addr_size to read in the proper number of prologue bytes.
Nick Clifton [Tue, 25 Jun 2002 19:10:00 +0000 (19:10 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.

22 years agofixup position of #ifdef BFD64 for powerpc delta recently applied.
Nick Clifton [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.

22 years agoOnly create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
Nick Clifton [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

22 years ago * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
Alan Modra [Tue, 25 Jun 2002 09:40:45 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params.  Use PTR instead of
void *.  Include terminating NUL in namesz.  Correct padding.
Support NULL "name" param.  Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise.  Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.

22 years agoSet BSF_FUNCTION for symbols of type stProc and stStaticProc.
Nick Clifton [Tue, 25 Jun 2002 08:47:31 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.

22 years ago * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
Alan Modra [Tue, 25 Jun 2002 07:40:49 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

22 years ago * aout-adobe.c: Don't compare against "true" or "false.
Alan Modra [Tue, 25 Jun 2002 06:21:54 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".

* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.

22 years agomerge from gcc
DJ Delorie [Tue, 25 Jun 2002 01:03:52 +0000 (01:03 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
Ben Elliston [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago * elflink.h (elf_link_add_archive_symbols): For the default
Alan Modra [Sun, 23 Jun 2002 12:44:31 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.

22 years ago * elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
Alan Modra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt):  Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.

22 years ago * Makefile.in: Regenerate.
Alan Modra [Sun, 23 Jun 2002 02:09:05 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

22 years ago2002-06-23 Alan Modra <amodra@bigpond.net.au>
Alan Modra [Sun, 23 Jun 2002 02:04:28 +0000 (02:04 +0000)]
2002-06-23  Alan Modra  <amodra@bigpond.net.au>

* elflink.h: Comment typo fixes.

2002-06-23  H.J. Lu  <hjl@gnu.org>

* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.