]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago * libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
Corinna Vinschen [Thu, 28 Feb 2013 16:42:21 +0000 (16:42 +0000)]
* libc/include/machine/setjmp.h (sigjmp_buf): Fix definition of
sigjmp_buf size if _JBTYPE is defined.

11 years ago * libc/include/malloc.h (struct mallinfo): Convert type of all members
Corinna Vinschen [Tue, 26 Feb 2013 14:25:13 +0000 (14:25 +0000)]
* libc/include/malloc.h (struct mallinfo): Convert type of all members
to size_t to match all targets.

11 years ago * include/pthread.h (pthread_atfork): Add missing declaration.
Corinna Vinschen [Tue, 26 Feb 2013 10:32:36 +0000 (10:32 +0000)]
* include/pthread.h (pthread_atfork): Add missing declaration.

11 years ago * libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of
Corinna Vinschen [Thu, 21 Feb 2013 12:27:11 +0000 (12:27 +0000)]
* libc/include/sys/_types.h (_ssize_t): Define as signed equivalent of
size_t with GCC.

11 years ago* include/error.h (error_message_count): Declare as dllimport.
Yaakov Selkowitz [Thu, 21 Feb 2013 03:15:47 +0000 (03:15 +0000)]
* include/error.h (error_message_count): Declare as dllimport.
(error_one_per_line): Ditto.
(error_print_progname): Ditto.

11 years ago* Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static.
Yaakov Selkowitz [Thu, 21 Feb 2013 02:13:17 +0000 (02:13 +0000)]
* Makefile.in (CYGWIN_LDFLAGS): Replace -static-lib* with -static.
(MINGW_LDFLAGS): Ditto.
(ZLIB): Simplify accordingly.

11 years ago * libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.
Corinna Vinschen [Tue, 19 Feb 2013 07:31:04 +0000 (07:31 +0000)]
* libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.

11 years agoinclude/
Alan Modra [Mon, 18 Feb 2013 23:50:26 +0000 (23:50 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Delete emit_note_gnu_build_id.
bfd/
* configure.in: Bump version to 2.23.52.
* elf-bfd.h (struct elf_build_id_info): New.
(struct elf_obj_tdata): Delete after_write_object_contents,
after_write_object_contents_info and build_id_size.  Make build_id
a pointer to struct elf_build_id_info.
* elf.c (_bfd_elf_write_object_contents): Style.  Update
after_write_ibject_contents invocation.
(elfobj_grok_gnu_build_id): Update for new build_id struct.  Don't
allow zero size notes.
* configure: Regenerate.
gdb/
* elfread.c (struct build_id): Delete.  Use struct elf_build_id
throughout file instead.
(build_id_bfd_get): Update to use new elf_tdata build_id field.
Don't xmalloc return value.
(build_id_verify): Similarly.  Don't xfree.
(build_id_to_debug_filename): Update.
(find_separate_debug_file_by_buildid): Update, don't xfree.
ld/
* emultempl/elf32.em (emit_note_gnu_build_id): New static var.
Replace all info->emit_note_gnu_build_id refs.
(id_note_section_size): Rename from
gld${EMULATION_NAME}_id_note_section_size.
(struct build_id_info): Delete.
(write_build_id): Rename from
gld${EMULATION_NAME}_write_build_id_section.
Update elf_tdata usage.  Style, formatting.
(setup_build_id): New function.
(gld${EMULATION_NAME}_after_open): Use setup_build_id.

11 years ago * configure.ac: Sync with GCC repo.
Yufeng Zhang [Fri, 15 Feb 2013 17:55:25 +0000 (17:55 +0000)]
* configure.ac: Sync with GCC repo.
* configure: Ditto.

11 years ago* pathnames.sgml: Remove stray '@'.
Christopher Faylor [Wed, 13 Feb 2013 18:07:24 +0000 (18:07 +0000)]
* pathnames.sgml: Remove stray '@'.

11 years ago* pathnames.sgml: Clarify '@' processing.
Christopher Faylor [Wed, 13 Feb 2013 17:57:19 +0000 (17:57 +0000)]
* pathnames.sgml: Clarify '@' processing.

11 years agoFix wrongly applied patch
Corinna Vinschen [Tue, 12 Feb 2013 15:26:30 +0000 (15:26 +0000)]
Fix wrongly applied patch

11 years agoThis patch assigns explicit integers to enum values corresponding
Sriraman Tallam [Mon, 11 Feb 2013 19:36:56 +0000 (19:36 +0000)]
This patch assigns explicit integers to enum values corresponding
to the plugin API.  This patch helps preventing problems while
cherry-picking plugin-api.h changes from trunk gold to local branches.
For instance, a linker plugin compiled with a cherry-picked
plugin-api.h header with some enum values missing will behave
strangely when used with a linker built with the up to date header.

* plugin-api.h (enum ld_plugin_level): Assign integers
explicitly for all values.

11 years ago * libgloss/rx/Makefile.in: Respect DESTDIR when installing
Corinna Vinschen [Mon, 11 Feb 2013 08:28:46 +0000 (08:28 +0000)]
* libgloss/rx/Makefile.in: Respect DESTDIR when installing

11 years ago * arm/elf-rdimon.specs (-lrdimon): Change link to lib.
Corinna Vinschen [Sun, 10 Feb 2013 11:57:51 +0000 (11:57 +0000)]
* arm/elf-rdimon.specs (-lrdimon): Change link to lib.

11 years ago * child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Corinna Vinschen [Fri, 8 Feb 2013 20:15:05 +0000 (20:15 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
(class child_info_fork): Drop extraneous semicolon.

11 years ago2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
Sandra Loosemore [Wed, 6 Feb 2013 23:22:18 +0000 (23:22 +0000)]
2013-02-06  Sandra Loosemore  <sandra@codesourcery.com>
            Andrew Jenner <andrew@codesourcery.com>

Based on patches from Altera Corporation.

bfd/
* Makefile.am (ALL_MACHINES): Add cpu-nios2.lo.
(ALL_MACHINES_CFILES): Add cpu-nios2.c.
(BFD_BACKENDS): Add elf32-nios2.lo.
(BFD32_BACKENDS_CFILES): Add elf32-nios2.c.
* Makefile.in: Regenerated.
* configure.in: Add entries for bfd_elf32_bignios2_vec and
bfd_elf32_littlenios2_vec.
* configure: Regenerated.
* config.bfd: Add cases for nios2.
* archures.c (enum bfd_architecture): Add bfd_arch_nios2.
(bfd_mach_nios2): Define.
(bfd_nios2_arch): Declare.
(bfd_archures_list): Add bfd_nios2_arch.
* targets.c (bfd_elf32_bignios2_vec): Declare.
(bfd_elf32_littlenios2_vec): Declare.
(_bfd_target_vector): Add entries for bfd_elf32_bignios2_vec and
bfd_elf32_littlenios2_vec.
* elf-bfd.h (enum elf_target_id): Add NIOS2_ELF_DATA.
* reloc.c (enum bfd_reloc_code_real): Add Nios II relocations.
* bfd-in2.h: Regenerated.
* libbfd.h: Regenerated.
* cpu-nios2.c: New file.
* elf32-nios2.c: New file.

opcodes/
* Makefile.am (TARGET_LIBOPCODES_CFILES): Add nios2-dis.c and
nios2-opc.c.
* Makefile.in: Regenerated.
* configure.in: Add case for bfd_nios2_arch.
* configure: Regenerated.
* disassemble.c (ARCH_nios2): Define.
(disassembler): Add case for bfd_arch_nios2.
* nios2-dis.c: New file.
* nios2-opc.c: New file.

include/
* dis-asm.h (print_insn_big_nios2): Declare.
(print_insn_little_nios2): Declare.

include/elf
* nios2.h: New file.

include/opcode/
* nios2.h: New file.

gas/
* Makefile.am (TARGET_CPU_CFILES): Add config/tc-nios2.c.
(TARGET_CPU_HFILES): Add config/tc-nios2.h.
* Makefile.in: Regenerated.
* configure.tgt: Add case for nios2*-linux*.
* config/obj-elf.c: Conditionally include elf/nios2.h.
* config/tc-nios2.c: New file.
* config/tc-nios2.h: New file.
* doc/Makefile.am (CPU_DOCS): Add c-nios2.texi.
* doc/Makefile.in: Regenerated.
* doc/all.texi: Set NIOSII.
* doc/as.texinfo (Overview): Add Nios II options.
(Machine Dependencies): Include c-nios2.texi.
* doc/c-nios2.texi: New file.
* NEWS: Note Altera Nios II support.

gas/testsuite/
* gas/nios2/add.d: New.
* gas/nios2/add.s: New.
* gas/nios2/align_fill.d: New.
* gas/nios2/align_fill.s: New.
* gas/nios2/align_text.d: New.
* gas/nios2/align_text.s: New.
* gas/nios2/and.d: New.
* gas/nios2/and.s: New.
* gas/nios2/branch.d: New.
* gas/nios2/branch.s: New.
* gas/nios2/break.d: New.
* gas/nios2/break.s: New.
* gas/nios2/bret.d: New.
* gas/nios2/bret.s: New.
* gas/nios2/cache.d: New.
* gas/nios2/cache.s: New.
* gas/nios2/call26.d: New.
* gas/nios2/call26.s: New.
* gas/nios2/call.d: New.
* gas/nios2/call.s: New.
* gas/nios2/cmp.d: New.
* gas/nios2/cmp.s: New.
* gas/nios2/comments.d: New.
* gas/nios2/comments.s: New.
* gas/nios2/complex.d: New.
* gas/nios2/complex.s: New.
* gas/nios2/ctl.d: New.
* gas/nios2/ctl.s: New.
* gas/nios2/custom.d: New.
* gas/nios2/custom.s: New.
* gas/nios2/etbt.d: New.
* gas/nios2/etbt.s: New.
* gas/nios2/flushda.d: New.
* gas/nios2/flushda.s: New.
* gas/nios2/illegal.l: New.
* gas/nios2/illegal.s: New.
* gas/nios2/jmp.d: New.
* gas/nios2/jmp.s: New.
* gas/nios2/ldb.d: New.
* gas/nios2/ldb.s: New.
* gas/nios2/ldh.d: New.
* gas/nios2/ldh.s: New.
* gas/nios2/ldw.d: New.
* gas/nios2/ldw.s: New.
* gas/nios2/lineseparator.d: New.
* gas/nios2/lineseparator.s: New.
* gas/nios2/mov.d: New.
* gas/nios2/movia.d: New.
* gas/nios2/movia.s: New.
* gas/nios2/movi.d: New.
* gas/nios2/movi.s: New.
* gas/nios2/mov.s: New.
* gas/nios2/mul.d: New.
* gas/nios2/mul.s: New.
* gas/nios2/nios2.exp: New.
* gas/nios2/nor.d: New.
* gas/nios2/nor.s: New.
* gas/nios2/or.d: New.
* gas/nios2/or.s: New.
* gas/nios2/ret.d: New.
* gas/nios2/ret.s: New.
* gas/nios2/rol.d: New.
* gas/nios2/rol.s: New.
* gas/nios2/rotate.d: New.
* gas/nios2/rotate.s: New.
* gas/nios2/stb.d: New.
* gas/nios2/stb.s: New.
* gas/nios2/sth.d: New.
* gas/nios2/sth.s: New.
* gas/nios2/stw.d: New.
* gas/nios2/stw.s: New.
* gas/nios2/sub.d: New.
* gas/nios2/sub.s: New.
* gas/nios2/sync.d: New.
* gas/nios2/sync.s: New.
* gas/nios2/trap.d: New.
* gas/nios2/trap.s: New.
* gas/nios2/tret.d: New.
* gas/nios2/tret.s: New.
* gas/nios2/warn_noat.l: New.
* gas/nios2/warn_noat.s: New.
* gas/nios2/warn_nobreak.l: New.
* gas/nios2/warn_nobreak.s: New.
* gas/nios2/xor.d: New.
* gas/nios2/xor.s: New.

ld/
* Makefile.am (enios2elf.c): New rule.
* Makefile.in: Regenerated.
* configure.tgt: Add case for nios2*-*-*.
* emulparams/nios2elf.sh: New file.
* NEWS: Note Altera Nios II support.

ld/testsuite/
* ld-nios2/emit-relocs-1a.s: New.
* ld-nios2/emit-relocs-1b.s: New.
* ld-nios2/emit-relocs-1.d: New.
* ld-nios2/emit-relocs-1.ld: New.
* ld-nios2/gprel.d: New.
* ld-nios2/gprel.s: New.
* ld-nios2/hilo16.d: New.
* ld-nios2/hilo16.s: New.
* ld-nios2/hilo16_symbol.s: New.
* ld-nios2/imm5.d: New.
* ld-nios2/imm5.s: New.
* ld-nios2/imm5_symbol.s: New.
* ld-nios2/nios2.exp: New.
* ld-nios2/pcrel16.d: New.
* ld-nios2/pcrel16_label.s: New.
* ld-nios2/pcrel16.s: New.
* ld-nios2/relax_callr.d: New.
* ld-nios2/relax_callr.ld: New.
* ld-nios2/relax_callr.s: New.
* ld-nios2/relax_cjmp.d: New.
* ld-nios2/relax_cjmp.s: New.
* ld-nios2/relax_jmp.ld: New.
* ld-nios2/relax_section.d: New.
* ld-nios2/relax_section.s: New.
* ld-nios2/relax_ujmp.d: New.
* ld-nios2/relax_ujmp.s: New.
* ld-nios2/reloc.d: New.
* ld-nios2/reloc.s: New.
* ld-nios2/reloc_symbol.s: New.
* ld-nios2/s16.d: New.
* ld-nios2/s16.s: New.
* ld-nios2/s16_symbol.s: New.
* ld-nios2/u16.d: New.
* ld-nios2/u16.s: New.
* ld-nios2/u16_symbol.s: New.
* ld-elf/indirect.exp: Skip on targets that don't support
-shared -fPIC.
* ld-elfcomm/elfcomm.exp: Build with -G0 for nios2.
* ld-plugin/lto.exp: Skip shared library tests on targets that
don't support them.  Skip execution tests on non-native targets.

binutils/
* readelf.c: Include elf/nios2.h.
(dump_relocations): Add case for EM_ALTERA_NIOS2.
(get_nios2_dynamic_type): New.
(get_dynamic_type): Add case for EM_ALTERA_NIOS2.
(is_32bit_abs_reloc): Fix EM_ALTERA_NIOS2 case.
(is_16bit_abs_reloc): Likewise.
(is_none_reloc): Add EM_ALTERA_NIOS2 and EM_NIOS32 cases.
* NEWS: Note Altera Nios II support.
* MAINTAINERS: Add Nios II maintainers.

11 years ago PR go/55969
Ian Lance Taylor [Tue, 5 Feb 2013 22:39:30 +0000 (22:39 +0000)]
PR go/55969
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.

11 years ago * configure: Regenerate after syncing config/.
Alan Modra [Mon, 4 Feb 2013 23:31:16 +0000 (23:31 +0000)]
* configure: Regenerate after syncing config/.

11 years ago * fhandler_socket.cc (fhandler_socket::bind): Fix error code for
Corinna Vinschen [Mon, 4 Feb 2013 12:21:56 +0000 (12:21 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Fix error code for
empty filename.

11 years ago * fhandler_socket.cc (fhandler_socket::bind): Fix length check of
Corinna Vinschen [Mon, 4 Feb 2013 12:04:20 +0000 (12:04 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Fix length check of
AF_LOCAL filename so it never accesses memory beyond namelen.  Also
make sure filename is NUL-terminated.

11 years agoinclude/coff/
Alan Modra [Mon, 4 Feb 2013 05:25:41 +0000 (05:25 +0000)]
include/coff/
* ti.h (SWAP_OUT_RELOC_EXTRA): Define.
bfd/
* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete.
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.

11 years ago * crt0.S: Add recognition of the e3v5 architecture variant.
Nick Clifton [Fri, 1 Feb 2013 08:29:04 +0000 (08:29 +0000)]
* crt0.S: Add recognition of the e3v5 architecture variant.

11 years ago* DevNotes: Add entry cgf-000022.
Christopher Faylor [Thu, 31 Jan 2013 05:26:47 +0000 (05:26 +0000)]
* DevNotes: Add entry cgf-000022.
* cygtls.h (_cygtls::func): Define as a sa_sigaction style function.
* exceptions.cc (sig_handle_tty_stop): Ditto.
(_cygtls::interrupt_setup): Fix coercion to accommodate 'func' change.
(ctrl_c_handler): Use tty kill_pgrp to send a signal.
(sigpacket::process): Don't process sigflush here.
(_cygtls::call_signal_handler): Reorganize to avoid a race.  Always call
sa_sigaction style function.
* fhandler_termios.cc (is_flush_sig): Define new function.
(tty_min::kill_pgrp): Handle tty flush when signal detected.
(fhandler_termios::bg_check): Be slightly more paranoid about checking for
valid tty.
(fhandler_termios::sigflush): Don't flush unless tty owner.
* fhandler_tty.cc (fhandler_pty_slave::ioctl): Use tty kill_pgrp to send
signal.
(fhandler_pty_master::ioctl): Ditto.
* signal.cc (killsys): Delete definition.
* sigproc.h (killsys): Delete declaration.
* include/cygwin/signal.h (siginfo_t): Simplify union/struct nesting slightly.
Implement mechanism to allow cygwin data passing.

11 years ago PR other/54620
Kai Tietz [Wed, 30 Jan 2013 16:52:35 +0000 (16:52 +0000)]
PR other/54620
PR target/39064
* md5.h (md5_uintptr, md5_uint32): Define as uintptr_t/uint32_t if
stdint.h and sys/types.h headers are present.
* sha1.h (sha1_uintptr, sha1_uint32): Likewise.

11 years agoinclude/opcode/
Yufeng Zhang [Wed, 30 Jan 2013 15:43:31 +0000 (15:43 +0000)]
include/opcode/

2013-01-30  Yufeng Zhang  <yufeng.zhang@arm.com>

* aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2.

opcodes/

2013-01-30  Yufeng Zhang  <yufeng.zhang@arm.com>

* aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and
ushll2 with F_HAS_ALIAS.  Add entries for sxtl, sxtl2, uxtl and uxtl2.
* aarch64-asm.c (convert_xtl_to_shll): New function.
(convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by
calling convert_xtl_to_shll.
* aarch64-dis.c (convert_shll_to_xtl): New function.
(convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by
calling convert_shll_to_xtl.
* aarch64-gen.c: Update copyright year.
* aarch64-asm-2.c: Re-generate.
* aarch64-dis-2.c: Re-generate.
* aarch64-opc-2.c: Re-generate.

gas/testsuite/

2013-01-30  Yufeng Zhang  <yufeng.zhang@arm.com>

* gas/aarch64/alias.s: Add new tests.
* gas/aarch64/alias.d: Update.
* gas/aarch64/no-aliases.d: Update.

11 years ago PR gas/15069
Nick Clifton [Mon, 28 Jan 2013 15:28:38 +0000 (15:28 +0000)]
PR gas/15069
* tic6x-opcode-table.h: Fix encoding of BNOP instruction.

* gas/tic6x/insns-c674x-pcrel.s: Add test of BNOP instruction
within header based fetch packet.
* gas/tic6x/insns-c674x-pcrel.d: Update expected disassembly.

11 years ago * v850.h: Add e3v5 support.
Nick Clifton [Thu, 24 Jan 2013 16:51:56 +0000 (16:51 +0000)]
* v850.h: Add e3v5 support.

11 years agoAdd support for V850E3V5 architecture
Nick Clifton [Thu, 24 Jan 2013 11:14:01 +0000 (11:14 +0000)]
Add support for V850E3V5 architecture

11 years ago* faq-programming.xml: Remove reference to "make check".
Christopher Faylor [Wed, 23 Jan 2013 16:54:35 +0000 (16:54 +0000)]
* faq-programming.xml: Remove reference to "make check".

11 years ago* miscfuncs.cc (__import_address): Check if malloc field points directly at
Christopher Faylor [Wed, 23 Jan 2013 14:24:34 +0000 (14:24 +0000)]
* miscfuncs.cc (__import_address): Check if malloc field points directly at
'malloc'.

11 years ago* miscfuncs.cc (__import_address): On second thought, the chance that this
Christopher Faylor [Wed, 23 Jan 2013 14:06:06 +0000 (14:06 +0000)]
* miscfuncs.cc (__import_address): On second thought, the chance that this
pointer could be NULL is very low so don't bother checking for it.

11 years ago* exceptions.cc (exception::handle): Make attempt to recursively dump stack
Christopher Faylor [Wed, 23 Jan 2013 05:27:36 +0000 (05:27 +0000)]
* exceptions.cc (exception::handle): Make attempt to recursively dump stack
fatal.

11 years ago* miscfuncs.cc (__import_address): Avoid NULL explicitly.
Christopher Faylor [Wed, 23 Jan 2013 02:06:44 +0000 (02:06 +0000)]
* miscfuncs.cc (__import_address): Avoid NULL explicitly.

11 years ago* miscfuncs.cc (__import_address): Avoid treating random instructions as import
Christopher Faylor [Wed, 23 Jan 2013 02:02:36 +0000 (02:02 +0000)]
* miscfuncs.cc (__import_address): Avoid treating random instructions as import
jump.
* malloc_wrapper.cc (malloc_init): Remove comment about 64-bit.

11 years ago2013-01-22 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Tue, 22 Jan 2013 21:20:08 +0000 (21:20 +0000)]
2013-01-22  Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/pthread.h: Add PTHREAD_RWLOCK_INITIALIZER.
Fix typo on PTHREAD_COJND_INITIALIZER.

11 years agoCorrecting my previous commit.
Marcus Shawcroft [Tue, 22 Jan 2013 09:49:27 +0000 (09:49 +0000)]
Correcting my previous commit.

In my previous commit I forget to cvs add two new files, this commit
corrects my mistake.

11 years ago* dcrt0.cc (dll_crt0_1): Comment assumption.
Christopher Faylor [Mon, 21 Jan 2013 17:17:44 +0000 (17:17 +0000)]
* dcrt0.cc (dll_crt0_1): Comment assumption.
* exceptions.cc (sigpacket::setup_handler): Avoid sending signals during fork
processing.

11 years ago* dcrt0.cc (dll_crt0_1): Flag that we are working "incyg". Handle any signals
Christopher Faylor [Mon, 21 Jan 2013 16:56:09 +0000 (16:56 +0000)]
* dcrt0.cc (dll_crt0_1): Flag that we are working "incyg".  Handle any signals
(presumably exiting signals) which may have come in while we are in the process
of setting up.

11 years agoUpdate copyrights
Christopher Faylor [Mon, 21 Jan 2013 16:28:27 +0000 (16:28 +0000)]
Update copyrights

11 years agoUpdate copyrights
Christopher Faylor [Mon, 21 Jan 2013 16:21:23 +0000 (16:21 +0000)]
Update copyrights

11 years ago* update-copyright: Recognize configure.ac scripts too.
Christopher Faylor [Mon, 21 Jan 2013 16:20:23 +0000 (16:20 +0000)]
* update-copyright: Recognize configure.ac scripts too.

11 years agoUse same fix to silence newer gcc as in 64 bit branch
Corinna Vinschen [Mon, 21 Jan 2013 13:53:03 +0000 (13:53 +0000)]
Use same fix to silence newer gcc as in 64 bit branch

11 years ago* cygerrno.h (__reg3): Define.
Christopher Faylor [Mon, 21 Jan 2013 07:42:02 +0000 (07:42 +0000)]
* cygerrno.h (__reg3): Define.
* cygmalloc.h (__reg3): Ditto.

11 years ago* cygerrno.h: Conditionally define __regN for cygserver.
Christopher Faylor [Mon, 21 Jan 2013 07:34:07 +0000 (07:34 +0000)]
* cygerrno.h: Conditionally define __regN for cygserver.

11 years ago* malloc_wrapper.cc (malloc_init): Re-add inadvertently dropped comment which
Christopher Faylor [Mon, 21 Jan 2013 04:43:48 +0000 (04:43 +0000)]
* malloc_wrapper.cc (malloc_init): Re-add inadvertently dropped comment which
explains what's going on with the use_internal calculation.

11 years agoThroughout, update copyrights to reflect dates which correspond to main-branch
Christopher Faylor [Mon, 21 Jan 2013 04:38:31 +0000 (04:38 +0000)]
Throughout, update copyrights to reflect dates which correspond to main-branch
checkins.  Regularize copyright format.

11 years agoThroughout, change __attribute__ ((regparm (N))) to just __regN. Throughout,
Christopher Faylor [Mon, 21 Jan 2013 04:34:52 +0000 (04:34 +0000)]
Throughout, change __attribute__ ((regparm (N))) to just __regN.  Throughout,
(mainly in fhandler*) start fixing gcc 4.7.2 mismatch between regparm
definitions and declarations.
* gendef: Define some functions to take @ declaration to accommodate _regN
defines which use __stdcall.
* gentls_offsets: Define __regN macros as empty.
* autoload.cc (wsock_init): Remove unneeded regparm attribute.
* winsup.h (__reg1): Define.
(__reg2): Define.
(__reg3): Define.
* advapi32.cc (DuplicateTokenEx): Coerce some initializers to avoid warnings
from gcc 4.7.2.
* exceptions.cc (status_info): Declare struct to use NTSTATUS.
(cygwin_exception::dump_exception): Coerce e->ExceptionCode to NTSTATUS.
* fhandler_clipboard.cc (cygnativeformat): Redefine as UINT to avoid gcc 4.7.2
warnings.
(fhandler_dev_clipboard::read): Ditto.

11 years ago* update-copyright (update_maybe): Accommodate perl-style copyright comments.
Christopher Faylor [Mon, 21 Jan 2013 04:30:27 +0000 (04:30 +0000)]
* update-copyright (update_maybe): Accommodate perl-style copyright comments.

11 years ago* update-copyright: Silently skip nonexistent files. Display filename on
Christopher Faylor [Mon, 21 Jan 2013 03:55:55 +0000 (03:55 +0000)]
* update-copyright: Silently skip nonexistent files.  Display filename on
update.  Don't update non-Red Hat copyrights.

11 years ago* update-copyright: Update standard copyright information based on cvs log and
Christopher Faylor [Sun, 20 Jan 2013 23:56:26 +0000 (23:56 +0000)]
* update-copyright: Update standard copyright information based on cvs log and
current sandbox status.

11 years ago* malloc_wrapper.cc: Change 'use_internal_malloc' to 'use_internal' throughout.
Christopher Faylor [Sun, 20 Jan 2013 22:59:58 +0000 (22:59 +0000)]
* malloc_wrapper.cc: Change 'use_internal_malloc' to 'use_internal' throughout.
(export_malloc_called): Delete.
(internal_malloc_determined): New variable.
(malloc_init): Control calculation of internal/external malloc based on
'internal_malloc_determined'.  Use import_address() to determine if malloc in
user_data is ours or not.
* miscfuncs.cc (thread_wrapper): Make static.
(__import_address): Define new function.
* miscfuncs.h (import_address): New define.
(__import_address): Declare new function.

11 years ago* sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to match
Christopher Faylor [Sun, 20 Jan 2013 06:34:59 +0000 (06:34 +0000)]
* sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to match
declaration.
(pid_exists): Ditto.
(proc_subproc): Ditto.
(sig_clear): Ditto.
(sig_send): Ditto.
(checkstate): Ditto.

11 years ago * syscalls.cc (rename): Remove ill-conceived NFS workaround from
Corinna Vinschen [Sat, 19 Jan 2013 14:54:18 +0000 (14:54 +0000)]
* syscalls.cc (rename): Remove ill-conceived NFS workaround from
2013-01-10 for self-inflicted NFS server problem.

11 years ago* exceptions.cc (ctrl_c_handler): Remove special-case handler for
Christopher Faylor [Sat, 19 Jan 2013 05:57:06 +0000 (05:57 +0000)]
* exceptions.cc (ctrl_c_handler): Remove special-case handler for
"cygwin_finished_initializing".
* sigproc.cc (exit_thread): Undefine ExitThread earlier to avoid recursion on
error return.

11 years ago * errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
Corinna Vinschen [Fri, 18 Jan 2013 16:09:51 +0000 (16:09 +0000)]
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.

11 years ago2013-01-18 Marcus Shawcroft <marcus.shawcroft@arm.com>
Marcus Shawcroft [Fri, 18 Jan 2013 15:52:32 +0000 (15:52 +0000)]
2013-01-18  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * aarch64/Machine.in (RDIMON_SCRIPTS):
        Add aem-ve.specs and aem-validation.specs.
        * aarch64/elf-aem-validation.specs: New file.
        * aarch64/elf-aem-ve.specs: New file.

11 years ago * mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
Corinna Vinschen [Fri, 18 Jan 2013 09:35:05 +0000 (09:35 +0000)]
* mmap.cc (handler_disk_file::msync): Add call to FlushFileBuffers
to implement MS_SYNC.

11 years ago* mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFile
Christopher Faylor [Fri, 18 Jan 2013 00:28:21 +0000 (00:28 +0000)]
* mmap.cc (handler_disk_file::msync): Retry up to 99 times if FlushViewOFile
fails with ERROR_LOCK_VIOLATION.

11 years agoinclude/opcode/
Yufeng Zhang [Thu, 17 Jan 2013 16:09:44 +0000 (16:09 +0000)]
include/opcode/

2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

* aarch64.h (aarch64_op): Remove OP_V_MOVI_B.

opcodes/

2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

* aarch64-asm.c (aarch64_ins_advsimd_imm_modified): Handle 8-bit MOVI.
* aarch64-dis.c (aarch64_ext_advsimd_imm_modified): Likewise.
* aarch64-opc.c (operand_general_constraint_met_p): For
AARCH64_MOD_LSL, move the range check on the shift amount before the
alignment check; change to call set_sft_amount_out_of_range_error
instead of set_imm_out_of_range_error.
* aarch64-tbl.h (QL_SIMD_IMM_B): Replace NIL with LSL.
(aarch64_opcode_table): Remove the OP enumerator from the asimdimm
8-bit MOVI entry; change the 2nd operand from SIMD_IMM to
SIMD_IMM_SFT.

gas/

2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

* config/tc-aarch64.c (output_operand_error_record): Change to output
the out-of-range error message as value-expected message if there is
only one single value in the expected range.
(programmer_friendly_fixup): Remove the handling of 8-bit MOVI with
LSL #0 as a programmer-friendly feature.

gas/testsuite/

2013-01-17  Yufeng Zhang  <yufeng.zhang@arm.com>

* gas/aarch64/diagnostic.l: Update.
* gas/aarch64/movi.s: Add tests.
* gas/aarch64/movi.d: Update.
* gas/aarch64/programmer-friendly.s: Add comment.

11 years ago2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 17 Jan 2013 14:53:32 +0000 (14:53 +0000)]
2013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

    * libc/machine/aarch64/strncmp.S: Correct arithmetic for
    argument N values close to the maximum representable
    value in an unsigned 64 bit value.

11 years ago2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 17 Jan 2013 14:52:37 +0000 (14:52 +0000)]
2013-01-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* libc/machine/aarch64/strnlen.S: Correct arithmetic for
argument N values close to the maximum representable
value in an unsigned 64 bit value.

11 years ago* sigproc.cc (no_signals_available): Finally remove this macro entirely.
Christopher Faylor [Wed, 16 Jan 2013 23:04:28 +0000 (23:04 +0000)]
* sigproc.cc (no_signals_available): Finally remove this macro entirely.
(exit_thread): Ensure process lock is released on error exit.
(sig_send): Simplify "its_me" test.  Remove no_signals_available tests.

11 years agoDefine R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64
H.J. Lu [Wed, 16 Jan 2013 20:31:57 +0000 (20:31 +0000)]
Define R_386_SIZE32/R_X86_64_SIZE32/R_X86_64_SIZE64

* i386.h (R_386_SIZE32): Fill it.
* x86-64.h (R_X86_64_SIZE32): Likewise.
(R_X86_64_SIZE64): Likewise.

11 years ago* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
Christopher Faylor [Wed, 16 Jan 2013 19:20:59 +0000 (19:20 +0000)]
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.

11 years ago * configure.ac: Sync with GCC repo.
Jan-Benedict Glaw [Tue, 15 Jan 2013 21:47:02 +0000 (21:47 +0000)]
* configure.ac: Sync with GCC repo.
* configure: Ditto.
* Makefile.def: Ditto.
* Makefile.in: Ditto.

11 years ago * libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
Nick Clifton [Tue, 15 Jan 2013 15:41:31 +0000 (15:41 +0000)]
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.

11 years agofix typo
Christopher Faylor [Mon, 14 Jan 2013 22:24:36 +0000 (22:24 +0000)]
fix typo

11 years ago* include/pthread.h (pthread_exit): Mark as "noreturn".
Christopher Faylor [Mon, 14 Jan 2013 21:17:37 +0000 (21:17 +0000)]
* include/pthread.h (pthread_exit): Mark as "noreturn".

11 years agofix typo
Christopher Faylor [Mon, 14 Jan 2013 18:10:28 +0000 (18:10 +0000)]
fix typo

11 years agoFix copyrights
Corinna Vinschen [Mon, 14 Jan 2013 17:16:02 +0000 (17:16 +0000)]
Fix copyrights

11 years agoupdate with my changes
Christopher Faylor [Mon, 14 Jan 2013 16:32:51 +0000 (16:32 +0000)]
update with my changes

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 14 Jan 2013 13:23:55 +0000 (13:23 +0000)]
*** empty log message ***

11 years ago* exceptions.cc (signal_exit): Move captive process termintation...
Christopher Faylor [Mon, 14 Jan 2013 06:03:59 +0000 (06:03 +0000)]
* exceptions.cc (signal_exit): Move captive process termintation...
(_cygtls::interrupt_setup): ...into here.
(sigpacket::process): Simplify setting of handler when have_execed.
(_cygtls::interrupt_setup): Don't call proc_subproc when we've execed.
* globals.cc (exit_states): Delete unneeded ES_EXEC_EXIT.
* pinfo.cc (pinfo::exit): Change debugging output.  Call proc_terminate rather
than the now-obsolete sigproc_terminate.  Don't set exit_state to ES_EXEC_EXIT.
Set exit_state to ES_FINAL later.
* sigproc.cc (sigproc_terminate): Delete function.
(wait_sig): Don't call proc_subproc if have_execed.
* sigproc.h (sigproc_terminate): Delete declaration.
* sync.h (lock_process::lock_process): Don't set exit_state to
ES_PROCESS_LOCKED.
(lock_process::operator LONG): Define.

11 years ago * new-features.sgml (ov-new1.7.18): Add console enhancements.
Corinna Vinschen [Sat, 12 Jan 2013 19:11:11 +0000 (19:11 +0000)]
* new-features.sgml (ov-new1.7.18): Add console enhancements.

11 years ago * libc/include/string.h: Fix preprocessor expressions using
Corinna Vinschen [Sat, 12 Jan 2013 10:55:09 +0000 (10:55 +0000)]
* libc/include/string.h: Fix preprocessor expressions using
_XOPEN_SOURCE.

11 years ago * ChangeLog: Fix typo.
Jan-Benedict Glaw [Sat, 12 Jan 2013 03:46:44 +0000 (03:46 +0000)]
* ChangeLog: Fix typo.

11 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
Corinna Vinschen [Fri, 11 Jan 2013 20:05:41 +0000 (20:05 +0000)]
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Add code to correctly handle
's' format specifier on not _MB_CAPABLE targets.  Fix a formatting
glitch in _MB_CAPABLE enabled code.  Add a missing 'L' specifier.

11 years ago* DevNotes: Add entry cgf-000021.
Christopher Faylor [Fri, 11 Jan 2013 15:36:40 +0000 (15:36 +0000)]
* DevNotes: Add entry cgf-000021.
* select.cc (select): Unconditionally return when a signal is detected.
(select_stuff::wait): Ditto.

11 years agoSync the root .gitignore file with GCC's.
Joel Brobecker [Fri, 11 Jan 2013 15:17:35 +0000 (15:17 +0000)]
Sync the root .gitignore file with GCC's.

11 years ago * ChangeLog: Fix "Dito" to "Ditto".
Jan-Benedict Glaw [Fri, 11 Jan 2013 13:10:17 +0000 (13:10 +0000)]
* ChangeLog: Fix "Dito" to "Ditto".

11 years ago * config.sub: Update from config repo.
Jan-Benedict Glaw [Fri, 11 Jan 2013 12:57:41 +0000 (12:57 +0000)]
* config.sub: Update from config repo.

11 years ago * syscalls.cc (rename): Drop handling paths > 32757 chars, emit EINVAL
Corinna Vinschen [Fri, 11 Jan 2013 12:34:41 +0000 (12:34 +0000)]
* syscalls.cc (rename): Drop handling paths > 32757 chars, emit EINVAL
instead, thus simplifying code allocating and filling pfri.  Drop size
and use constant expression in NtSetInformationFile call.  Add comments.
Drop redundant test for fs_serial_number and change comment accordingly.

11 years ago * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
Eric Botcazou [Fri, 11 Jan 2013 11:48:54 +0000 (11:48 +0000)]
    * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
        * Makefile.in: Regenerate.

11 years ago * fhandler.h (class dev_console): Flag for expanded control sequence.
Corinna Vinschen [Fri, 11 Jan 2013 11:04:50 +0000 (11:04 +0000)]
* fhandler.h (class dev_console): Flag for expanded control sequence.
* fhandler_console.cc (char_command): Supporting cursor style modes.

11 years agoinclude/opcode/
Peter Bergner [Fri, 11 Jan 2013 02:25:35 +0000 (02:25 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_POWER8): New define.
(PPC_OPCODE_HTM): Likewise.

opcodes/
* ppc-dis.c (ppc_opts): Add "power8", "pwr8" and "htm" entries.
* ppc-opc.c (HTM_R, HTM_SI, XRTRB_MASK, XRTRARB_MASK, XRTLRARB_MASK,
XRTARARB_MASK, XRTBFRARB_MASK, XRCL, POWER8, PPCHTM): New defines.
(SH6): Update.
<"tabort.", "tabortdc.", "tabortdci.", "tabortwc.",
"tabortwci.", "tbegin.", "tcheck", "tend.", "trechkpt.",
"treclaim.", "tsr.">: Add POWER8 HTM opcodes.
<"tendall.", "tresume.", "tsuspend.">: Add POWER8 HTM extended opcodes.

gas/
* doc/as.texinfo (Target PowerPC): Document -mpower8 and -mhtm.
* doc/c-ppc.texi (PowerPC-Opts):  Likewise.
* config/tc-ppc.c (md_show_usage): Likewise.
(ppc_handle_align): Handle power8's group ending nop.

gas/testsuite/
* gas/ppc/htm.d: New test.
* gas/ppc/htm.s: Likewise.
* gas/ppc/power8.d: Likewise.
* gas/ppc/power8.s: Likewise.
* gas/ppc/ppc.exp: Run them.

11 years agoBuild gmp before configuring gcc
H.J. Lu [Thu, 10 Jan 2013 17:02:01 +0000 (17:02 +0000)]
Build gmp before configuring gcc

* Makefile.def (configure-gcc): Depend on all-gmp.
(all-gcc): Remove dependency on all-gmp.
* Makefile.in: Regenerated.

11 years ago * path.h (path_conv::fs_type): New method.
Corinna Vinschen [Thu, 10 Jan 2013 15:08:22 +0000 (15:08 +0000)]
* path.h (path_conv::fs_type): New method.
* syscalls.cc (rename): Check for cross-device situation before
touching anything.  Explain why.  Workaround NFS bug in call to
NtSetInformationFile(FileRenameInformation).

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 13:02:19 +0000 (13:02 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

        * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
        memcmp-stub.c and memcmp.S
        * libc/machine/aarch64/Makefile.in: Regenerated.
        * libc/machine/aarch64/memcmp-stub.c: New file.
        * libc/machine/aarch64/memcmp.S: New file.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 13:00:40 +0000 (13:00 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

        * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
        strnlen-stub.c and strnlen.S
        * libc/machine/aarch64/Makefile.in: Regenerated.
        * libc/machine/aarch64/strnlen-stub.c: New file.
        * libc/machine/aarch64/strnlen.S: New file.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:57:11 +0000 (12:57 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

        * libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
        Add strlen.S and strlen-stub.c.
        * libc/machine/aarch64/Makefile.in: Regenerated.
        * libc/machine/aarch64/strlen-stub.c: New file.
        * libc/machine/aarch64/strlen.S: New file.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:54:39 +0000 (12:54 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* libc/machine/aarch64/Makefile.am (lib_a_SOURCES):
Add memmove.S and memmove-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/memmove-stub.c: New file.
* libc/machine/aarch64/memmove.S: New file.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:51:13 +0000 (12:51 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Re-ordered.
Add strncmp.S and strncmp-stub.c.
* libc/machine/aarch64/Makefile.in: Regenerated.
* libc/machine/aarch64/strncmp-stub.c: New file.
* libc/machine/aarch64/strncmp.S: New file.

11 years ago2013-01-10 Marcus Shawcroft <marcus.shawcroft@linaro.org>
Marcus Shawcroft [Thu, 10 Jan 2013 12:44:50 +0000 (12:44 +0000)]
2013-01-10  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

    * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add
    memcpy.c memcpy-stub.c memset.S memset-stub.c strcmp.S
    strcmp-stub.c.
    * libc/machine/aarch64/Makefile.in: Regenerated.
    * libc/machine/aarch64/memcpy-stub.c: New file.
    * libc/machine/aarch64/memcpy.S: New file.
    * libc/machine/aarch64/memset-stub.c: New file.
    * libc/machine/aarch64/memset.S: New file.
    * libc/machine/aarch64/strcmp.S: New file.
    * libc/machine/aarch64/strcmp-stub.c: New file.

11 years ago * common.h: Fix case of "Meta".
Nick Clifton [Thu, 10 Jan 2013 09:49:18 +0000 (09:49 +0000)]
* common.h: Fix case of "Meta".
* metag.h: New file.

* dis-asm.h (print_insn_metag): New declaration.

* metag.h: New file.

* Makefile.am: Add Meta.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configure.in: Add Meta.
* disassemble.c: Add Meta support.
* metag-dis.c: New file.

* Makefile.am: Add Meta.
* Makefile.in: Regenerate.
* archures.c (bfd_mach_metag): New.
* bfd-in2.h: Regenerate.
* config.bfd: Add Meta.
* configure: Regenerate.
* configure.in: Add Meta.
* cpu-metag.c: New file.
* elf-bfd.h: Add Meta.
* elf32-metag.c: New file.
* elf32-metag.h: New file.
* libbfd.h: Regenerate.
* reloc.c: Add Meta relocations.
* targets.c: Add Meta.

* Makefile.am: Add Meta.
* Makefile.in: Regenerate.
* config/tc-metag.c: New file.
* config/tc-metag.h: New file.
* configure.tgt: Add Meta.
* doc/Makefile.am: Add Meta.
* doc/Makefile.in: Regenerate.
* doc/all.texi: Add Meta.
* doc/as.texiinfo: Document Meta options.
* doc/c-metag.texi: New file.

* gas/metag/labelarithmetic.d: New file.
* gas/metag/labelarithmetic.s: New file.
* gas/metag/metacore12.d: New file.
* gas/metag/metacore12.s: New file.
* gas/metag/metacore21-invalid.l: New file.
* gas/metag/metacore21-invalid.s: New file.
* gas/metag/metacore21.d: New file.
* gas/metag/metacore21.s: New file.
* gas/metag/metacore21ext.d: New file.
* gas/metag/metacore21ext.s: New file.
* gas/metag/metadsp21-invalid.l: New file.
* gas/metag/metadsp21-invalid.s: New file.
* gas/metag/metadsp21.d: New file.
* gas/metag/metadsp21.s: New file.
* gas/metag/metadsp21ext.d: New file.
* gas/metag/metadsp21ext.s: New file.
* gas/metag/metafpu21.d: New file.
* gas/metag/metafpu21.s: New file.
* gas/metag/metafpu21ext.d: New file.
* gas/metag/metafpu21ext.s: New file.
* gas/metag/metag.exp: New file.
* gas/metag/tls.d: New file.
* gas/metag/tls.s: New file.

* Makefile.am: Add Meta.
* Makefile.in: Regenerate.
* configure.tgt: Add Meta.
* emulparams/elf32metag.sh: New file.
* emultempl/metagelf.em: New file.

* ld-elf/merge.d: Mark Meta as xfail.
* ld-gc/start.d: Skip this test on Meta.
* ld-gc/personality.d: Skip this test on Meta.
* ld-metag/external.s: New file.
* ld-metag/metag.exp: New file.
* ld-metag/pcrel.d: New file.
* ld-metag/pcrel.s: New file.
* ld-metag/shared.d: New file.
* ld-metag/shared.r: New file.
* ld-metag/shared.s: New file.
* ld-metag/stub.d: New file.
* ld-metag/stub.s: New file.
* ld-metag/stub_pic_app.d: New file.
* ld-metag/stub_pic_app.r: New file.
* ld-metag/stub_pic_app.s: New file.
* ld-metag/stub_pic_shared.d: New file.
* ld-metag/stub_pic_shared.s: New file.
* ld-metag/stub_shared.d: New file.
* ld-metag/stub_shared.r: New file.
* ld-metag/stub_shared.s: New file.

* binutils/readelf.c: (guess_is_rela): Add EM_METAG.
(dump_relocations): Add EM_METAG.
(get_machine_name): Correct case for Meta.
(is_32bit_abs_reloc): Add support for Meta ADDR32 reloc.
(is_none_reloc): Add support for Meta NONE reloc.

11 years ago * cygerrno.h: Fix copyright.
Corinna Vinschen [Wed, 9 Jan 2013 16:25:15 +0000 (16:25 +0000)]
* cygerrno.h: Fix copyright.
* exceptions.cc: Drop comment explaining removed variable.

11 years ago * dcrt0.cc (main_thread_sinit): New inline function. Fix and explain
Corinna Vinschen [Wed, 9 Jan 2013 14:23:44 +0000 (14:23 +0000)]
* dcrt0.cc (main_thread_sinit): New inline function.  Fix and explain
a stdio initialization issue.
(dll_crt0_1): Call main_thread_sinit rather than __sinit.

11 years ago * config.guss: Update from config repo.
Jan-Benedict Glaw [Tue, 8 Jan 2013 22:42:34 +0000 (22:42 +0000)]
* config.guss: Update from config repo.
* config.sub: Dito.

11 years agoinclude/elf/
Yufeng Zhang [Tue, 8 Jan 2013 18:09:12 +0000 (18:09 +0000)]
include/elf/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New macro
definitions.

bfd/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
(elfcore_write_aarch_hw_break): Likewise.
(elfcore_write_aarch_hw_watch): Likewise.
* elf.c (elfcore_grok_aarch_tls): New function.
(elfcore_grok_aarch_hw_break): Likewise.
(elfcore_grok_aarch_hw_watch): Likewise.
(elfcore_grok_note): Call the new functions to handle the
corresponding notes.
(elfcore_write_aarch_tls): New function.
(elfcore_write_aarch_hw_break): Likewise.
(elfcore_write_aarch_hw_watch): Likewise.
(elfcore_write_register_note): Call the new functions to handle the
corresponding pseudo sections.

binutils/

2013-01-08  Yufeng Zhang  <yufeng.zhang@arm.com>

* readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
and NT_ARM_HW_WATCH.

11 years ago2013-01-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jan 2013 16:42:23 +0000 (16:42 +0000)]
2013-01-08  Jeff Johnston  <jjohnstn@redhat.com>

        * MAINTAINERS: Add Richard Earnshaw as Arm co-maintainer
        and add Richard and Marcus Shawcroft as aarch64 maintainers.

This page took 0.071645 seconds and 5 git commands to generate.