OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
nickc [Tue, 29 Sep 2009 16:28:51 +0000 (16:28 +0000)]
    * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
        (rts).

14 years agogdb/
jkratoch [Tue, 29 Sep 2009 16:27:05 +0000 (16:27 +0000)]
gdb/
* ia64-tdep.c (ia64_convert_from_func_ptr_addr): New variable buf.
Check first the descriptor memory is readable.

14 years ago * doc/binutils.texi (c++filt): Remove spurious description of
nickc [Tue, 29 Sep 2009 15:34:08 +0000 (15:34 +0000)]
    * doc/binutils.texi (c++filt): Remove spurious description of
        nonexistent --java command line switch for cxxfilt.

14 years ago * python/py-value.c (valpy_string): NULL-terminate 'keywords'.
tromey [Tue, 29 Sep 2009 15:13:45 +0000 (15:13 +0000)]
* python/py-value.c (valpy_string): NULL-terminate 'keywords'.

14 years ago2009-09-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 29 Sep 2009 14:37:57 +0000 (14:37 +0000)]
2009-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_append_rela): New.
(elf64_x86_64_relocate_section): Use it.
(elf64_x86_64_finish_dynamic_symbol): Likewise.

14 years agobfd
nickc [Tue, 29 Sep 2009 14:17:02 +0000 (14:17 +0000)]
bfd
        * Makefile.am (ALL_MACHINES): Add cpu-rx.lo.
        (ALL_MACHINES_CFILES): Add cpu-rx.c.
        (BFD32_BACKENDS): Add elf32-rx.lo.
        (BFD32_BACKENDS_CFILES): Add elf32-rx.c.
        * archures.c (bfd_architecture): Add bfd_arch_rx and bfd_mach_rx.
        Export bfd_rx_arch.
        (bfd_archures_list): Add bfd_rx_arch.
        * config.bfd: Add entry for rx-*-elf.
        * configure.in: Add entries for bfd_elf32_rx_le_vec and
        bfd_elf32_rx_be_vec.
        * reloc.c: Add RX relocations.
        * targets.c: Add RX target vectors.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * configure: Regenerate.
        * libbfd.h: Regenerate.
        * cpu-rx.c: New file.
        * elf32-rx.c: New file.

binutils
        * readelf.c: Add support for RX target.
        * MAINTAINERS: Add DJ and NickC as maintainers for RX.

gas
        * Makefile.am: Add RX target.
        * configure.in: Likewise.
        * configure.tgt: Likewise.
        * read.c (do_repeat_with_expander): New function.
        * read.h: Provide a prototype for do_repeat_with_expander.
        * doc/Makefile.am: Add RX target documentation.
        * doc/all.texi: Likewise.
        * doc/as.texinfo: Likewise.
        * Makefile.in: Regenerate.
        * NEWS: Mention support for RX architecture.
        * configure: Regenerate.
        * doc/Makefile.in: Regenerate.
        * config/rx-defs.h: New file.
        * config/rx-parse.y: New file.
        * config/tc-rx.h: New file.
        * config/tc-rx.c: New file.
        * doc/c-rx.texi: New file.

gas/testsuite
        * gas/rx: New directory.
        * gas/rx/*: New set of test cases.
        * gas/elf/section2.e-rx: New expected output file.
        * gas/all/gas.exp: Add support for RX target.
        * gas/elf/elf.exp: Likewise.
        * gas/lns/lns.exp: Likewise.
        * gas/macros/macros.exp: Likewise.

include
        * dis-asm.h: Add prototype for print_insn_rx.

include/elf
        * rx.h: New file.

include/opcode
        * rx.h: New file.

ld
        * Makefile.am: Add rules to build RX emulation.
        * configure.tgt: Likewise.
        * NEWS: Mention support for RX architecture.
        * Makefile.in: Regenerate.
        * emulparams/elf32rx.sh: New file.
        * emultempl/rxelf.em: New file.

opcodes
        * Makefile.am: Add RX files.
        * configure.in: Add support for RX target.
        * disassemble.c: Likewise.
        * Makefile.in: Regenerate.
        * configure: Regenerate.
        * opc2c.c: New file.
        * rx-decode.c: New file.
        * rx-decode.opc: New file.
        * rx-dis.c: New file.

14 years agoopcodes/
bergner [Tue, 29 Sep 2009 13:19:10 +0000 (13:19 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
"lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.

gas/testsuite/
* gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux",
"stxvd2ux", "stxvw4ux"): Remove tests.
* gas/ppc/vsx.d: Likewise.
* gas/ppc/power7.s: Likewise.
* gas/ppc/power7.d: Likewise.

14 years ago * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
uweigand [Tue, 29 Sep 2009 13:02:57 +0000 (13:02 +0000)]
* gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
target_info setting.

* gdb.threads/thread-specific.exp (get_thread_list): Support targets
that detect new threads during "info threads".

14 years ago * s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
uweigand [Tue, 29 Sep 2009 12:51:34 +0000 (12:51 +0000)]
* s390-tdep.c (s390_displaced_step_fixup): Use type ULONGEST
instead of CORE_ADDR for "amode".

14 years ago2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
swami [Tue, 29 Sep 2009 11:55:09 +0000 (11:55 +0000)]
2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable
       to fix the ld/testsuites/ld-elf/linkonce1 test case.

14 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Always call
corinna [Tue, 29 Sep 2009 08:46:29 +0000 (08:46 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Always call
WSARecv on SOCK_STREAM sockets.

14 years ago * ldlang.c (lang_size_sections_1): Allow scripts to specify a
amodra [Tue, 29 Sep 2009 02:24:56 +0000 (02:24 +0000)]
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
non-zero vma even when relocatable.

14 years ago * ia64-tdep.c: Update the comments on how we insert/remove
brobecke [Tue, 29 Sep 2009 01:25:37 +0000 (01:25 +0000)]
    * ia64-tdep.c: Update the comments on how we insert/remove
        breakpoints for L-X instructions.
        (ia64_memory_insert_breakpoint, ia64_memory_remove_breakpoint):
        Update the comments inside these functions.

14 years ago * gdbarch.sh (displaced_step_hw_singlestep): New callback.
uweigand [Tue, 29 Sep 2009 00:53:03 +0000 (00:53 +0000)]
* gdbarch.sh (displaced_step_hw_singlestep): New callback.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_displaced_step_hw_singlestep): New function.
* arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.

* ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
(rs6000_gdbarch_init): Install it.

* infrun.c (displaced_step_fixup): Use new callback to determine
whether to "step" or "continue" displaced copy.
(resume): Likewise.  Do not call maybe_software_singlestep
for displaced stepping.
(maybe_software_singlestep): Do not handle displaced stepping.

14 years ago * eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
uweigand [Tue, 29 Sep 2009 00:48:31 +0000 (00:48 +0000)]
* eval.c (evaluate_subexp_standard) [OP_OBJC_MSGCALL]: Support
platforms that use function descriptors.  Prefer to use function
pointer types instead of function types.
* linespec.c (decode_objc): Support function descriptors.  Fully
initialize SAL result.
* objc-lang.c (find_methods): Support function descriptors.
Do not require function symbol to point to text section.

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): When calling
via a function pointer, use the descriptor it points to.

14 years agodaily update
amodra [Tue, 29 Sep 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 29 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Fix ia64 breakpoints in the L-X slot.
brobecke [Mon, 28 Sep 2009 23:54:01 +0000 (23:54 +0000)]
    Fix ia64 breakpoints in the L-X slot.
        * ia64-tdep.c (ia64_memory_insert_breakpoint): Extend the comment.
        New variable shadow_slotnum, use it appropriately instead of slotnum.
        Move shadow_len initialization before SLOTNUM adjustment, cover now the
        whole remaining bundle.  Error now on breakpoints requested for the
        slot 2 of L-X bundles.  Better sanity check the requested slot 1 of L-X
        bundles.
        (ia64_memory_remove_breakpoint): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Warn now on breakpoints requested
        for the slot 2 of L-X bundles.  Better sanity check the requested slot
        1 of L-X bundles.  Update the assertio check of PLACED_SIZE.
        (ia64_breakpoint_from_pc): New variable shadow_slotnum, use it
        appropriately instead of slotnum.  Move *lenptr initialization before
        SLOTNUM adjustment, cover now the whole remaining bundle.  Error now
        on breakpoints requested for the slot 2 of L-X bundles.  Better sanity
        check the requested slot 1 of L-X bundles.  Simplify the returned
        expression.

14 years ago * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
brobecke [Mon, 28 Sep 2009 23:47:02 +0000 (23:47 +0000)]
    * ia64-tdep.c (ia64_memory_insert_breakpoint): Check the slotnum
        and the type of instruction before deciding which slot to save
        in the breakpoint shadown contents.

14 years ago (TRAP_REMOVE_SYSCALL_FLAG): New macro.
devans [Mon, 28 Sep 2009 21:09:14 +0000 (21:09 +0000)]
(TRAP_REMOVE_SYSCALL_FLAG): New macro.
(linux_nat_wait_1): Mask off is-syscall bit in wait status for
TRAP_IS_SYSCALL before passing value to caller.

14 years ago * linux-nat.c (status_to_str): Handle TRAP_IS_SYSCALL.
devans [Mon, 28 Sep 2009 18:39:29 +0000 (18:39 +0000)]
* linux-nat.c (status_to_str): Handle TRAP_IS_SYSCALL.

14 years ago2009-09-28 Michael Eager <eager@eagercon.com>
jjohnstn [Mon, 28 Sep 2009 16:43:56 +0000 (16:43 +0000)]
2009-09-28  Michael Eager <eager@eagercon.com>

        * configure.in: Add microblaze-*-*.
        * configure: Add microblaze-*-* (not regenerated.)
        * microblaze: NEW microblaze target directory.
        * microblaze/configure.in: NEW.
        * microblaze/configure: Generate.
        * microblaze/Makefile.in: NEW.
        * microblaze/{crt0.S, crt1.S, crt2.S, crt3.S, crt4.S, crtinit.S}: NEW.
        * microblaze/{pgcrtinit.S, _program_clean.S, _program_init.S,
        sbrk.c, sim-crtinit.S, sim-pgcrtinit.S, timer.c, _exception_handler.S,
        _hw_exception_handler.S, _interrupt_handler.S, xil_malloc.c,
        nnxil_printf.c, xil_sbrk.c: NEW.
        * microblaze/xilinx.ld: NEW.

14 years ago2009-09-28 Michael Eager <eager@eagercon.com>
jjohnstn [Mon, 28 Sep 2009 16:42:20 +0000 (16:42 +0000)]
2009-09-28  Michael Eager <eager@eagercon.com>

        * configure.host: Add microblaze.
        * libc/include/machine/ieeefp.h [MICROBLAZE]: Define __IEEE_BIG_ENDIAN.
        * libc/include/machine/setjmp.h [MICROBLAZE]: Define _JBLEN, _JBTYPE.
        * libc/include/sys/config.h [MICROBLAZE]: Define _REENT_SMALL,
        _UNIX98_THREAD_MUTEX_ATTRIBUTES.
        * libc/include/sys/types.h: Treat XMK like rtems, define
        PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_ERRORCHECK, PTHREAD_MUTEX_RECURSIVE,
        PTHREAD_MUTEX_DEFAULT, PTHREAD_STACK_MIN, define stuct pthread_attr_s.
        * libc/machine/configure.in: Add microblaze.
        * libc/machine/configure: Add microblaze (not regenerated).
        * libc/machine/microblaze/configure.in: NEW.
        * libc/machine/microblaze/configure: Generate.
        * libc/machine/microblaze/Makefile.am: NEW.
        * libc/machine/microblaze/Makefile.in: Generate.
        * libc/machine/microblaze/{abort.c, strcmp.c, strcpy.c, strlen.c,
        mallocr.c, longjmp.S, setjmp.S}: NEW.
        * libc/stdlib/mallocr.c [MICROBLAZE]: Don't declare sbrk prototype,
        mALLOc(): return malloc value.

14 years ago * configure.in: Don't invoke configure.tgt on $enable_targets.
amodra [Mon, 28 Sep 2009 12:48:16 +0000 (12:48 +0000)]
* configure.in: Don't invoke configure.tgt on $enable_targets.
* configure: Regenerate.

14 years agooops - omitted from previous delta
nickc [Mon, 28 Sep 2009 12:15:51 +0000 (12:15 +0000)]
oops - omitted from previous delta

14 years ago * fhandler.h (class dev_console): Constify charset parameter of
corinna [Mon, 28 Sep 2009 12:10:32 +0000 (12:10 +0000)]
* fhandler.h (class dev_console): Constify charset parameter of
str_to_con.
* fhandler_console.cc (dev_console::con_to_str): Simplify.  Always
default to the current internal locale.
(dev_console::get_console_cp): Always use codepage 437 for alternate
charset.
(dev_console::str_to_con): Constify charset parameter.
(fhandler_console::write_normal): Always use codepage 437 for alternate
charset.  Otherwise always default to the current internal locale.
Replace ASCII SO with ASCII CAN.
* strfuncs.cc: Tweka comments according to below changes.
(sys_cp_wcstombs): Constify charset parameter.  Convert all wchar_t
values in the Unicode private use area U+F0xx to the singlebyte
counterpart.  Drop special handling creating ASCII SO sequence from
U+DCxx value.  Rearrange for performance.  Replace ASCII SO with
ASCII CAN.
(sys_cp_mbstowcs): Constify charset parameter.  Replace ASCII SO with
ASCII CAN.  Drop special case for U+DCxx ASCII SO sequences.  Always
create a replacement from the Unicode private use area U+F0xx for
invalid byte values in a multibyte sequence.  Do the same for wchar_t
values from the U+F0xx range to make them roundtrip safe.
* wchar.h (sys_cp_wcstombs): Constify charset parameter.
(sys_cp_mbstowcs): Ditto.

14 years ago * cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
corinna [Mon, 28 Sep 2009 10:43:49 +0000 (10:43 +0000)]
* cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
* dcrt0.cc (dll_crt0_1): Call setlocale (LC_CTYPE, "") here, just
before resetting application locale to "C".
* environ.cc (environ_init): Drop code setting locale here.
* syscalls.cc (check_codepage): Break out check for required codepage
from internal_setlocale.
(internal_setlocale): Just convert CWD and $PATH from old charset to
new charset and set internal charset.
(setlocale): Change accordingly.  Don't require LC_ALL or LC_CTYPE to
store old locale value.  Always call internal_setlocale if charset
changed due to locale environment changes.

14 years ago PR 10478
nickc [Mon, 28 Sep 2009 09:45:33 +0000 (09:45 +0000)]
    PR 10478
        * elf.c (bfd_section_from_shdr): Allow SHN_BEFORE and SHN_AFTER
        section link values in x86 binaries.
        * elfcode.h (elf_object_p): Likewise.
        * readelf.c (get_elf_section_flags): Allow SHN_BEFORE and
        SHN_AFTER section link values in x86 binaries.
        (process_section_headers): Likewise.

14 years ago * elf32-m68k.c (elf_m68k_final_write_processing): New function.
nickc [Mon, 28 Sep 2009 09:34:19 +0000 (09:34 +0000)]
    * elf32-m68k.c (elf_m68k_final_write_processing): New function.
       (elf_backend_final_write_processing): Macro defined as above function.

14 years ago * valops.c (value_assign): Respect parent offset when
uweigand [Mon, 28 Sep 2009 09:16:15 +0000 (09:16 +0000)]
* valops.c (value_assign): Respect parent offset when
assigning to a bitfield.

14 years agomissed entry
amodra [Mon, 28 Sep 2009 07:14:37 +0000 (07:14 +0000)]
missed entry

14 years ago2009-09-28 Hui Zhu <teawater@gmail.com>
teawater [Mon, 28 Sep 2009 07:11:35 +0000 (07:11 +0000)]
2009-09-28  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_process_record): Remove "0x" that
don't need.

14 years ago * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
amodra [Mon, 28 Sep 2009 07:08:50 +0000 (07:08 +0000)]
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/tic54xcoff.sc: Likewise.
* scripttempl/aix.sc: Delete ${RELOCATING-0}.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/nw.sc: Likewise.
* scripttempl/psos.sc: Likewise.
* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.

14 years ago * cos.scm (/class-table): New global.
devans [Mon, 28 Sep 2009 02:40:49 +0000 (02:40 +0000)]
* cos.scm (/class-table): New global.
(/class-uid, /class-set-uid!): New functions.
(/class-parent-name): Renamed from /class-parents.
(/class-make!): Change parents arg to parent-name, all callers updated.
Assign uid to class.
(/class-lookup-uid): New function.
(/class-parent-classes): Rewrite.
(/class-mi?): Delete.
(/class-desc-mi?, /class-desc-offset-case, /class-desc-offset-case):
Delete.
(/class-desc-offset, /class-desc-child, /class-desc-parents): Update.
(/class-compute-class-desc, class-desc-dump): Update.
(/object-make!): Update.
(/object-make-with-values!): Delete arg class-desc, all callers
updated.
(/object-copy): Delete arg top?, all callers updated.
(/object-specialize): Delete.
(/object-elements, /object-top-class): Delete.
(/object-class-name, /object-class-desc): Update.
(/object-class-uid): New function.
(/object-elm-get, /object-elm-set!, object?, /class-check-init!,
class-make, /class-subclass? /class-lookup-element,
Update.
(/elm-delta, elm-list): Delete.
(/elm-make-method-getter, elm-get, elm-xget): Update.
(/elm-make-method-setter, elm-set!, elm-xset!): Update.
(elm-make-getter, elm-make-setter): Update.
(/method-lookup-next): Update.
(send): Don't specialize class passed to method.
(send-next): New arg class-name, all callers updated.
(/class-parent, /class-parent-via-path, object-parent): Delete.
(class-cons-parent!, class-append-parent!): Delete.
(object-reset!): Init /class-table.

14 years ago*** empty log message ***
gdbadmin [Mon, 28 Sep 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 28 Sep 2009 00:00:17 +0000 (00:00 +0000)]
daily update

14 years ago * s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
uweigand [Sun, 27 Sep 2009 20:47:42 +0000 (20:47 +0000)]
* s390-tdep.c (op_bctr, op_bctgr, op_bct, op1_bctg, op2_bctg,
op_bxh, op1_bxhg, op2_bxhg, op_bxle, op1_bxleg, op2_bxleg,
op1_brct, op2_brct, op1_brctg, op2_brctg, op_brxh, op1_brxhg,
op2_brxhg, op_brxle, op1_brxlg, op2_brxlg): New enum values.
(is_rsi, is_rie): New insn format decoder routines.
(s390_displaced_step_fixup): New function.
(s390_gdbarch_init): Install displaced stepping routines.

14 years ago * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*):
uweigand [Sun, 27 Sep 2009 20:46:35 +0000 (20:46 +0000)]
* configure.tgt (powerpc-*-linux* | powerpc64-*-linux*):
Add linux-tdep.o to gdb_target_obs.
(s390*-*-*): Likewise.

14 years ago * spu-low.c (spu_kill): Wait for inferior to terminate.
uweigand [Sun, 27 Sep 2009 20:45:20 +0000 (20:45 +0000)]
* spu-low.c (spu_kill): Wait for inferior to terminate.
Call clear_inferiors.
(spu_detach): Call clear_inferiors.

14 years ago * gdb.threads/manythreads.c (main): Increase thread stack size
uweigand [Sun, 27 Sep 2009 20:44:25 +0000 (20:44 +0000)]
* gdb.threads/manythreads.c (main): Increase thread stack size
to 2*PTHREAD_STACK_MIN.
* gdb.threads/multi-create.c (main): Likewise.
(create_function): Likewise.

14 years ago * gdb.base/dump.exp: Pass difference of pointer types instead
uweigand [Sun, 27 Sep 2009 20:42:40 +0000 (20:42 +0000)]
* gdb.base/dump.exp: Pass difference of pointer types instead
of integer types as offset to restore in intarr3.srec case.

14 years ago * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
uweigand [Sun, 27 Sep 2009 20:41:53 +0000 (20:41 +0000)]
* gdb.cp/gdb2495.exp: Skip test on spu*-*-*.

14 years ago * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
uweigand [Sun, 27 Sep 2009 20:40:23 +0000 (20:40 +0000)]
* gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.

14 years ago * cos.scm (/object-debug-classes): Delete.
devans [Sun, 27 Sep 2009 18:34:36 +0000 (18:34 +0000)]
* cos.scm (/object-debug-classes): Delete.
(/object-debug-elements, /object-debug-methods): Delete.

14 years ago * cos.scm (/method-lookup): Delete arg virtual?, all callers updated.
devans [Sun, 27 Sep 2009 18:31:33 +0000 (18:31 +0000)]
* cos.scm (/method-lookup): Delete arg virtual?, all callers updated.
(method-proc): Delete.
(method-make-virtual!, method-make-virtual-forward!): Delete.
* ifield.scm (<ifield> field-start): Update.
(<ifield> field-length, pretty-print): Update.
(<multi-ifield> field-length, field-start, pretty-print): Update.
* sid-cpu.scm (/gen-hardware-struct): Use gen-defn instead of gen-decl.
* sid.scm (<scalar> gen-sym-defn): Renamed from gen-sym-decl.
(<array> gen-sym-defn): Ditto.
(<hardware-base> gen-defn): Renamed from gen-defn.
(<hw-register> gen-type): Update.
(<hw-register> gen-defn): Renamed from gen-sym-decl, rewrite.
(<hw-memory>, <hw-address>, <hw-iaddress> gen-type): Update.
(<hw-memory>, <hw-address> gen-defn): Renamed from gen-sym-decl.
(<hw-immediate> gen-type): Update.
(<hw-immediate> gen-defn): Renamed from gen-sym-decl, rewrite.
* sim-cpu.scm (/gen-hardware-struct): Use gen-defn instead of gen-decl.
* sim.scm (<scalar> gen-sym-defn): Renamed from gen-sym-decl.
(<array> gen-sym-defn): Ditto.
(<hardware-base> gen-defn): Renamed from gen-defn.
(<hw-register> gen-type): Update.
(<hw-register> gen-defn): Renamed from gen-sym-decl, rewrite.
(<hw-memory>, <hw-address>, <hw-iaddress> gen-type): Update.
(<hw-memory>, <hw-address> gen-defn): Renamed from gen-sym-decl.
(<hw-immediate> gen-type): Update.
(<hw-immediate> gen-defn): Renamed from gen-sym-decl, rewrite.

14 years ago* ldlang.c (lang_size_sections_1): Always force output vma to zero for
cgf [Sun, 27 Sep 2009 16:08:33 +0000 (16:08 +0000)]
* ldlang.c (lang_size_sections_1): Always force output vma to zero for
relocatable sections.
(lang_size_sections_1): Revert previous COFF-only accommodation for relocatable
sections.

14 years ago * libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
corinna [Sun, 27 Sep 2009 12:21:15 +0000 (12:21 +0000)]
* libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
(lc_message_charset): Ditto.
(loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
* libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
Cygwin.
* libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
Cygwin.

14 years ago * score-tdep.c: Comment out some simulator dependent codes.
donlee [Sun, 27 Sep 2009 08:45:08 +0000 (08:45 +0000)]
* score-tdep.c: Comment out some simulator dependent codes.
* score-tdep.h: Delete some simulator dependent macro definitions.

14 years ago * testsuite/initpri1.c: Don't try to use constructor priorities if
ian [Sun, 27 Sep 2009 05:20:03 +0000 (05:20 +0000)]
* testsuite/initpri1.c: Don't try to use constructor priorities if
compiling with gcc before 4.3.

14 years ago2009-09-27 Hui Zhu <teawater@gmail.com>
teawater [Sun, 27 Sep 2009 02:49:34 +0000 (02:49 +0000)]
2009-09-27  Hui Zhu  <teawater@gmail.com>

* record.c (record_open): Change "query" to "error".
(cmd_record_stop): Change "query" to "printf_unfiltered".

14 years agodaily update
amodra [Sun, 27 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 27 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago* new-features.sgml (ov-new1.7-file): Mention fexecve, execvpe.
ericb [Sat, 26 Sep 2009 21:01:59 +0000 (21:01 +0000)]
* new-features.sgml (ov-new1.7-file): Mention fexecve, execvpe.

14 years agoAdd fexecve, execvpe.
ericb [Sat, 26 Sep 2009 21:01:09 +0000 (21:01 +0000)]
Add fexecve, execvpe.

* exec.cc (fexecve): New function.
* cygwin.din (execvpe, fexecve): Export new fexecve and existing
execvpe.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml: Mention them.

14 years ago* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
ericb [Sat, 26 Sep 2009 20:59:53 +0000 (20:59 +0000)]
* libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
Add declarations.

14 years ago * gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.
eliz [Sat, 26 Sep 2009 16:47:13 +0000 (16:47 +0000)]
* gdb.texinfo (Cygwin Native): Mention support for Ctrl-BREAK.

14 years agoFix some POSIX-compliance bugs in link, rename, mkdir.
ericb [Sat, 26 Sep 2009 15:51:53 +0000 (15:51 +0000)]
Fix some POSIX-compliance bugs in link, rename, mkdir.

* syscalls.cc (link): Delete obsolete comment.  Reject directories
and missing source up front.
(rename): Use correct errno for trailing '.'.  Detect empty
strings.  Allow trailing slash to newpath iff oldpath is
directory.
* dir.cc (mkdir): Reject dangling symlink with trailing slash.
* fhandler_disk_file.cc (fhandler_disk_file::link): Reject
trailing slash.
* fhandler.cc (fhandler_base::link): Match Linux errno.

14 years ago gdb ChangeLog entry:
muller [Sat, 26 Sep 2009 12:08:29 +0000 (12:08 +0000)]
gdb ChangeLog entry:
* i386-nat.c (i386_stopped_data_address): Also check that
hitted watch register is not vacant.

gdb/testsuite ChangeLog entry:
New test for two watchpoints, with disabling of
the first inserted.
* testsuite/gdb.base/watchpoints.c: New file.
* testsuite/gdb.base/watchpoints.exp: New file.

14 years agomerge from gcc
dj [Sat, 26 Sep 2009 00:01:15 +0000 (00:01 +0000)]
merge from gcc

14 years ago*** empty log message ***
gdbadmin [Sat, 26 Sep 2009 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 26 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
ericb [Fri, 25 Sep 2009 23:57:08 +0000 (23:57 +0000)]
* libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
Add declarations.

14 years ago* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
ericb [Fri, 25 Sep 2009 23:56:18 +0000 (23:56 +0000)]
* new-features.sgml (ov-new1.7-file): Mention eaccess, euidaccess,
canonicalize_file_name, and document change in access semantics.

14 years agoProvide euidaccess, canonicalize_file_name; fix fchmodat.
ericb [Fri, 25 Sep 2009 23:55:00 +0000 (23:55 +0000)]
Provide euidaccess, canonicalize_file_name; fix fchmodat.

* syscalls.cc (fchmodat): lchmod is not yet implemented.
(euidaccess): New function.
* path.cc (realpath): Update comment.
(canonicalize_file_name): New function.
* include/cygwin/stdlib.h (canonicalize_file_name): Declare it.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* cygwin.din: Export canonicalize_file_name, eaccess, euidaccess.
* posix.sgml: Mention them.

14 years agogdb
tromey [Fri, 25 Sep 2009 21:39:52 +0000 (21:39 +0000)]
gdb
PR python/10664:
* language.h (struct language_defn) <la_get_string>: Add
'char_type' argument.
(LA_GET_STRING): Likewise.
(default_get_string, c_get_string): Update.
* language.c (default_get_string): Add 'char_type' argument.
* c-valprint.c (c_textual_element_type): Rename from
textual_element_type.  No longer static.  Update callers.
* c-lang.h (c_textual_element_type): Declare.
* c-lang.c (c_get_string): Add 'char_type' argument.
gdb/testsuite
PR python/10664:
* gdb.base/charset.exp: Test utf-16 strings with Python.

14 years agogdb
tromey [Fri, 25 Sep 2009 20:53:12 +0000 (20:53 +0000)]
gdb
* charset.c (iconv_open): Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
(iconv): Rename 'ucs_flag'.
(GDB_DEFAULT_TARGET_WIDE_CHARSET): Use UTF-32.
* c-lang.c (charset_for_string_type): Use UTF-16 and UTF-32, not
UCS-2 and UCS-4.
(convert_ucn): Use UTF-32.
gdb/testsuite
* gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
UCS-4.
* gdb.base/charset.c (utf_32_string): Rename.
(init_utf32): Rename.
(main): Update.

14 years ago2009-09-25 Michael Eager <eager@eagercon.com>
eager [Fri, 25 Sep 2009 19:59:51 +0000 (19:59 +0000)]
2009-09-25  Michael Eager  <eager@eagercon.com>

* microblaze-dis.c (get_insn_microblaze, microblaze_get_target_address,
microblaze_decode_insn): Add declarations.
(get_delay_slots_microblaze): Remove.

14 years agotweak last entry
devans [Fri, 25 Sep 2009 19:54:06 +0000 (19:54 +0000)]
tweak last entry

14 years ago * operand.scm (/anyof-merge-setter): Handle set-quiet.
devans [Fri, 25 Sep 2009 19:40:08 +0000 (19:40 +0000)]
* operand.scm (/anyof-merge-setter): Handle set-quiet.

* rtl-c.scm (estate-make-for-rtl-c): Delete args context, owner,
rtl-cover-fns?, macro?.  All callers updated.
(estate-make-for-normal-rtl-c): Delete, have all callers call
estate-make-for-rtl-c directly.
(rtl-c-parsed): Pass #:outer-expr to estate-make-for-rtl-c.
(rtl-c, rtl-c-expr-parsed, rtl-c-expr, rtl-c++-parsed, rtl-c++): Ditto.

* rtl-c.scm (/par-replace-set-dest-expr-fn): New function,
replaces /par-replace-set-dests.
(/par-replace-set-src-expr-fn): New function, replaces
/par-replace-set-srcs.
(s-parallel): Rewrite.

* rtl.scm (rtx-pretty-strdump): New function.
* rtl-traverse.scm (/rtx-canon-error): Use it.
(<eval-state>): New member outer-expr.
(estate-error): Include outer expression in error message if present.

* rtl.scm (rtx-single-set?): Handle set-quiet.

14 years ago * configure.ac: Pass any --cache-file=/dev/null option on to
nickc [Fri, 25 Sep 2009 19:25:04 +0000 (19:25 +0000)]
    * configure.ac: Pass any --cache-file=/dev/null option on to
        subconfigures.
        * configure: Regenerate.

14 years ago Update soruces to make alpha, arc and arm targets compile cleanly
nickc [Fri, 25 Sep 2009 19:13:24 +0000 (19:13 +0000)]
    Update soruces to make alpha, arc and arm targets compile cleanly
        with -Wc++-compat:
        * config/tc-alpha.c: Add casts.
        (extended_bfd_reloc_code_real_type): New type. Used to avoid
        enumeration conversion warnings.
        (struct alpha_fixup, void assemble_insn, assemble_insn)
        (assemble_tokens): Use new type.
        * ecoff.c: Add casts. (mark_stabs): Use enumeration names.
        * config/obj-elf.c: Add cast
        * config/tc-arc.c: Add casts.
        * config/obj-aout.h (text_section,data_section,bss_section):
        Make extern.
        * config/obj-elf.c: Add cast.
        * config/tc-arm.c: Add casts.
        (X, TxCE, TxCE, TxC3, TxC3w, TxCM_, TxCM, TUE, TUF, CE, CL, cCE)
        (cCL, C3E, xCM_, nUF, nCE_tag): Change input format to avoid the
        need for keywords as arguments.
        * ecoff.c: Add casts.
        * ecofflink.c: Add casts.
        * elf64-alpha.c: Add casts.
        (struct alpha_elf_got_entry, struct alpha_elf_reloc_entry): Move
        to top level.
        (SKIP_HOWTO): Use enum name.
        * elf32-arm.c: Add casts.
        (elf32_arm_vxworks_bed): Update code to avoid multiple
        declarations.
        (struct map_stub): Move to top level.
        * arc-dis.c Fix casts.
        * arc-ext.c: Add casts.
        * arm-dis.c (enum opcode_sentinel_enum): Gave name to anonymous
        enum.
        * emultempl/armelf.em: Add casts.

14 years agomerge from gcc
dj [Fri, 25 Sep 2009 19:02:00 +0000 (19:02 +0000)]
merge from gcc

14 years ago2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
skrll [Fri, 25 Sep 2009 18:58:58 +0000 (18:58 +0000)]
2009-09-25  Nick Hudson  <nick.hudson@gmx.co.uk>

* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
entries.

14 years ago * setup2.sgml (setup-locale-problems): Fix charset names of codepages
corinna [Fri, 25 Sep 2009 16:42:36 +0000 (16:42 +0000)]
* setup2.sgml (setup-locale-problems): Fix charset names of codepages
936 and 949.

14 years ago * m32r.cpu (stb-plus): Typo fix.
amodra [Fri, 25 Sep 2009 14:07:07 +0000 (14:07 +0000)]
* m32r.cpu (stb-plus): Typo fix.

14 years agoFix faccessat(,0) and access() semantics.
ericb [Fri, 25 Sep 2009 13:44:44 +0000 (13:44 +0000)]
Fix faccessat(,0) and access() semantics.

* fhandler.h (fhandler_base::fhaccess): Add parameter.
* security.h (check_file_access, check_registry_access): Likewise.
* security.cc (check_file_access, check_registry_access)
(check_access): Implement new parameter.
* fhandler.cc (fhandler_base::fhaccess): Likewise.
(device_access_denied): Update caller.
* syscalls.cc (access, faccessat): Update callers.
* spawn.cc (find_exec, fixup): Likewise.

14 years ago* setup2.sgml (setup-locale-problems): Document how to install
ericb [Fri, 25 Sep 2009 12:27:45 +0000 (12:27 +0000)]
* setup2.sgml (setup-locale-problems): Document how to install
non-default charsets.

14 years ago PR 10656
nickc [Fri, 25 Sep 2009 09:57:49 +0000 (09:57 +0000)]
    PR 10656
        * readelf.c: Remove duplicate declaration of variable do_wide.
        * dwarf.h: Add export of do_wide.

        * hist.h: Move declaration of histograms and num_histograms
        variables from here to...
        * hist.c: ...here.

14 years ago*** empty log message ***
nickrob [Fri, 25 Sep 2009 01:57:35 +0000 (01:57 +0000)]
*** empty log message ***

14 years agoRemove file.
nickrob [Fri, 25 Sep 2009 01:53:34 +0000 (01:53 +0000)]
Remove file.

14 years ago*** empty log message ***
gdbadmin [Fri, 25 Sep 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Fri, 25 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years agoinclude/
ccoutant [Thu, 24 Sep 2009 20:52:07 +0000 (20:52 +0000)]
include/

* dwarf2.h (DW_TAG_rvalue_reference_type, DW_TAG_template_alias):
New tags.
(DW_FORM_ref_sig8): New name for DW_FORM_sig8.
(DW_AT_main_subprogram, DW_AT_data_bit_offset, DW_AT_const_expr,
DW_AT_enum_class, DW_AT_linkage_name, DW_AT_GNU_guarded_by,
DW_AT_GNU_pt_guarded_by, DW_AT_GNU_guarded, DW_AT_GNU_pt_guarded,
DW_AT_GNU_locks_excluded, DW_AT_GNU_exclusive_locks_required,
DW_AT_GNU_shared_locks_required, DW_AT_GNU_odr_signature): New
attributes.
(DW_LANG_Python): New language.

binutils/

* dwarf.c (get_TAG_name): Add missing DWARF-3 and new DWARF-4 tags.
(get_FORM_name): Add new DWARF-4 forms.
(read_and_display_attr_value): Add DW_FORM_ref_sig8, DW_LANG_Python.
(get_AT_name): Add new DWARF-4 and GNU-specific attributes.
(process_debug_info): Add do_types parameter; change all callers.
Add support for .debug_types sections.
(display_debug_types): New function.
(debug_displays): Add .debug_types section.
* readelf.c (process_section_headers): Add .debug_types section.
(display_debug_section): Simplify call to streq.

14 years ago * record.c (record_open, record_store_registers, record_xfer_partial):
brobecke [Thu, 24 Sep 2009 17:58:04 +0000 (17:58 +0000)]
    * record.c (record_open, record_store_registers, record_xfer_partial):
        Replace calls to nquery by calls to query.

14 years ago * observer.texi (solib_unloaded): Document explicitly the fact that
brobecke [Thu, 24 Sep 2009 17:49:56 +0000 (17:49 +0000)]
    * observer.texi (solib_unloaded): Document explicitly the fact that
        this observer is called before the associated symbols are unloaded.

14 years agotweak last sid.scm changelog entry
devans [Thu, 24 Sep 2009 16:47:34 +0000 (16:47 +0000)]
tweak last sid.scm changelog entry

14 years agogas/
hjl [Thu, 24 Sep 2009 16:37:08 +0000 (16:37 +0000)]
gas/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_vex_prefix): Check vex == 2 instead
of vex256.

opcodes/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

* i386-gen.c (opcode_modifiers): Remove Vex256.
(set_bitfield): Handle XXX=V.

* i386-opc.h (Vex): Update comments.
(Vex256): Removed.
(VexNDS): Updated.
(i386_opcode_modifier): Change vex to 2 bits.  Remove vex256.

* i386-opc.tbl: Replace "Vex|Vex256" with Vex=2.
* i386-tbl.h: Regenerated.

14 years agobfd/
hjl [Thu, 24 Sep 2009 15:56:49 +0000 (15:56 +0000)]
bfd/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10630
* elflink.c (elf_link_output_extsym): Turn off visibility on
local symbol.
(bfd_elf_final_link): Turn off visibility on dynamic local
symbol.

ld/testsuite/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10630
* ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-cris/libdso-2.d: Likewise.
* ld-cris/locref1.d: Likewise.
* ld-cris/locref2.d: Likewise.
* ld-cris/tls-e-20a.d: Likewise.
* ld-cris/tls-e-20.d: Likewise.
* ld-cris/tls-e-80.d: Likewise.
* ld-cris/tls-gc-68.d: Likewise.
* ld-cris/tls-gc-69.d: Likewise.
* ld-cris/tls-gc-70.d: Likewise.
* ld-cris/tls-gc-75.d: Likewise.
* ld-cris/tls-gc-76.d: Likewise.
* ld-cris/tls-gc-79.d: Likewise.
* ld-cris/tls-gd-1h.d: Likewise.
* ld-cris/tls-gd-2h.d: Likewise.
* ld-cris/tls-ld-4.d: Likewise.
* ld-cris/tls-ld-5.d: Likewise.
* ld-cris/tls-ld-6.d: Likewise.
* ld-cris/tls-ld-7.d: Likewise.
* ld-cris/tls-ldgd-14.d: Likewise.
* ld-cris/tls-ldgd-15.d: Likewise.
* ld-cris/tls-local-63.d: Likewise.
* ld-cris/tls-local-64.d: Likewise.
* ld-elf/pr9676.rd: Likewise.
* ld-elf/pr9679.rd: Likewise.
* ld-elfvsb/hidden2.d: Likewise.
* ld-i386/tlsbindesc.rd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsdesc.rd: Likewise.
* ld-i386/tlsgdesc.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-sparc/gotop32.rd: Likewise.
* ld-sparc/gotop64.rd: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin64.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-sparc/tlssunpic64.rd: Likewise.
* ld-x86-64/tlsbindesc.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlsdesc.rd: Likewise.
* ld-x86-64/tlsgdesc.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-xtensa/tlsbin.rd: Likewise.
* ld-xtensa/tlspic.rd: Likewise.

* ld-elf/local1.d: New.
* ld-elf/local1.map: Likewise.
* ld-elf/local1.s: Likewise.
* ld-ia64/local1.d: Likewise.
* ld-ia64/local1.map: Likewise.
* ld-ia64/local1.s: Likewise.

14 years ago * readelf.c (print_dynamic_symbol): Format entries as for
amodra [Thu, 24 Sep 2009 15:13:16 +0000 (15:13 +0000)]
* readelf.c (print_dynamic_symbol): Format entries as for
normal symbol table.
(process_symbol_table): Use -7s format string for visibility.

14 years agogas/
hjl [Thu, 24 Sep 2009 14:36:47 +0000 (14:36 +0000)]
gas/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10677
* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Return true
for BFD_RELOC_X86_64_GOTPCREL.

gas/testsuite/

2009-09-24  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10677
* gas/i386/i386.exp: Run x86-64-localpic.

* gas/i386/x86-64-localpic.d: New.
* gas/i386/x86-64-localpic.s: Likewise.

14 years ago * posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
corinna [Thu, 24 Sep 2009 09:25:34 +0000 (09:25 +0000)]
* posix_ipc.cc (mq_open): Avoid closing the same descriptor twice in
case of errors.
(sem_open): Ditto.

14 years ago * kernel32.cc (CreateMutexW): Use correct access mask.
corinna [Thu, 24 Sep 2009 09:09:45 +0000 (09:09 +0000)]
* kernel32.cc (CreateMutexW): Use correct access mask.
(CreateSemaphoreW): Ditto.

14 years ago2009-09-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 24 Sep 2009 05:08:23 +0000 (05:08 +0000)]
2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/localpic.d: Updated.

14 years agogas/
hjl [Thu, 24 Sep 2009 03:23:51 +0000 (03:23 +0000)]
gas/

2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Don't check
BFD_RELOC_386_GOT32.

gas/testsuite/

2009-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run localpic.

* gas/i386/localpic.d: New.
* gas/i386/localpic.s: Likewise.

14 years ago PR binutils/10654
amodra [Thu, 24 Sep 2009 00:11:50 +0000 (00:11 +0000)]
PR binutils/10654
* dwarf2.c (lookup_address_in_line_info_table): Remove workaround
for invalid location lists generated by gcc-2.95 and Intel 6.0 C++.
Remove "function" parm, adjust caller.

14 years ago*** empty log message ***
gdbadmin [Thu, 24 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 24 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago * m32r.cpu (sth-plus): Fix address mode and calculation.
devans [Wed, 23 Sep 2009 22:30:55 +0000 (22:30 +0000)]
* m32r.cpu (sth-plus): Fix address mode and calculation.
(stb-plus): Ditto.
(clrpsw): Fix mask calculation.
(bset, bclr, btst): Make mode in bit calculation match expression.

* xc16x.cpu (rtl-version): Set to 0.8.
(gr-names, ext-names,psw-names): Update, print-name -> enum-prefix,
make uppercase.  Remove unnecessary name-prefix spec.
(grb-names, conditioncode-names, extconditioncode-names): Ditto.
(grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
(reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
(h-cr): New hardware.
(muls): Comment out parts that won't compile, add fixme.
(mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto.
(scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto.
(bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.

14 years ago * xc16x.cpu (h-cr): New hardware.
devans [Wed, 23 Sep 2009 22:30:19 +0000 (22:30 +0000)]
* xc16x.cpu (h-cr): New hardware.
(muls): Comment out parts that won't compile, add fixme.
(mulu, divl, divlu, jmpabs, jmpa-, jmprel, jbc, jnbs, callr): Ditto.
(scxti, scxtmg, scxtm, bclear, bclr18, bset19, bitset, bmov): Ditto.
(bmovn, band, bor, bxor, bcmp, bfldl, bfldh): Ditto.

Rewrite rtl processing to require it to be "canonicalized" first,
and write a full canonicalizer / expression checker.
Remove all appearances of DFLT in canonical rtl.
* attr.scm (/attr-eval atval owner): Call rtx-canonicalize,
then rtx-simplify.
* iformat.scm (ifmt-analyze) Use canonical semantics.
* insn (<insn>): New member canonical-semantics.
* mach.scm (<arch>): New member multi-insns-instantiated?.
(/instantiate-multi-insns!): New function.
(/canonicalize-insns!): New function.
(arch-analyze-insns!): Canonicalize insn semantics before processing
them.
* mode.scm (/mode-set-word-params!): New function.
(mode-void?): New function.
(mode-compatible?): VOID is compatible with VOID.
(/mode-word-sizes-defined?): New global.
(mode-set-word-modes!): Use/set it.
(mode-ensure-word-sizes-defined): Update.
(mode-builtin!): New builtin "modes" SYM, INSN, MACH.
Redo WI/UWI/AI/IAI handling.
(op:new-mode): No longer accept DFLT.
(<derived-operand> constructor): Ensure all fields are initialized.
(<anyof-operand> constructor): Ditto.
(/derived-parse-ifield-assertion): Delete arg `args'.
All callers updated.
* rtl-c.scm (<rtl-c-eval-state>): New member `for-insn?'.
(rtl-c): Call rtx-canonicalize instead of rtx-compile.
(rtl-c-expr, rtl-c++): Ditto.
(/rtl-c-get): Use mode of operand, not containing expression.
(rtl-c-set-quiet, rtl-c-set-trace): Remove DFLT support.
(/rtx-use-sem-fn?): Don't check for (insn? owner), check
estate-for-insn? instead.
(s-unop): Use mode of expression, not first operand.
(s-binop, s-binop-with-bit, s-shop, s-cmpop): Ditto.
(s-sequence): Remove DFLT support.
(ifield): Use mode of expression, not UINT.
(pc): Comment out, unused.
(int-attr): New rtx kind.
(attr): Deprecate.
(set, set-quiet): Pass src to rtl-c-set-{trace,quiet} for expansion.
* rtl-traverse.scm (/rtx-canon-debug?): New global.
(/make-cstate): New function.
(/cstate-context, /cstate-outer-expr): New functions.
(/rtx-canon-error): New function.
(/rtx-lookup-hw, /rtx-pick-mode, /rtx-pick-mode3, /rtx-pick-op-mode,
/rtx-get-last-cond-case-rtx): New functions.
(/rtx-canon-*): New functions.
(/rtx-canner-table, /rtx-operand-canoners): New globals.
(/rtx-make-canon-table, /rtx-special-expr-canoners): New functions.
(/rtx-option, /rtx-option-list?): Rewrite.
(rtx-munge-mode&options): Replaces /rtx-munge-mode&options.
Rewritten, all callers updated.
(/rtx-canon-expr, /rtx-canon): New functions.
(rtx-canonicalize): Move here from rtl-xform.scm and rewrite.
(rtx-canonicalize-stmt): New function.
(tstate-make): Remove arg `set?'.  All callers updated.
(tstate-new-set?): Delete.
(/rtx-traverse-options, /rtx-traverse-*mode): Delete,
moved to /rtx-canon-*.
(/rtx-traverse-normal-operand): New function.
(/rtx-traverse-rtx-list): Delete arg `mode', all callers updated.
(/rtx-traverse-rtx, /rtx-traverse-setrtx,, /rtx-traverse-testrtx,
/rtx-traverse-condrtx, /rtx-traverse-casertx, /rtx-traverse-locals,
/rtx-traverse-iteration, /rtx-traverse-env, /rtx-traverse-attrs):
Ditto.
(/rtx-traverse-symbol, /rtx-traverse-string, /rtx-traverse-number,
/rtx-traverse-symornum, /rtx-traverse-object): Delete.
(/rtx-make-traverser-table): Update.
(/rtx-traverse-operands): Remove mode processing, now done during
canonicalization.
(/rtx-traverse-expr): Delete arg `mode', all callers updated.
(/rtx-traverse): Ditto.
(rtx-init-traverser-tables!): New function.
* rtl-xform (/rtx-verify-no-dflt-modes-expr-fn): New function.
(rtx-verify-no-dflt-modes): New function.
(/rtx-simplify-expr-fn): Update, `arg' mode deleted.
(rtx-simplify-insn): Use insn-canonical-semantics.
(rtx-canonicalize): Moved to rtl-traverse.scm.
(/compile-expr-fn, rtx-compile): Delete.
(/rtx-trim-rtx-list): New function.
(/rtx-trim-for-doc): Handle set, if.
* rtl.scm (<rtx-func>): New members result-mode, matchexpr-index.
(/rtx-valid-mode-types): Update.
(/rtx-valid-matches): Update.
(/rtx-find-matchexpr-index): New function.
(rtx-lookup): Require rtx-kind to be the rtx name.
(def-rtx-node): New arg result-mode, all callers updated.
(def-rtx-syntax-node, def-rtx-operand-node): Ditto.
(rtx-lazy-sem-mode): Delete.
(/rtx-closure-make): New arg `mode', all callers updated.
(rtx-make-ifield, rtx-make-operand, rtx-make-local): Ditto.
(rtx-operand-obj): Rewrite.
(rtx-make-xop): New functions.
(/hw): Renamed from `hw', all callers updated.
Use the correct mode instead of DFLT for the index.
(rtl-builtin!): Call rtx-init-traversal-tables!.
(rtl-finish!): Update.
* rtx-funcs.scm (all rtx functions): New parameter: result-mode.
Update mode arg-type.
(pc): Comment out.
(int-attr): New rtx kind.
(attr): Deprecate.
* sem-frags.scm (/frag-hash-compute!): Update, mode arg deleted.
(/frag-cost-compute!): Ditto.
* semantics.scm (/build-operand!): Delete args op-name, op.
New arg op-expr.  All callers updated.
(/build-mem-operand!): Remove DFLT support.
(semantic-compile): Update process-expr!, mode arg deleted.
* sid-cpu.scm (gen-semantic-code): Specify #:for-insn? in
rtl-c++ calls.
(/gen-sem-case, /gen-sfrag-code): Ditto.
* sid.scm (/op-gen-set-trace1): Renamed from /op-gen-set-trace.
(/op-gen-set-trace): New function.  If not doing profiling,
call /op-gen-set-quiet.
* sim-cpu.scm (gen-semantic-code): Specify #:for-insn? in rtl-c calls.
* utils-gen.scm (/gen-ifld-extract-base): Update call to rtl-c.
(/gen-ifld-extract-beyond, gen-multi-ifld-extract): Ditto.
* utils.scm (find-first-index): New function.
* doc/rtl.texi: Delete docs for `attr'.  Add `int-attr'.

14 years ago2009-09-23 Michael Eager <eager@eagercon.com>
eager [Wed, 23 Sep 2009 20:01:47 +0000 (20:01 +0000)]
2009-09-23  Michael Eager  <eager@eagercon.com>

       * configure: Add microblaze-*.* (not regenerated).
       * configure.ac: Likewise.
       * microblaze/config.in: New.
       * microblaze/configure: Generate.
       * microblaze/configure.ac: New.
       * microblaze/interp.c: New.
       * microblaze/Makefile.in: New.
       * microblaze/microblaze.h: New.
       * microblaze/microblaze.isa: New.
       * microblaze/sim-main.h: New.
       * microblaze/sysdep.h: New.