OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
20 years agoCorrectly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.
Nick Clifton [Thu, 1 Apr 2004 08:22:47 +0000 (08:22 +0000)]
Correctly emit lo16 relocs for elf-dlx target, fixing bogus range checking bug.

20 years agomerge from gcc
DJ Delorie [Thu, 1 Apr 2004 02:00:55 +0000 (02:00 +0000)]
merge from gcc

20 years agodaily update
Alan Modra [Thu, 1 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
Paul Brook [Wed, 31 Mar 2004 10:20:12 +0000 (10:20 +0000)]
* elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
* elfarm-nabi.c (elf32_arm_howto_table): Ditto.

20 years ago(struct stab_link_includes_totals): Rename field 'total' to 'sum_chars'
Nick Clifton [Wed, 31 Mar 2004 09:27:40 +0000 (09:27 +0000)]
(struct stab_link_includes_totals): Rename field 'total' to 'sum_chars'
and add field 'num_chars'.
(_bfd_link_section_stabs): When computing the sum of the characters in a
B_INCL..B_EINCL range also keep a count of the number of characters.  Use
this information to help distinguish between include sections when have
the same sum but which nevertheless are still unique.

20 years ago(_bfd_link_section_stabs): Do not skip N_EXCL stabs.
Nick Clifton [Wed, 31 Mar 2004 08:45:00 +0000 (08:45 +0000)]
(_bfd_link_section_stabs): Do not skip N_EXCL stabs.

20 years agodaily update
Alan Modra [Wed, 31 Mar 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Tue, 30 Mar 2004 20:03:09 +0000 (20:03 +0000)]
merge from gcc

20 years ago Remove long-obsolete MPW support.
Stan Shebs [Tue, 30 Mar 2004 20:02:04 +0000 (20:02 +0000)]
    Remove long-obsolete MPW support.
        * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
        * Makefile.am (mpw): Remove file-presynthesizing actions.
        * Makefile.in: Likewise.
        * ldfile.c (slash): Remove MPW case.
        * ldlex.l [MPW]: Remove unused definition.

20 years ago * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
Stan Shebs [Tue, 30 Mar 2004 19:20:58 +0000 (19:20 +0000)]
    * mpw-config.in, mpw-make.sed, mac-binutils.r: Remove MPW
        support files, no longer used.

20 years ago Remove long-obsolete MPW support.
Stan Shebs [Tue, 30 Mar 2004 18:43:17 +0000 (18:43 +0000)]
    Remove long-obsolete MPW support.
        * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
        * configure.in: Remove mention of ppc-*-mpw* config.
        * configure.in: Likewise.

[testsuite/ChangeLog]
        * gas/macros/macros.exp: Remove mention of MPW config.

20 years agoAdd (linker) support for CR16C processor
Nick Clifton [Tue, 30 Mar 2004 14:04:32 +0000 (14:04 +0000)]
Add (linker) support for CR16C processor

20 years ago * elf.c (map_sections_to_segments): Fix handling of .tbss.
Jakub Jelinek [Tue, 30 Mar 2004 09:58:28 +0000 (09:58 +0000)]
* elf.c (map_sections_to_segments): Fix handling of .tbss.

20 years ago * binutils-all/objcopy.exp: Accept main as a data symbol as well.
Jakub Jelinek [Tue, 30 Mar 2004 09:54:15 +0000 (09:54 +0000)]
* binutils-all/objcopy.exp: Accept main as a data symbol as well.

20 years agoUpdated Swedish translation
Nick Clifton [Tue, 30 Mar 2004 09:48:30 +0000 (09:48 +0000)]
Updated Swedish translation

20 years agoFix bug parsing shigh(0xffff8000)
Nick Clifton [Tue, 30 Mar 2004 09:29:19 +0000 (09:29 +0000)]
Fix bug parsing shigh(0xffff8000)

20 years agomake use of meabi_flags be ELF specific
Nick Clifton [Tue, 30 Mar 2004 08:53:05 +0000 (08:53 +0000)]
make use of meabi_flags be ELF specific

20 years agodaily update
Alan Modra [Tue, 30 Mar 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
Stan Shebs [Mon, 29 Mar 2004 18:09:09 +0000 (18:09 +0000)]
    * mpw-config.in, mpw-make.sed: Remove MPW support files, no longer
        used.

20 years agodaily update
Alan Modra [Mon, 29 Mar 2004 00:00:05 +0000 (00:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Sun, 28 Mar 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago* ld-frv/fdpic*.d: Adjust to compensate for page size change.
Alexandre Oliva [Sat, 27 Mar 2004 21:11:17 +0000 (21:11 +0000)]
* ld-frv/fdpic*.d: Adjust to compensate for page size change.

20 years ago * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
Alan Modra [Sat, 27 Mar 2004 11:36:09 +0000 (11:36 +0000)]
* config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.

20 years ago * emultempl/elf32.em: Update new bfd_elf_discard_info name.
Alan Modra [Sat, 27 Mar 2004 10:58:35 +0000 (10:58 +0000)]
* emultempl/elf32.em: Update new bfd_elf_discard_info name.
* emultempl/hppaelf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/sh64elf.em: Likewise.

20 years ago * Makefile.am: Remove all mention of elflink.h.
Alan Modra [Sat, 27 Mar 2004 10:58:09 +0000 (10:58 +0000)]
* Makefile.am: Remove all mention of elflink.h.
* Makefile.in: Regenerate.
* bfd-in.h (bfd_elf_discard_info): Declare.
(bfd_elf32_discard_info, bfd_elf64_discard_info): Delete.
* bfd-in2.h: Regenerate.
* elf-bfd.h (bfd_elf32_print_symbol, bfd_elf64_print_symbol,
bfd_elf32_link_record_dynamic_symbol,
bfd_elf64_link_record_dynamic_symbol,
_bfd_elf_link_record_dynamic_symbol, bfd_elf32_bfd_final_link,
bfd_elf64_bfd_final_link, elf_link_record_local_dynamic_symbol,
_bfd_elf32_link_record_local_dynamic_symbol,
_bfd_elf64_link_record_local_dynamic_symbol,
_bfd_elf32_gc_sections, _bfd_elf32_gc_common_finalize_got_offsets,
_bfd_elf32_gc_common_final_link, _bfd_elf64_gc_common_final_link,
_bfd_elf32_gc_record_vtinherit, _bfd_elf32_gc_record_vtentry,
_bfd_elf64_gc_sections, _bfd_elf64_gc_common_finalize_got_offsets,
_bfd_elf64_gc_record_vtinherit, _bfd_elf64_gc_record_vtentry,
_bfd_elf32_reloc_symbol_deleted_p,
_bfd_elf64_reloc_symbol_deleted_p): Delete.
(bfd_elf_link_record_dynamic_symbol,
bfd_elf_link_record_local_dynamic_symbol,
bfd_elf_final_link, bfd_elf_gc_sections,
bfd_elf_gc_record_vtinherit, bfd_elf_gc_record_vtentry,
bfd_elf_gc_common_finalize_got_offsets, bfd_elf_gc_common_final_link,
bfd_elf_reloc_symbol_deleted_p): Declare.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
* elf32-arm.h: Update for changed function names.  Remove local
WILL_CALL_FINISH_DYNAMIC_SECTION define.
* elf-hppa.h, elf-m10300.c, elf32-cris.c, elf32-d10v.c, elf32-dlx.c,
* elf32-fr30.c, elf32-frv.c, elf32-h8300.c, elf32-hppa.c, elf32-i386.c,
* elf32-iq2000.c, elf32-m32r.c, elf32-m68hc1x.c, elf32-m68k.c,
* elf32-mcore.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
* elf32-sh.c, elf32-sparc.c, elf32-v850.c, elf32-vax.c,
* elf32-xstormy16.c, elf32-xtensa.c, elf64-alpha.c, elf64-hppa.c,
* elf64-mmix.c, elf64-ppc.c, elf64-s390.c, elf64-sh64.c, elf64-sparc.c,
* elf64-x86-64.c, elfxx-ia64.c, elfxx-mips.c, elfxx-target.h: Likewise.
* elfxx-target.h (bfd_elfNN_bfd_final_link): Define.
(bfd_elfNN_print_symbol): Define.
* elfcode.h: Don't include elflink.h.
(elf_bfd_discard_info, elf_reloc_symbol_deleted_p,
elf_link_record_dynamic_symbol, elf_bfd_final_link, elf_gc_sections,
elf_gc_common_finalize_got_offsets, elf_gc_common_final_link,
elf_gc_record_vtinherit, elf_gc_record_vtentry,
elf_link_record_local_dynamic_symbol): Don't define.
* elflink.c: Update for changed function names.  Move elflink.h
code here.
* elflink.h: Delete file.
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* bfdint.texi: Remove all mention of elflink.h.

20 years ago * gas/i860/dir-intel03-err.l: Update for junk at end line becoming
Alan Modra [Sat, 27 Mar 2004 10:43:58 +0000 (10:43 +0000)]
* gas/i860/dir-intel03-err.l: Update for junk at end line becoming
an error.
* gas/m68hc11/m68hc11.exp: Likewise.

20 years ago * elf64-mmix.c (mmix_elf_relocate_section): Restore code setting
Alan Modra [Sat, 27 Mar 2004 10:16:19 +0000 (10:16 +0000)]
* elf64-mmix.c (mmix_elf_relocate_section): Restore code setting
"name" for global syms accidentally removed in 2004-03-20 change.

20 years ago * elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field.
Alan Modra [Sat, 27 Mar 2004 10:08:59 +0000 (10:08 +0000)]
* elf-bfd.h (struct elf_reloc_cookie): Add r_sym_shift field.
* elflink.h: Replace all occurrences of sizeof (Elf_External_*)
where Elf_External_* is different for 64 and 32 bit, with
corresponding elf_size_info field.
(struct elf_final_link_info): Use "bfd_byte *" instead
of "Elf_External_Sym *" for external_syms and symbuf.
(elf_link_adjust_relocs): Set up r_type_mask and r_sym_shift local
vars and use instead of ELF_R_INFO and ELF_R_TYPE macros.
(struct elf_link_sort_rela): Add "sym_mask" alias for "offset".
(elf_link_sort_cmp1): Use sym_mask field instead of ELF_R_SYM.
(elf_link_sort_cmp2): Adjust.
(elf_link_sort_relocs): Set up r_sym_mask local var instead of
using ELF_R_SYM macro.  Set u.sym_mask.
(elf_bfd_final_link): Call _bfd_elf_stringtab_init instead of macro
version, elf_stringtab_init.  Ditto for bfd_section_from_elf_index
vs. section_from_elf_index.  Adjust Elf_External_Sym pointer
arithmetic.  Pass bed to elf_link_flush_output_syms.  Adjust
Elf_External_Dyn pointer arithmentic.  Use bed swap_dyn_in and
swap_syn_out functions.  Rearrange dyn swap in/out switch.
(elf_link_output_sym): Adjust Elf_External_Sym pointer arithmentic.
Pass bed to elf_link_flush_output_syms.  Use bed swap_symbol_out.
(elf_link_flush_output_syms): Add elf_backend_data arg.
(elf_link_check_versioned_symbol): Likewise.
(elf_link_output_extsym): Pass bed to elf_link_check_versioned_symbol.
Adjust Elf_External_Sym pointer arithmetic.  Use bed swap_symbol_out.
(elf_link_input_bfd): Use bfd_section_from_elf_index.  Set up
r_type_mask and r_sym_shift local vars and use instead of ELF_R_SYM,
ELF_R_TYPE and ELF_R_INFO macros.
(elf_reloc_link_order): Select ELF32_R_INFO or ELF64_R_INFO invocation
based on size rather than using ELF_R_INFO.
(elf_gc_mark): Set up r_sym_shift local var and use instead of
ELF_R_SYM macro.
(struct alloc_got_off_arg): New.
(elf_gc_common_finalize_got_offsets): Use elf_size_info instead of
ARCH_SIZE.  Pass get entry size down to elf_gc_allocate_got_offsets.
(elf_gc_allocate_got_offsets): Adjust.
(elf_reloc_symbol_deleted_p): Usee cookie.r_sym_shift instead of
ELF_R_SYM.  Use bfd_section_from_elf_index.
(elf_bfd_discard_info): Set cookie.r_sym_shift.
* elfcode.h (elf_stringtab_init, section_from_elf_index): Delete.
(elf_slurp_symbol_table): Use bfd_section_from_elf_index.

20 years ago Remove MPW support, no longer used.
Stan Shebs [Sat, 27 Mar 2004 05:45:50 +0000 (05:45 +0000)]
    Remove MPW support, no longer used.
        * config.bfd (powerpc-*-mpw*): Remove configuration.
        * mpw-config.in, mpw-make.sed: Remove files.
        * ecoffswap.h [MPW_C]: Remove MPW-C-friendly version of code.

20 years agodaily update
Alan Modra [Fri, 26 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * ld-powerpc/tlsexe.r: Update for changed sym type.
Alan Modra [Fri, 26 Mar 2004 06:14:18 +0000 (06:14 +0000)]
* ld-powerpc/tlsexe.r: Update for changed sym type.
* ld-powerpc/tlsexetoc.r: Likewise.

20 years ago * elf64-ppc.c (elf_backend_add_symbol_hook): Define.
Alan Modra [Fri, 26 Mar 2004 06:13:40 +0000 (06:13 +0000)]
* elf64-ppc.c (elf_backend_add_symbol_hook): Define.
(ppc64_elf_add_symbol_hook): New function.
* elf-bfd.h (struct elf_backend_data <elf_add_symbol_hook>): Remove
const from Elf_Internal_Sym param.
* elflink.c (elf_link_add_object_symbols): Adjust.
* elf-hppa.h (elf_hppa_add_symbol_hook): Adjust.
* elf32-frv.c (elf32_frv_add_symbol_hook): Adjust.
* elf32-i370.c (elf_backend_add_symbol_hook): Adjust.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Adjust.
* elf32-m68hc1x.c (elf32_m68hc11_add_symbol_hook): Adjust.
* elf32-m68hc1x.h (elf32_m68hc11_add_symbol_hook): Adjust.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Adjust.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Adjust.
* elf32-v850.c (v850_elf_add_symbol_hook): Adjust.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Adjust.
* elf64-mmix.c (mmix_elf_add_symbol_hook): Adjust.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Adjust.
* elf64-sparc.c (sparc64_elf_add_symbol_hook): Adjust.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Adjust.
* elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Adjust.
* elfxx-mips.h (_bfd_mips_elf_add_symbol_hook): Adjust.

20 years ago * elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define.
Alan Modra [Fri, 26 Mar 2004 05:55:15 +0000 (05:55 +0000)]
* elfxx-target.h (bfd_elfNN_bfd_link_add_symbols): Define.
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): Delete.
(_bfd_elf_sort_symbol, _bfd_elf_add_dt_needed_tag): Delete.
(_bfd_elf_finalize_dynstr, bfd_elf32_bfd_link_add_symbols): Delete.
(bfd_elf64_bfd_link_add_symbols): Delete.
(bfd_elf_link_add_symbols): Declare.
* elfcode.h (elf_bfd_link_add_symbols): Delete.
* elflink.c: Include safe-ctype.h.
(elf_add_dt_needed_tag): Rename from _bfd_elf_add_dt_needed_tag,
make static.
(elf_sort_symbol): Rename from _bfd_elf_sort_symbol, make static.
(elf_finalize_dynstr): Rename from _bfd_elf_finalize_dynstr, make
static.
(elf_link_add_archive_symbols): Rename from
_bfd_elf_link_add_archive_symbols, make static.
(elf_link_add_object_symbols): New function.  Corresponding
elflink.h function converted to use elf_size_info.
(bfd_elf_link_add_symbols): Likewise.
(bfd_elf_size_dynamic_sections): Adjust.
* elflink.h (elf_bfd_link_add_symbols): Delete.
(elf_link_add_object_symbols): Delete.
* elf32-gen.c (elf32_generic_link_add_symbols): Call
bfd_elf_link_add_symbols.
* elf64-gen.c (elf64_generic_link_add_symbols): Likewise.

20 years agomissed files in last commit
Alan Modra [Fri, 26 Mar 2004 04:42:57 +0000 (04:42 +0000)]
missed files in last commit

20 years agodaily update
Alan Modra [Thu, 25 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * mpw/: Remove subdirectory and everything in it.
Stan Shebs [Thu, 25 Mar 2004 22:22:59 +0000 (22:22 +0000)]
    * mpw/: Remove subdirectory and everything in it.

20 years agoRemove MPW sys include files
Stan Shebs [Thu, 25 Mar 2004 22:12:07 +0000 (22:12 +0000)]
Remove MPW sys include files

20 years ago Remove MPW support, no longer used.
Stan Shebs [Thu, 25 Mar 2004 17:51:10 +0000 (17:51 +0000)]
    Remove MPW support, no longer used.
        * mpw-README, mpw-build.in, mpw-config.in, mpw-configure,
        mpw-install: Remove files.
        * src-release (DEVO_SUPPORT): Remove names of removed files.
        * MAINTAINERS: Likewise.

20 years agobfd/
Alan Modra [Thu, 25 Mar 2004 12:48:45 +0000 (12:48 +0000)]
bfd/
* elflink.h (elf_link_add_object_symbols): Add DT_NEEDED for as-needed
and chained shared libs only if dynsym.  Clear dynsym on forced-local.

* elf-bfd.h (_bfd_elf_add_dynamic_entry): Declare.
(bfd_elf32_add_dynamic_entry, bfd_elf64_add_dynamic_entry): Delete.
(_bfd_elf_add_dt_needed_tag): Declare.
(_bfd_elf_sort_symbol): Declare.
(_bfd_elf_finalize_dynstr): Declare.
(RELOC_FOR_GLOBAL_SYM): Formatting.
* elfcode.h (elf_add_dynamic_entry): Delete.
* elflink.c (_bfd_elf_add_dynamic_entry): New function.  Corresponding
elflink.h function converted to use elf_size_info.
(_bfd_elf_add_dt_needed_tag): Likewise.
(_bfd_elf_sort_symbol): Likewise.
(_bfd_elf_finalize_dynstr): Likewise.
(compute_bucket_count): Likewise.
(bfd_elf_size_dynamic_sections): Likewise.  Check result of
_bfd_elf_strtab_add before calling _bfd_elf_strtab_addref.
(elf_adjust_dynstr_offsets, elf_collect_hash_codes): Moved from..
* elflink.h: ..here.
(sort_symbol, add_dt_needed_tag): Delete.
(elf_add_dynamic_entry, elf_finalize_dynstr): Delete.
(compute_bucket_count, NAME(bfd_elf,size_dynamic_sections)): Delete.
Update all users.
* elf32-arm.h (add_dynamic_entry): Update.  Remove casts.
* elf32-cris.c (add_dynamic_entry): Likewise.
* elf32-hppa.c (add_dynamic_entry): Likewise.
* elf32-i370.c (add_dynamic_entry): Likewise.
* elf32-i386.c (add_dynamic_entry): Likewise.
* elf32-m32r.c (add_dynamic_entry): Likewise.
* elf32-m68k.c (add_dynamic_entry): Likewise.
* elf32-ppc.c (add_dynamic_entry): Likewise.
* elf32-s390.c (add_dynamic_entry): Likewise.
* elf32-sh.c (add_dynamic_entry): Likewise.
* elf32-sparc.c (add_dynamic_entry): Likewise.
* elf32-vax.c (add_dynamic_entry): Likewise.
* elf32-xtensa.c (add_dynamic_entry): Likewise.
* elf64-alpha.c (add_dynamic_entry): Likewise.
* elf64-hppa.c (add_dynamic_entry): Likewise.
* elf64-ppc.c (add_dynamic_entry): Likewise.
* elf64-s390.c (add_dynamic_entry): Likewise.
* elf64-sparc.c (add_dynamic_entry): Likewise.
* elf64-x86-64.c (add_dynamic_entry): Likewise.
* elfxx-ia64.c (add_dynamic_entry): Likewise.
* elfxx-mips.c (MIPS_ELF_ADD_DYNAMIC_ENTRY): Likewise.
* elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Likewise.
* elf32-frv.c (elf32_frv_size_dynamic_sections): Likewise.
* elf64-sh64.c (sh64_elf64_size_dynamic_sections): Likewise.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
size_dynamic_sections call.

20 years ago * Makefile.tpl (top level bootstrap support): Remove now-unneeded
Nathanael Nerode [Thu, 25 Mar 2004 01:38:31 +0000 (01:38 +0000)]
* Makefile.tpl (top level bootstrap support): Remove now-unneeded
STRICT_WARN, WARN_CFLAGS flags passed down to make.
* Makefile.in: Regenerate.

20 years agodaily update
Alan Modra [Wed, 24 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * configure.in (top level bootstrap support): Rework --enable-werror
Nathanael Nerode [Wed, 24 Mar 2004 22:34:31 +0000 (22:34 +0000)]
* configure.in (top level bootstrap support): Rework --enable-werror
to set @stage2_werror_flag@.
* configure: Regenerate.
* Makefile.tpl (top level bootstrap support): Pass
@stage2_werror_flag@ down to configure in stages 2 and 3.
* Makefile.in: Regenerate.

20 years ago2004-03-23 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 24 Mar 2004 04:31:23 +0000 (04:31 +0000)]
2004-03-23  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure
for stages 2 and 3 as well as in make.  As a consequence, remove
OUTPUT_OPTION (now detected by configure) from the flags passed down
to make.
* Makefile.in: Regenerate.

* Makefile.tpl (new-bootstrap): Fix typo.
* Makefile.in: Regenerate.

20 years ago * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
Paul Brook [Tue, 23 Mar 2004 23:05:52 +0000 (23:05 +0000)]
* bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
* binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3.
* gas/config/tc-arm.c (meabi_flags): New variable.
(arm_parse_eabi): New function.
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
* include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add.
* doc/as.texinf <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.

20 years agodaily update
Alan Modra [Tue, 23 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agobfd/ChangeLog:
Bob Wilson [Tue, 23 Mar 2004 01:37:00 +0000 (01:37 +0000)]
bfd/ChangeLog:
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read
literal tables and check for relocs outside of literal pools.
(elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag.
(elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or
set DF_TEXTREL.
(elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry.
(elf_xtensa_relocate_section): Read literal tables and check for
dynamic relocations in read-only sections and not in literal pools.
gas/ChangeLog:
* config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
tables even when use_literal_section flag is not set.

20 years ago * gas/cfi/cfi-m68k.d: Adjust offsets.
Andreas Schwab [Mon, 22 Mar 2004 23:16:09 +0000 (23:16 +0000)]
* gas/cfi/cfi-m68k.d: Adjust offsets.

20 years agodaily update
Alan Modra [Mon, 22 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoinclude/
Alan Modra [Mon, 22 Mar 2004 22:58:04 +0000 (22:58 +0000)]
include/
PR 51.
* bfdlink.h (struct bfd_link_info): Add wrap_char.

bfd/
PR 51.
* linker.c (bfd_wrapped_link_hash_lookup): Handle info->wrap_char.

ld/
PR 51.
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
link_info.wrap_char.

20 years ago * Makefile.tpl: Rearrange by moving recursive_targets rules
Nathanael Nerode [Mon, 22 Mar 2004 11:59:20 +0000 (11:59 +0000)]
* Makefile.tpl: Rearrange by moving recursive_targets rules
into their proper sections.
* Makefile.tpl (top level bootstrap support): Move disabling
of coverage flags from 'make' to 'configure'; improve comments.
* Makefile.in: Regenerate.

* Makefile.tpl (experimental top level bootstrap) Move stage1
language setting from all- target to configure- target; disable
intermodule optimization in stage 1; prevent gratuitous rebuilds
of stage 1.
* Makefile.in: Regenerate.
* configure.in: Comma-separate stage 1 language list for top
level bootstrap.
* configure: Regenerate.

* Makefile.tpl: Clean up experimental top level bootstrap support:
note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate
prev-gcc in configure- targets as well as all- targets.
* Makefile.in: Regenerate.

20 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
Hans-Peter Nilsson [Mon, 22 Mar 2004 04:08:39 +0000 (04:08 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
R_CRIS_16_GOTPLT>: Also error if there's no PLT for a symbol
not defined by the executable, or defined in a DSO.
<eliding run-time relocation of .got>: Initialize GOT entry for a
function symbol or ELF_LINK_HASH_NEEDS_PLT statically in an
executable.
(cris_elf_gc_sweep_hook): Improve fallthrough marking.
(elf_cris_try_fold_plt_to_got): Improve head comment.  Do not fold
a PLT reloc to GOT for an executable.
(elf_cris_adjust_dynamic_symbol): Only fold a .got.plt entry with
.got for a DSO and explain why.
(elf_cris_discard_excess_program_dynamics): Also lose GOT-relocs
and unreferenced symbols for which a PLT is defined.  Adjust
dynamic-symbol pruning correspondingly, to make sure we don't lose
a dynamic symbol also defined by a DSO.

20 years ago * ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d,
Hans-Peter Nilsson [Mon, 22 Mar 2004 04:06:06 +0000 (04:06 +0000)]
* ld-cris/dsofnf.s, ld-cris/dsofnf2.s, ld-cris/gotplt1.d,
ld-cris/gotplt2.d, ld-cris/gotplt3.d: New tests.

20 years ago * readelf.c (display_debug_frames): Don't crash for mismatched
Richard Henderson [Mon, 22 Mar 2004 03:55:50 +0000 (03:55 +0000)]
    * readelf.c (display_debug_frames): Don't crash for mismatched
        DW_CFA_restore_state.

20 years ago * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section
Alan Modra [Mon, 22 Mar 2004 02:28:17 +0000 (02:28 +0000)]
* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Add input_bfd, input_section
and rel args.  Group input and output args.  Wrap to 80 columns.
* elf-m10200.c, elf-m10300.c, elf32-arm.h, elf32-avr.c,
elf32-cris.c, elf32-d10v.c, elf32-fr30.c, elf32-h8300.c,
elf32-hppa.c, elf32-i386.c, elf32-i860.c, elf32-ip2k.c,
elf32-iq2000.c, elf32-m68hc1x.c, elf32-m68k.c, elf32-mcore.c,
elf32-msp430.c, elf32-openrisc.c, elf32-ppc.c, elf32-s390.c,
elf32-sparc.c, elf32-v850.c, elf32-vax.c, elf32-xstormy16.c,
elf32-xtensa.c, elf64-alpha.c, elf64-mmix.c, elf64-ppc.c,
elf64-s390.c, elf64-sparc.c, elf64-x86-64.c, elfxx-ia64.c: Update
RELOC_FOR_GLOBAL_SYMBOL invocation.

20 years ago * config/tc-sh.c: Remove trailing whitespace.
Alan Modra [Mon, 22 Mar 2004 01:44:29 +0000 (01:44 +0000)]
* config/tc-sh.c: Remove trailing whitespace.

20 years ago * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
Hans-Peter Nilsson [Sun, 21 Mar 2004 23:50:38 +0000 (23:50 +0000)]
* doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
--mul-bug-abort and the default behavior.
* config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
(err_for_dangerous_mul_placement): New variable.
(STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
macros.
(md_cris_relax_table): Have placeholder for STATE_MUL.
(md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
(cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
case doing nothing.
(md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
STATE_BYTE)>: Ditto.
(md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
alignment and position of this frag, emit error message if
suspicious.
(md_assemble): For a multiply insn and when checking it,
transform the current frag into a special frag for that purpose.
(md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
OPTION_MULBUG_ABORT_ON>: Handle new options.

20 years ago * gas/cris/regreg.d: Assemble with --no-mul-bug-abort.
Hans-Peter Nilsson [Sun, 21 Mar 2004 23:47:54 +0000 (23:47 +0000)]
* gas/cris/regreg.d: Assemble with --no-mul-bug-abort.
* gas/cris/mulbug-err-1.s, gas/cris/rd-mulbug-1.d: New tests.

20 years agodaily update
Alan Modra [Sun, 21 Mar 2004 23:00:35 +0000 (23:00 +0000)]
daily update

20 years agoReorder it.
H.J. Lu [Sat, 20 Mar 2004 23:44:18 +0000 (23:44 +0000)]
Reorder it.

20 years agoCorrect the ChangeLog entry.
H.J. Lu [Sat, 20 Mar 2004 23:36:18 +0000 (23:36 +0000)]
Correct the ChangeLog entry.

20 years agobfd/
H.J. Lu [Sat, 20 Mar 2004 23:16:43 +0000 (23:16 +0000)]
bfd/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): Report error if
unresolved symbols in objects aren't allowed.

* elf-hppa.h (elf_hppa_relocate_section): Properly handle
unresolved symbols.
(elf_hppa_remark_useless_dynamic_symbols): Likewise.
(elf_hppa_unmark_useless_dynamic_symbols):
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_size_stubs): Likewise.
(elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

* elf-m10200.c (mn10200_elf_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_get_relocation_value): 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-v850.c (v850_elf_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.

include/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Correct comments for the
unresolved_syms_in_objects field.

ld/

2004-03-20  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (parse_args): Don't set unresolved_syms_in_objects
or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.

20 years agodaily update
Alan Modra [Sat, 20 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
Alexandre Oliva [Sat, 20 Mar 2004 05:49:27 +0000 (05:49 +0000)]
* emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.

20 years ago * elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
Dave Anglin [Sat, 20 Mar 2004 00:42:10 +0000 (00:42 +0000)]
* elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
(final_link_relocate): Likewise.

20 years agodaily update
Alan Modra [Fri, 19 Mar 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago * config/tc-xtensa.c (mark_literal_frags): New function.
Bob Wilson [Fri, 19 Mar 2004 22:35:32 +0000 (22:35 +0000)]
* config/tc-xtensa.c (mark_literal_frags): New function.
(xtensa_move_literals): Call mark_literal_frags for all literal
segments, including init and fini literal segments.
(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.

20 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
Dave Anglin [Fri, 19 Mar 2004 19:19:53 +0000 (19:19 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
(pa_comm): Set BSF_OBJECT in symbol flags.

20 years ago2004-03-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 19 Mar 2004 17:02:31 +0000 (17:02 +0000)]
2004-03-19  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elfvers/vers.exp: Add new tests for versioned weak
definition.

* ld-elfvers/vers28a.c: New file.
* ld-elfvers/vers28a.dsym: Likewise.
* ld-elfvers/vers28a.ver: Likewise.
* ld-elfvers/vers28b.c: Likewise.
* ld-elfvers/vers28b.dsym: Likewise.
* ld-elfvers/vers28b.map: Likewise.
* ld-elfvers/vers28b.ver: Likewise.
* ld-elfvers/vers28c.c: Likewise.
* ld-elfvers/vers28c.dsym: Likewise.
* ld-elfvers/vers28c.ver: Likewise.

20 years ago * po/sv.po: Updated.
Alan Modra [Fri, 19 Mar 2004 07:21:48 +0000 (07:21 +0000)]
* po/sv.po: Updated.

20 years ago * ld-scripts/provide-2.d: Ignore random symbols.
Alan Modra [Fri, 19 Mar 2004 07:14:44 +0000 (07:14 +0000)]
* ld-scripts/provide-2.d: Ignore random symbols.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:07:22 +0000 (07:07 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* gconfig.in: Regenerate.
* po/gprof.pot: Regenerate.

20 years ago * config.in: Regenerate.
Alan Modra [Fri, 19 Mar 2004 07:06:35 +0000 (07:06 +0000)]
* config.in: Regenerate.
* po/ld.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:05:56 +0000 (07:05 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/gas.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:03:40 +0000 (07:03 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/binutils.pot: Regenerate.

20 years ago * aclocal.m4: Regenerate.
Alan Modra [Fri, 19 Mar 2004 07:02:24 +0000 (07:02 +0000)]
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/opcodes.pot: Regenerate.

20 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 19 Mar 2004 07:00:51 +0000 (07:00 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* Makefile.in: Regenerate.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
Alan Modra [Fri, 19 Mar 2004 01:36:45 +0000 (01:36 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Revert last change.  Move
type and size change code to where it was previously.  Remove
dt_needed param.  Treat old weak syms as strong if new sym is
from a shared lib, even when old sym is from another shared
lib.  Remove unnecessary tests of oldweak and newweak.  Correct
comments.
(_bfd_elf_add_default_symbol): Remove dt_needed param.  Update
_bfd_elf_merge_symbol calls.
* elflink.h (elf_link_add_object_symbols): Update calls.  Remove
dt_needed local var.  Update comments.
* elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
(_bfd_elf_add_default_symbol): Likewise.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
Alan Modra [Thu, 18 Mar 2004 23:02:06 +0000 (23:02 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
strong syms in one shared object overriding weak syms in another.

20 years agodaily update
Alan Modra [Thu, 18 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * read.c (read_a_source_file): Use demand_empty_rest_of_line.
Nathan Sidwell [Thu, 18 Mar 2004 13:31:04 +0000 (13:31 +0000)]
* read.c (read_a_source_file): Use demand_empty_rest_of_line.
(demand_empty_rest_of_line): Issue an error here.
(ignore_rest_of_line): Silently skip to end.
(demand_copy_string): Issue an error, not warning.
(equals): Likewise.
* config/obj-elf.c (obj_elf_section_name): Likewise.
(obj_elf_section): Likewise.
* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
(arc_extinst): Likewise.
* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
(dot_spill): Likewise.
(dot_unwabi): Likewise.
(dot_prologue): Likewise.

20 years agobfd/
Alan Modra [Thu, 18 Mar 2004 12:50:20 +0000 (12:50 +0000)]
bfd/
* elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field.  Add
dyn_lib_class field.  Rearrange for better packing.
(elf_dt_soname): Delete.
(elf_dyn_lib_class): Define.
* elf.c (bfd_elf_set_dt_needed_name): Update comment.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): New function.
* elflink.h (add_dt_needed_tag): New function.  Split out from..
(elf_link_add_object_symbols): ..here.  Rename "name" to "soname".
Use elf_dyn_lib_class to set dt_needed and add_needed.  Move fallback
initialization of soname.
(elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of
elf_dt_soname.
* bfd-in.h (enum dynamic_lib_link_class): New.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): Declare.
* bfd-in2.h: Regenerate.
ld/
* ld.texinfo: Add --as-needed doco.
* ldmain.c (as_needed): New global var.
* ldmain.h (as_needed): Declare.
* lexsup.c (option_values): Add OPTION_AS_NEEDED and
OPTION_NO_AS_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.
* ldlang.h (lang_input_statement_type): Add as_needed field.
* ldlang.c (new_afile): Set p->as_needed.
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
(gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
(ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.

* ldlang.c (open_input_bfds): Remove useless cast.
(lang_do_assignments_1): Likewise.
(lang_for_each_input_section): Delete.

20 years ago * expr.c (operand): Reject ++ and --.
Nathan Sidwell [Thu, 18 Mar 2004 09:19:20 +0000 (09:19 +0000)]
* expr.c (operand): Reject ++ and --.
(operator): Likewise.

20 years ago * elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
Alan Modra [Thu, 18 Mar 2004 04:32:17 +0000 (04:32 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
(_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs.
* elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in
symbol loop.  Instead use add_needed to flag tag as written.

20 years agomerge from gcc
DJ Delorie [Thu, 18 Mar 2004 04:07:41 +0000 (04:07 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Thu, 18 Mar 2004 02:07:18 +0000 (02:07 +0000)]
merge from gcc

20 years ago[gas]
Kaz Kojima [Thu, 18 Mar 2004 00:49:23 +0000 (00:49 +0000)]
[gas]
* config/tc-sh.c: Include dw2gencfi.h.
(sh_cfi_frame_initial_instructions): New function.
(sh_regname_to_dw2regnum): Likewise.
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
file.
(TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Likewise.
(tc_regname_to_dw2regnum): Likewise.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.

[gas/testsuite]
* gas/cfi/cfi-sh-1.d: New file.
* gas/cfi/cfi-sh-1.s: Likewise.
* gas/cfi/cfi.exp: Add SH case.

20 years agodaily update
Alan Modra [Wed, 17 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-17 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Wed, 17 Mar 2004 19:26:07 +0000 (19:26 +0000)]
2004-03-17  Paolo Bonzini  <bonzini@gnu.org>

* configure.in: Remove symbolic link section.
* configure: Regenerate.
* Makefile.tpl (links): Remove.
* Makefile.in: Regenerate.

20 years ago * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
Nathan Sidwell [Wed, 17 Mar 2004 12:27:05 +0000 (12:27 +0000)]
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
logic for null_input_bfd detection.

20 years agoSwitch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
Alan Modra [Wed, 17 Mar 2004 00:46:25 +0000 (00:46 +0000)]
Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.

20 years agodaily update
Alan Modra [Tue, 16 Mar 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago2004-03-15 Paolo Bonzini <bonzini@gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 22:21:55 +0000 (22:21 +0000)]
2004-03-15  Paolo Bonzini  <bonzini@gnu.org>
            Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX):
        Set with AC_CHECK_PROGS.
* configure.in: Fix comment typo from last patch.
* configure: Regenerate.

20 years ago* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
Mark Kettenis [Tue, 16 Mar 2004 12:22:18 +0000 (12:22 +0000)]
* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
code.

20 years agoRevert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.
Alan Modra [Tue, 16 Mar 2004 11:46:15 +0000 (11:46 +0000)]
Revert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.

20 years agocopyright date.
Alan Modra [Tue, 16 Mar 2004 10:31:18 +0000 (10:31 +0000)]
copyright date.

20 years ago * elflink.c (elf_link_read_relocs_from_section): Don't use
Alan Modra [Tue, 16 Mar 2004 10:29:12 +0000 (10:29 +0000)]
* elflink.c (elf_link_read_relocs_from_section): Don't use
NUM_SHDR_ENTRIES in end of reloc calc.  Move NULL shdr check..
(_bfd_elf_link_read_relocs): ..to here.
* elf32-ppc.c (ppc_elf_relax_section): Formatting.

20 years ago * configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
Alan Modra [Tue, 16 Mar 2004 09:05:22 +0000 (09:05 +0000)]
* configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
values selected in configure.host.  Require both to be defined
before setting BFD_HOST_64_BIT_DEFINED.  Protect assignment to
corresponding BFD_HOST vars with quotes.
<${host64}-${target64}-${want64} in *true*>: Don't exempt gcc;
Always require BFD_HOST_64_BIT_DEFINED.
<file_ptr type>: Find off_t size before emitting message.  Combine
off_t and ftello64 conditional.
* configure: Regenerate.

20 years ago * elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
Alan Modra [Tue, 16 Mar 2004 01:49:30 +0000 (01:49 +0000)]
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
aliasing warning.  Remove trailing whitespace throughout file.

20 years agoopcodes/
Alan Modra [Tue, 16 Mar 2004 00:58:43 +0000 (00:58 +0000)]
opcodes/
* ppc-dis.c (print_insn_powerpc): Don't print tabs.  Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO.  Update all uses.
(powerpc_opcodes): Use RA0 as appropriate.  Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.

include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define.  Bump other operand defines.

gas/testsuite/
Update gas/ppc/.

ld/testsuite/
Update ld-powerpc/.

20 years ago2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Tue, 16 Mar 2004 00:04:59 +0000 (00:04 +0000)]
2004-03-15  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Introduce experimental top level bootstrap support.
* Makefile.in: Regenerate.
* configure.in: Introduce support for top level bootstrap.
* configure: Regenerate.