OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
Nick Clifton [Tue, 17 Jun 2003 11:01:17 +0000 (11:01 +0000)]
* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.

21 years ago(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_used
Nick Clifton [Tue, 17 Jun 2003 09:57:18 +0000 (09:57 +0000)]
(elf_gc_record_vtentry): Allocate an extra element in the vtable_entries_used
array to allow for the accessing the largest element.

21 years ago * elf64-ppc.c (struct ppc_link_hash_table): Remove top_index. Modify
Alan Modra [Tue, 17 Jun 2003 09:10:41 +0000 (09:10 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Remove top_index.  Modify
input_list.
(ppc64_elf_link_hash_table_create): Init input_list here.
(ppc64_elf_setup_section_lists): Remove code setting up input lists
per output section.  Set toc_off for abs and other standard sections.
(ppc64_elf_reinit_toc): Don't set elf_gp on input bfds lacking a toc.
(ppc64_elf_next_input_section): Adjust for single input section list.
Don't set toc_curr from input bfds that haven't set elf_gp.
(group_sections): Adjust for single input section list.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.
Alan Modra [Tue, 17 Jun 2003 00:25:45 +0000 (00:25 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct pcrel section zero.

21 years ago * config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.
Alan Modra [Tue, 17 Jun 2003 00:14:24 +0000 (00:14 +0000)]
* config/tc-ppc.c (md_apply_fix3): Allow BRTAKEN, BRNTAKEN relocs.

21 years agodaily update
Alan Modra [Tue, 17 Jun 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
Thiemo Seufer [Mon, 16 Jun 2003 12:13:10 +0000 (12:13 +0000)]
* config/tc-mips.c (ADDRESS_ADD_INSN,ADDRESS_ADDI_INSN,
ADDRESS_LOAD_INSN,ADDRESS_STORE_INSN): New macros.
(macro_build_ldst_constoffset,load_address,macro,s_cpsetup,
s_cprestore,s_cpadd): Use them.

21 years ago * ld-powerpc/tlsexetoc.d: Update.
Alan Modra [Mon, 16 Jun 2003 10:51:07 +0000 (10:51 +0000)]
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlstoc.d: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.

21 years ago * elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel
Alan Modra [Mon, 16 Jun 2003 10:50:22 +0000 (10:50 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): When optimizing toctprel
tls, check that a TOC16_DS or TOC16_LO_DS reloc isn't pointing to a
dtprel entry.  Ensure TLS_LD DTPMOD reloc has a zero addend.  Write
got section for RELATIVE relocs.  Fix wrong comment.  Change condition
under which dynamic relocs update the section contents.

21 years ago * configure.in: Add specific case for cris-*-linux-gnu* with
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:38:58 +0000 (00:38 +0000)]
* configure.in: Add specific case for cris-*-linux-gnu* with
em=linux.
* configure: Regenerate.
* config/tc-cris.c (DEFAULT_CRIS_AXIS_LINUX_GNU): New macro, TRUE
if TE_LINUX defined, else FALSE.
(bfd_boolean demand_register_prefix): Set default from
DEFAULT_CRIS_AXIS_LINUX_GNU.
(symbols_have_leading_underscore): Similar.
* config/tc-cris.h (LOCAL_LABELS_DOLLAR): Define to 1.

21 years ago * configure.tgt: Add specific case for cris-*-linux-gnu*
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:03:48 +0000 (00:03 +0000)]
* configure.tgt: Add specific case for cris-*-linux-gnu*
with crislinux emulation only.

21 years ago * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.
Hans-Peter Nilsson [Mon, 16 Jun 2003 00:02:36 +0000 (00:02 +0000)]
* ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*.
* ld-cris/noglob1.d: Ditto.
* ld-cris/badgotr1.d: Pass --underscore to gas.

21 years agodaily update
Alan Modra [Mon, 16 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * gas/cris: Match output having $ register prefix. Deal with
Hans-Peter Nilsson [Sun, 15 Jun 2003 23:46:37 +0000 (23:46 +0000)]
* gas/cris: Match output having $ register prefix.  Deal with
target variants default requiring register prefix on input.

21 years agodaily update
Alan Modra [Sun, 15 Jun 2003 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 14 Jun 2003 14:07:21 +0000 (14:07 +0000)]
2003-06-14  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-12 version.
* config.sub: Update to 2003-06-13 version.

21 years agodaily update
Alan Modra [Sat, 14 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.
Richard Earnshaw [Fri, 13 Jun 2003 16:45:55 +0000 (16:45 +0000)]
* gas/arm/arm.exp: Pass -mfpu=fpa option to the FPA instruction test.

21 years ago* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
Richard Earnshaw [Fri, 13 Jun 2003 15:20:26 +0000 (15:20 +0000)]
* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
FPU_ARCH_FPA for AOUT.
(md_begin): Don't try to guess the floating point architecture from
the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

21 years agoAdd i386-netbsd-gnu target.
Nick Clifton [Fri, 13 Jun 2003 13:17:58 +0000 (13:17 +0000)]
Add i386-netbsd-gnu target.

21 years ago(GNU_ABI_TAG_NETBSD): New tag.
Nick Clifton [Fri, 13 Jun 2003 13:07:51 +0000 (13:07 +0000)]
(GNU_ABI_TAG_NETBSD): New tag.
(GNU_ABI_TAG_FREEBSD): New tag.

21 years agomerge from gcc
DJ Delorie [Fri, 13 Jun 2003 01:50:48 +0000 (01:50 +0000)]
merge from gcc

21 years agodaily update
Alan Modra [Fri, 13 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * ld-mips-elf/elf-rel-got-n64-linux.d: New file.
Thiemo Seufer [Thu, 12 Jun 2003 17:07:14 +0000 (17:07 +0000)]
* ld-mips-elf/elf-rel-got-n64-linux.d: New file.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: New file.
* ld-mips-elf/mips-elf.exp: Use the new files for Linux.

21 years ago * MAINTAINERS: Add myself as MIPS co-maintainer.
Thiemo Seufer [Thu, 12 Jun 2003 16:47:09 +0000 (16:47 +0000)]
* MAINTAINERS: Add myself as MIPS co-maintainer.

21 years agoMerge these:
DJ Delorie [Thu, 12 Jun 2003 16:06:52 +0000 (16:06 +0000)]
Merge these:
2003-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32.
* configure. Regenerate.

2003-06-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Disable serial configure by default.
* configure: Regenerate.
* Makefile.tpl: Abolish .NOTPARALLEL.
* Makefile.in: Regenerate.

21 years ago2003-06-12 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 12 Jun 2003 14:41:29 +0000 (14:41 +0000)]
2003-06-12  H.J. Lu <hongjiu.lu@intel.com>

* config.guess: Update to 2003-06-06 version.
* config.sub: Update to 2003-06-06 version.

21 years ago * doc/as.texinfo (Comm): Added @node. Moved before CFI
Tom Tromey [Thu, 12 Jun 2003 14:32:19 +0000 (14:32 +0000)]
* doc/as.texinfo (Comm): Added @node.  Moved before CFI
directives node.

21 years agoAdd new switch to objcopy: --add-gnu-debuglink=<file>
Nick Clifton [Thu, 12 Jun 2003 07:23:31 +0000 (07:23 +0000)]
Add new switch to objcopy: --add-gnu-debuglink=<file>
Allows packages to be shipped in two forms, a stripped executable and debug
info file.

21 years ago(i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): New target (was i[3-7]86...
Nick Clifton [Thu, 12 Jun 2003 07:21:50 +0000 (07:21 +0000)]
(i[3-7]86-*-openbsd[0-2].* | i[3-7]86-*-openbsd3.[0-3]): New target (was i[3-7]86-*-openbsd* before).
(i[3-7]86-*-openbsd*): Change to use bfd_elf32_i386_vec.
(vax-*-openbsd*): New target.

21 years ago * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
Richard Sandiford [Thu, 12 Jun 2003 05:48:06 +0000 (05:48 +0000)]
* configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations
to $targ_extra_libpath.

21 years ago * config/tc-mips.c (append_insn): In a compound relocation, take the
Richard Sandiford [Thu, 12 Jun 2003 05:45:50 +0000 (05:45 +0000)]
* config/tc-mips.c (append_insn): In a compound relocation, take the
field width from the final (outermost) operator.

21 years agodaily update
Alan Modra [Thu, 12 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * dw2gencfi.c (struct cfi_escape_data): New.
Richard Henderson [Wed, 11 Jun 2003 23:16:58 +0000 (23:16 +0000)]
    * dw2gencfi.c (struct cfi_escape_data): New.
        (cfi_add_CFA_nop): Remove.
        (CFI_escape, dot_cfi_escape): New.
        (dot_cfi): Remove nop.
        (cfi_pseudo_table): Remove nop; add escape.
        (output_cfi_insn): Likewise.
        (select_cie_for_fde): Stop on escape.
        * dw2gencfi.h (cfi_add_CFA_nop): Remove.
        * read.c, read.h (do_parse_cons_expression): New.
        * doc/as.texinfo (.cfi_escape): New.

        * gas/cfi/cfi-common-3.[ds]: New.
        * gas/cfi/cfi.exp: Run it.

21 years ago * ld-mips-elf/relax-jalr.s: Fix testsuite breakage.
Thiemo Seufer [Wed, 11 Jun 2003 22:51:59 +0000 (22:51 +0000)]
* ld-mips-elf/relax-jalr.s: Fix testsuite breakage.
* ld-mips-elf/relax-jalr-n32.d: Likewise.
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
* ld-mips-elf/relax-jalr-n64.d: Likewise.
* ld-mips-elf/relax-jalr-n64-shared.d: Likewise.

21 years ago * elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options
Thiemo Seufer [Wed, 11 Jun 2003 21:01:50 +0000 (21:01 +0000)]
* elfxx-mips.c (MIPS_ELF_OPTIONS_SECTION_NAME): Use .MIPS.options
for n32, too.
(MIPS_ELF_STUB_SECTION_NAME): Use .MIPS.stubs for n32, too.
(mips_elf_rel_dyn_section): Use appropriate section alignment.
(mips_elf_create_got_section): Likewise.
(_bfd_mips_elf_create_dynamic_sections): Likewise.
* ld-mips-elf/multi-got-1.d: Adjust addresses.
* ld-mips-elf/rel32-n32.d: Likewise.

21 years ago * config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
Thiemo Seufer [Wed, 11 Jun 2003 20:59:09 +0000 (20:59 +0000)]
* config/tc-mips.c (s_cpsetup): Use mips_frame_reg instead of SP.
(s_cprestore): Likewise.
(s_cpreturn): Likewise.

21 years ago * config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
Thiemo Seufer [Wed, 11 Jun 2003 20:53:32 +0000 (20:53 +0000)]
* config/tc-mips.c (tc_gen_reloc): Initialize retval amd reloc
with zeros.

21 years ago * elf32-mips.c (mips_elf_generic_reloc): New Function.
Thiemo Seufer [Wed, 11 Jun 2003 16:22:26 +0000 (16:22 +0000)]
* elf32-mips.c (mips_elf_generic_reloc): New Function.
(elf_mips_howto_table_rel): Use it.
(gprel32_with_gp): Move prototype.
(mips_elf_hi16_reloc): Check for ! BSF_LOCAL instead of zero addend.
Use mips_elf_generic_reloc.
(mips_elf_got16_reloc): Check for ! BSF_LOCAL instead of zero addend.
Code cleanup.
(_bfd_mips_elf32_gprel16_reloc): Check for ! BSF_LOCAL instead of
zero addend.
(mips_elf_gprel32_reloc): Likewise. Use the same GP assignment logic
as in the other *_gprel*_reloc functions.
(gprel32_with_gp): Handle partial_inplace properly.
(mips32_64bit_reloc): Use mips_elf_generic_reloc.
(mips16_gprel_reloc): Check for ! BSF_LOCAL instead of zero addend.
Do addend handling directly instead of calling
_bfd_mips_elf_gprel16_with_gp. Handle partial_inplace properly.
* elf64-mips.c (mips_elf64_hi16_reloc): Check for ! BSF_LOCAL instead
of zero addend. Handle partial_inplace properly.
(mips_elf64_got16_reloc): Check for ! BSF_LOCAL instead of zero
addend.
(mips_elf64_gprel16_reloc): Likewise.
(mips_elf64_literal_reloc): Likewise.
(mips_elf64_gprel32_reloc): Likewise. Use the same GP assignment
logic as in the other *_gprel*_reloc functions. Handle
partial_inplace properly.
(mips_elf64_shift6_reloc): Check for ! BSF_LOCAL instead of zero
addend. Handle partial_inplace properly.
(mips16_gprel_reloc): Likewise. Do addend handling directly instead
of calling _bfd_mips_elf_gprel16_with_gp.
* elfn32-mips.c (mips_elf_got16_reloc): Check for BSF_LOCAL.
(mips_elf_gprel32_reloc): Check for ! BSF_LOCAL instead
of zero addend.
(mips_elf_shift6_reloc): Handle partial_inplace properly.
(mips16_gprel_reloc): Likewise. Do addend handling directly instead
of calling _bfd_mips_elf_gprel16_with_gp.
* elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Handle
partial_inplace properly. Fix wrong addend handling. Fix overflow
check.
(_bfd_mips_elf_sign_extend): Renamed from mips_elf_sign_extend and
exported.
(mips_elf_calculate_relocation): Use _bfd_mips_elf_sign_extend.
(_bfd_mips_elf_relocate_section): Likewise.
(mips_elf_create_dynamic_relocation): Update sec_info_type access.
* elfxx-mips.h (_bfd_mips_relax_section): Fix prototype declaration.
(_bfd_mips_elf_sign_extend): New prototype.
* config/tc-mips.c (md_pcrel_from): Return actual pcrel address.
(md_apply_fix3): Ignore non-special relocations. Remove superfluous
exceptions from size assert. Remove most of the addend fixup
specialcasing. Remove value, use valP directly. simplify fx_addnumber
handling. Remove zero addend specialcases.
(tc_gen_reloc): Use appropriate value for reloc2 addend. Remove
the addend fixup specialcase.
* config/tc-mips.h (MD_APPLY_SYM_VALUE): Define as 0.

21 years ago* configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo.
Nick Clifton [Wed, 11 Jun 2003 13:38:07 +0000 (13:38 +0000)]
* configure.in (vax-*-openbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

21 years ago* config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): New target
Nick Clifton [Wed, 11 Jun 2003 13:34:50 +0000 (13:34 +0000)]
* config.bfd (sparc-*-openbsd[0-2].* | sparc-*-openbsd3.[0-1]): New target
  (was sparc-*-openbsd* before).
  (sparc-*-openbsd*): Change to use bfd_elf32_sparc_vec.

21 years ago * write.c (write_relocs): Use xcalloc. Fix relocs initialization
Thiemo Seufer [Wed, 11 Jun 2003 10:32:08 +0000 (10:32 +0000)]
* write.c (write_relocs): Use xcalloc. Fix relocs initialization
in the RELOC_EXPANSION_POSSIBLE case.

21 years ago * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and
Alan Modra [Wed, 11 Jun 2003 06:20:44 +0000 (06:20 +0000)]
* ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and
xfail for hppa duplicated elsewhere.

21 years ago * config/tc-i960.c (line_comment_chars): Add '#'.
Alan Modra [Wed, 11 Jun 2003 06:11:45 +0000 (06:11 +0000)]
* config/tc-i960.c (line_comment_chars): Add '#'.
* config/tc-mn10200.c (tc_gen_reloc): Don't ignore fx_subsy.

21 years ago * gas/macros/app1.d: Ignore section symbols.
Alan Modra [Wed, 11 Jun 2003 05:56:14 +0000 (05:56 +0000)]
* gas/macros/app1.d: Ignore section symbols.
* gas/macros/app2.d: Likewise.
* gas/macros/app3.d: Likewise.
* gas/macros/app4.d: Likewise.

21 years agobfd/
H.J. Lu [Wed, 11 Jun 2003 01:32:08 +0000 (01:32 +0000)]
bfd/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

binutils/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

gas/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

gprof/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

ld/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

opcodes/

2003-06-06  H.J. Lu <hongjiu.lu@intel.com>

* po/Make-in (DESTDIR): New.
(install-data-yes): Support $(DESTDIR).
(uninstall): Likewise.

21 years agodaily update
Alan Modra [Wed, 11 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* bfd/Makefile.am (config.status): Depend on version.h.
Alan Modra [Tue, 10 Jun 2003 23:44:42 +0000 (23:44 +0000)]
* bfd/Makefile.am (config.status): Depend on version.h.
Run "make dep-am" in bfd/ and elsewhere, and regen files.

21 years ago * Makefile.am (ALL_EMULATIONS): Add em32relf.o.
Doug Evans [Tue, 10 Jun 2003 23:29:19 +0000 (23:29 +0000)]
* Makefile.am (ALL_EMULATIONS): Add em32relf.o.
* Makefile.in: Regenerate.

21 years ago * Makefile.tpl: Replace {build,host,target}_canonical by
Nathanael Nerode [Tue, 10 Jun 2003 22:25:49 +0000 (22:25 +0000)]
* Makefile.tpl: Replace {build,host,target}_canonical by
{build,host,target}.
* Makefile.in: Regenerate.

21 years agoopcodes:
Doug Evans [Tue, 10 Jun 2003 22:08:45 +0000 (22:08 +0000)]
opcodes:
* cgen-asm.in (@arch@_cgen_assemble_insn): CGEN_INSN_RELAX renamed to
CGEN_INSN_RELAXED.
* fr30-asm.c,fr30-desc.c,fr30-desc.h: Regenerate.
* frv-asm.c,frv-desc.c,frv-desc.h: Regenerate.
* ip2k-asm.c,ip2k-desc.c,ip2k-desc.h: Regenerate.
* iq2000-asm.c,iq2000-desc.c,iq2000-desc.h: Regenerate.
* m32r-asm.c,m32r-desc.c,m32r-desc.h,m32r-opc.c: Regenerate.
* openrisc-asm.c,openrisc-desc.c,openrisc-desc.h: Regenerate.
* xstormy16-asm.c,xstormy16-desc.c,xstormy16-desc.h: Regenerate.
gas:
* cgen.c (gas_cgen_finish_insn): CGEN_INSN_RELAX renamed to
CGEN_INSN_RELAXED.
* config/tc-fr30.c (md_estimate_size_before_relax): Ditto.
* config/tc-m32r.c (md_estimate_size_before_relax): Ditto.
* config/tc-openrisc.c (md_estimate_size_before_relax): Ditto.

21 years ago * frv.cpu: Add IDOC attribute.
Doug Evans [Tue, 10 Jun 2003 21:24:48 +0000 (21:24 +0000)]
* frv.cpu: Add IDOC attribute.

21 years ago * gas/mips/mips.exp: Fix typo.
Thiemo Seufer [Tue, 10 Jun 2003 19:45:24 +0000 (19:45 +0000)]
* gas/mips/mips.exp: Fix typo.
* gas/mips/elempic.d: Force o64 ABI.
* gas/mips/telempic.d: Likewise.
* ld-mips-elf/rel32-n32.d: Force big endian assembly.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.

21 years ago * gdb/fileio.h: New file.
Corinna Vinschen [Tue, 10 Jun 2003 14:23:05 +0000 (14:23 +0000)]
* gdb/fileio.h: New file.

21 years ago * Makefile.tpl: Fix stupid pasto.
Nathanael Nerode [Tue, 10 Jun 2003 13:37:14 +0000 (13:37 +0000)]
* Makefile.tpl: Fix stupid pasto.
* Makefile.in: Regenerate.

21 years ago * gas/cfi/cfi.exp: Use here. Only run tests when ELF.
Alan Modra [Tue, 10 Jun 2003 13:31:59 +0000 (13:31 +0000)]
* gas/cfi/cfi.exp: Use here.  Only run tests when ELF.
* gas/macros/and.s: Avoid .set so we don't break mips.

21 years ago * gas/macros/and.s: Avoid .set so we don't break mips.
Alan Modra [Tue, 10 Jun 2003 13:24:33 +0000 (13:24 +0000)]
* gas/macros/and.s: Avoid .set so we don't break mips.

21 years ago * gas/macros/and.s: New.
Alan Modra [Tue, 10 Jun 2003 09:23:47 +0000 (09:23 +0000)]
* gas/macros/and.s: New.
* gas/macros/macros.exp: Assemble it.

21 years ago * scripttempl/h8300sxn.sc: New file.
Richard Sandiford [Tue, 10 Jun 2003 08:31:04 +0000 (08:31 +0000)]
* scripttempl/h8300sxn.sc: New file.

21 years agoAdd "attn", "lq" and "stq" power4 insns.
Alan Modra [Tue, 10 Jun 2003 07:44:11 +0000 (07:44 +0000)]
Add "attn", "lq" and "stq" power4 insns.

21 years agoinclude/opcode/
Richard Sandiford [Tue, 10 Jun 2003 07:33:46 +0000 (07:33 +0000)]
include/opcode/
* h8300.h (IMM4_NS, IMM8_NS): New.
(h8_opcodes): Replace IMM4 with IMM4_NS in mov.b and mov.w entries.
Likewise IMM8 for mov.w and mov.l.  Likewise IMM16U for mov.l.

gas/testsuite
* gas/h8300/h8sx_mov_imm.[sd]: New test.
* gas/h8300/h8300.exp: Run it.

21 years agoopcodes/
Richard Sandiford [Tue, 10 Jun 2003 07:27:56 +0000 (07:27 +0000)]
opcodes/
* h8300-dis.c (bfd_h8_disassemble): Don't print brackets round
rts/l and rte/l register lists.

gas/
* config/tc-h8300.c (get_rtsl_operands): Accept unbracketed register
lists.  Allow single-register ranges.

testsuite/
* gas/h8300/h8sx_rtsl.[sd]: New test.
* gas/h8300/h8300.exp: Run it.

21 years ago * gas/h8300/h8sx_disp2.[sd]: New test.
Richard Sandiford [Tue, 10 Jun 2003 07:22:22 +0000 (07:22 +0000)]
* gas/h8300/h8sx_disp2.[sd]: New test.
* gas/h8300/h8300.exp: Run it.

21 years agoFix last changelog.
Richard Sandiford [Tue, 10 Jun 2003 07:14:29 +0000 (07:14 +0000)]
Fix last changelog.

21 years agoinclude/elf/
Richard Sandiford [Tue, 10 Jun 2003 07:09:31 +0000 (07:09 +0000)]
include/elf/
* h8.h (E_H8_MACH_H8300SXN): New flag.

bfd/
* archures.c (bfd_mach_h8300sxn): New architecture.
* bfd-in2.h: Regenerate.
* cpu-h8300.c (h8300_scan): Check for 'sxn'.
(h8300sxn_info_struct): New.
(h8300sx_info_struct): Link to it.
* elf32-h8300.c (elf32_h8_mach): Add h8300sxn case.
(elf32_h8_final_write_processing): Likewise.

gas/
* config/tc-h8300.c (h8300sxnmode): New.
(md_pseudo_table): Add .h8300sxn entry.  Sync others with FSF version.

ld/
* configure.tgt (h8300*): Add h8300sxn emulations.
* Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o.
(eh8300sxn.c, eh8300sxnelf.c): New rules.
* Makefile.in: Regenerate.
* emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files.

21 years ago2003-06-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 10 Jun 2003 06:46:34 +0000 (06:46 +0000)]
2003-06-09  H.J. Lu <hongjiu.lu@intel.com>

* NEWS: Updated for the new -n option for the i386 assembler.

* config/tc-i386.c (optimize_align_code): New.
(md_shortopts): Add 'n'.
(md_parse_option): Handle 'n'.
(md_show_usage): Add '-n'.

* config/tc-i386.h (optimize_align_code): Declared.
(md_do_align): Optimize code alignment only if optimize_align_code
is not 0.

* doc/as.texinfo: Add the new -n option.

* doc/c-i386.texi: Document the new -n option.

21 years ago * ld-elfvsb/elfvsb.exp: Run for powerpc64 too.
Alan Modra [Tue, 10 Jun 2003 04:36:01 +0000 (04:36 +0000)]
* ld-elfvsb/elfvsb.exp: Run for powerpc64 too.
* ld-powerpc/tls.t: Update.
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsexetoc.t: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.g: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlsso.t: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.g: Update.
* ld-powerpc/tlstocso.r: Update.
* ld-powerpc/tlstocso.t: Update.

21 years ago * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
Alan Modra [Tue, 10 Jun 2003 04:35:28 +0000 (04:35 +0000)]
* emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS,
CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define.

21 years ago * Makefile.tpl: Remove bogus conditional.
Nathanael Nerode [Tue, 10 Jun 2003 02:11:57 +0000 (02:11 +0000)]
* Makefile.tpl: Remove bogus conditional.
* Makefile.in: Regenerate.

21 years agodaily update
Alan Modra [Tue, 10 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agodaily update
Alan Modra [Mon, 9 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
Alan Modra [Sun, 8 Jun 2003 14:07:34 +0000 (14:07 +0000)]
* emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars.
(build_toc_list): New function.
(gld${EMULATION_NAME}_finish): Call build_toc_list and
ppc64_elf_reinit_toc.  Adjust ppc64_elf_build_stubs call.
(OPTION_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Document.
(PARSE_AND_LIST_ARGS_CASES): Handle.

21 years ago * elf64-ppc.c: Move TARGET_LITTLE_SYM and other macros used by
Alan Modra [Sun, 8 Jun 2003 14:06:38 +0000 (14:06 +0000)]
* elf64-ppc.c: Move TARGET_LITTLE_SYM and other macros used by
elfxx-target.h so that we can use elf_backend_got_header_size.
(ELF_MACHINE_ALT1, ELF_MACHINE_ALT2): Delete.
(GLINK_CALL_STUB_SIZE): Modify.  Define new glink call stub and
associated macros.
(ppc64_elf_howto_raw <GOT_TPREL16_DS, GOT_TPREL16_LO_DS>): Correct
dst_mask.
(enum ppc_stub_type): Add ppc_stub_long_branch_r2off and
ppc_stub_plt_branch_r2off.
(struct ppc_stub_hash_entry): Reorganize.
(struct ppc_link_hash_table): Add no_multi_toc, multi_toc_needed,
toc_curr, toc_off and emit_stub_syms.
(ppc64_elf_link_hash_table_create): Init them.
(ppc_stub_name): Correct string size.
(ppc64_elf_check_relocs): Set has_gp_reloc on GOT and TOC relocs.
(ppc64_elf_size_dynamic_sections): Set no_multi_toc if GOT entries
used.
(ppc_type_of_stub): Tweak root.type test.
(build_plt_stub): Remove glink code.  Adjust for insn macro changes.
(ppc_size_one_stub): Handle ppc_stub_long_branch_r2off and
ppc_stub_plt_branch_r2off.
(ppc_build_one_stub): Likewise.  Fix var shadowing.  Correct addis,addi
range test.  Use toc_off to calculte r2 values.  Handle emit_stub_syms.
(ppc64_elf_setup_section_lists): Remove htab creator flavour test.
Initialize elf_gp and toc_curr.
(ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): New functions.
(ppc64_elf_next_input_section): Set toc_off.
(group_sections): Ensure groups have the same TOC.
(ppc64_elf_size_stubs): Check whether we need a TOC adjusting stub.
(ppc64_elf_build_stubs): Add emit_stub_syms param, and stash in htab.
Build new glink stub.
(ppc64_elf_relocate_section): Handle multiple TOCs.  Fix comments.
(ppc64_elf_finish_dynamic_sections): Adjust DT_PPC64_GLINK.
* elf64-ppc.h (ppc64_elf_build_stubs): Update prototype.
(ppc64_elf_next_toc_section, ppc64_elf_reinit_toc): Declare.
* section.c (struct sec): Rename flag12 to has_gp_reloc.
(STD_SECTION): Update.
* ecoff.c (bfd_debug_section): Update comment.
* bfd-in2.h: Regenerate.

21 years ago * doc/as.texinfo: Document .cfi_rel_offset.
Richard Henderson [Sun, 8 Jun 2003 10:06:17 +0000 (10:06 +0000)]
    * doc/as.texinfo: Document .cfi_rel_offset.

21 years ago * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
Richard Henderson [Sun, 8 Jun 2003 03:59:44 +0000 (03:59 +0000)]
    * dw2gencfi.c (struct cfa_save_data, cfa_save_stack): New.
        (cfi_add_CFA_offset): Detect invalid offsets.
        (cfi_add_CFA_remember_state): Save cur_cfa_offset.
        (cfi_add_CFA_restore_state): Restore it.
        (CFI_rel_offset): New.
        (cfi_pseudo_table): Add it.
        (dot_cfi): Handle it.

        * gas/cfi/cfi-common-1.d, gas/cfi/cfi-common-1.s: New.
        * gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-2.s: New.
        * gas/cfi/cfi-diag-1.d, gas/cfi/cfi-diag-1.s: New.
        * gas/cfi/cfi.exp: Run them.

21 years agodaily update
Alan Modra [Sun, 8 Jun 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 7 Jun 2003 14:53:59 +0000 (14:53 +0000)]
2003-06-07  H.J. Lu <hongjiu.lu@intel.com>

* app.c (do_scrub_chars): Add states 14 and 15 to handle
predicate for ia64.

21 years agodaily update
Alan Modra [Sat, 7 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 6 Jun 2003 21:49:30 +0000 (21:49 +0000)]
2003-06-06  Andrew Cagney  <cagney@redhat.com>

Contributed by Red Hat.
* iq2000.cpu: New file.  Written by Ben Elliston, Jeff Johnston,
Stan Cox, and Frank Ch. Eigler.
* iq2000.opc: New file.  Written by Ben Elliston, Frank
Ch. Eigler, Chris Moller, Jeff Johnston, and Stan Cox.
* iq2000m.cpu: New file.  Written by Jeff Johnston.
* iq10.cpu: New file.  Written by Jeff Johnston.

21 years ago.
Roland McGrath [Fri, 6 Jun 2003 06:28:50 +0000 (06:28 +0000)]
.

21 years ago2003-06-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 6 Jun 2003 06:28:42 +0000 (06:28 +0000)]
2003-06-05  Roland McGrath  <roland@redhat.com>

* emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove
extra \t in -z noexecstack line.

21 years ago * elfcode.h (elf_slurp_reloc_table_from_section): Don't dereference
Daniel Jacobowitz [Fri, 6 Jun 2003 02:12:04 +0000 (02:12 +0000)]
* elfcode.h (elf_slurp_reloc_table_from_section): Don't dereference
NULL function pointers.

21 years agodaily update
Alan Modra [Fri, 6 Jun 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-06-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Jun 2003 18:53:35 +0000 (18:53 +0000)]
2003-06-05  Michael Snyder  <msnyder@redhat.com>

* config/tc-h8sx.c (get_specific): Distinguish h8h from h8s ops.
(build_bytes): Ditto.

2003-06-05  Richard Sandiford  <rsandifo@redhat.com>

* config/tc-h8sx.c (DMODE): Remove.
(colonmod24): Don't choose a default if the operand is a 16-bit
constant integer.
(fix_operand_size): New function.
(md_assemble): Use it to choose between @(d:2, ERn) and @(d:16,ERn).
Adjust @(d:2,ERn) operands before choosing the specific opcodes.

21 years ago2003-06-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Jun 2003 18:52:00 +0000 (18:52 +0000)]
2003-06-05  Michael Snyder  <msnyder@redhat.com>

* gas/h8300/t01_mov.s: New file, tests mov instructions.
* gas/h8300/t02_mova.s: New file, tests mova instructions.
* gas/h8300/t03_add.s: New file, tests add instructions.
* gas/h8300/t04_sub.s: New file, tests sub instructions.
* gas/h8300/t05_cmp.s: New file, tests cmp instructions.
* gas/h8300/t06_ari2.s: New file, tests arithmetic instructions.
* gas/h8300/t07_ari3.s: New file, tests arithmetic instructions.
* gas/h8300/t08_or.s: New file, tests or instructions.
* gas/h8300/t09_xor.s: New file, tests xor instructions.
* gas/h8300/t10_and.s: New file, tests and instructions.
* gas/h8300/t11_logs.s: New file, tests logical instructions.
* gas/h8300/t12_bit.s: New file, tests bit instructions.
* gas/h8300/t13_otr.s.s: New file, tests misc. instructions.
* gas/h8300/t01_mov.exp: New file.
* gas/h8300/t02_mova.exp: New file.
* gas/h8300/t03_add.exp: New file.
* gas/h8300/t04_sub.exp: New file.
* gas/h8300/t05_cmp.exp: New file.
* gas/h8300/t06_ari2.exp: New file.
* gas/h8300/t07_ari3.exp: New file.
* gas/h8300/t08_or.exp: New file.
* gas/h8300/t09_xor.exp: New file.
* gas/h8300/t10_and.exp: New file.
* gas/h8300/t11_logs.exp: New file.
* gas/h8300/t12_bit.exp: New file.
* gas/h8300/t13_otr.exp: New file.

21 years ago2003-06-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 5 Jun 2003 18:47:12 +0000 (18:47 +0000)]
2003-06-03  Michael Snyder  <msnyder@redhat.com>

* h8sx.h (enum h8_model): Add AV_H8S to distinguish from H8H.
(ldc): Split ccr ops from exr ops (which are only available
on H8S or H8SX).
(stc): Ditto.
(andc, orc, xorc): Ditto.
(ldmac, stmac, clrmac, mac): Change access to AV_H8S.

21 years agomerge from gcc
DJ Delorie [Thu, 5 Jun 2003 17:03:32 +0000 (17:03 +0000)]
merge from gcc

21 years agoAdd code to handle even-numbered only register operands
Nick Clifton [Thu, 5 Jun 2003 16:04:20 +0000 (16:04 +0000)]
Add code to handle even-numbered only register operands

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Call
Daniel Jacobowitz [Thu, 5 Jun 2003 14:07:52 +0000 (14:07 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Call
_bfd_generic_link_add_symbols instead of bfd_link_add_symbols.

21 years ago2003-06-05 Michal Ludvig <mludvig@suse.cz>
Michal Ludvig [Thu, 5 Jun 2003 09:23:47 +0000 (09:23 +0000)]
2003-06-05  Michal Ludvig  <mludvig@suse.cz>

* dw2gencfi.c (cfi_add_CFA_insn, cfi_add_CFA_insn_reg)
(cfi_add_CFA_insn_reg_reg, cfi_add_CFA_insn_reg_offset): New.
(cfi_add_CFA_offset, cfi_add_CFA_def_cfa)
(cfi_add_CFA_register, cfi_add_CFA_def_cfa_register)
(cfi_add_CFA_def_cfa_offset): Use cfi_add_CFA_insn_*().
(cfi_add_CFA_restore, cfi_add_CFA_undefined)
(cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
(cfi_add_CFA_restore_state, cfi_add_CFA_nop): New.
(cfi_pseudo_table): New directives .cfi_return_column,
.cfi_restore, .cfi_undefined, .cfi_same_value,
.cfi_remember_state, .cfi_restore_state, .cfi_nop.
(dot_cfi, output_cfi_insn): Handle new directives.
* dw2gencfi.h (cfi_add_CFA_restore, cfi_add_CFA_undefined)
(cfi_add_CFA_same_value, cfi_add_CFA_remember_state)
(cfi_add_CFA_restore_state, cfi_add_CFA_nop): New prototypes.

21 years ago * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.
Richard Henderson [Thu, 5 Jun 2003 06:53:40 +0000 (06:53 +0000)]
    * dw2gencfi.c (output_cfi_insn): Fix typo for negative offsets.

21 years ago * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.
Richard Henderson [Thu, 5 Jun 2003 05:25:38 +0000 (05:25 +0000)]
    * dw2gencfi.c (cfi_finish): Set .eh_frame read-only.

21 years ago * config/tc-alpha.c (s_alpha_usepv): New.
Richard Henderson [Thu, 5 Jun 2003 03:27:03 +0000 (03:27 +0000)]
    * config/tc-alpha.c (s_alpha_usepv): New.
        (md_pseudo_table): Add it.
        (alpha_cfi_frame_initial_instructions): New.
        * config/tc-alpha.h (TARGET_USE_CFIPOP): New.
        (tc_cfi_frame_initial_instructions): New.
        * doc/c-alpha.texi: Document .usepv.

        * gas/alpha/elf-usepv-1.[sd]: New.
        * gas/alpha/elf-usepv-2.[sd]: New.
        * gas/alpha/alpha.exp: Run them.
        * gas/cfi/cfi-alpha-3.[sd]: New.
        * gas/cfi/cfi.exp: Run it.

21 years ago * as.c (show_usage): Document --execstack and --noexecstack.
Jakub Jelinek [Wed, 4 Jun 2003 16:54:45 +0000 (16:54 +0000)]
* as.c (show_usage): Document --execstack and --noexecstack.
(parse_args): Add --execstack and --noexecstack.
(main): Create .note.GNU-stack section if --execstack or
--noexecstack was given on comand line, set its SHF_EXECINSTR bit.
* as.h (flag_execstack, flag_noexecstack): New.

21 years agoMoved the ticoff0/1 swaptables and coff0/1 bad format hooks to coffcode.h
Svein Seldal [Wed, 4 Jun 2003 11:38:30 +0000 (11:38 +0000)]
Moved the ticoff0/1 swaptables and coff0/1 bad format hooks to coffcode.h

21 years agoAltered the CREATE_xxx_COFF_TARGET_VEC macro arguments -- changelog dropped out
Svein Seldal [Wed, 4 Jun 2003 11:15:09 +0000 (11:15 +0000)]
Altered the CREATE_xxx_COFF_TARGET_VEC macro arguments -- changelog dropped out

21 years agoAltered the CREATE_xxx_COFF_TARGET_VEC macro arguments
Svein Seldal [Wed, 4 Jun 2003 10:47:33 +0000 (10:47 +0000)]
Altered the CREATE_xxx_COFF_TARGET_VEC macro arguments

21 years agoFixed initialization bug
Svein Seldal [Wed, 4 Jun 2003 10:11:02 +0000 (10:11 +0000)]
Fixed initialization bug

21 years ago2003-06-03 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 4 Jun 2003 06:38:38 +0000 (06:38 +0000)]
2003-06-03  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c: (OPTION_ARCH_BASE, OPTION_ASE_BASE)
        (OPTION_COMPAT_ARCH_BASE, OPTION_FIX_BASE)
        (OPTION_MISC_BASE): New defines.
        (OPTION_BREAK, OPTION_CONSTRUCT_FLOATS, OPTION_EB, OPTION_EL)
        (OPTION_ELF_BASE, OPTION_FIX_VR4122, OPTION_FP32, OPTION_FP64)
        (OPTION_GP32, OPTION_GP64, OPTION_M3900, OPTION_M4010, OPTION_M4100)
        (OPTION_M4650, OPTION_M7000_HILO_FIX, OPTION_MARCH, OPTION_MDMX)
        (OPTION_MEMBEDDED_PIC, OPTION_MIPS1, OPTION_MIPS16, OPTION_MIPS2)
        (OPTION_MIPS3, OPTION_MIPS32, OPTION_MIPS32R2, OPTION_MIPS3D)
        (OPTION_MIPS4, OPTION_MIPS5, OPTION_MIPS64)
        (OPTION_MNO_7000_HILO_FIX, OPTION_MTUNE, OPTION_NO_CONSTRUCT_FLOATS)
        (OPTION_NO_FIX_VR4122, OPTION_NO_M3900, OPTION_NO_M4010)
        (OPTION_NO_M4100, OPTION_NO_M4650, OPTION_NO_MDMX, OPTION_NO_MIPS16)
        (OPTION_NO_MIPS3D, OPTION_NO_RELAX_BRANCH, OPTION_RELAX_BRANCH)
        (OPTION_TRAP): Redefine in terms of new defines.
        (md_longopts): Reorder entries.

21 years agobinutils/
Jakub Jelinek [Tue, 3 Jun 2003 22:27:24 +0000 (22:27 +0000)]
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_STACK.
bfd/
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Create PT_GNU_STACK segment header.
(get_program_header_size): Count with PT_GNU_STACK.
* elf-bfd.h (struct elf_obj_tdata): Add stack_flags.
* elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags.
include/
* bfdlink.h (struct bfd_link_info): Add execstack and noexecstack.
* elf/common.h (PT_GNU_STACK): Define.
ld/
* ldgram.y (phdr_type): Grok PT_GNU_STACK.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z execstack and -z noexecstack.
(gld${EMULATION_NAME}_list_options): Likewise.
* scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.