OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 21 Oct 2001 06:16:43 +0000 (06:16 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* gas/elf/ehopt0.s: Lose ",@progbits".

22 years ago2001-10-20 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sun, 21 Oct 2001 05:58:55 +0000 (05:58 +0000)]
2001-10-20  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
        SB-1 CPU for consistency.
        (mips_cpu_info_table): Tweak comment about SB-1.

22 years agomerge from gcc
DJ Delorie [Sun, 21 Oct 2001 00:08:22 +0000 (00:08 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Sun, 21 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 20 Oct 2001 23:16:17 +0000 (23:16 +0000)]
2001-10-20  H.J. Lu <hjl@gnu.org>

* elf32-cris.c (cris_reloc_type_lookup): Allow index 0.

22 years ago2001-10-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sat, 20 Oct 2001 22:41:09 +0000 (22:41 +0000)]
2001-10-20  H.J. Lu  <hjl@gnu.org>

* config/tc-arm.c (do_c_shift): Use ISDIGIT instead of isdigit.
(cirrus_parse_offset): Likewise.

22 years ago * ppc-opc.c (CT): Make it an optional operand.
Alan Modra [Sat, 20 Oct 2001 13:50:16 +0000 (13:50 +0000)]
* ppc-opc.c (CT): Make it an optional operand.

22 years ago * ldgram.y (mri_script_command): Surround processing of INCLUDE
Alan Modra [Sat, 20 Oct 2001 13:49:00 +0000 (13:49 +0000)]
* ldgram.y (mri_script_command): Surround processing of INCLUDE
with ldlex_script, ldlex_popstate.
(ifile_p1): Likewise.
* ldlex.l (EOF): Don't BEGIN(SCRIPT).  Restore lineno from the
correct slot.
(lex_push_file): Save current lineno to lineno_stack.  Set lineno
to 1.  Don't BEGIN(SCRIPT).
(lex_redirect): Similarly.
* ldmain.c (main): Set yydebug non-zero if YYDEBUG.

22 years agoDefine __EH_FRAME_{BEGIN|END}__
Nick Clifton [Sat, 20 Oct 2001 09:56:29 +0000 (09:56 +0000)]
Define __EH_FRAME_{BEGIN|END}__

22 years agodaily update
Alan Modra [Sat, 20 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 19 Oct 2001 16:29:12 +0000 (16:29 +0000)]
2001-10-19  H.J. Lu <hjl@gnu.org>

* elfcode.h (elf_object_p): Don't clear D_PAGED if the section
size is empty.

22 years ago* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
DJ Delorie [Fri, 19 Oct 2001 14:25:51 +0000 (14:25 +0000)]
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.

22 years agoRestore line_comment_chars after a SNAFU.
Nick Clifton [Fri, 19 Oct 2001 10:53:19 +0000 (10:53 +0000)]
Restore line_comment_chars after a SNAFU.

22 years ago2001-10-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 19 Oct 2001 02:11:04 +0000 (02:11 +0000)]
2001-10-18  H.J. Lu <hjl@gnu.org>

* elf32-i370.c (i370_elf_relocate_section): Ignore R_XXX_NONE.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.

22 years ago* pe-dll.c (autofilter_objectlist): Add startup objects
DJ Delorie [Fri, 19 Oct 2001 00:00:55 +0000 (00:00 +0000)]
* pe-dll.c (autofilter_objectlist):  Add startup objects
for profiling.
(auto-export): Constify char * p.
Extract file basename and use strcmp rather than ststr
for object lookup.

22 years agodaily update
Alan Modra [Fri, 19 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 23:44:17 +0000 (23:44 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * ldmain.c (get_emulation): Improve comment about the handling
        of -mipsN options.

22 years ago2001-10-18 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 22:41:35 +0000 (22:41 +0000)]
2001-10-18  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (OPCODE_IS_MEMBER): Add a no-op term to the end
        of the expression, to make source code merging easier.

22 years agoRemove semicolon from ARM comment chars list
Nick Clifton [Thu, 18 Oct 2001 21:06:03 +0000 (21:06 +0000)]
Remove semicolon from ARM comment chars list

22 years agoCorrect date of commit to last entry
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:50:25 +0000 (17:50 +0000)]
Correct date of commit to last entry

22 years ago * write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
Hans-Peter Nilsson [Thu, 18 Oct 2001 17:38:53 +0000 (17:38 +0000)]
* write.c (fixup_segment): Handle fixups for SEC_MERGE sections as
for undefined symbols.

22 years ago * section.c (_bfd_strip_section_from_output): Don't count
Jakub Jelinek [Thu, 18 Oct 2001 08:22:44 +0000 (08:22 +0000)]
* section.c (_bfd_strip_section_from_output): Don't count
SEC_EXCLUDE sections as references.  Set SEC_EXCLUDE.

22 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Thu, 18 Oct 2001 01:50:26 +0000 (01:50 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

       * mips.h: Sort coprocessor instruction argument characters
       in comment, add a few more words of description for "H".

22 years ago[gas/testsuite/ChangeLog]
Chris Demetriou [Thu, 18 Oct 2001 01:42:16 +0000 (01:42 +0000)]
[gas/testsuite/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * gas/mips/mips.exp (sb1-ext-ps): New test to test
        SB-1 core's paired-single extensions to the MIPS64 ISA.
        * gas/mips/sb1-ext-ps.d: New file.
        * gas/mips/sb1-ext-ps.s: New file.

[include/opcode/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (INSN_SB1): New cpu-specific instruction bit.
        (OPCODE_IS_MEMBER): Allow instructions matching INSN_SB1
        if cpu is CPU_SB1.

[opcodes/ChangeLog]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

        * mips-dis.c (mips_isa_type): Make the ISA used to disassemble
        SB-1 binaries include instructions specific to the SB-1.
        * mips-opc.c (SB1): New definition.
        (mips_builtin_opcodes): Add SB-1 extension opcodes "div.ps",
        "recip.ps", "rsqrt.ps", and "sqrt.ps".

22 years agodaily update
Alan Modra [Thu, 18 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years agomerge from gcc
DJ Delorie [Wed, 17 Oct 2001 22:35:28 +0000 (22:35 +0000)]
merge from gcc

22 years ago2001-10-17 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 17 Oct 2001 19:16:16 +0000 (19:16 +0000)]
2001-10-17  Chris Demetriou  <cgd@broadcom.com>

* doc/as.texinfo (MIPS ISA options):  Added accidentally
omitted "-mips64" option to list of options.

22 years ago[gas/ChangeLog]
Matthew Green [Wed, 17 Oct 2001 13:13:16 +0000 (13:13 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_show_usage): Add missing -maltivec, -m7400,
-m7410, -m7450 and -m7455 options.

[gas/testsuite/ChangeLog]
* gas/ppc/altivec.s: New test for AltiVec.
* gas/ppc/altivec.d: New file.
* gas/ppc/ppc.exp: Test altivec.s

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE64): Fix typo.

[opcodes/ChangeLog]
* ppc-opc.c (STRM): New AltiVec operand.
(XDSS): New AltiVec instruction form.
(mtvscr): Correct operand list.
(dst, dstt, dstst, dststt, dss, dssall): AltiVec instructions.

22 years ago * elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Alan Modra [Wed, 17 Oct 2001 12:01:05 +0000 (12:01 +0000)]
* elf-m10200.c (mn10200_elf_relax_section): Cast assignment to
Elf_Internal_Shdr.contents now that it's no longer a PTR.
* elf-m10300.c (mn10300_elf_relax_section): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): Likewise.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise.
* elf32-sh.c (sh_elf_relax_section): Likewise.
* elf64-alpha.c (elf64_alpha_relax_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relax_section): Likewise.
* elf.c (setup_group): Warning fixes.
* elflink.h (elf_link_sort_relocs): Likewise.
* pdp11.c (slurp_reloc_table): Likewise.

22 years ago * config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
Alan Modra [Wed, 17 Oct 2001 06:03:41 +0000 (06:03 +0000)]
* config/tc-ppc.c (PPC_HA, PPC_HIGHERA, PPC_HIGHESTA): Simplify.
(ppc_size): Select PPC_OPCODE_64 if 64 bit.
(md_begin): Don't set ppc_size here.
(ppc_target_format): Test ppc_size as well as BFD_DEFAULT_TARGET_SIZE.
(md_shortopts): Constify.
(md_longopts): Likewise.
(md_longopts_size): Likewise.
(ppc_elf_suffix): Only allow 64-bit relocs when ppc_size specifies
64-bit opcodes.
(ppc_machine): Explain why this function is a nop.

22 years ago * bit_fix.h: Comment typo fix.
Alan Modra [Wed, 17 Oct 2001 05:51:12 +0000 (05:51 +0000)]
* bit_fix.h: Comment typo fix.
* config/tc-mips.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-arc.c (arc_code_symbol): Remove unnecessary test.

22 years ago * po/POTFILES.in: Regenerate.
Alan Modra [Wed, 17 Oct 2001 05:41:53 +0000 (05:41 +0000)]
* po/POTFILES.in: Regenerate.

22 years ago * configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
Alan Modra [Wed, 17 Oct 2001 05:38:42 +0000 (05:38 +0000)]
* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
that autoheader doesn't duplicate config.in entries.
(DEFAULT_ARCH): Ditto.
* configure: Regenerate.
* config.in: Regenerate.

22 years ago2001-10-16 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 17 Oct 2001 01:44:50 +0000 (01:44 +0000)]
2001-10-16  Jeff Holcomb  <jeffh@redhat.com>

        * internal.h (elf_internal_shdr): Make contents a unsigned char *.

22 years ago2001-10-16 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Wed, 17 Oct 2001 01:44:10 +0000 (01:44 +0000)]
2001-10-16  Jeff Holcomb  <jeffh@redhat.com>

        * elflink.h (elf_link_sort_relocs): Remove unnecessary pointer
        casts.

22 years agodaily update
Alan Modra [Wed, 17 Oct 2001 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.
Alan Modra [Tue, 16 Oct 2001 14:27:03 +0000 (14:27 +0000)]
* config/tc-m68k.c (m68k_ip): Correct absolute jmp opcodes.

22 years ago* filenames.h: Add cygwin to the list of dosish style path systems.
Christopher Faylor [Tue, 16 Oct 2001 12:47:31 +0000 (12:47 +0000)]
* filenames.h: Add cygwin to the list of dosish style path systems.

22 years ago2001-10-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 16 Oct 2001 06:33:52 +0000 (06:33 +0000)]
2001-10-15  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_input_bfd): Set type to BFD_RELOC_NONE
for relocations against discarded link-once section.

22 years agomerge from gcc
DJ Delorie [Tue, 16 Oct 2001 02:55:31 +0000 (02:55 +0000)]
merge from gcc

22 years ago * gas/sh/err-le.s, gas/sh/err-be.s: New tests.
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:39:43 +0000 (02:39 +0000)]
* gas/sh/err-le.s, gas/sh/err-be.s: New tests.

22 years ago * config/tc-sh.c (shl): Remove.
Hans-Peter Nilsson [Tue, 16 Oct 2001 02:36:20 +0000 (02:36 +0000)]
* config/tc-sh.c (shl): Remove.
  (big): New function.
(little): Remove shl handling.  Emit error for endian mismatch.
(md_show_usage): Add description of -big.
(md_parse_option): Handle OPTION_BIG.  Remove shl handling.
(OPTION_BIG): Add.
(md_pseudo_table): Add .big.
(md_longopts): Add -big.
(md_begin): Don't set target_big_endian here.
* config/tc-sh.h (TARGET_BYTES_BIG_ENDIAN): Remove.
(LISTING_HEADER, COFF_MAGIC, TARGET_FORMAT): Use target_big_endian.
(shl): Remove.
* configure.in (endian): Default is big.
(sh-*-pe*): Little endian.
(cpu_type): Set sh for target sh*.
* configure: Regenerate.

22 years agodaily update
Alan Modra [Tue, 16 Oct 2001 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
Alan Modra [Mon, 15 Oct 2001 23:28:21 +0000 (23:28 +0000)]
* emultempl/elf32.em (gld*_list_options): Remove extra '\t' from
-z nocopyreloc and -z nocombreloc usage strings.

22 years ago * config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
Thiemo Seufer [Mon, 15 Oct 2001 19:48:04 +0000 (19:48 +0000)]
* config/tc-mips.c (md_apply_fix): Preliminary handling of NewABI
relocations.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Report some detail on
Alan Modra [Mon, 15 Oct 2001 12:58:48 +0000 (12:58 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Report some detail on
bfd_reloc_outofrange and similar errors.

22 years ago * elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
Alan Modra [Mon, 15 Oct 2001 09:45:48 +0000 (09:45 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Test ind->root.type
rather than ind->weakdef.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.

22 years ago * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
Alan Modra [Mon, 15 Oct 2001 07:28:45 +0000 (07:28 +0000)]
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Merge dyn_reloc
counts for aliases instead of aborting.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.

* elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set plt.offset
to -1 for non-function symbols.
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise.
* elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
* elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Refer to
plt.offset instead of plt.refcount when setting to -1.

22 years agodaily update
Alan Modra [Mon, 15 Oct 2001 01:16:16 +0000 (01:16 +0000)]
daily update

22 years ago * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
Hans-Peter Nilsson [Mon, 15 Oct 2001 00:14:37 +0000 (00:14 +0000)]
* ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on
sh*-*-elf.

22 years ago * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.
Hans-Peter Nilsson [Sun, 14 Oct 2001 16:03:53 +0000 (16:03 +0000)]
* lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}.

22 years ago * ld-sh/rd-sh.exp: New framework file.
Hans-Peter Nilsson [Sun, 14 Oct 2001 15:18:11 +0000 (15:18 +0000)]
* ld-sh/rd-sh.exp: New framework file.
* ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d,
ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New
test files.

22 years ago[gas/testsuite/ChangeLog]
Matthew Green [Sun, 14 Oct 2001 01:19:09 +0000 (01:19 +0000)]
[gas/testsuite/ChangeLog]
* gas/ppc/booke.s (rfci, wrtee, wrteei, mfdcrx, mfdcr, mtdcrx,
mtdcr, msync, dcba, mbar): New BookE tests.
* gas/ppc/booke.d: Update for new BookE tests.

[opcodes/ChangeLog]
* ppc-opc.c (MO): New macro for MO field of mbar instruction.
(powerpc_opcodes): Add rfci, wrtee, wrteei, mfdcrx, mfdcr,
mtdcrx, mtdcr, msync, dcba and mbar as BookE instructions.

22 years agodaily update
Alan Modra [Sun, 14 Oct 2001 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agosupport multiple options to the -w switch
Nick Clifton [Sat, 13 Oct 2001 10:00:30 +0000 (10:00 +0000)]
support multiple options to the -w switch

22 years agoReplace CONST with const
Nick Clifton [Sat, 13 Oct 2001 09:50:02 +0000 (09:50 +0000)]
Replace CONST with const

22 years agoFix formatting
Nick Clifton [Sat, 13 Oct 2001 09:46:09 +0000 (09:46 +0000)]
Fix formatting

22 years agoUse safe-ctype.h not ctype.h
Nick Clifton [Sat, 13 Oct 2001 09:38:04 +0000 (09:38 +0000)]
Use safe-ctype.h not ctype.h

22 years agooops, fix an error in the previous entry.
Matthew Green [Sat, 13 Oct 2001 02:27:25 +0000 (02:27 +0000)]
oops, fix an error in the previous entry.

22 years ago[gas/ChangeLog]
Matthew Green [Sat, 13 Oct 2001 01:59:09 +0000 (01:59 +0000)]
[gas/ChangeLog]
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455
flags, equivalent to -m7400.  New -maltivec to enable AltiVec
instructions.  New -mbook64 and -mbooke/-mbooke32 flags to enable
64-bit and 32-bit BookE support, respectively.  Change -m403 and
-m405 to set PPC403 option.
(md_show_usage): Adjust for new options.
* doc/all.texi: Set PPC.
* doc/as.texinfo: Add PPC support and pull in c-ppc.texi.
* doc/c-ppc.texi: New file.
* doc/Makefile.am (CPU_DOCS): Add c-ppc.texi.
* doc/Makefile.in: Regenerate.

[gas/testsuite/ChangeLog]
* gas/ppc/booke.s: New test for Motorola BookE.
* gas/ppc/booke.d: New file.
* gas/ppc/ppc.exp: Test booke.s.

[include/opcode/ChangeLog]
* ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for
BookE and PowerPC403 instructions.

[opcodes/ChangeLog]
* ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New
instruction field instruction/extraction functions for new BookE
DE form instructions.
(CT): New macro for CT field in an X form instruction.
(DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form
instructions.
(PPC64): Don't include PPC_OPCODE_PPC.
(403): New opcode macro for PPC403 processors.
(BOOKE): New opcode macro for BookE processors.
(bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions.
(bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise.
(dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise.
(stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise.
(mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise.
(subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise.
(subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise.
(addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise.
(lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise.
(stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise.
(tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise.
(lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise.
(stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise.
(lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise.

* ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look
for a disassembler option of `booke', `booke32' or `booke64' to enable
BookE support in the disassembler.

22 years agodaily update
Alan Modra [Sat, 13 Oct 2001 00:00:11 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-12 John Healy <jhealy@redhat.com>
John Healy [Fri, 12 Oct 2001 18:28:57 +0000 (18:28 +0000)]
2001-10-12  John Healy  <jhealy@redhat.com>

        * cgen-dis.in (print_insn): Use min (cd->base_insn_bitsize, buflen*8)
        for the length when extracting the base part of the insn.

22 years agoTreat R_ARM_THM_PC22 like R_ARM_PC24.
Nick Clifton [Fri, 12 Oct 2001 11:16:21 +0000 (11:16 +0000)]
Treat R_ARM_THM_PC22 like R_ARM_PC24.

22 years agoInclude -z nocopyreloc in usage
Nick Clifton [Fri, 12 Oct 2001 10:34:25 +0000 (10:34 +0000)]
Include -z nocopyreloc in usage

22 years ago * readelf.c (get_section_type_name): Don't print SHT_ prefix for
Jakub Jelinek [Fri, 12 Oct 2001 09:23:29 +0000 (09:23 +0000)]
* readelf.c (get_section_type_name): Don't print SHT_ prefix for
LOPROC, LOOS and LOUSER.

22 years agoGenerate warning message if .endr is used without preceeding .rept/.irc/.irp
Nick Clifton [Fri, 12 Oct 2001 08:56:17 +0000 (08:56 +0000)]
Generate warning message if .endr is used without preceeding .rept/.irc/.irp

22 years agoUpdate contact address
Nick Clifton [Fri, 12 Oct 2001 08:07:40 +0000 (08:07 +0000)]
Update contact address

22 years agodaily update
Alan Modra [Fri, 12 Oct 2001 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago * config/tc-alpha.c: Fix comment typos.
Kazu Hirata [Thu, 11 Oct 2001 23:56:33 +0000 (23:56 +0000)]
* config/tc-alpha.c: Fix comment typos.
* config/tc-cris.c: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mn10200.c: Likewise.
* config/tc-mn10300.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-v850.c: Likewise.

22 years ago * MAINTAINERS: Update my email address.
Joern Rennecke [Thu, 11 Oct 2001 20:47:46 +0000 (20:47 +0000)]
* MAINTAINERS: Update my email address.

22 years agoFix arm aout placement of .bss section
Nick Clifton [Thu, 11 Oct 2001 17:28:43 +0000 (17:28 +0000)]
Fix arm aout placement of .bss section

22 years ago* pe-dll.c (autofilter_entry_type autofilter_liblist: Add
DJ Delorie [Thu, 11 Oct 2001 17:16:58 +0000 (17:16 +0000)]
* pe-dll.c (autofilter_entry_type autofilter_liblist: Add
startup files for mingw32 dlls to list.

22 years ago * app.c: Fix comment typos.
Kazu Hirata [Thu, 11 Oct 2001 12:20:25 +0000 (12:20 +0000)]
* app.c: Fix comment typos.
* bit_fix.h: Likewise.
* expr.c: Likewise.
* itbl-ops.c: Likewise.

22 years agoUse ISSPACE instead of isspace
Nick Clifton [Thu, 11 Oct 2001 07:17:47 +0000 (07:17 +0000)]
Use ISSPACE instead of isspace

22 years agodaily update
Alan Modra [Thu, 11 Oct 2001 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2001-10-10 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Wed, 10 Oct 2001 23:05:55 +0000 (23:05 +0000)]
2001-10-10  Chris Demetriou  <cgd@broadcom.com>

        * emultempl/elf32.em: Fix shell 'if' usage for portability.

22 years ago * elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT
Jakub Jelinek [Wed, 10 Oct 2001 19:32:02 +0000 (19:32 +0000)]
* elflink.h (elf_link_sort_cmp2): Don't mix PLT and non-PLT
relocations against the same symbol in .rel{,a}.dyn section.

22 years ago * aout-encap.c: Fix comment typos.
Kazu Hirata [Wed, 10 Oct 2001 12:08:29 +0000 (12:08 +0000)]
* aout-encap.c: Fix comment typos.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* coff-mips.c: Likewise.
* ecoff.c: Likewise.
* elf32-m32r.c: Likewise.
* libcoff-in.h: Likewise.
* libecoff.h: Likewise.
* libxcoff.h: Likewise.
* nlm32-i386.c: Likewise.
* pdp11.c: Likewise.
* section.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* bfd-in2.h: Regenerate.
* libcoff.h: Likewise.

22 years ago * elf.c (elf_map_symbols): Don't create new section symbols; Use
Alan Modra [Wed, 10 Oct 2001 11:19:54 +0000 (11:19 +0000)]
* elf.c (elf_map_symbols): Don't create new section symbols; Use
existing section syms.  Update comments.
(copy_private_bfd_data): Formatting fixes.
(elfcore_grok_win32pstatus): Likewise.
(swap_out_syms): Likewise.  Remove unnecessary level of braces.

22 years agowork around locale problems for case insensitivity
Nick Clifton [Wed, 10 Oct 2001 09:13:05 +0000 (09:13 +0000)]
work around locale problems for case insensitivity

22 years ago * config/tc-mips.c (mips_cpreturn_offset): New variable.
Thiemo Seufer [Wed, 10 Oct 2001 01:08:35 +0000 (01:08 +0000)]
* config/tc-mips.c (mips_cpreturn_offset): New variable.
(mips_cpreturn_register): Likewise.
(mips_gp_register): Likewise.
(s_cpsetup): New function prototype.
(s_cplocal): Likewise.
(s_cpreturn): Likewise.
(s_gpvalue): Likewise.
(mips_pseudo_table): Add .cpsetup, .cplocal, .cpreturn, .gpvalue
pseudo-ops.
(macro): Don't warn about .cprestore for NewABI.
(md_pcrel_from): Code cleanup.
(mips_force_relocation): Force output of some NewABI relocations even
without a defined symbol.
(s_cpload): Ignore .cpload for NewABI.
(s_cpsetup): Handle .cpsetup.
(s_cplocal): Handle .cplocal.
(s_cprestore): Ignore .cprestore for NewABI.
(s_cpreturn): Handle .cpreturn.
(s_gpvalue): Handle .gpvalue.
(s_cpadd): Ignore .cpadd for NewABI.
(nopic_need_relax): Take g_switch_value into account as gp
optimization.
(tc_gen_reloc): Don't handle BFD_RELOC_MIPS_{CALL,GOT}* for NewABI.

22 years ago * config/tc-mips.c (my_getSmallParser): New function prototype.
Thiemo Seufer [Wed, 10 Oct 2001 00:54:53 +0000 (00:54 +0000)]
* config/tc-mips.c (my_getSmallParser): New function prototype.
(small_ex_type): Named this enum, more return values for
my_getSmallExpression.
(mips_ip): Allow SPC and HT between arguments. Handle some NewABI
triple relocations. Protect some parts with ifdef OBJ_ELF.
(percent_op_match): New struct, lookup table for %some_reloc().
(my_getSmallParser): New function, parses nested percent_ops also.
(my_getSmallExpression): Rewite to support nested percent_ops.

22 years ago * config/tc-mips.c
Thiemo Seufer [Wed, 10 Oct 2001 00:43:36 +0000 (00:43 +0000)]
* config/tc-mips.c
(load_address): Support both 32- and 64-bit addresses.
(macro): Call load_register correctly. Expand 64-bit loads ans stores.
(macro2): Call load_address correctly.

22 years agomerge from gcc
DJ Delorie [Wed, 10 Oct 2001 00:05:13 +0000 (00:05 +0000)]
merge from gcc

22 years agodaily update
Alan Modra [Wed, 10 Oct 2001 00:00:08 +0000 (00:00 +0000)]
daily update

22 years agofix z8k assembly and disassembly
Nick Clifton [Tue, 9 Oct 2001 17:25:58 +0000 (17:25 +0000)]
fix z8k assembly and disassembly

22 years ago * config/tc-arm.c: Change MAVERIK to MAVERICK.
Aldy Hernandez [Tue, 9 Oct 2001 16:08:57 +0000 (16:08 +0000)]
* config/tc-arm.c: Change MAVERIK to MAVERICK.

22 years ago * config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
Alan Modra [Tue, 9 Oct 2001 13:13:09 +0000 (13:13 +0000)]
* config/obj-elf.c: Make use of elf_group_name and elf_next_in_group
throughout file.
(obj_elf_change_section): Rename "group" to "group_name".
(obj_elf_section): Likewise.
(elf_frob_file): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
Alan Modra [Tue, 9 Oct 2001 13:12:19 +0000 (13:12 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Rename "group" to
"group_name".
(elf_group_name): Define.
(elf_next_in_group): Define.
* elf.c: Make use of elf_group_name and elf_next_in_group throughout.
(setup_group): Don't use sec->lineno for SHT_GROUP section to store
first member section; Instead use elf_next_in_group.
(bfd_section_from_shdr): Likewise.
(set_group_contents): Likewise.  Use elf_section_syms, not sec->symbol.

22 years agoAdd test of SH DSP instructions
Nick Clifton [Tue, 9 Oct 2001 12:25:52 +0000 (12:25 +0000)]
Add test of SH DSP instructions

22 years agofix encoding & decoding of DSP single data transfer instructions
Nick Clifton [Tue, 9 Oct 2001 12:25:22 +0000 (12:25 +0000)]
fix encoding & decoding of DSP single data transfer instructions

22 years agoFix compile time warnings in cgen-generated files
Nick Clifton [Tue, 9 Oct 2001 08:54:58 +0000 (08:54 +0000)]
Fix compile time warnings in cgen-generated files

22 years ago * config/obj-elf.c: (obj_elf_change_section): Add "group" param.
Alan Modra [Tue, 9 Oct 2001 06:07:33 +0000 (06:07 +0000)]
* config/obj-elf.c: (obj_elf_change_section): Add "group" param.
Set elf_section_data group from it.  Warn if group name changed.
(obj_elf_parse_section_letters): Parse 'G' too.
(obj_elf_section): Parse group name.
(struct group_list): New.
(build_group_lists): New function.
(elf_frob_file): Create SEC_GROUP section(s).

* config/obj-elf.c: (elf_copy_symbol_attributes): Zap trailing
whitespace.

22 years ago * elf-bfd.h (struct bfd_elf_section_data): Add "group" and
Alan Modra [Tue, 9 Oct 2001 06:05:17 +0000 (06:05 +0000)]
* elf-bfd.h (struct bfd_elf_section_data): Add "group" and
"next_in_group".  Fix gp and gp_size comments.
* elf.c (union elf_internal_group): New.
(setup_group): New function.
(_bfd_elf_make_section_from_shdr): Set BFD flags for SHT_GROUP.
Call setup_group for SHF_GROUP sections.
(bfd_section_from_shdr): Build a BFD section for SHT_GROUP.
(elf_fake_sections): Set header type for SEC_GROUP, and header
flags for sections in a group.
(set_group_contents): New function.
(_bfd_elf_compute_section_file_positions): Call it.
(assign_section_numbers): Set sh_link for SHT_GROUP.
* elflink.h (gc_mark_hook): Handle section groups.
* elfxx-target.h: Add SEC_GROUP to applicable_flags.
* section.c (SEC_GROUP): Define.
(struct sec): Comment fixes.
* bfd-in2.h: Regenerate.

* elf.c (bfd_elf_print_symbol): Formatting fix; migrate expression
out of function args.
(_bfd_elf_canonicalize_reloc): Similarly.
(_bfd_elf_get_symtab): Here too.
(_bfd_elf_canonicalize_dynamic_symtab): And here.
* elfcode.h (elf_slurp_symbol_table): Don't recalculate size for
bfd_bread, and remove unnecessary cast.

22 years agoupdated credits
Aldy Hernandez [Mon, 8 Oct 2001 19:31:33 +0000 (19:31 +0000)]
updated credits

22 years ago * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.
Aldy Hernandez [Mon, 8 Oct 2001 19:11:36 +0000 (19:11 +0000)]
    * bfd/config.bfd (targ_cpu): Add arm9e-*-elf.

22 years ago * gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
Aldy Hernandez [Mon, 8 Oct 2001 19:05:34 +0000 (19:05 +0000)]
* gas/config/tc-arm.c (ARM_EXT_MAVERIK): New macro.
(cirrus_regtype): New enum.
(LONGEST_INST): Change to 10.
(CIRRUS_MODE1): New.
(CIRRUS_MODE2): New.
(CIRRUS_MODE3): New.
(CIRRUS_MODE4): New.
(CIRRUS_MODE5): New.
(CIRRUS_MODE6): New.
(insns): Add cirrus dsp instructions.
(ARM_EXT_MAVERIKSC_REG): New.
(cirrus_register): New.
(cirrus_mvf_register): New.
(cirrus_mvd_register): New.
(cirrus_mvfx_register): New.
(cirrus_mvdx_register): New.
(cirrus_mvax_register): New.
(ARM_EXT_MAVERIKsc_register): New.
(reg_table): Add cirrus registers.
(cirrus_valid_reg): New.
(cirrus_reg_required_here): New.
(do_c_binops_1): New.
(do_c_binops_2): New.
(do_c_binops_3): New.
(do_c_triple_4): New.
(do_c_triple_5): New.
(do_c_quad_6): New.
(do_c_dspsc_1): New.
(do_c_dspsc_2): New.
(do_c_shift_1): New.
(do_c_shift_2): New.
(do_c_ldst_1): New.
(do_c_ldst_2): New.
(do_c_ldst_3): New.
(do_c_ldst_4): New.
(do_c_binops): New.
(do_c_triple): New.
(do_c_quad): New.
(do_c_dspsc): New.
(do_c_shift): New.
(cirrus_parse_offset): New.
(do_c_ldst): New.
(md_parse_option): Add arm9e.
(md_show_usage): Same.

22 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Mon, 8 Oct 2001 19:03:27 +0000 (19:03 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/doc/arm/c-arm.texi (ARM Options): Add arm9e documentation.

22 years ago2001-10-08 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Mon, 8 Oct 2001 19:00:14 +0000 (19:00 +0000)]
2001-10-08  Aldy Hernandez  <aldyh@redhat.com>

* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.

22 years ago * gas/testsuite/gas/arm/arm.exp: Run arm9e tests.
Aldy Hernandez [Mon, 8 Oct 2001 18:59:16 +0000 (18:59 +0000)]
* gas/testsuite/gas/arm/arm.exp: Run arm9e tests.

* gas/testsuite/gas/arm/maverick.c: New.

* gas/testsuite/gas/arm/maverick.d: New.

* gas/testsuite/gas/arm/maverick.s: New.