OSDN Git Service
Alan Modra [Wed, 17 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update
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.
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.
Alan Modra [Wed, 17 Mar 2004 00:46:25 +0000 (00:46 +0000)]
Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
Alan Modra [Tue, 16 Mar 2004 23:00:07 +0000 (23:00 +0000)]
daily update
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.
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.
Alan Modra [Tue, 16 Mar 2004 11:46:15 +0000 (11:46 +0000)]
Revert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.
Alan Modra [Tue, 16 Mar 2004 10:31:18 +0000 (10:31 +0000)]
copyright date.
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.
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.
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.
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/.
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.
Alan Modra [Mon, 15 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Aldy Hernandez [Mon, 15 Mar 2004 19:07:39 +0000 (19:07 +0000)]
* ppc-opc.c (powerpc_opcodes): Add BOOKE versions of mfsprg.
Dave Anglin [Mon, 15 Mar 2004 17:53:45 +0000 (17:53 +0000)]
* elf-hppa.h (elf_hppa_relocate_section): Pass input_bfd instead of
input_section in calls to get_dyn_name.
* elf64-hppa.c (get_dyn_name): Change type of first argument to "bfd *". Use section id of first section in input BFD to build dynamic name for
local symbols.
(elf64_hppa_check_relocs): Pass abfd in call to get_dyn_name.
Alan Modra [Mon, 15 Mar 2004 14:21:43 +0000 (14:21 +0000)]
* bfd-in.h (bfd_int64_t, bfd_uint64_t): New types.
(BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Don't define here.
(bfd_getb64, bfd_getl64, bfd_get_bits): Return bfd_uint64_t.
(bfd_getb_signed_64, bfd_getl_signed_64): Return bfd_int64_t.
(bfd_putb64, bfd_putl64, bfd_put_bits): Accept bfd_uint64_t.
* configure.in (HOST_U_64BIT_TYPE): Set when sizeof long is 8.
(BFD_HOST_64_BIT_DEFINED, BFD_HOST_64_BIT, BFD_HOST_U_64_BIT): Set
when using long.
* libbfd.c (EIGHT_GAZILLION, COERCE64): Use bfd_int64_t.
(bfd_getb64): Return bfd_uint64_t. Enable when BFD_HOST_64_BIT.
(bfd_getl64, bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
(bfd_putb64): Accept bfd_uint64_t. Enable when BFD_HOST_64_BIT.
(bfd_putl64, bfd_put_bits, bfd_get_bits): Likewise.
* dwarf2.c (struct attribute): Use bfd_int64_t and bfd_uint64_t.
(read_8_bytes, read_indirect_string, read_address): Likewise.
(read_abbrevs, parse_comp_unit): Likewise.
* targets.c (struct bfd_target): Likewise.
* aix386-core.c (NO_GET64, NO_PUT64, NO_GETS64): Define and use.
* hppabsd-core.c: Likewise. Formatting.
* hpux-core.c: Likewise.
* irix-core.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* trad-core.c: Likewise.
* configure: Regenerate.
* bfd-in2.h: Regenerate.
Alan Modra [Mon, 15 Mar 2004 13:36:28 +0000 (13:36 +0000)]
* sparc-dis.c (print_insn_sparc): Update getword prototype.
Nathan Sidwell [Mon, 15 Mar 2004 12:31:41 +0000 (12:31 +0000)]
* objdump.c (struct SFILE): Replace current pointer with pos
offset, rename size to alloc.
(objdump_sprintf): Avoid unnecessary copies in the common case
(disassemble_bytes): Keep sfile live throughout the
function. Adjust usage appropriately.
Alan Modra [Mon, 15 Mar 2004 12:23:11 +0000 (12:23 +0000)]
* bfd-in.h (bfd_getb64, bfd_getl64): Replace bfd_byte* with void*.
(bfd_getb32, bfd_getl32, bfd_getb16, bfd_getl16): Likewise.
(bfd_getb_signed_64, bfd_getl_signed_64): Likewise.
(bfd_getb_signed_32, bfd_getl_signed_32): Likewise.
(bfd_getb_signed_16, bfd_getl_signed_16): Likewise.
(bfd_putb64, bfd_putl64, bfd_putb32, bfd_putl32): Likewise.
(bfd_putb16, bfd_putl16, bfd_get_bits, bfd_put_bits): Likewise.
* libbfd.c: Likewise in function definitions.
(bfd_put_8): Mask with 0xff rather than casting to char.
(bfd_putb16, bfd_putl16, bfd_putb32, bfd_putl32): Likewise.
(bfd_putb64, bfd_putl64, bfd_put_bits): Likewise.
(H_PUT_64, H_PUT_32, H_PUT_16, H_PUT_8): Remove casts, simplify.
(H_PUT_S64, H_PUT_S32, H_PUT_S16, H_PUT_S8): Likewise.
(H_GET_64, H_GET_32, H_GET_16, H_GET_8): Likewise.
(H_GET_S64, H_GET_S32, H_GET_S16, H_GET_S8): Likewise.
* libaout.h (H_PUT_64 H_PUT_32, H_PUT_16): Remove casts, simplify.
(H_PUT_S64, H_PUT_S32, H_PUT_S16): Likewise.
(H_GET_64, H_GET_32, H_GET_16): Likewise.
(H_GET_S64, H_GET_S32, H_GET_S16): Likewise.
* archive.c (do_slurp_coff_armap): Update swap prototype.
* coff-tic54x.c (tic54x_getl32): Replace bfd_byte* with void*.
(tic54x_getl_signed_32): Likewise.
(tic54x_putl32): Likewise. Mask with 0xff rather than casting to char.
* mach-o.c (bfd_mach_o_read_header): Update get32 prototype.
* pdp11.c (bfd_getp32): Make static, replace bfd_byte* with void*.
(bfd_getp_signed_32, bfd_putp32): Likewise.
* targets.c (struct bfd_target): Use void* in place of bfd_byte* for
bfd_getx64, bfd_getx_signed_64, bfd_putx64, bfd_getx32,
bfd_getx_signed_32, bfd_putx32, bfd_getx16, bfd_getx_signed_16,
bfd_putx16, bfd_h_getx64, bfd_h_getx_signed_64, bfd_h_putx64,
bfd_h_getx32, bfd_h_getx_signed_32, bfd_h_putx32, bfd_h_getx16,
bfd_h_getx_signed_16, bfd_h_putx16.
* aix386-core.c (NO_GET, NO_GETS, NO_PUT): Update prototypes.
* hppabsd-core.c: Similarly. Rename NO_SIGNED_GET to NO_GETS.
* hpux-core.c: Likewise.
* irix-core.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* trad-core.c: Likewise.
* bfd-in2.h: Regenerate.
Alan Modra [Mon, 15 Mar 2004 00:45:34 +0000 (00:45 +0000)]
* gas/i386/padlock.s: Pad with .p2align.
* gas/i386/padlock.d: Adjust.
Alan Modra [Mon, 15 Mar 2004 00:02:56 +0000 (00:02 +0000)]
* config.bfd: Add x86-64 vector to NetBSD/i386 if 64bit BFD is
selected.
Alan Modra [Sun, 14 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 13 Mar 2004 23:00:35 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sat, 13 Mar 2004 12:33:48 +0000 (12:33 +0000)]
* config.bfd: Add x86_64-*-openbsd*.
* configure.in (x86_64-*-openbsd*): Set COREFILE to
netbsd-core.lo.
* configure: Regenerate.
Nathanael Nerode [Sat, 13 Mar 2004 05:54:47 +0000 (05:54 +0000)]
2004-03-12 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/14522
* configure.in: Cope with shells that do not support unquoted ^
* configure: Regenerate.
Alan Modra [Fri, 12 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Bob Wilson [Fri, 12 Mar 2004 17:48:12 +0000 (17:48 +0000)]
* read.c (s_leb128): Call md_flush_pending_output.
Michal Ludvig [Fri, 12 Mar 2004 13:38:46 +0000 (13:38 +0000)]
2004-03-12 Michal Ludvig <mludvig@suse.cz>
* i386.h (i386_optab): Added xstore as an alias for xstorerng.
Michal Ludvig [Fri, 12 Mar 2004 13:38:16 +0000 (13:38 +0000)]
2004-03-12 Michal Ludvig <mludvig@suse.cz>
* i386-dis.c (GRPPLOCK): Delete.
(grps): Detele GRPPLOCK entry.
Michal Ludvig [Fri, 12 Mar 2004 13:37:38 +0000 (13:37 +0000)]
2004-03-12 Michal Ludvig <mludvig@suse.cz>
* gas/i386/padlock.s, gas/i386/padlock.d: New tests for
VIA PadLock instructions.
* gas/i386/i386.exp: Run padlock tests.
Alan Modra [Fri, 12 Mar 2004 13:06:50 +0000 (13:06 +0000)]
* i386-dis.c (OP_M, OP_0f0e, OP_0fae, NOP_Fixup): New functions.
(M, Mp): Use OP_M.
(None, PADLOCK_SPECIAL, PADLOCK_0): Delete.
(GRPPADLCK): Define.
(dis386): Use NOP_Fixup on "nop".
(dis386_twobyte): Use GRPPADLCK on opcode 0xa7.
(twobyte_has_modrm): Set for 0xa7.
(padlock_table): Delete. Move to..
(grps): ..here, using OP_0f07. Use OP_Ofae on lfence, mfence
and clflush.
(print_insn): Revert PADLOCK_SPECIAL code.
(OP_E): Delete sfence, lfence, mfence checks.
* gas/i386/katmai.d: Revert last change.
Nick Clifton [Fri, 12 Mar 2004 11:57:05 +0000 (11:57 +0000)]
Ignore data-only sections when checking interworking status
Jakub Jelinek [Fri, 12 Mar 2004 10:47:49 +0000 (10:47 +0000)]
* i386-dis.c (grps): Use INVLPG_Fixup instead of OP_E for invlpg.
(INVLPG_Fixup): New function.
(PNI_Fixup): Remove ATTRIBUTE_UNUSED from sizeflag.
* opcode/i386.h (i386_optab): Remove CpuNo64 from sysenter and
sysexit.
Michal Ludvig [Fri, 12 Mar 2004 10:14:29 +0000 (10:14 +0000)]
2004-03-12 Michal Ludvig <mludvig@suse.cz>
* gas/config/tc-i386.c (output_insn): Handle PadLock instructions.
* gas/config/tc-i386.h (CpuPadLock): New define.
(CpuUnknownFlags): Added CpuPadLock.
* include/opcode/i386.h (i386_optab): Added xstore/xcrypt insns.
* opcodes/i386-dis.c (PADLOCK_SPECIAL, PADLOCK_0): New defines.
(dis386_twobyte): Opcode 0xa7 is PADLOCK_0.
(padlock_table): New struct with PadLock instructions.
(print_insn): Handle PADLOCK_SPECIAL.
Alan Modra [Fri, 12 Mar 2004 07:01:37 +0000 (07:01 +0000)]
opcodes/
* i386-dis.c (grps): Use clflush by default for 0x0fae/7.
(OP_E): Twiddle clflush to sfence here.
gas/testsuite/
* gas/i386/katmai.d: Adjust for clflush change.
Alan Modra [Thu, 11 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Thu, 11 Mar 2004 18:30:52 +0000 (18:30 +0000)]
2004-03-11 Eric Botcazou <ebotcazou@gcc.gnu.org>
Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/14522
* configure.in: Cope with shell that do not support nesting
quotes inside quoted backquote substitutions.
* configure: Regenerate.
2004-03-10 Andrew Pinski <pinskia@physics.uc.edu>
PR bootstrap/14522
* configure.in: Fix escaping of $.
* configure: Regenerate.
Nathanael Nerode [Thu, 11 Mar 2004 05:15:36 +0000 (05:15 +0000)]
(top level)
2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org>
* configure: Regenerate.
2004-03-08 Paolo Bonzini <bonzini@gnu.org>
PR ada/14131
Move language detection to the top level.
* configure.in: Find default values for the tools as
soon as possible. Disable ada if GNAT is not found.
Emit error message about missing languages. Expand
--enable-languages=all for the gcc subdirectory.
(config)
2004-03-08 Paolo Bonzini <bonzini@gnu.org>
PR ada/14131
Move language detection to the top level.
* acx.m4 (ACX_PROG_GNAT): New macro, moved here
from the gcc subdirectory.
2004-03-09 Hans-Peter Nilsson <hp@axis.com>
* accross.m4 (AC_C_BIGENDIAN_CROSS): Compile endian probe with
"-c". Properly quote parameter for AC_MSG_ERROR.
Alan Modra [Wed, 10 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Ben Elliston [Wed, 10 Mar 2004 02:58:23 +0000 (02:58 +0000)]
* MAINTAINERS: Update my mail address.
DJ Delorie [Wed, 10 Mar 2004 01:02:12 +0000 (01:02 +0000)]
merge from gcc
DJ Delorie [Wed, 10 Mar 2004 00:01:28 +0000 (00:01 +0000)]
merge from gcc
Alan Modra [Tue, 9 Mar 2004 23:00:16 +0000 (23:00 +0000)]
daily update
Jim Wilson [Tue, 9 Mar 2004 20:50:56 +0000 (20:50 +0000)]
Patch from Steve Ellcey for potential race condition.
* elfxx-ia64.c (plt_full_entry): Change ld8 to ld8.acq.
DJ Delorie [Tue, 9 Mar 2004 05:31:00 +0000 (05:31 +0000)]
merge from gcc
Alan Modra [Mon, 8 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Jaeger [Mon, 8 Mar 2004 19:12:30 +0000 (19:12 +0000)]
* gas/cfi/cfi-s390x-1.d: Adjust offsets.
Nick Clifton [Mon, 8 Mar 2004 11:50:36 +0000 (11:50 +0000)]
Honour the PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 11:33:59 +0000 (11:33 +0000)]
Honour PRIVATE keyword
Nick Clifton [Mon, 8 Mar 2004 10:06:13 +0000 (10:06 +0000)]
Updated German translation
Richard Henderson [Sun, 7 Mar 2004 23:02:02 +0000 (23:02 +0000)]
* gas/cfi/cfi-common-2.d, gas/cfi/cfi-i386.d: Adjust offsets.
Alan Modra [Sun, 7 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Sun, 7 Mar 2004 16:05:22 +0000 (16:05 +0000)]
merge from gcc
Andreas Schwab [Sun, 7 Mar 2004 15:00:16 +0000 (15:00 +0000)]
* doc/c-hppa.texi (HPPA Directives): Fix typo.
Andreas Jaeger [Sun, 7 Mar 2004 10:04:42 +0000 (10:04 +0000)]
* gas/cfi/cfi-x86_64.d: Adjust offsets.
Richard Henderson [Sun, 7 Mar 2004 08:51:21 +0000 (08:51 +0000)]
* dw2gencfi.c (output_cie): Align length to 4 byte boundary.
(cfi_finish): Likewise for fde.
* gas/alpha/elf-reloc-8.d, gas/cfi/cfi-alpha-1.d,
gas/cfi/cfi-alpha-2.d, gas/cfi/cfi-alpha-3.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d: Adjust offsets.
Alan Modra [Sat, 6 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Fred Fish [Fri, 5 Mar 2004 23:50:54 +0000 (23:50 +0000)]
Reviewed and approved by Alan Modra <amodra@bigpond.net.au>
2004-03-05 Fred Fish <fnf@redhat.com>
* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Just force
mips16 symbols to be even rather than testing first for even/odd.
(_bfd_mips_elf_link_output_symbol_hook): Ditto.
Nathan Sidwell [Fri, 5 Mar 2004 19:27:34 +0000 (19:27 +0000)]
* ld-scripts/size-1.d: Add bigendian regexps.
* ld-scripts/size-2.d: Set --wide for readelf.
H.J. Lu [Fri, 5 Mar 2004 17:07:12 +0000 (17:07 +0000)]
2004-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (md_assemble): Properly handle NULL
align_frag.
(ia64_handle_align): Don't abort if failed to add a stop bit.
Nathan Sidwell [Fri, 5 Mar 2004 11:26:05 +0000 (11:26 +0000)]
* elf.c (map_sections_to_segments): Ignore .tbss sections for
layout purposes.
* ldlang.c (lang_add_section): Don't force SEC_LOAD on
SEC_THREAD_LOCAL.
(IGNORE_SECTION): Ignore .tbss sections too.
(lang_size_sections_1): .tbss sections do not advance dot.
* ld-scripts/size.exp: New.
* ld-scripts/size-[12].{d,s,t}: New.
Alan Modra [Thu, 4 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update
H.J. Lu [Thu, 4 Mar 2004 17:08:23 +0000 (17:08 +0000)]
2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
Kaz Kojima [Thu, 4 Mar 2004 01:24:21 +0000 (01:24 +0000)]
* gas/sh/sh64/err-dsp.s: Fix expected error message.
Alan Modra [Wed, 3 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Alexandre Oliva [Wed, 3 Mar 2004 21:31:10 +0000 (21:31 +0000)]
* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
undefined symbols as hash_new.
H.J. Lu [Wed, 3 Mar 2004 19:26:26 +0000 (19:26 +0000)]
2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (dot_align): New.
(ia64_do_align): Make it static.
(md_pseudo_table): Use "dot_align" for "align".
(ia64_md_do_align): Don't set align_frag here.
(ia64_handle_align): Add a stop bit to the previous bundle if
needed.
* config/tc-ia64.h (ia64_do_align): Removed.
Joern Rennecke [Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)]
2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode. Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.
H.J. Lu [Wed, 3 Mar 2004 04:37:38 +0000 (04:37 +0000)]
2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-ia64.c (align_frag): New.
(md_assemble): Set the tc_frag_data field in align_frag for
IA64_OPCODE_FIRST instructions.
(ia64_md_do_align): Set align_frag.
(ia64_handle_align): Add a stop bit if needed.
* config/tc-ia64.h (TC_FRAG_TYPE): New.
(TC_FRAG_INIT): New.
Alexandre Oliva [Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)]
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
dynrelocs.
(_frv_count_got_plt_entries): Initialize them.
(frv_pic_relocs_info_find): Add insert argument. Adjust all
callers.
(frv_pic_relocs_info_for_global): Likewise.
(frv_pic_relocs_info_for_local): Likewise.
(frv_pic_merge_early_relocs_info): New.
(_frv_resolve_final_relocs_info): Use it in case one entry maps to
another.
(_frv_add_dyn_reloc): Add entry argument. Adjust all callers.
Check that we don't exceed the allocated count for entry.
(_frv_add_rofixup): Likewise.
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
(elf32_frv_finish_dynamic_sections): Improve error message in case
we emit too few rofixup entries.
Alan Modra [Tue, 2 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 1 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Richard Sandiford [Mon, 1 Mar 2004 19:34:14 +0000 (19:34 +0000)]
* configure.in (mips64*-*-linux*): Override mips*-*-linux* case
and disable libgcj.
* configure: Regenerated.
Andreas Schwab [Mon, 1 Mar 2004 17:33:36 +0000 (17:33 +0000)]
* ld.texinfo (Options): Fix example for --wrap.
Richard Sandiford [Mon, 1 Mar 2004 10:11:46 +0000 (10:11 +0000)]
Add fr450 support.
Richard Sandiford [Mon, 1 Mar 2004 09:42:33 +0000 (09:42 +0000)]
cpu/
* frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
(scutss): Change unit to I0.
(calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
(mqsaths): Fix FR400-MAJOR categorization.
(media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
(media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
* frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
combinations.
opcodes/
* frv-desc.c, frv-opc.c: Regenerate.
sim/frv/
* cache.c (frv_cache_init): Change fr400 cache statistics to match
the fr405.
(non_cache_access): Add missing breaks.
* interrupts.c (set_exception_status_registers): Always set EAR15
for data_access_errors.
* memory.c (fr400_check_write_address): Remove redundant alignment
check.
* model.c: Regenerate.
Richard Sandiford [Mon, 1 Mar 2004 09:26:25 +0000 (09:26 +0000)]
cpu/
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
(rstb, rsth, rst, rstd, rstq): Delete.
(rstbf, rsthf, rstf, rstdf, rstqf): Delete.
gas/testsuite/
* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
* gas/frv/allinsn.d: Update accordingly.
opcodes/
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.
sim/frv/
* decode.c, decode.h, model.c, sem.c: Regenerate.
sim/testsuite/
* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
Alan Modra [Sun, 29 Feb 2004 23:00:21 +0000 (23:00 +0000)]
daily update
H.J. Lu [Sun, 29 Feb 2004 06:11:52 +0000 (06:11 +0000)]
2004-02-28 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype.
* elflink.h (is_global_data_symbol_definition): Moved to
elflink.c.
(elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_archive_symbols): Likewise. Renamed to
_bfd_elf_link_add_archive_symbols.
* elflink.c (elf_link_is_defined_archive_symbol): Get the size
of ELF symbol table entry from backend.
(_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols
instead of elf_link_add_object_symbols.
Alan Modra [Sat, 28 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Nathanael Nerode [Sat, 28 Feb 2004 22:03:47 +0000 (22:03 +0000)]
PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
* Makefile.tpl: Add dependency for configure-target-libada.
* Makefile.in: Regenerate (incidentally fixes broken
commit when libada-branch was merged).
Andrew Cagney [Sat, 28 Feb 2004 21:52:04 +0000 (21:52 +0000)]
2004-02-28 Andrew Cagney <cagney@redhat.com>
* src-release (CVS_NAMES): Define.
(do-tar, do-tar): Prune $(CVS_NAMES).
Alexandre Oliva [Sat, 28 Feb 2004 00:35:45 +0000 (00:35 +0000)]
* elf-bfd.h (struct elf_backend_data): Added
elf_backend_can_make_relative_eh_frame,
elf_backend_can_make_lsda_relative_eh_frame and
elf_backend_encode_eh_address.
(_bfd_elf_encode_eh_address): Declare.
(_bfd_elf_can_make_relative): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
hooks to decide whether to attempt to make_relative and
make_lsda_relative.
(_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
(_bfd_elf_can_make_relative): New.
(_bfd_elf_encode_eh_address): New.
* elf32-frv.c (frv_elf_use_relative_eh_frame): New.
(frv_elf_encode_eh_address): New.
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
* elfxx-target.h
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
(elfNN_bed): Add them.
Alexandre Oliva [Sat, 28 Feb 2004 00:33:33 +0000 (00:33 +0000)]
* elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
complain_on_overflow to signed.
Alan Modra [Fri, 27 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update
H.J. Lu [Fri, 27 Feb 2004 17:02:48 +0000 (17:02 +0000)]
2004-02-27 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (sort_symbol): New.
(elf_link_add_object_symbols): Use a sorted symbol array for
weakdef.
Joern Rennecke [Fri, 27 Feb 2004 14:17:36 +0000 (14:17 +0000)]
2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
* sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4.
Also correct mistake in the comment.
Nick Clifton [Fri, 27 Feb 2004 14:13:18 +0000 (14:13 +0000)]
Add -no-bitinst switch for M32R2
Nick Clifton [Fri, 27 Feb 2004 13:16:39 +0000 (13:16 +0000)]
Undo previous delta
Fix underlying problem by changing the order of tests of rel->howto.
Martin Schwidefsky [Fri, 27 Feb 2004 12:33:11 +0000 (12:33 +0000)]
* config/tc-s390.c (s390_insn): Correct range check for opcode in
.insn pseudo operation.
Nick Clifton [Fri, 27 Feb 2004 12:21:57 +0000 (12:21 +0000)]
Fix seg fault on erroneous input
Andreas Schwab [Fri, 27 Feb 2004 11:04:36 +0000 (11:04 +0000)]
* ar.c (main): Support POSIX-compatible argument parsing.
testsuite:
* binutils-all/ar.exp (argument_parsing): New test.
Martin Schwidefsky [Fri, 27 Feb 2004 10:03:05 +0000 (10:03 +0000)]
* elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
for pc relative relocs.
(elf_s390_relocate_section): Likewise.
* elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
for pc relative relocs.
(elf_s390_relocate_section): Likewise.
Alan Modra [Thu, 26 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Eric Christopher [Thu, 26 Feb 2004 21:27:32 +0000 (21:27 +0000)]
2004-02-26 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (mips_dwarf2_addr_size): New.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
H.J. Lu [Thu, 26 Feb 2004 17:45:19 +0000 (17:45 +0000)]
2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
count_dyn_reloc.
Joern Rennecke [Thu, 26 Feb 2004 16:14:42 +0000 (16:14 +0000)]
2004-02-23 Andrew Stubbs <andrew.stubbs@superh.com>
gas:
* tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
nibble types to assembler.
opcodes:
* sh-dis.c (print_insn_sh): Add REG_N_D nibble type to
ensure that double registers have even numbers.
Add REG_N_B01 for nn01 (binary 01) nibble to ensure
that reserved instruction 0xfffd does not decode the same
as 0xfdfd (ftrv).
* sh-opc.h: Add REG_N_D nibble type and use it whereever
REG_N refers to a double register.
Add REG_N_B01 nibble type and use it instead of REG_NM
in ftrv.
Adjust the bit patterns in a few comments.
Fred Fish [Thu, 26 Feb 2004 14:12:26 +0000 (14:12 +0000)]
Patch reviewed and approved by nickc@redhat.com.
2004-02-25 Fred Fish <fnf@redhat.com>
* config/tc-iq2000.c: Add missing \n\ in multiline string literal.