OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Thu, 26 Apr 2007 19:23:37 +0000 (19:23 +0000)]
2007-04-26  Patrick Mansfield <patmans@us.ibm.com>

        * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
        overridden via machine/ieeefp.h.
        * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
        macros for isnan and related macros.
        * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
        overridden via machine/ieeefp.h.
        * libm/machine/spu/Makefile.am: Add new files.
        * libm/machine/spu/Makefile.in: Autogenerate with new files.
        * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
        * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
        * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
        * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
        * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
        * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
        * libm/machine/spu/sf_nan.c: Add SPU specific nanf.

17 years agogas/testsuite/
hjl [Thu, 26 Apr 2007 18:15:46 +0000 (18:15 +0000)]
gas/testsuite/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* gas/i386/i386.exp: Run "x86-64-addr32-intel" and
"x86-64-rip-intel".

* gas/i386/intelok.d: Updated.

* gas/i386/x86-64-addr32-intel.d: New file.
* gas/i386/x86-64-rip-intel.d: Likewise.

opcodes/

2007-04-26  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/4429
* i386-dis.c (print_insn): Also swap the order of op_riprel
when swapping op_index.  Break when the RIP relative address
is printed.
(OP_E): Properly handle RIP relative addressing and print the
explicit zero displacement for Intel mode.

17 years ago * config/tc-avr.c (mcu_types): Add support for atmega8hva and
denisc [Thu, 26 Apr 2007 17:18:23 +0000 (17:18 +0000)]
* config/tc-avr.c (mcu_types): Add support for atmega8hva and
atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
* doc/c-avr.texi: Document new devices.

17 years agobfd/
amodra [Thu, 26 Apr 2007 14:58:50 +0000 (14:58 +0000)]
bfd/
* sysdep.h: Include config.h first.
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agobfd/
amodra [Thu, 26 Apr 2007 14:46:55 +0000 (14:46 +0000)]
bfd/
Many files: Include sysdep.h before bfd.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* bucumm.h: Split off host dependencies to..
* sysdep.h: ..here.
Many files: Include sysdep.h.  Remove duplicate headers and reorder.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
ld/
Many files: Include sysdep.h first.  Remove duplicate headers.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* ns32k-dis.c: Include sysdep.h first.

17 years agoRevert the value change of DT_ENCODING from 2003-01-17. Luckily (and
jbeulich [Thu, 26 Apr 2007 06:59:55 +0000 (06:59 +0000)]
Revert the value change of DT_ENCODING from 2003-01-17. Luckily (and
surprisingly) the value isn't really being used anywhere, henc no other
changes are needed.

include/elf/
2007-04-26  Jan Beulich  <jbeulich@novell.com>

* common.h (DT_ENCODING): Correct value (back to spec mandated
value).

17 years agomerge from gcc
dj [Thu, 26 Apr 2007 03:13:46 +0000 (03:13 +0000)]
merge from gcc

17 years ago * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
uweigand [Thu, 26 Apr 2007 00:13:12 +0000 (00:13 +0000)]
* alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
and "regcache.h".
(alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
(alpha_linux_gregset, alpha_linux_fpregset): New variables.
(alpha_linux_regset_from_core_section): New function.
(alpha_linux_init_abi): Install it.
* alpha-linux-nat.c: Do not include "gdbcore.h".  Include
"alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
<sys/procfs.h>, and "gregset.h".
(ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
Move from config/alpha/nm-linux.h.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
from alpha-nat.c.
(alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
* alpha-nat.c: Remove #ifdef __linux__ section.
(fetch_elf_core_registers, alpha_elf_core_fns): Remove.
(_initialize_core_alpha): Do not register alpha_elf_core_fns.
(ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
(ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
* config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
(NATDEPFILES): Remove alpha-nat.o.
* config/alpha/nm-linux.h: Delete file.
* config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
* Makefile.in (alpha-linux-nat.o): Update dependencies.
(alpha-linux-tdep.o): Likewise.

17 years agodaily update
amodra [Thu, 26 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Thu, 26 Apr 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 25 Apr 2007 22:28:19 +0000 (22:28 +0000)]
2007-04-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
        * libm/common/sf_fpclassify.c: ...here.  New file.
        * libm/common/Makefile.am: Add sf_fpclassify.c.
        * libm/common/Makefile.in: Regenerated.

17 years ago * mips-linux-nat.c: No longer include "gdbcore.h".
uweigand [Wed, 25 Apr 2007 22:22:11 +0000 (22:22 +0000)]
* mips-linux-nat.c: No longer include "gdbcore.h".
(mips_linux_register_addr): Move from mips-linux-tdep.c.
(mips64_linux_register_addr): Likewise.
(mips_linux_register_u_offset): Call mips_linux_register_addr or
mips64_linux_register_addr instead of register_addr.
* mips-linux-tdep.c (mips_linux_register_addr,
mips64_linux_register_addr): Move to mips-linux-nat.c.
(register_addr): Remove.
(register_addr_data, init_register_addr_data): Remove.
(_initialize_mips_linux_tdep): Do not initialize register_addr_data.
(set_mips_linux_register_addr): Remove.
(mips_linux_init_abi): Do not call set_mips_linux_register_addr.
* Makefile.in (mips-linux-nat.o): Update dependencies.

17 years ago * linux-nat.c (linux_register_u_offset): Remove.
uweigand [Wed, 25 Apr 2007 22:17:47 +0000 (22:17 +0000)]
* linux-nat.c (linux_register_u_offset): Remove.
(linux_target_install_ops): New function.
(linux_target): Use it.
(linux_trad_target): New function.
* linux-nat.h (linux_trad_target): Declare.

* alpha-linux-nat.c: Include "gdbcore.h".
(alpha_linux_register_u_offset): New function.
(_initialize_alpha_linux_nat): Use linux_trad_target.

* mips-linux-nat.c: Include "gdbcore.h".
(mips_linux_register_u_offset): New function.
(_initialize_mips_linux_nat): Use linux_trad_target.

* config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/arm/nm-linux.h: Delete file.

* config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
* config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.

* config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/ia64/nm-linux.h: Delete file.

* config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/m32r/nm-linux.h: Delete file.

* config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/m68k/nm-linux.h: Delete file.

* config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/pa/nm-linux.h: Delete file.

* config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
* config/powerpc/nm-linux.h: Delete file.

* config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
* config/s390/nm-linux.h: Delete file.

* config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
* config/sparc/linux64.mh (NAT_FILE): Likewise.
* config/sparc/nm-linux.h: Delete file.

* Makefile.in (alpha-linux-nat.o): Update dependencies.
(mips-linux-nat.o): Likewise.

17 years ago * core-aout.c: Delete file.
uweigand [Wed, 25 Apr 2007 22:10:06 +0000 (22:10 +0000)]
* core-aout.c: Delete file.
* Makefile.in (ALLDEPFILES): Remove core-aout.c.
(core-aout.o): Delete rule.
* gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.

        * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.

        * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
        * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
        KERNEL_U_ADDR): Remove.

        * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
        (cannot_fetch_register, cannot_store_register): Remove.
        (fetch_register): Inline cannot_fetch_register and register_addr.
        (store_register): Inline cannot_store_register and register_addr.
        * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
        * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
        REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
        Remove.

        * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
        (fetch_register): Inline register_addr.
        (store_register): Inline register_addr.
        * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
        * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
        U_REGS_OFFSET, REGISTER_U_ADDR): Remove.

        * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
        * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
        REGISTER_U_ADDR): Remove.

        * hppa-linux-nat.c (register_addr): Rename to ...
        (hppa_linux_register_addr): ... this.  Make static.
        (fetch_register, store_register): Adapt callers.
        * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.

        * ppc-linux-nat.c (kernel_u_size): Remove.
        * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.

* vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
* config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
(NAT_FILE): Remove.
* config/vax/nm-vax.h: Delete file.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 25 Apr 2007 20:45:39 +0000 (20:45 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

* libc/machine/spu/sys/errno.h: New file, so spu errno values match
ppu linux values. This file is a copy of the cris/sys/errno.h plus
a few changes (see spu errno.h comments).

17 years ago2007-04-25 Eric Blake <ebb9@byu.net>
jjohnstn [Wed, 25 Apr 2007 19:47:36 +0000 (19:47 +0000)]
2007-04-25  Eric Blake  <ebb9@byu.net>

        * libc/stdio/vfprintf.c (get_arg): Support %1$lc.  Simplify types
        that promote to int.

17 years ago2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
jjohnstn [Wed, 25 Apr 2007 17:36:32 +0000 (17:36 +0000)]
2007-04-25  Patrick Mansfield <patmans@us.ibm.com>

        * feholdexcept.h: Use *envp not env so we clear the proper bits in
        the fpscr, and don't set some random ones.

17 years ago * gdb.base/sigaltstack.exp: Use 'srcfile' in error
vprus [Wed, 25 Apr 2007 15:56:15 +0000 (15:56 +0000)]
* gdb.base/sigaltstack.exp: Use 'srcfile' in error
message, not the undefined 'module' variable.
* gdb.base/siginfo.exp: Likewise.
* gdb.base/sigstep.exp: Likewise.
* lib/gdbserver-support.exp (gdb_target_cmd): Quote
serialport.
* lib/mi-support.exp (mi_gdb_target_cmd): Likewise.

17 years ago * config/sim.exp (gdb_target_sim): Just return with -1 when setting
corinna [Wed, 25 Apr 2007 11:38:44 +0000 (11:38 +0000)]
* config/sim.exp (gdb_target_sim): Just return with -1 when setting
target sim fails.  Return 0 otherwise.
(gdb_load): Return prematurely if gdb_target_sim fails.

17 years ago * sysdep.h: Revert last change.
amodra [Wed, 25 Apr 2007 06:32:13 +0000 (06:32 +0000)]
* sysdep.h: Revert last change.

17 years ago*** empty log message ***
gdbadmin [Wed, 25 Apr 2007 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 25 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
ericb [Tue, 24 Apr 2007 20:09:49 +0000 (20:09 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
or NaN with %05f.

17 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
ericb [Tue, 24 Apr 2007 19:55:28 +0000 (19:55 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
_MB_CAPABLE.

17 years ago * libc/include/limits.h (NL_ARGMAX): Define a default value.
ericb [Tue, 24 Apr 2007 16:01:15 +0000 (16:01 +0000)]
* libc/include/limits.h (NL_ARGMAX): Define a default value.
* libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
NL_ARGMAX, if present.

17 years ago2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com>
sky [Tue, 24 Apr 2007 14:49:47 +0000 (14:49 +0000)]
2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* opcodes/s390-opc.c (MASK_SSF_RRDRD): Fourth nybble belongs to the
opcode.
* opcodes/s390-opc.txt (pfpo, ectg, csst): New z9-ec instructions added.

2007-04-24  Andreas Krebbel  <krebbel1@de.ibm.com>

* gas/s390/zarch-z9-ec.d: Add pfpo, ectg and csst.
* gas/s390/zarch-z9-ec.s: Likewise.

17 years agoFix compile time warning (at -O3 with gcc 4.1.2)
nickc [Tue, 24 Apr 2007 13:21:31 +0000 (13:21 +0000)]
Fix compile time warning (at -O3 with gcc 4.1.2)

17 years agoFix compile time warnings (at -O3 with gcc 4.1.2)
nickc [Tue, 24 Apr 2007 13:05:46 +0000 (13:05 +0000)]
Fix compile time warnings (at -O3 with gcc 4.1.2)

17 years ago* srconv.c (walk_tree_type_1): Initialise dpt.dunno.
nickc [Tue, 24 Apr 2007 12:08:39 +0000 (12:08 +0000)]
* srconv.c (walk_tree_type_1): Initialise dpt.dunno.

17 years ago* objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is...
nickc [Tue, 24 Apr 2007 10:56:58 +0000 (10:56 +0000)]
* objcopy.c (filter_symbols): Explicitly stripping a symbol used in relocations is an error.
  Retype 'keep' to bfd_boolean.
* binutils-all/objcopy.exp: Add test for stripping a symbol used in a relocation.
* binutils-all/needed-by-reloc.s: New file.

17 years ago * ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
amodra [Tue, 24 Apr 2007 04:29:03 +0000 (04:29 +0000)]
* ld-linkonce/x.s: Use .gcc_except_table instead of .eh_frame
to test that entry for deleted function is zeroed.  Add a
somewhat closer to normal .eh_frame to test that fde for
deleted function is removed.
* ld-linkonce/y.s: Likewise.
* ld-linkonce/zeroeh.ld: Place .gcc_except_table too.
* ld-linkonce/zeroehl32.d: Update.

17 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if
amodra [Tue, 24 Apr 2007 04:28:38 +0000 (04:28 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Warn if
eh_frame_hdr table won't be created.

17 years ago * cgen-types.h: Include bfd_stdint.h, not stdint.h.
amodra [Tue, 24 Apr 2007 04:07:02 +0000 (04:07 +0000)]
* cgen-types.h: Include bfd_stdint.h, not stdint.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.in: Regenerate.
amodra [Tue, 24 Apr 2007 04:06:36 +0000 (04:06 +0000)]
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Run "make dep-am".
amodra [Tue, 24 Apr 2007 04:06:14 +0000 (04:06 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.in: Regenerate.
amodra [Tue, 24 Apr 2007 04:05:48 +0000 (04:05 +0000)]
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

17 years ago * Makefile.in: Regenerate.
amodra [Tue, 24 Apr 2007 04:05:21 +0000 (04:05 +0000)]
* Makefile.in: Regenerate.

17 years ago * acinclude.m4: Include config/stdint.m4.
amodra [Tue, 24 Apr 2007 04:05:03 +0000 (04:05 +0000)]
* acinclude.m4: Include config/stdint.m4.
* configure.in: Invoke GCC_HEADER_STDINT.
* sysdep.h: Don't include ansidecl.h here.
* configure: Regenerate.
* config.in: Regenerate.
* Makefile.in: Regenerate.

17 years ago*** empty log message ***
gdbadmin [Tue, 24 Apr 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Tue, 24 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
jjohnstn [Mon, 23 Apr 2007 22:52:29 +0000 (22:52 +0000)]
2007-04-23  Ralf Wildenhues  <Ralf.Wildenhues <at> gmx.de>

        * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
        file.  Override Autoconf-2.59's version of these macros with
        fixed handling of multiple adjacent whitespace in arguments.
        * aclocal.m4: Regenerated forcefully.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * libc/*Makefile.in: Ditto.
        * libc/*aclocal.m4: Ditto.
        * libc/*configure: Ditto.
        * libm/*Makefile.in: Ditto.
        * libm/*aclocal.m4: Ditto.
        * libm/*configure: Ditto.

17 years ago2007-04-23 Brian Dessent <brian@dessent.net>
jjohnstn [Mon, 23 Apr 2007 21:55:31 +0000 (21:55 +0000)]
2007-04-23  Brian Dessent  <brian@dessent.net>

        * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
        has been specified with types 'f', 'F', 'g', or 'G', ensure the
        trailing decimal is printed.

17 years ago2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 23 Apr 2007 19:46:08 +0000 (19:46 +0000)]
2007-04-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
        * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
        and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
        * libc/sys/arc/Makefile.in: Regenerated.

17 years ago* objcopy.c (reverse_bytes): New variable.
nickc [Mon, 23 Apr 2007 10:59:07 +0000 (10:59 +0000)]
* objcopy.c (reverse_bytes):  New variable.
  (command_line_switch, copy_main):  Add OPTION_REVERSE_ENDIAN.
  (copy_options, copy_usage):  Add "reverse-bytes" entry.
  (copy_section):  Reverse bytes within output sections.
* doc/binutils.texi:  Document new objcopy option.
* testsuite/binutils-all/objcopy.exp: Add test for --reverse-bytes.

17 years ago gas/testsuite/
nathan [Mon, 23 Apr 2007 07:51:25 +0000 (07:51 +0000)]
gas/testsuite/
* gas/m68k/br-isaa.s: New.
* gas/m68k/br-isaa.d: New.
* gas/m68k/br-isab.s: New.
* gas/m68k/br-isab.d: New.
* gas/m68k/br-isac.s: New.
* gas/m68k/br-isac.d: New.
* gas/m68k/all.exp: Adjust.

gas/
* config/tc-m68k.c (mcf54455_ctrl): New.
(HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
(m68k_archs): Add isac.
(m68k_cpus): Add 54455 family.
(m68k_ip): Split Bg into Bb, Bs, Bg.
(m68k_elf_final_processing): Add ISA_C.
* doc/c-m68k.texi (M680x0 Options): Add isac.

include/opcode/
* m68k.h (mcfisa_c): New.
(mcfusp, mcf_mask): Adjust.

bfd/
* archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac,
bfd_mach_mcf_isa_c_emac): New.
* elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry,
elf_isac_plt_entry, elf_isac_plt_info): New.
(elf32_m68k_object_p): Add ISA_C.
(elf32_m68k_print_private_bfd_data): Print ISA_C.
(elf32_m68k_get_plt_info): Detect ISA_C.
* cpu-m68k.c (arch_info): Add ISAC.
(m68k_arch_features): Likewise,
(bfd_m68k_compatible): ISAs B & C are not compatible.

opcodes/
* m68k-opc.c: Mark mcfisa_c instructions.

17 years agodaily update
amodra [Mon, 23 Apr 2007 00:00:07 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Mon, 23 Apr 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago2007-04-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 22 Apr 2007 11:25:07 +0000 (11:25 +0000)]
2007-04-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shellapi.h (NOTIFYICONDATAA, NOTIFYICONDATAW): Updated to support
        Vista.

17 years ago * read.c (read_a_source_file): Skip multiple spaces to
amodra [Sun, 22 Apr 2007 05:27:58 +0000 (05:27 +0000)]
* read.c (read_a_source_file): Skip multiple spaces to
cover hack in mmix md_start_line_hook which overwrites a
colon with a space.  Delete sermon and needless assertion.

17 years agodaily update
amodra [Sun, 22 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Sun, 22 Apr 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gas/arm/arch4t.d: Convert to unified syntax.
rearnsha [Sat, 21 Apr 2007 19:45:05 +0000 (19:45 +0000)]
* gas/arm/arch4t.d: Convert to unified syntax.
* gas/arm/archv6.d: Likewise.
* gas/arm/archv6t2.d: Likewise.
* gas/arm/arch3.d: Likewise.
* gas/arm/arch7dm.d: Likewise.
* gas/arm/arch7t.d: Likewise.
* gas/arm/archv1.d: Likewise.
* gas/arm/copro.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/macro1.d: Likewise.
* gas/arm/tcompat.d: Likewise.
* gas/arm/wince_inst.d: Likewise.
* gas/arm/xscale.d: Likewise.

* gas/arm/thumb.d: White space cleanup.
* gas/arm/thumb2_relax.d: Likewise.
* gas/arm/thumb32.d: Likewise.

17 years ago * ld-arm/arm-app-abs32.d: Convert to unified syntax.
rearnsha [Sat, 21 Apr 2007 19:44:39 +0000 (19:44 +0000)]
* ld-arm/arm-app-abs32.d: Convert to unified syntax.
* ld-arm/arm-app.d: Likewise.
* ld-arm/arm-lib-plt32.d: Likewise.
* ld-arm/arm-lib.d: Likewise.
* ld-arm/arm-static-app.d: Likewise.
* ld-arm/armthumb-lib.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-lib.d: Likewise.

17 years ago * arm-dis.c (arm_opcodes): Disassemble to unified syntax.
rearnsha [Sat, 21 Apr 2007 19:44:08 +0000 (19:44 +0000)]
* arm-dis.c (arm_opcodes): Disassemble to unified syntax.
(thumb_opcodes): Add missing white space in adr.
(arm_decode_shift): New parameter, print_shift.  Only decode the
shift parameter if set.  Adjust callers.
(print_insn_arm): Support for operand type q with no shift decode.

17 years ago * binutils-all/readelf.exp (regexp_diff): Delete.
rearnsha [Sat, 21 Apr 2007 19:01:20 +0000 (19:01 +0000)]
* binutils-all/readelf.exp (regexp_diff): Delete.

17 years ago * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
amodra [Sat, 21 Apr 2007 13:04:14 +0000 (13:04 +0000)]
* config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
(md_atof): Make number_of_chars unsigned.  Revert last change.
* config/tc-or32.c (md_apply_fix): Delete bogus assertions.
* config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
* config/tc-sh.h (md_optimize_expr): Likewise.
* config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
assertion.
* config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.

17 years ago* config/atof-vax.c (md_atof): Fix comparison inside know().
nickc [Sat, 21 Apr 2007 12:50:47 +0000 (12:50 +0000)]
* config/atof-vax.c (md_atof): Fix comparison inside know().

17 years agoFix typo.
nickc [Sat, 21 Apr 2007 12:25:12 +0000 (12:25 +0000)]
Fix typo.

17 years ago* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
nickc [Sat, 21 Apr 2007 07:49:29 +0000 (07:49 +0000)]
* ecoff.c (_bfd_ecoff_write_armap): Initialise rehash.
  (ecoff_link_add_archive_symbols): Likewise.
* coff-m68k.c (m68kcoff_common_addend_rtype_to_howto): Initialise relent.howto.
* ieee.c (parse_int): Initialise x.
  (must_parse_int): Initialise result.
  (ieee_slurp_external_symbols): Initialise value.

17 years agogas/
amodra [Sat, 21 Apr 2007 06:54:56 +0000 (06:54 +0000)]
gas/
* expr.c (expr): Assert on rankarg, not rank which can be unsigned.
* read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
Don't skip over NUL char.
(pseudo_set): Set X_op for registers to O_register.
* symbols.c (symbol_clone): Remove assertion that sym is defined.
(resolve_symbol_value): Resolve O_register symbols.
* config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
Instead find st(0) by hash lookup.
* config/tc-ppc.c (ppc_macro): Warning fix.
opcodes/
* i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
Move contents to..
(i386_regtab): ..here.
* i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.

17 years ago * as.h (ENABLE_CHECKING): Default define to 0.
amodra [Sat, 21 Apr 2007 05:15:41 +0000 (05:15 +0000)]
* as.h (ENABLE_CHECKING): Default define to 0.
(know): Assert if ENABLE_CHECKING.
(struct relax_type): Remove superfluous declaration.
* configure.in (--enable-checking): New.
* configure: Regenerate.
* config.in: Regenerate.
* config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
Check for duplicate powerpc_operands entries.

17 years ago * ppc-opc.c (powerpc_operands): Delete duplicate entries.
amodra [Sat, 21 Apr 2007 05:14:21 +0000 (05:14 +0000)]
* ppc-opc.c (powerpc_operands): Delete duplicate entries.
(BA_MASK, FXM_MASK, STRM_MASK, VA_MASK, VB_MASK, VC_MASK): Delete.
(VD_MASK, WS_MASK, MTMSRD_L, XRT_L): Delete.
(powerpc_opcodes): Replace uses of MTMSRD_L and XRT_L.

17 years ago * config.bfd (spu-*-elf): Delete targ_selvecs.
amodra [Sat, 21 Apr 2007 05:01:22 +0000 (05:01 +0000)]
* config.bfd (spu-*-elf): Delete targ_selvecs.

17 years ago*** empty log message ***
gdbadmin [Sat, 21 Apr 2007 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 21 Apr 2007 00:00:08 +0000 (00:00 +0000)]
daily update

17 years ago2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>
ironhead [Fri, 20 Apr 2007 22:54:24 +0000 (22:54 +0000)]
2007-04-20  Matthias Miller  <matthiasmiller@users.sourceforge.net>
  * include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN,
  CRYPTPROTECT_LOCAL_MACHINE): Define.

17 years ago2007-04-20 Matthias Miller <matthiasmiller@users.sourceforge.net>
ironhead [Fri, 20 Apr 2007 22:53:31 +0000 (22:53 +0000)]
2007-04-20  Matthias Miller  <matthiasmiller@users.sourceforge.net>
  * include/wincrypt.h (CRYPTPROTECT_PROMPTSTRUCT, CRYPTPROTECT_UI_FORBIDDEN,
  CRYPTPROTECT_LOCAL_MACHINE): Define.

17 years ago * config/tc-m68k.c (mcf5253_ctrl): New.
nathan [Fri, 20 Apr 2007 14:41:38 +0000 (14:41 +0000)]
* config/tc-m68k.c (mcf5253_ctrl): New.
(mcf52223_ctrl): New.
(m68k_cpus): Add 5253, 52221, 52223.

17 years ago gas/
nathan [Fri, 20 Apr 2007 14:08:59 +0000 (14:08 +0000)]
gas/
* config/m68k-parse.h (RAMBAR_ALT): New.
* config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
(mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
RAMBAR1.
(mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
(m68k_cpus): Adjust 5206, 5206e & 5307 entries.
(m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
to control register mapping.

gas/testsuite/
* gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New.
* gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New.
* gas/m68k/all.exp: Add them.

opcodes/
* m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as
rambar1.

17 years ago* rclex.l: Allow underscores at the start of identifiers.
nickc [Fri, 20 Apr 2007 13:52:58 +0000 (13:52 +0000)]
* rclex.l: Allow underscores at the start of identifiers.

17 years ago * gas/ppc/range64.s: New.
amodra [Fri, 20 Apr 2007 13:42:48 +0000 (13:42 +0000)]
* gas/ppc/range64.s: New.
* gas/ppc/range64.l: New.
* gas/ppc/range.s: New.
* gas/ppc/range.l: New.
* gas/ppc/ppc.exp (run_list_test): New.  Use to run new tests.

17 years ago * messages.c (as_internal_value_out_of_range): Fix typo in
amodra [Fri, 20 Apr 2007 13:42:02 +0000 (13:42 +0000)]
* messages.c (as_internal_value_out_of_range): Fix typo in
error message.  Return after printing domain error.
* config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
in max when shifting right.

17 years agoChangelog entry for previous delta
nickc [Fri, 20 Apr 2007 13:05:18 +0000 (13:05 +0000)]
Changelog entry for previous delta

17 years agoRestore from version 1.1
nickc [Fri, 20 Apr 2007 12:57:02 +0000 (12:57 +0000)]
Restore from version 1.1

17 years agoinclude/opcode/
amodra [Fri, 20 Apr 2007 12:25:11 +0000 (12:25 +0000)]
include/opcode/
* ppc.h (struct powerpc_operand): Replace "bits" with "bitm".
(num_powerpc_operands): Declare.
(PPC_OPERAND_SIGNED et al): Redefine as hex.
(PPC_OPERAND_PLUS1): Define.
opcodes/
* ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand
change.
* ppc-opc.c (powerpc_operands): Replace bit count with bit mask
in all entries.  Add PPC_OPERAND_SIGNED to DE entry.  Remove
references to following deleted functions.
(insert_bd, extract_bd, insert_dq, extract_dq): Delete.
(insert_ds, extract_ds, insert_de, extract_de): Delete.
(insert_des, extract_des, insert_li, extract_li): Delete.
(insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete.
(insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete.
(num_powerpc_operands): New constant.
(XSPRG_MASK): Remove entire SPRG field.
(powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK.
gas/
* messages.c (as_internal_value_out_of_range): Extend to report
errors for values with invalid low bits set.
* config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
fields.  Check that operands and opcode fields are disjoint.
(ppc_insert_operand): Check operands using mask rather than bit
count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
insertion code.
(md_apply_fix): Adjust for struct powerpc_operand change.

17 years ago * MAINTAINERS (Write After Approval): Add myself.
shinwell [Fri, 20 Apr 2007 12:19:11 +0000 (12:19 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

17 years agoCorrect erroneous ChangeLog commit.
shinwell [Fri, 20 Apr 2007 12:15:41 +0000 (12:15 +0000)]
Correct erroneous ChangeLog commit.

17 years ago * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
shinwell [Fri, 20 Apr 2007 12:13:51 +0000 (12:13 +0000)]
* Makefile.in: Adjust dependencies of m68klinux-tdep.c.
* m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
(m68k_linux_sigcontext_reg_offset): Fix typo.
(target_is_uclinux): New.
(m68k_linux_inferior_created): New.
(m68k_linux_get_sigtramp_info):  Check for uClinux or
normal Linux.  Use m68k_uclinux_sigcontext_reg_offset for
uClinux.
(_initialize_m68k_linux_tdep): Register
m68k_linux_inferior_created.

17 years ago * ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
amodra [Fri, 20 Apr 2007 10:24:37 +0000 (10:24 +0000)]
* ppc-opc.c (DCM, DGM, TE, RMC, R, SP, S): Correct shift.
(Z2_MASK): Define.
(powerpc_opcodes): Use Z2_MASK in all insns taking RMC operand.

17 years ago * arm-dis.c (print_insn): Only look for a mapping symbol in the section
rearnsha [Fri, 20 Apr 2007 00:00:17 +0000 (00:00 +0000)]
* arm-dis.c (print_insn): Only look for a mapping symbol in the section
being disassembled.

17 years agodaily update
amodra [Fri, 20 Apr 2007 00:00:06 +0000 (00:00 +0000)]
daily update

17 years ago*** empty log message ***
gdbadmin [Fri, 20 Apr 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

17 years ago * gas/arm/mapshort.s: Add a small .data section.
rearnsha [Thu, 19 Apr 2007 23:59:45 +0000 (23:59 +0000)]
* gas/arm/mapshort.s: Add a small .data section.
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
disassembly.
* gas/arm/mapshort-elf.d: Likewise.

17 years ago * binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
rearnsha [Thu, 19 Apr 2007 23:27:03 +0000 (23:27 +0000)]
* binutils-all/arm/thumb2-cond.s: Allow for tab expansion by the pty.
Rename the second test.

17 years ago * win32-nat.c (win32_detach): Remove delete_command call.
palves [Thu, 19 Apr 2007 19:35:24 +0000 (19:35 +0000)]
* win32-nat.c (win32_detach): Remove delete_command call.
Resume inferior with win32_resume instead of win32_continue.

17 years agoCorrect SSE4.2 ChangeLog entry.
hjl [Thu, 19 Apr 2007 17:08:56 +0000 (17:08 +0000)]
Correct SSE4.2 ChangeLog entry.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 19 Apr 2007 17:08:21 +0000 (17:08 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb1_unified.d: New test.
* gas/arm/thumb1_unified.s: New test.

gas/
* config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
Thumb-1.  Add sanity check for bogus relaxations.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 19 Apr 2007 17:06:20 +0000 (17:06 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/thumb1_unified.d: New test.
* gas/arm/thumb1_unified.s: New test.

gas/
* config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
Thumb-1.  Add sanity check for bogus relaxations.

17 years ago2007-04-19 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 19 Apr 2007 17:05:11 +0000 (17:05 +0000)]
2007-04-19  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.

17 years ago* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.
nickc [Thu, 19 Apr 2007 13:36:41 +0000 (13:36 +0000)]
* coffcode.h (coff_rtype_to_howto): Initialise genrel.howto.

17 years ago * ser-mingw.c (fd_is_file): New function.
guitton [Thu, 19 Apr 2007 13:04:27 +0000 (13:04 +0000)]
* ser-mingw.c (fd_is_file): New function.
(file_select_thread): New function.
(ser_console_wait_handle): Add special handling for files.

17 years agorevert hunk that belongs to a future patchset
amodra [Thu, 19 Apr 2007 10:55:25 +0000 (10:55 +0000)]
revert hunk that belongs to a future patchset

17 years ago..
amodra [Thu, 19 Apr 2007 10:52:48 +0000 (10:52 +0000)]
..

17 years agoduh
amodra [Thu, 19 Apr 2007 10:52:36 +0000 (10:52 +0000)]
duh

17 years agomissed from last commit
amodra [Thu, 19 Apr 2007 10:51:34 +0000 (10:51 +0000)]
missed from last commit

17 years agomissed from last commit
amodra [Thu, 19 Apr 2007 10:50:06 +0000 (10:50 +0000)]
missed from last commit

17 years ago * Makefile.am: Run "make dep-am".
amodra [Thu, 19 Apr 2007 10:47:50 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * Makefile.am: Run "make dep-am".
amodra [Thu, 19 Apr 2007 10:47:26 +0000 (10:47 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

17 years ago * corefile.c (core_create_function_syms, core_create_line_syms): Don't
amodra [Thu, 19 Apr 2007 10:46:56 +0000 (10:46 +0000)]
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
set discard_underscores.
* gprof.c (discard_underscores): Delete.
* gprof.h (discard_underscores): Delete.
* sym_ids.c (match): Use bfd_get_symbol_leading_char to check for
leading underscores.
* utils.c (print_name_only): Call bfd_demangle rather than
cplus_demangle.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

17 years ago * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
amodra [Thu, 19 Apr 2007 10:45:59 +0000 (10:45 +0000)]
* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
* ldlang.c (lang_one_common): Likewise.
* ldmisc.c (vfinfo): Likewise.
(demangle): Delete.
* ldmisc.h (demangle): Delete.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.