Nick Clifton [Thu, 17 Mar 2005 08:24:28 +0000 (08:24 +0000)]
(read_indirect_string): Fix apparent typo, check dwarf_str_buffer allocation,
not dwarf_abbrev_buffer.
H.J. Lu [Thu, 17 Mar 2005 02:21:50 +0000 (02:21 +0000)]
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-cris/hiddef1.d: Updated for empty section removal.
* ld-cris/libdso-10.d: Likewise.
* ld-cris/libdso-2.d: Likewise.
gdbadmin [Thu, 17 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 16 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 16 Mar 2005 21:52:48 +0000 (21:52 +0000)]
bfd/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.c (elf_mark_used_section): New.
(bfd_elf_gc_sections): Call elf_gc_mark_section for
non-relocatable link if we don't do GC.
include/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Add gc_sections.
ld/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
unused empty output sections for non-relocatable link.
* ld.h (args_type): Remove gc_sections.
* ldlang.c (lang_mark_used_section): New.
(lang_gc_sections): Use link_info.gc_sections instead of
command_line.gc_sections.
* ldmain.c (main): Likewise.
* lexsup.c (parse_args): Likewise.
* ldlang.c (lang_process): Call lang_mark_used_section.
* ldmain.c (main): Initialize link_info.gc_sections to FALSE.
ld/testsuite/
2005-03-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-alpha/tlsbin.rd: Updated for empty section removal.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-arm/mixed-lib.sym: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/apuinfo.rd: Likewise.
* ld-powerpc/powerpc.exp: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
Nick Clifton [Wed, 16 Mar 2005 18:09:04 +0000 (18:09 +0000)]
(gas_cgen_parse_operand): Copy opinfo parameter into a local variable in case
it is clobbered by the setjmp.
DJ Delorie [Wed, 16 Mar 2005 17:46:21 +0000 (17:46 +0000)]
* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.
* Makefile.in: Regenerate.
DJ Delorie [Wed, 16 Mar 2005 17:44:39 +0000 (17:44 +0000)]
merge from gcc
Daniel Jacobowitz [Wed, 16 Mar 2005 17:27:17 +0000 (17:27 +0000)]
* configure.tgt: Set emulation for arm-*-eabi*.
* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
* config/te-armeabi.h: New file.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
* config/te-symbian.h: Include "te-armeabi.h".
Nick Clifton [Wed, 16 Mar 2005 17:26:21 +0000 (17:26 +0000)]
Fix typo introduced by previous delta
Nick Clifton [Wed, 16 Mar 2005 17:18:17 +0000 (17:18 +0000)]
Rename switch to enable/disable -Werror to --enable-werror/--disable-werror
for compatibility with gcc.
Mark Mitchell [Wed, 16 Mar 2005 17:07:17 +0000 (17:07 +0000)]
* event-top.c (handle_sigquit): Do not define for systems without
SIGQUIT.
(sigquit_token): Likewise.
(async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
Mark Mitchell [Wed, 16 Mar 2005 17:05:31 +0000 (17:05 +0000)]
* event-top.c (async_init_signals): Allow for systems that do not
define SIGQUIT.
* ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
Nick Clifton [Wed, 16 Mar 2005 16:17:14 +0000 (16:17 +0000)]
Enable -Werror by default
Mark Mitchell [Wed, 16 Mar 2005 15:58:41 +0000 (15:58 +0000)]
* utils.c (internal_vproblem): Guard call to fork with
HAVE_WORKING_FORK.
* cli/cli-cmds.c (shell_escape): Guard call to vfork with
HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
* remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
S_IRGRP and related macros.
(remote_fileio_mode_to_target): Likewise.
Nick Clifton [Wed, 16 Mar 2005 14:57:00 +0000 (14:57 +0000)]
Convert to ISO C90 formatting
Nick Clifton [Wed, 16 Mar 2005 14:37:15 +0000 (14:37 +0000)]
Convert to ISO C90 formatting.
Alan Modra [Wed, 16 Mar 2005 06:11:51 +0000 (06:11 +0000)]
* elf32-ppc.c: Divide file into general and linker specific
functions. Sort linker functions into roughly the order in which
they are called by the ELF linker code.
Alan Modra [Wed, 16 Mar 2005 02:41:28 +0000 (02:41 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_create_linker_section): Set SEC_LINKER_CREATED
on section. Correct comment, and add FIXME.
(ppc_elf_additional_program_headers): Don't bump header count for
interp. Test SEC_ALLOC, not SEC_LOAD, and don't test size.
(ppc_elf_size_dynamic_sections): Don't strip sdata and sdata2, but
do allocate memory if they need it.
ld/
* emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
(OTHER_RELRO_SECTIONS): Set this instead.
ld/testsuite/
* ld-powerpc/tlsexe32.d: Update.
* ld-powerpc/tlsexe32.g: Update.
* ld-powerpc/tlsexe32.r: Update.
* ld-powerpc/tlsexe32.t: Update.
* ld-powerpc/tlsso32.d: Update.
* ld-powerpc/tlsso32.g: Update.
* ld-powerpc/tlsso32.r: Update.
* ld-powerpc/tlsso32.t: Update.
Alan Modra [Wed, 16 Mar 2005 02:38:39 +0000 (02:38 +0000)]
* ppc-dis.c (powerpc_dialect): Don't set PPC_OPCODE_ALTIVEC when
BOOKE.
gdbadmin [Wed, 16 Mar 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Jim Blandy [Tue, 15 Mar 2005 23:25:59 +0000 (23:25 +0000)]
sim/common/ChangeLog:
2005-02-28 Jim Blandy <jimb@redhat.com>
* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-Wuninitialized in the default list of build warnings if CFLAGS is
set, and doesn't include -O. (Using -Wuninitialized without
optimization produces a warning, which interferes with compilation
with -Werror.)
sim/ChangeLog:
2005-02-28 Jim Blandy <jimb@redhat.com>
* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
Regenerated, after change to common/aclocal.m4.
Alan Modra [Tue, 15 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Zack Weinberg [Tue, 15 Mar 2005 20:38:00 +0000 (20:38 +0000)]
* config/tc-arm.c (do_mla): Rename to do_mlas, take second
is_mls parameter; do not diagnose Rm==Rd when is_mls.
(do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
(do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
(insns): Add ARMv6T2 instructions:
bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
(arm_archs): Add V6T2 variants.
testsuite:
* gas/arm/archv6t2.d, gas/arm/archv6t2.s: New dump test.
* gas/arm/archv6t2-bad.l, gas/arm/archv6t2-bad.l: New errors test.
* gas/arm/arm.exp: Run them.
Nick Clifton [Tue, 15 Mar 2005 17:49:15 +0000 (17:49 +0000)]
Add cutoff for changes in 2.16 release
Nick Clifton [Tue, 15 Mar 2005 17:45:19 +0000 (17:45 +0000)]
Add new switch --globalize-symbol to convert local symbols into globals.
Nick Clifton [Tue, 15 Mar 2005 16:20:42 +0000 (16:20 +0000)]
Step through the sorted array of basic blocks.
Jan Beulich [Tue, 15 Mar 2005 15:41:31 +0000 (15:41 +0000)]
gas/
2005-03-15 Jan Beulich <jbeulich@novell.com>
* expr.c (operand): Merge handling of unary + into that for unary
-, !, and ~.
Nick Clifton [Tue, 15 Mar 2005 14:14:08 +0000 (14:14 +0000)]
Add support for an x86_64-elf target
Eric Christopher [Tue, 15 Mar 2005 05:28:17 +0000 (05:28 +0000)]
==> ChangeLog <==
2005-03-14 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c: Include dw2gencfi.h.
(mips_cfi_frame_initial_instructions): New.
* config/tc-mips.h (TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Ditto.
(DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
(DWARF2_CIE_DATA_ALIGNMENT): Ditto.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
==> testsuite/ChangeLog <==
2005-03-14 Eric Christopher <echristo@redhat.com>
* gas/cfi/cfi-mips-1.d, gas/cfi/cfi-mips-1.s: New dump test.
* gas/cfi/cfi.exp: Run it.
* gas/cfi/cfi-common-1.d: Update.
* gas/cfi/cfi-common-2.d: Ditto.
* gas/cfi/cfi-common-3.d: Ditto.
* gas/cfi/cfi-common-4.d: Ditto.
Alan Modra [Tue, 15 Mar 2005 05:25:37 +0000 (05:25 +0000)]
Commit new Spanish translation.
gdbadmin [Tue, 15 Mar 2005 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 14 Mar 2005 23:39:09 +0000 (23:39 +0000)]
Commit new French translation.
Alan Modra [Mon, 14 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Mon, 14 Mar 2005 18:55:44 +0000 (18:55 +0000)]
2005-03-14 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relocate_section): Set symbo name
for global symbol when reporting overflow.
Paul Brook [Mon, 14 Mar 2005 15:42:52 +0000 (15:42 +0000)]
2005-03-14 Paul Brook <paul@codesourcery.com>
* lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
targets.
Alan Modra [Mon, 14 Mar 2005 12:32:02 +0000 (12:32 +0000)]
* gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
Alan Modra [Mon, 14 Mar 2005 12:29:13 +0000 (12:29 +0000)]
* ldexp.c (exp_fold_tree): Ensure return value is initialized.
Tidy etree_assert case.
Nick Clifton [Mon, 14 Mar 2005 09:35:26 +0000 (09:35 +0000)]
Use ".word 0x0012 # Entry mask: r1 r2 >" instead of just "Entry mask: < r1 ... >"
Alan Modra [Mon, 14 Mar 2005 03:40:46 +0000 (03:40 +0000)]
Commit new Turkish translation.
Ben Elliston [Mon, 14 Mar 2005 03:09:45 +0000 (03:09 +0000)]
* Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
more primitive library.
gdbadmin [Mon, 14 Mar 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 13 Mar 2005 23:42:47 +0000 (23:42 +0000)]
* po/tr.po: Commit new Turkish translation.
Alan Modra [Sun, 13 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 13 Mar 2005 22:06:10 +0000 (22:06 +0000)]
* inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
sprintf.
* target.c (normal_pid_to_str): Likewise.
* remote.c (remote_pid_to_str): Use snprint instead of sprintf.
Change capitalization of "thread". Use ptid_get_pid instead of
GETPID.
Mark Kettenis [Sun, 13 Mar 2005 19:55:38 +0000 (19:55 +0000)]
* cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
a combination of xmalloc and sprintf.
Jim Blandy [Sun, 13 Mar 2005 05:37:48 +0000 (05:37 +0000)]
* configure.ac: Use '=', not '=='; the latter is a GNU extension.
* configure: Regenerated.
gdbadmin [Sun, 13 Mar 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 12 Mar 2005 23:00:07 +0000 (23:00 +0000)]
daily update
Zack Weinberg [Sat, 12 Mar 2005 18:25:47 +0000 (18:25 +0000)]
gas:
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
wfi, yield.
opcodes:
* arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev,
wfe, wfi, yield.
gas/testsuite:
* gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test.
* gas/arm/arm.exp: Run it.
Zack Weinberg [Sat, 12 Mar 2005 18:17:42 +0000 (18:17 +0000)]
Revert accidental commit of V6K ops
Zack Weinberg [Sat, 12 Mar 2005 18:14:05 +0000 (18:14 +0000)]
include:
* opcode/arm.h: Adjust comments for ARM_EXT_V4T and ARM_EXT_V5T.
Add ARM_EXT_V6T2, ARM_ARCH_V6T2, ARM_ARCH_V6KT2, ARM_ARCH_V6ZT2,
and ARM_ARCH_V6ZKT2.
opcodes:
* arm-dis.c (arm_opcodes): Document %E and %V.
Add entries for v6T2 ARM instructions:
bfc bfi mls strht ldrht ldrsht ldrsbt movw movt rbit ubfx sbfx.
(print_insn_arm): Add support for %E and %V.
gdbadmin [Sat, 12 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Michael Snyder [Fri, 11 Mar 2005 23:16:47 +0000 (23:16 +0000)]
2005-03-11 Michael Snyder <msnyder@redhat.com>
* mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
stub fn with real implementatin mn10300_unwind_dummy_id.
(mn10300_push_dummy_call): Implement. Bare bones version,
does not handle structs or floats.
Alan Modra [Fri, 11 Mar 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Jim Blandy [Fri, 11 Mar 2005 21:02:02 +0000 (21:02 +0000)]
Avoid warnings due to the use of -Wuninitialized without -O.
* configure.ac (build_warnings): Include -Wuninitialized only if
CFLAGS is unset at configure time, or CFLAGS is set and includes
some -O option other than -O0.
* configure: Regenerated.
Jim Blandy [Fri, 11 Mar 2005 20:27:56 +0000 (20:27 +0000)]
* mips-tdep.c (show_mips_abi): Change calling conventions to match
those expected by add_setshow_enum_cmd. Use 'file' argument as
appropriate.
Daniel Jacobowitz [Fri, 11 Mar 2005 19:55:36 +0000 (19:55 +0000)]
* Makefile.am: Remove references to em68klynx.o and esparclynx.o.
* Makefile.in: Regenerated.
* emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
Daniel Jacobowitz [Fri, 11 Mar 2005 19:52:51 +0000 (19:52 +0000)]
* config-gas.com: Mark vax-vms as obsolete.
* configure.in: Remove fmt=vms support.
* config.in: Regenerate.
* configure: Regenerate.
* config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
Jakub Jelinek [Fri, 11 Mar 2005 16:37:17 +0000 (16:37 +0000)]
* libbfd-in.h (_bfd_ar_spacepad): New prototype.
* libbfd.h: Rebuilt.
* archive.c (_bfd_ar_spacepad): New function.
(_bfd_construct_extended_name_table, _bfd_write_archive_contents,
bsd_write_armap, _bfd_archive_bsd_update_armap_timestamp,
coff_write_armap): Use it.
(bfd_ar_hdr_from_filesystem): Likewise. Fix HP-UX large
uid/gid support.
* archive64.c (bfd_elf64_archive_write_armap): Use _bfd_ar_spacepad.
Nick Clifton [Fri, 11 Mar 2005 08:36:32 +0000 (08:36 +0000)]
Updated French translation
Daniel Jacobowitz [Fri, 11 Mar 2005 02:24:23 +0000 (02:24 +0000)]
* Makefile.in (SFILES): Add cp-names.y.
(libiberty_h, safe_ctype_h): New.
(YYFILES): Add cp-names.c.
(YYOBJ): Add cp-names.o.
(test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
(clean): Remove test-cp-names$(EXEEXT).
(local-maintainer-clean): Remove cp-names.c.
* cp-names.y: New file.
* cp-support.c (find_last_component): Delete.
(d_left, d_right): Define.
(cp_canonicalize_string, mangled_name_to_comp): New functions.
(cp_class_name_from_physname, method_name_from_physname): Rewrite
to use mangled_name_to_comp.
* cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
(cp_comp_to_string): New prototypes.
* config/djgpp/fnchange.lst: Add cp-names.c.
Bob Wilson [Fri, 11 Mar 2005 00:14:15 +0000 (00:14 +0000)]
* config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
when checking if xg_resolve_literals needs to be called.
* config/tc-xtensa.h: Fix spelling typo in a comment.
gdbadmin [Fri, 11 Mar 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 10 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 10 Mar 2005 21:26:53 +0000 (21:26 +0000)]
* archive.c (_bfd_look_for_bfd_in_cache): Move declaration of
has_table to the start of the function.
Bob Rossi [Thu, 10 Mar 2005 20:49:08 +0000 (20:49 +0000)]
Remove the --[no]async command line switch from --help
Aldy Hernandez [Thu, 10 Mar 2005 20:21:49 +0000 (20:21 +0000)]
* gas/ppc/e500.d: Fix encoding of efscfd.
Nick Clifton [Thu, 10 Mar 2005 16:15:24 +0000 (16:15 +0000)]
Import updated Russian translation from Translation Project's website.
Bob Rossi [Thu, 10 Mar 2005 13:12:33 +0000 (13:12 +0000)]
Add 2005 to doco copyright
Alan Modra [Thu, 10 Mar 2005 12:52:30 +0000 (12:52 +0000)]
opcodes/
* ppc-opc.c (insert_sprg, extract_sprg): New Functions.
(powerpc_operands <SPRG>): Call the above. Bit field is 5 bits.
(SPRG_MASK): Delete.
(XSPRG_MASK): Mask off extra bits now part of sprg field.
(powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move
mfsprg4..7 after msprg and consolidate.
gas/testsuite
* gas/ppc/booke.s: Add new m[t,f]sprg testcases.
* gas/ppc/booke.d: Likewise.
Nick Clifton [Thu, 10 Mar 2005 10:39:29 +0000 (10:39 +0000)]
Add Romanian translation
Jan Beulich [Thu, 10 Mar 2005 09:32:20 +0000 (09:32 +0000)]
gas/
2005-03-10 Jan Beulich <jbeulich@novell.com>
* config/tc-tic54x.h (tic54x_macro_info): Change parameter type.
* config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand-
crafted structure declarations with the types from macro.h.
Mark Kettenis [Thu, 10 Mar 2005 09:11:10 +0000 (09:11 +0000)]
* proc-api.c: Update copyright year.
(_initialize_proc_api): Revert previous patch, removing spurious
space instead.
Joel Brobecker [Thu, 10 Mar 2005 02:43:23 +0000 (02:43 +0000)]
* regcache.c: Fix typo in comment.
DJ Delorie [Thu, 10 Mar 2005 01:06:07 +0000 (01:06 +0000)]
merge from gcc
Ben Elliston [Thu, 10 Mar 2005 00:29:35 +0000 (00:29 +0000)]
* archive.c: Include hashtab.h.
(struct ar_cache): Rename `arelt' to `arbfd' and remove `next'.
(_bfd_look_for_bfd_in_cache): Reimplement using htab_find.
(hash_file_ptr): New function.
(eq_file_ptr): Likewise.
(_bfd_add_bfd_to_archive_cache): Reimplement using a hash table.
* libbfd-in.h: Include hashtab.h.
(struct artdata): Change `cache' member type to htab_t.
* libbfd.h: Rebuild.
gdbadmin [Thu, 10 Mar 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
David Lecomber [Wed, 9 Mar 2005 23:33:52 +0000 (23:33 +0000)]
2005-03-09 David Lecomber <david@lecomber.net>
* proc-api.c (_initialize_proc_api): Fix invalid multi-line
i18n text.
Alan Modra [Wed, 9 Mar 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Wed, 9 Mar 2005 22:08:13 +0000 (22:08 +0000)]
* sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
address for 64-bit code.
(sparc_unwind_dummy_id): Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
frame base address convention.
(sparc64_push_dummy_call): Likewise.
* sparc64nbsd-tdep.c: Update copyright year.
(sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
address for 64-bit code.
(sparc64nbsd_init_abi): Tweak comment.
* sparc64obsd-tdep.c: Update copyright year.
(sparc64obsd_frame_cache): Adjust cached frame base address for
64-bit code.
(sparc64obsd_init_abi): Tweak comment.
Mark Kettenis [Wed, 9 Mar 2005 21:55:21 +0000 (21:55 +0000)]
Fix my email address in 2005-03-05 entry.
Ian Lance Taylor [Wed, 9 Mar 2005 21:28:10 +0000 (21:28 +0000)]
* pex-os2.c: Remove.
* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
* Makefile.in (CFILES): Remove pex-os2.c.
(CONFIGURED_OFILES): Remove pex-os2.o.
(pex-os2.o): Remove target.
* configure: Rebuild.
Corinna Vinschen [Wed, 9 Mar 2005 17:52:54 +0000 (17:52 +0000)]
* exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
(plus a tiny ChangeLog fix)
Alan Modra [Wed, 9 Mar 2005 13:08:26 +0000 (13:08 +0000)]
* vax-dis.c (entry_mask_bit): New array.
(print_insn_vax): Decode function entry mask.
Richard Sandiford [Wed, 9 Mar 2005 11:56:15 +0000 (11:56 +0000)]
* config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
Richard Sandiford [Wed, 9 Mar 2005 09:53:50 +0000 (09:53 +0000)]
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(MAX_NOPS): Bump to 4.
(mips_fix_vr4130): New variable.
(nops_for_vr4130): New function.
(nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
nops_for_vr4130 if working around VR4130 errata.
(OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
(md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
(md_parse_option): Handle them.
(md_show_usage): Print them.
* doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
Richard Sandiford [Wed, 9 Mar 2005 09:39:31 +0000 (09:39 +0000)]
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(MAX_NOPS): Bump to 4.
(mips_fix_vr4130): New variable.
(nops_for_vr4130): New function.
(nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use
nops_for_vr4130 if working around VR4130 errata.
(OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros.
(md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130.
(md_parse_option): Handle them.
(md_show_usage): Print them.
* doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
Richard Sandiford [Wed, 9 Mar 2005 09:35:00 +0000 (09:35 +0000)]
* config/tc-mips.c (append_insn): Remove cop_interlocks test from
branch delay code.
Richard Sandiford [Wed, 9 Mar 2005 09:22:25 +0000 (09:22 +0000)]
* config/tc-mips.h (mips_flush_pending_output): Delete.
(mips_emit_delays): Declare.
(md_flush_pending_output): Use mips_emit_delays.
* config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget
the previous instructions.
(md_begin, append_insn, md_parse_option): Update callers.
(mips_emit_delay): Remove parameter. Move INSNS != 0 code to
start_noreorder.
(mips_align, s_change_sec, s_cons, s_float_cons, s_gpword)
(s_gpdword): Update callers.
(start_noreorder, end_noreorder): New functions.
(macro, macro2, mips16_macro, s_mipsset): Use them instead of
manipulating mips_opts or prev_nop_frag directly.
(mips_flush_pending_output): Delete.
Richard Sandiford [Wed, 9 Mar 2005 09:21:18 +0000 (09:21 +0000)]
* config/tc-mips.c (mips_move_labels): New function, taken from...
(append_insn, mips_emit_delays): ...here.
Richard Sandiford [Wed, 9 Mar 2005 09:20:27 +0000 (09:20 +0000)]
* config/tc-mips.c (MAX_NOPS): New macro.
(history): Resize to 1 + MAX_NOPS.
(fix_vr4120_class): New enumeration.
(vr4120_conflicts): New variable.
(init_vr4120_conflicts): New function.
(md_begin): Call it.
(insn_uses_reg): Constify first argument.
(classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence)
(nops_for_insn_or_target): New functions.
(append_insn): Use the new nops_for_* functions instead of inline
delay checks. Generalize prev_nop_frag handling to handle an
arbitrary history length. Insert nops into the history buffer
once the number of nops in prev_nop_frag is fixed.
(emit_delays): Use nops_for_insn instead of inline delay checks.
Richard Sandiford [Wed, 9 Mar 2005 09:17:41 +0000 (09:17 +0000)]
* config/tc-mips.c (append_insn): Remove now-redundant nops != 0
check from branch delay code. Remove unnecessary check for branches.
Richard Sandiford [Wed, 9 Mar 2005 09:17:02 +0000 (09:17 +0000)]
* config/tc-mips.c (dummy_opcode): Delete.
(nop_insn, mips16_nop_insn): New variables.
(NOP_INSN): New macro.
(insn_length, create_insn, install_insn, move_insn, add_fixed_insn)
(add_relaxed_insn, insert_into_history, emit_nop): New functions.
(md_begin): Initialize nop_insn and mips16_nop_insn.
(append_insn): Use the new emit_nop function to add nops, recording
them in the history buffer. Use add_fixed_insn or add_relaxed_insn
to reserve room for the instruction and install_insn to install the
final form. Use insert_into_history to record the instruction in
the history buffer. Use move_insn to do delay slot filling.
(mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro.
(macro_build, mips16_macro_build, macro_build_lui, mips_ip)
(mips16_ip): Use create_insn to initialize mips_cl_insns.
Richard Sandiford [Wed, 9 Mar 2005 09:15:35 +0000 (09:15 +0000)]
* config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
(EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New.
(insn_uses_reg, reg_needs_delay, append_insn, macro_build)
(mips16_macro_build, macro_build_lui, mips16_macro, mips_ip)
(mips16_ip): Use the new macros instead of explicit masks and shifts.
Richard Sandiford [Wed, 9 Mar 2005 09:14:20 +0000 (09:14 +0000)]
* config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
and extended_p fields with a single fixed_p field.
(append_insn, mips_no_prev_insn): Adjust accordingly.
Richard Sandiford [Wed, 9 Mar 2005 09:13:18 +0000 (09:13 +0000)]
* config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
a single mips16_absolute_jump_p bit.
(append_insn): Adjust accordingly.
Richard Sandiford [Wed, 9 Mar 2005 09:12:29 +0000 (09:12 +0000)]
* config/tc-mips.h (mips_cl_insn): Move definition to...
* config/tc-mips.c (mips_cl_insn): ...here. Add new fields:
frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p
and extended_p.
(history): New variable.
(prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag)
(prev_insn_where, prev_insn_reloc_type, prev_insn_fixp)
(prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended)
(prev_prev_insn_unreordered): Delete.
(reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays)
(macro_start): Replace uses of prev_insn* with the equivalent history[]
field.
Joel Brobecker [Wed, 9 Mar 2005 06:03:15 +0000 (06:03 +0000)]
* dwarf2read.c (dwarf_decode_lines): Use the complete filename
when creating include psymtabs.
Joel Brobecker [Wed, 9 Mar 2005 05:58:45 +0000 (05:58 +0000)]
* gdb.dwarf2/dup-psym.S: New file.
* gdb.dwarf2/dup-psym.exp: New testcase.