]>
sourceware.org Git - newlib-cygwin.git/log
Nick Clifton [Thu, 21 Mar 2013 16:08:06 +0000 (16:08 +0000)]
* elf32-h8300 (h8_relax_section): Add new relaxation of mov
@(disp:32,ERx) to mov @(disp:16,ERx).
(R_H8_DISP32A16): New reloc.
Comments added and corrected.
* reloc.c (BFD_RELOC_H8_DISP32A16): New reloc.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* ld.texinfo (H8/300): Add description of relaxation of
mov @(disp:32,ERx) to mov @(disp:16,ERx).
* ld-h8300/h8300.exp: Add new relax-7 test on ELF.
* ld-h8300/relax-2.s: Add other direction and .w/.l variants of
mov insns.
* ld-h8300/relax-2.d: Update expected disassembly.
* ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov
@(disp:16,ERx).
* ld-h8300/relax-7b.s: New: Likewise.
* ld-h8300/relax-7.d: New: expected disassembly.
* config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov
@(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc
R_H8_DISP32A16.
* config/tc-h8300.h: Remove duplicated defines.
Nick Clifton [Wed, 20 Mar 2013 16:56:34 +0000 (16:56 +0000)]
PR gas/15082
* tic6x-opcode-table.h: Rename mpydp's specific operand type macro
from ORREGD1324 to ORXREGD1324 and make it cross-path-able through
tic6x_operand_xregpair operand coding type.
Make mpydp instruction cross-path-able, ie: remove the FIXed 'x'
opcode field, usu ORXREGD1324 for the src2 operand and remove the
TIC6X_FLAG_NO_CROSS.
* gas/tic6x/insns-bad-1.s: Remove test-case for mpydp with
cross-path.
* gas/tic6x/insns-bad-1.l: Update expected output.
* gas/tic6x/insns-c674x.s: Add a test-case for mpydp with
cross-path.
* gas/tic6x/insns-c674x.d: Update expected output.
Nick Clifton [Wed, 20 Mar 2013 16:36:34 +0000 (16:36 +0000)]
* include/opcode/tic6x.h: add tic6x_coding_dreg_(msb|lsb) field coding type in
order to encode separately the msb and lsb of a register pair ; this will be
needed to encode the opcodes the same
way as Ti assembler does.
* gas/config/tc-tic6x.c: handle tic6x_coding_dreg_(msb|lsb) field coding types
and use it to encode register pair numbers when required.
* opcodes/tic6x-dis.c: decodes opcodes that have individual msb and lsb halves
in src1 & src2 fields ; discard the src1 (lsb) value and only use src2 (msb),
discarding bit 0, to follow what Ti SDK does in that case as any value in the
src1 field yields the same output with SDK disassembler.
* include/opcode/tic6x-opcode-table.h: modify absdp, dpint, dpsp, dptrunc,
rcpdp and rsqrdp opcodes to use the new field coding types.
* gas/testsuite/gas/tic6x/insns-c674x.d, gas/testsuite/gas/tic6x/insns-c674x.s
: add test case for the newly generated opcode but keep the old ones as they
seem legit as per Ti disassembler output.
Christopher Faylor [Tue, 19 Mar 2013 16:41:42 +0000 (16:41 +0000)]
test checkin
Steve Ellcey [Fri, 15 Mar 2013 17:53:41 +0000 (17:53 +0000)]
gdb:
2013-03-15 Steve Ellcey <sellcey@mips.com>
* remote-sim.c (sim_command_completer): Make char arguments const.
include:
2013-03-15 Steve Ellcey <sellcey@mips.com>
* gdb/remote-sim.h (sim_command_completer): Make char arguments const.
sim:
2013-03-15 Steve Ellcey <sellcey@mips.com>
* arm/wrapper.c (sim_complete_command): Make char arguments const.
* avr/interp.c (sim_complete_command): Ditto.
* common/sim-options.c (sim_complete_command): Ditto.
* cr16/interp.c (sim_complete_command): Ditto.
* erc32/interf.c (sim_complete_command): Ditto.
* m32c/gdb-if.c (sim_complete_command): Ditto.
* microblaze/interp.c (sim_complete_command): Ditto.
* ppc/sim_calls.c (sim_complete_command): Ditto.
* rl78/gdb-if.c (sim_complete_command): Ditto.
* rx/gdb-if.c (sim_complete_command): Ditto.
* sh/interp.c (sim_complete_command): Ditto.
Corinna Vinschen [Fri, 15 Mar 2013 13:19:29 +0000 (13:19 +0000)]
* newlib/libc/stdio/findfp.c (glue_with_file): New.
(__sfmoreglue): Use glue_with_file to avoid alignment problems.
Sandra Loosemore [Tue, 12 Mar 2013 19:18:57 +0000 (19:18 +0000)]
2013-03-12 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/
* opcode/nios2.h: Edit comment.
gas/
* config/tc-nios2.c (nios2_consume_arg): Delete 'k' case. Add 'o'
case. Add default BAD_CASE to switch.
gas/testsuite/
* gas/nios2/break.d: Check instruction values.
Sandra Loosemore [Tue, 12 Mar 2013 02:41:26 +0000 (02:41 +0000)]
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/
* opcode/nios2.h (OPX_WRPRS): New define.
(OP_MATCH_WRPRS): Likewise.
opcodes/
* nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs.
gas/
* config/tc-nios2.c (nios2_assemble_args_ds): New function.
(nios2_arg_info_structs): Add "d,s" and "d,s,E" entries.
gas/testsuite/
* gas/nios2/nios2.exp: Run wrprs.
* gas/nios2/wrprs.d: New file.
* gas/nios2/wrprs.s: Likewise.
Sandra Loosemore [Tue, 12 Mar 2013 02:20:08 +0000 (02:20 +0000)]
2013-03-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
include/
* opcode/nios2.h (OP_RDPRS): New define.
(OP_MATCH_RDPRS): Likewise.
opcodes/
* nios2-opc.c (nios2_builtin_opcodes): Add entry for rdprs.
gas/testsuite/
* gas/nios2/nios2.exp: Run rdprs.
* gas/nios2/rdprs.d: New file.
* gas/nios2/rdprs.s: Likewise.
Kyrylo Tkachov [Mon, 11 Mar 2013 11:09:32 +0000 (11:09 +0000)]
Add support for AArch32 CRC instruction in ARMv8.
gas/ChangeLog
2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/tc-arm.c (crc_ext_armv8): New feature set.
(UNPRED_REG): New macro.
(do_crc32_1): New function.
(do_crc32b, do_crc32h, do_crc32w, do_crc32cb,
do_crc32ch, do_crc32cw): Likewise.
(TUEc): New macro.
(insns): Add entries for crc32 mnemonics.
(arm_extensions): Add entry for crc.
include/opcode/ChangeLog
2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* arm.h (CRC_EXT_ARMV8): New constant.
(ARCH_CRC_ARMV8): New macro.
opcodes/ChangeLog
2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* arm-dis.c (arm_opcodes): Add entries for CRC instructions.
(thumb32_opcodes): Likewise.
(print_insn_thumb32): Handle 'S' control char.
gas/testsuite/ChangeLog
2013-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gas/arm/crc32-bad.d: New file.
* gas/arm/crc32-bad.l: Likewise.
* gas/arm/crc32-bad.s: Likewise.
* gas/arm/crc32.d: Likewise.
* gas/arm/crc32.s: Likewise.
Christopher Faylor [Sat, 9 Mar 2013 21:58:54 +0000 (21:58 +0000)]
add news
Christopher Faylor [Sat, 9 Mar 2013 21:55:18 +0000 (21:55 +0000)]
* cygtls.h (_cygtls::signal_debugger): Change argument type.
(_cygtls::copy_context): Delete declaration.
* exceptions.cc (exception::handle): Don't call copy_context() here. Move
signal_handler call earlier and always call it.
(_cygtls::copy_context): Delete definition.
(_cygtls::signal_debugger): Move copy_context logic here. Suspend thread
receiving signal before gathering context information.
Christopher Faylor [Sat, 9 Mar 2013 00:11:31 +0000 (00:11 +0000)]
* spawn.cc (child_info_spawn::worker): Save and restore my_wr_proc_pipe around
non-execing operations to avoid handle leak seen in
http://cygwin.com/ml/cygwin/2013-03/msg00152.html .
Nick Clifton [Fri, 8 Mar 2013 17:13:31 +0000 (17:13 +0000)]
* elf-bfd.h (elfcore_write_s390_tdb): Add prototype.
* elf.c (elfcore_write_s390_tdb): New function.
(elfcore_write_register_note): Call it.
(elfcore_grok_s390_tdb): New function.
(elfcore_grok_note): Call it.
* readelf.c (get_note_type): Add NT_S390_TDB.
Corinna Vinschen [Thu, 7 Mar 2013 15:39:35 +0000 (15:39 +0000)]
* include/sys/un.h (UNIX_PATH_MAX): Rename from UNIX_PATH_LEN to
follow Linux.
* fhandler_socket.cc: Change UNIX_PATH_LEN to UNIX_PATH_MAX throughout.
(fhandler_socket::recv_internal): Don't return prematurely in case of
successful return. For AF_LOCAL sockets, overwrite returned AF_INET
name with AF_LOCAL name.
Corinna Vinschen [Thu, 7 Mar 2013 11:04:28 +0000 (11:04 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Fix check for AF_LOCAL
filename length to allow non-NUL terminated strings within namelen
bytes. Copy over sun_path to local array sun_path to have a
NUL-terminated string for subsequent function calls. Move path_conv
check before OS bind call to not bind the socket before being sure
the file doesn't exist. Add and fix comments.
Corinna Vinschen [Wed, 6 Mar 2013 14:10:23 +0000 (14:10 +0000)]
* mount.cc (fs_names): Add trailing NULL element to avoid potential
SEGV in format_proc_filesystems.
Corinna Vinschen [Wed, 6 Mar 2013 11:28:29 +0000 (11:28 +0000)]
* faq-using.xml: Fix expression and uppercase Samba.
Cary Coutant [Fri, 1 Mar 2013 23:40:38 +0000 (23:40 +0000)]
Restore patch lost in last merge from GCC.
include/
* dwarf2.h (enum dwarf_sect): New enum type.
DJ Delorie [Fri, 1 Mar 2013 23:00:18 +0000 (23:00 +0000)]
merge from gcc
Cary Coutant [Fri, 1 Mar 2013 19:23:33 +0000 (19:23 +0000)]
include/
* dwarf2.h (enum dwarf_sect): New enum type.
Christopher Faylor [Fri, 1 Mar 2013 16:28:09 +0000 (16:28 +0000)]
Remove now-inappropriate comment.
Christopher Faylor [Fri, 1 Mar 2013 15:55:39 +0000 (15:55 +0000)]
fix latest changelog description
Christopher Faylor [Fri, 1 Mar 2013 15:48:14 +0000 (15:48 +0000)]
* exceptions.cc (exception::handle): Eliminate buggy recursed value and just
check if we're exiting.
Yufeng Zhang [Thu, 28 Feb 2013 19:18:40 +0000 (19:18 +0000)]
include/opcode/
* aarch64.h (AARCH64_FEATURE_CRC): New macro.
opcodes/
* aarch64-tbl.h (QL_I3SAMEW, QL_I3WWX): New macros.
(aarch64_feature_crc): New static.
(CRC): New macro.
(aarch64_opcode_table): Add entries for the crc32b, crc32h, crc32w,
crc32x, crc32cb, crc32ch, crc32cw and crc32cx instructions.
* aarch64-asm-2.c: Re-generate.
* aarch64-dis-2.c: Ditto.
* aarch64-opc-2.c: Ditto.
gas/
* config/tc-aarch64.c (aarch64_features): Add the 'crc' option.
gas/testsuite/
* gas/aarch64/crc32.s: New test.
* gas/aarch64/crc32.d: Ditto.
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.
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.
Corinna Vinschen [Tue, 26 Feb 2013 10:32:36 +0000 (10:32 +0000)]
* include/pthread.h (pthread_atfork): Add missing declaration.
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.
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.
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.
Corinna Vinschen [Tue, 19 Feb 2013 07:31:04 +0000 (07:31 +0000)]
* libc/machine/mips/memcpy.S: Fix USE_PREFETCH check.
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.
Yufeng Zhang [Fri, 15 Feb 2013 17:55:25 +0000 (17:55 +0000)]
* configure.ac: Sync with GCC repo.
* configure: Ditto.
Christopher Faylor [Wed, 13 Feb 2013 18:07:24 +0000 (18:07 +0000)]
* pathnames.sgml: Remove stray '@'.
Christopher Faylor [Wed, 13 Feb 2013 17:57:19 +0000 (17:57 +0000)]
* pathnames.sgml: Clarify '@' processing.
Corinna Vinschen [Tue, 12 Feb 2013 15:26:30 +0000 (15:26 +0000)]
Fix wrongly applied patch
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.
Corinna Vinschen [Mon, 11 Feb 2013 08:28:46 +0000 (08:28 +0000)]
* libgloss/rx/Makefile.in: Respect DESTDIR when installing
Corinna Vinschen [Sun, 10 Feb 2013 11:57:51 +0000 (11:57 +0000)]
* arm/elf-rdimon.specs (-lrdimon): Change link to lib.
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.
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.
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.
Alan Modra [Mon, 4 Feb 2013 23:31:16 +0000 (23:31 +0000)]
* configure: Regenerate after syncing config/.
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.
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.
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.
Nick Clifton [Fri, 1 Feb 2013 08:29:04 +0000 (08:29 +0000)]
* crt0.S: Add recognition of the e3v5 architecture variant.
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.
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.
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.
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.
Nick Clifton [Thu, 24 Jan 2013 16:51:56 +0000 (16:51 +0000)]
* v850.h: Add e3v5 support.
Nick Clifton [Thu, 24 Jan 2013 11:14:01 +0000 (11:14 +0000)]
Add support for V850E3V5 architecture
Christopher Faylor [Wed, 23 Jan 2013 16:54:35 +0000 (16:54 +0000)]
* faq-programming.xml: Remove reference to "make check".
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'.
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.
Christopher Faylor [Wed, 23 Jan 2013 05:27:36 +0000 (05:27 +0000)]
* exceptions.cc (exception::handle): Make attempt to recursively dump stack
fatal.
Christopher Faylor [Wed, 23 Jan 2013 02:06:44 +0000 (02:06 +0000)]
* miscfuncs.cc (__import_address): Avoid NULL explicitly.
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.
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.
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.
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.
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.
Christopher Faylor [Mon, 21 Jan 2013 16:28:27 +0000 (16:28 +0000)]
Update copyrights
Christopher Faylor [Mon, 21 Jan 2013 16:21:23 +0000 (16:21 +0000)]
Update copyrights
Christopher Faylor [Mon, 21 Jan 2013 16:20:23 +0000 (16:20 +0000)]
* update-copyright: Recognize configure.ac scripts too.
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
Christopher Faylor [Mon, 21 Jan 2013 07:42:02 +0000 (07:42 +0000)]
* cygerrno.h (__reg3): Define.
* cygmalloc.h (__reg3): Ditto.
Christopher Faylor [Mon, 21 Jan 2013 07:34:07 +0000 (07:34 +0000)]
* cygerrno.h: Conditionally define __regN for cygserver.
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.
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.
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.
Christopher Faylor [Mon, 21 Jan 2013 04:30:27 +0000 (04:30 +0000)]
* update-copyright (update_maybe): Accommodate perl-style copyright comments.
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.
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.
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.
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.
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.
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.
Corinna Vinschen [Fri, 18 Jan 2013 16:09:51 +0000 (16:09 +0000)]
* errno.cc (errmap): Map ERROR_LOCK_VIOLATION to EBUSY.
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.
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.
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.
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.
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.
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.
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.
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.
Christopher Faylor [Wed, 16 Jan 2013 19:20:59 +0000 (19:20 +0000)]
* pthread.cc (pthread_exit): Add kludge to accommodate noreturn attribute.
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.
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.
Christopher Faylor [Mon, 14 Jan 2013 22:24:36 +0000 (22:24 +0000)]
fix typo
Christopher Faylor [Mon, 14 Jan 2013 21:17:37 +0000 (21:17 +0000)]
* include/pthread.h (pthread_exit): Mark as "noreturn".
Christopher Faylor [Mon, 14 Jan 2013 18:10:28 +0000 (18:10 +0000)]
fix typo
Corinna Vinschen [Mon, 14 Jan 2013 17:16:02 +0000 (17:16 +0000)]
Fix copyrights
Christopher Faylor [Mon, 14 Jan 2013 16:32:51 +0000 (16:32 +0000)]
update with my changes
Corinna Vinschen [Mon, 14 Jan 2013 13:23:55 +0000 (13:23 +0000)]
*** empty log message ***
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.
Corinna Vinschen [Sat, 12 Jan 2013 19:11:11 +0000 (19:11 +0000)]
* new-features.sgml (ov-new1.7.18): Add console enhancements.
This page took 0.074457 seconds and 5 git commands to generate.