]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago * arm.h (ARMV7PEMAGIC): Define.
Nick Clifton [Wed, 2 Jan 2013 13:20:50 +0000 (13:20 +0000)]
* arm.h (ARMV7PEMAGIC): Define.
(ARMBADMAG): Update.

11 years agoopcodes/ChangeLog
Nick Clifton [Wed, 2 Jan 2013 13:13:36 +0000 (13:13 +0000)]
opcodes/ChangeLog
* cr16-dis.c (match_opcode,make_instruction: Remove static declaration.
(dwordU,wordU): Moved typedefs to opcode/cr16.h
(cr16_words,cr16_allWords,cr16_currInsn): Added prefix 'cr16_'

bfd/Changelog
* config.bfd (cr16*-*-uclinux*): New target support.

include/opcode/ChangeLog
* cr16.h (dwordU,wordU): Moved typedefs from cr16-dis.c
(make_instruction,match_opcode): Added function prototypes.
(cr16_words,cr16_allWords,cr16_currInsn): Declare as extern.

11 years agoUpdate years in copyright notice for the GDB files.
Joel Brobecker [Tue, 1 Jan 2013 06:41:30 +0000 (06:41 +0000)]
Update years in copyright notice for the GDB files.

Two modifications:
  1. The addition of 2013 to the copyright year range for every file;
  2. The use of a single year range, instead of potentially multiple
     year ranges, as approved by the FSF.

11 years ago* sigproc.cc (wait_sig): Remove spurious extern.
Christopher Faylor [Mon, 31 Dec 2012 19:07:03 +0000 (19:07 +0000)]
* sigproc.cc (wait_sig): Remove spurious extern.

11 years ago* dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.
Christopher Faylor [Mon, 31 Dec 2012 18:31:49 +0000 (18:31 +0000)]
* dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.
* syscalls.cc (dup2): Ditto.
* winsup.h (events_terminate): Delete obsolete function declaration.

11 years ago* DevNotes: Add entry cgf-000019.
Christopher Faylor [Fri, 28 Dec 2012 18:06:17 +0000 (18:06 +0000)]
* DevNotes: Add entry cgf-000019.
* dcrt0.cc (do_exit): Just set exit_state to ES_EVENTS_TERMINATE and nuke call
to events_terminate which just set a superfluous flag.
* sigproc.cc (signal_exit_code): New variable.
(setup_signal_exit): Define new function.
(_cygtls::signal_exit): Remove accommodations for closing the signal pipe
handle.
(exit_thread): Just sleep if we're exiting.
(wait_sig): If signal_exit_code is set, just handle bookkeeping signals and
exit ReadFile loop if there is nothing more to process.  Call signal_exit at
end if signal_exit_code is non-zero.
* sigproc.h (setup_signal_exit): Declare new function.
* exceptions.cc (sigpacket::process): Use setup_signal_exit to control exiting
due to a signal.
(exception::handle): Ditto.  Query exit_state rather than defunct exit_already
to determine if we are exiting.
* globals.cc (ES_SIGNAL_EXIT): New enum.
* sync.h (lock_process::release): New function for explicitly unlocking muto.
(lock_process::~lock_process): Use release method.

11 years ago* fork.cc (child_info::prefork): Fix error message formatting.
Christopher Faylor [Thu, 27 Dec 2012 17:25:17 +0000 (17:25 +0000)]
* fork.cc (child_info::prefork): Fix error message formatting.

11 years agoFix tid comment.
Christopher Faylor [Sat, 22 Dec 2012 23:37:33 +0000 (23:37 +0000)]
Fix tid comment.

11 years ago* select.h (select_stuff): Remove variable names from parameter declarations.
Christopher Faylor [Sat, 22 Dec 2012 19:35:41 +0000 (19:35 +0000)]
* select.h (select_stuff): Remove variable names from parameter declarations.
(select_info): Ditto.
(select_record::dump_select_record): Declare new debugging-only function.
(select_info): Zero all fields.
(select_pipe_info): Ditto.
(select_socket_info): Ditto.
(select_serial_info): Ditto.
(select_mailslot_info): Ditto.
* select.cc (select_record::dump_select_record): Define new debugging-only
function.
(select_stuff::test_and_set): Call dump_select_record when debugging.
* thread.cc (pthread_mutex::unlock): Revert setting of tid to NULL since, in
this context, it is a number, not a pointer.
(pthread_spinlock::unlock): Ditto.

11 years agoBack out prematurely checked-in change.
Christopher Faylor [Sat, 22 Dec 2012 03:16:43 +0000 (03:16 +0000)]
Back out prematurely checked-in change.

11 years ago* sigproc.cc (exit_thread): undef ExitThread or suffer recursion. Attempt to
Christopher Faylor [Sat, 22 Dec 2012 03:14:37 +0000 (03:14 +0000)]
* sigproc.cc (exit_thread): undef ExitThread or suffer recursion.  Attempt to
lock process prior to calling sig_send.

11 years agoRevert the reversion and go with implementation described in cgf-000017, with
Christopher Faylor [Fri, 21 Dec 2012 21:30:56 +0000 (21:30 +0000)]
Revert the reversion and go with implementation described in cgf-000017, with
some modifications.
* init.cc (dll_entry): Revert previous change.
* miscfuncs.cc: Include sigproc.h for exit_thread declaration.
* winsup.h (ExitThread): Define as 'exit_thread' to ensure no accidental use.
* sigproc.cc (exit_thread): New function.
(wait_sig): Handle __SIGTHREADEXIT case.  Don't just block rather than
returning from this function.
* sigproc.h (__SIGTHREADEXIT): New enum.
(exit_thread): Declare.
* sync.cc (muto::release): Accept a tls command-line argument.
* sync.h (muto::release): Accept a tls command-line parameter.  Default to
&_my_tls.
* cygerrno.h (__set_errno): Define as extern so that no function code is ever
emitted.
* cygserver_ipc.h (cygserver_ipc.h): Ditto.
* miscfuncs.h (transform_chars): Ditto.
* path.h (has_attribute): Ditto.
* security.h (privilege_luid): Ditto.
* winsup.h (flush_file_buffers): Ditto.

11 years ago* DevNotes: Add entry cgf-000018.
Christopher Faylor [Fri, 21 Dec 2012 19:32:43 +0000 (19:32 +0000)]
* DevNotes: Add entry cgf-000018.
* init.cc (dll_entry): Grab process lock before exiting to ensure that thread
doesn't exit before parent if parent is exiting.
* _cygtls.cc (_cygtls::call2): Revert previous 2012-12-21 change.
* miscfuncs.cc (thread_wrapper): Ditto.
* thread.cc (pthread::exit): Ditto.
* sigproc.cc (exit_thread): Ditto.
(wait_sig): Ditto.
* sync.cc (muto::release): Ditto.
* sync.h (muto::release): Ditto.
* sigproc.h (__SIGTHREADEXIT): Delete enum.
(exit_thread): Delete declaration.

11 years ago* DevNotes: Add entry cgf-000017.
Christopher Faylor [Fri, 21 Dec 2012 18:52:00 +0000 (18:52 +0000)]
* DevNotes: Add entry cgf-000017.
* _cygtls.cc (_cygtls::call2): Use new exit_thread function in place of
ExitThread.
* miscfuncs.cc (thread_wrapper): Ditto.
* thread.cc (pthread::exit): Ditto.
(pthread_mutex::unlock): Set tid to NULL rather than 0.
(pthread_spinlock::unlock): Ditto.
* pinfo.cc (commune_process): Actually call lock_process constructor.
* sigproc.cc (exit_thread): New function.
(wait_sig): Handle __SIGTHREADEXIT case.  Don't just block rather than
returning from this function.
* sigproc.h (__SIGTHREADEXIT): New enum.
(exit_thread): Declare.
* sync.cc (muto::release): Accept a tls command-line argument.
* sync.h (muto::release): Accept a tls command-line parameter.  Default to
&_my_tls.

11 years ago * Makefile.def (install-target-libgo): Depend on
Jan-Benedict Glaw [Thu, 20 Dec 2012 21:59:17 +0000 (21:59 +0000)]
* Makefile.def (install-target-libgo): Depend on
install-target-libatomic. Merged from GCC repo.
* Makefile.in: Regenerate.

11 years ago2012-12-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 20 Dec 2012 21:10:27 +0000 (21:10 +0000)]
2012-12-20  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 2.0.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 2.0.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_2.0

11 years ago * pathnames.sgml (pathnames-at): Drop confusing description on
Corinna Vinschen [Thu, 20 Dec 2012 16:47:26 +0000 (16:47 +0000)]
* pathnames.sgml (pathnames-at): Drop confusing description on
"embedded double quotes".

11 years ago * dcrt0.cc (build_argv): Allow quoted filenames in @ expression.
Corinna Vinschen [Thu, 20 Dec 2012 13:39:34 +0000 (13:39 +0000)]
* dcrt0.cc (build_argv): Allow quoted filenames in @ expression.

11 years agoAdd missing file.
Christopher Faylor [Wed, 19 Dec 2012 22:07:14 +0000 (22:07 +0000)]
Add missing file.

11 years ago* select.h (select_stuff::select_stuff): Make default constructor always zero
Christopher Faylor [Wed, 19 Dec 2012 21:15:54 +0000 (21:15 +0000)]
* select.h (select_stuff::select_stuff): Make default constructor always zero
everything while constructor with int arg just zeroes next.
* select.cc (select_stuff::test_and_set): Revert to using default constructor.

11 years ago* select.cc (select_stuff::wait): Add windows error number to error message.
Christopher Faylor [Wed, 19 Dec 2012 18:44:40 +0000 (18:44 +0000)]
* select.cc (select_stuff::wait): Add windows error number to error message.

11 years ago * libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.
Corinna Vinschen [Wed, 19 Dec 2012 10:16:00 +0000 (10:16 +0000)]
* libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.

11 years ago2012-12-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Dec 2012 22:41:53 +0000 (22:41 +0000)]
2012-12-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Remove the log2f macro.

11 years ago2012-12-18 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 18 Dec 2012 21:20:51 +0000 (21:20 +0000)]
2012-12-18  Craig Howland  <howland@LGSInnovations.com>

        * libc/include/math.h: Add recognition of values 1 and 2 for
        FLT_EVAL_METHOD.

11 years agomerge from gcc
DJ Delorie [Tue, 18 Dec 2012 17:41:27 +0000 (17:41 +0000)]
merge from gcc

11 years ago* select.cc (select_stuff::test_and_set): Remove workaround and use proper
Christopher Faylor [Tue, 18 Dec 2012 17:32:45 +0000 (17:32 +0000)]
* select.cc (select_stuff::test_and_set): Remove workaround and use proper
constructor.

11 years ago* select.cc (select_stuff::test_and_set): Work around problem of new() not
Christopher Faylor [Tue, 18 Dec 2012 16:41:38 +0000 (16:41 +0000)]
* select.cc (select_stuff::test_and_set): Work around problem of new() not
returning zeroed memory.

11 years ago * libc/stdio/puts.c (_puts_r): Fix typo in previous patch. Add local
Corinna Vinschen [Tue, 18 Dec 2012 08:54:10 +0000 (08:54 +0000)]
* libc/stdio/puts.c (_puts_r): Fix typo in previous patch.  Add local
variable fp for better readability.

11 years ago2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Dec 2012 22:44:09 +0000 (22:44 +0000)]
2012-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/puts.c: Add fp locking and use _stdout_r macro
        to refer to the stream rather than stdout.

11 years ago2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 17 Dec 2012 17:46:09 +0000 (17:46 +0000)]
2012-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Add license for bfin libgloss.

11 years ago2012-12-17 Stuart Henderson <shenders@gcc.gnu.org>
Jeff Johnston [Mon, 17 Dec 2012 17:44:38 +0000 (17:44 +0000)]
2012-12-17  Stuart Henderson  <shenders@gcc.gnu.org>

* bfin/Makefile.in: Add BF60x support.
* bfin/basiccrt.S: Add core1 support.
* bfin/bf606.ld: New file.
* bfin/bf606c0.ld: New file.
* bfin/bf606c1.ld: New file.
* bfin/bf606m.ld: New file.
* bfin/bf607.ld: New file.
* bfin/bf607c0.ld: New file.
* bfin/bf607c1.ld: New file.
* bfin/bf607m.ld: New file.
* bfin/bf608.ld: New file.
* bfin/bf608c0.ld: New file.
* bfin/bf608c1.ld: New file.
* bfin/bf608m.ld: New file.
* bfin/bf609.ld: New file.
* bfin/bf609c0.ld: New file.
* bfin/bf609c1.ld: New file.
* bfin/bf609m.ld: New file.
* bfin/bfin-common-mc0.ld: New file.
* bfin/include/cdefBF606.h : New file.
* bfin/include/cdefBF607.h : New file.
* bfin/include/cdefBF608.h : New file.
* bfin/include/cdefBF609.h : New file.
* bfin/include/defBF606.h : New file.
* bfin/include/defBF607.h : New file.
* bfin/include/defBF608.h : New file.
* bfin/include/defBF609.h : New file.
* bfin/include/sys/_adi_platform.h: Add BF60x support.
* bfin/include/sys/anomaly_macros_rtl.h : Clean up.

11 years agoAdd copyright notices
Nick Clifton [Mon, 17 Dec 2012 16:56:03 +0000 (16:56 +0000)]
Add copyright notices

11 years ago * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
Thomas Schwinge [Sun, 16 Dec 2012 07:10:07 +0000 (07:10 +0000)]
* configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
* configure: Regenerate.

11 years ago2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
Jeff Johnston [Fri, 14 Dec 2012 20:45:51 +0000 (20:45 +0000)]
2012-12-14  Yufeng Zhang  <yufeng.zhang@arm.com>

        * libc/machine/aarch64/machine/_types.h: New file; define _ssize_t
        as long.

11 years ago * utils.sgml (mount): Document sparse mount option.
Corinna Vinschen [Fri, 14 Dec 2012 11:11:17 +0000 (11:11 +0000)]
* utils.sgml (mount): Document sparse mount option.

11 years ago * new-features.sgml (ov-new1.7.18): Add sparse change.
Corinna Vinschen [Fri, 14 Dec 2012 11:10:29 +0000 (11:10 +0000)]
* new-features.sgml (ov-new1.7.18): Add sparse change.
* pathnames.sgml (mount-table): Document sparse mount option.

11 years ago*** empty log message ***
Corinna Vinschen [Fri, 14 Dec 2012 10:52:34 +0000 (10:52 +0000)]
*** empty log message ***

11 years ago * fhandler.cc (fhandler_base::write): Don't attempt to sparsify
Corinna Vinschen [Fri, 14 Dec 2012 10:45:29 +0000 (10:45 +0000)]
* fhandler.cc (fhandler_base::write): Don't attempt to sparsify
an already sparse file.  Drop check for FILE_SUPPORTS_SPARSE_FILES
flag.  Explicitely set FILE_ATTRIBUTE_SPARSE_FILE attribute in
cached attributes.
(fhandler_base::lseek): Only set did_lseek if sparseness is supported.
* fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Don't attempt
to sparsify an already sparse file.  Explicitely set
FILE_ATTRIBUTE_SPARSE_FILE attribute in cached attributes.
* mount.cc (oopt): Add "sparse" flag.
(fillout_mntent): Ditto.
* path.h (enum path_types): Add PATH_SPARSE.
(path_conv::support_sparse): New method.
(path_conv::fs_flags): Constify.
(path_conv::fs_name_len): Ditto.
include/sys/mount.h: Replace unused MOUNT_MIXED flag with MOUNT_SPARSE.

11 years agoAdd --with-build-config=bootstrap-asan support
H.J. Lu [Wed, 12 Dec 2012 13:52:58 +0000 (13:52 +0000)]
Add --with-build-config=bootstrap-asan support

* Makefile.def (target_modules): Add bootstrap=true and
raw_cxx=true to libsanitizer.
* configure.ac (bootstrap_target_libs): Add libsanitizer.
* Makefile.in: Regenerated.
* configure: Likewise.

11 years agoAdd libstdc++-raw-cxx.m4
H.J. Lu [Wed, 12 Dec 2012 13:47:14 +0000 (13:47 +0000)]
Add libstdc++-raw-cxx.m4

* libstdc++-raw-cxx.m4: New file.

11 years agoAdd bootstrap-asan.mk
H.J. Lu [Wed, 12 Dec 2012 13:45:37 +0000 (13:45 +0000)]
Add bootstrap-asan.mk

* bootstrap-asan.mk: New file.

11 years ago2012-12-11 Steve Ellcey <sellcey@mips.com>
Jeff Johnston [Tue, 11 Dec 2012 21:37:59 +0000 (21:37 +0000)]
2012-12-11  Steve Ellcey  <sellcey@mips.com>

* libc/machine/mips/memcpy.c: Remove.
* libc/machine/mips/memcpy.S: New.
* libc/machine/mips/Makefile.am (lib_a_CCASFLAGS): Add
-D_COMPILING_NEWLIB.
(lib_a_CFLAGS): Ditto.

11 years agoMicroblaze: Add support for handling TLS symbol suffixes and generating
Michael Eager [Tue, 11 Dec 2012 16:56:53 +0000 (16:56 +0000)]
Microblaze: Add support for handling TLS symbol suffixes and generating
TLS relocs for General Dynamic and Local Dynamic models.

bfd/Changelog
          * reloc.c: Add new relocations
          * bfd-in2.h: Regenerated
          * libbfd.h: Regenerated
          * elf32-microblaze.c (microblaze_elf_howto_raw):
            Add TLS relocations
            (microblaze_elf_reloc_type_lookup): Likewise
            (elf32_mb_link_hash_entry): define TLS reference types
            (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry
            #define has_tls_reloc if section has TLS relocs
            (dtprel_base), (check_unique_offset): New
            (microblaze_elf_output_dynamic_relocation): output simple
            dynamic relocation into SRELOC.
            (microblaze_elf_relocate_section): Accommodate TLS relocations.
            (microblaze_elf_check_relocs): Likewise
            (update_local_sym_info): New
            (microblaze_elf_copy_indirect_symbol): Add tls_mask.
            (allocate_dynrelocs): Handle TLS symbol
            (microblaze_elf_size_dynamic_sections): Set size and offset
            (microblaze_elf_finish_dynamic_symbol): Use
             microblaze_elf_output_dynamic_relocation

gas/Changelog
          * config/tc-microblaze.c: Define TLS offsets
            (md_relax_table): Add TLS offsets
            (imm_types), (match_imm), (get_imm_otype): New to support
            TLS offsets.
            (tc_microblaze_fix_adjustable): Add TLS relocs.
            (md_convert_frag): Support TLS offsets.
            (md_apply_fix), (md_estimate_size_before_relax), (tc_gen_reloc):
            Add TLS relocs

include/Changelog
          * elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS

11 years ago* sigproc.h (sig_send): Accept tid as argument #3. Default to NULL.
Christopher Faylor [Mon, 10 Dec 2012 22:13:26 +0000 (22:13 +0000)]
* sigproc.h (sig_send): Accept tid as argument #3.  Default to NULL.
* sigproc.cc (sig_send): Ditto.  Pass tid to other sig_send.
(sigpending): Send current thread as arg #3.

11 years agoAdd copyright notices
Nick Clifton [Mon, 10 Dec 2012 12:48:00 +0000 (12:48 +0000)]
Add copyright notices

11 years ago * config.sub: Merge from config repo.
Jan-Benedict Glaw [Sat, 8 Dec 2012 00:02:34 +0000 (00:02 +0000)]
* config.sub: Merge from config repo.

11 years ago* exceptions.cc (sigpacket::process): Reorganize to avoid use of tls before
Christopher Faylor [Fri, 7 Dec 2012 20:59:44 +0000 (20:59 +0000)]
* exceptions.cc (sigpacket::process): Reorganize to avoid use of tls before
initialization.
* fhandler_fifo.cc (fhandler_fifo::arm): Avoid improper printing of integer as
a string in debug output.

11 years ago* sigproc.h (sigpacket): Remove parameter names from declarations.
Christopher Faylor [Fri, 7 Dec 2012 17:37:33 +0000 (17:37 +0000)]
* sigproc.h (sigpacket): Remove parameter names from declarations.
(sigpacket::sigtls): Rename from 'tls'.
* exceptions.cc (sigpacket::process): Define local tls variable and assign that
to sigtls if appropriate.  Clarify debugging output.
* sigproc.cc (sig_send): Accommodate tls -> sigtls rename.
(pending_signals::add): Ditto.
(wait_sig): Ditto.

11 years ago* cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlock
Christopher Faylor [Fri, 7 Dec 2012 17:23:22 +0000 (17:23 +0000)]
* cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlock
conditional.
* exceptions.cc (_cygtls::interrupt_setup): Don't get a lock when setting
signal_arrived since we already have one.
* gendef: Add some comments to make it easier to find functions.

11 years ago2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Jeff Johnston [Thu, 6 Dec 2012 17:33:44 +0000 (17:33 +0000)]
2012-12-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        * configure.host: Define libm_machine_dir value for arm.
        * libm/machine/configure.in: Add arm to libm machines list.
        * libm/machine/configure: Regenerate.
        * libm/machine/arm/Makefile.am: New file.
        * libm/machine/arm/Makefile.in: Generated.
        * libm/machine/arm/aclocal.m4: Generated.
        * libm/machine/arm/configure: Generated.
        * libm/machine/arm/configure.in: New file.
        * libm/machine/arm/s_ceil.c: Likewise.
        * libm/machine/arm/s_floor.c: Likewise.
        * libm/machine/arm/s_nearbyint.c: Likewise.
        * libm/machine/arm/s_rint.c: Likewise.
        * libm/machine/arm/s_round.c: Likewise.
        * libm/machine/arm/s_trunc.c: Likewise.
        * libm/machine/arm/sf_ceil.c: Likewise.
        * libm/machine/arm/sf_floor.c: Likewise.
        * libm/machine/arm/sf_nearbyint.c: Likewise.
        * libm/machine/arm/sf_rint.c: Likewise.
        * libm/machine/arm/sf_round.c: Likewise.
        * libm/machine/arm/sf_trunc.c: Likewise.

11 years ago * new-features.sgml (ov-new1.7.18): New section. Document cfsetspeed.
Yaakov Selkowitz [Thu, 6 Dec 2012 08:38:43 +0000 (08:38 +0000)]
* new-features.sgml (ov-new1.7.18): New section. Document cfsetspeed.

11 years ago * include/cygwin/wait.h (WAIT_ANY): Define.
Yaakov Selkowitz [Thu, 6 Dec 2012 08:32:58 +0000 (08:32 +0000)]
* include/cygwin/wait.h (WAIT_ANY): Define.
(WAIT_MYPGRP): Define.

11 years ago * child_info.h (class child_info_spawn): Drop unused member lock.
Corinna Vinschen [Wed, 5 Dec 2012 10:37:17 +0000 (10:37 +0000)]
* child_info.h (class child_info_spawn): Drop unused member lock.
(CURR_CHILD_INFO_MAGIC): Update.
* sigproc.cc (child_info_spawn::child_info_spawn): Drop setting lock.

11 years ago2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Jeff Johnston [Tue, 4 Dec 2012 21:43:21 +0000 (21:43 +0000)]
2012-12-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

        * configure.host: Define libm_machine_dir value for arm.
        * libm/machine/configure.in: Add arm to libm machines list.
        * libm/machine/configure: Regenerate.
        * libm/machine/arm/Makefile.am: New file.
        * libm/machine/arm/Makefile.in: Generated.
        * libm/machine/arm/aclocal.m4: Generated.
        * libm/machine/arm/configure: Generated.
        * libm/machine/arm/configure.in: New file.
        * libm/machine/arm/s_ceil.c: Likewise.
        * libm/machine/arm/s_floor.c: Likewise.
        * libm/machine/arm/s_nearbyint.c: Likewise.
        * libm/machine/arm/s_rint.c: Likewise.
        * libm/machine/arm/s_round.c: Likewise.
        * libm/machine/arm/s_trunc.c: Likewise.
        * libm/machine/arm/sf_ceil.c: Likewise.
        * libm/machine/arm/sf_floor.c: Likewise.
        * libm/machine/arm/sf_nearbyint.c: Likewise.
        * libm/machine/arm/sf_rint.c: Likewise.
        * libm/machine/arm/sf_round.c: Likewise.
        * libm/machine/arm/sf_trunc.c: Likewise.

11 years ago* cygtls.h (_cygtls::will_wait_for_signal): Rename from 'signal_waiting' to
Christopher Faylor [Tue, 4 Dec 2012 20:26:18 +0000 (20:26 +0000)]
* cygtls.h (_cygtls::will_wait_for_signal): Rename from 'signal_waiting' to
something more expressive.  Reflect rename throughout.
(_cygtls::get_signal_arrived): Rename from create_signal_arrived.  Move lock
here.
(_cygtls::set_signal_arrived): Use get_signal_arrived.
* exceptions.cc (_cygtls::interrupt_setup): Use get_signal_arrived.
* tlsoffsets.h: Regenerate.

11 years agoMerge g++/xg++ changes from GCC
Jan-Benedict Glaw [Fri, 30 Nov 2012 15:02:40 +0000 (15:02 +0000)]
Merge g++/xg++ changes from GCC

* configure.ac: Merge from GCC.
* Makefile.tpl: Dito.
* Makefile.in: Dito.
* configure: Dito.

11 years ago * libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
Corinna Vinschen [Fri, 30 Nov 2012 09:31:38 +0000 (09:31 +0000)]
* libc/machine/arm/strcmp.S (compute_return_value): Fix return value.
* testsuite/newlib.string/strcmp-1.c (main): Add new test cases.

11 years agorevert erroneous checkin
Christopher Faylor [Fri, 30 Nov 2012 07:14:36 +0000 (07:14 +0000)]
revert erroneous checkin

11 years ago* spawn.cc (child_info_spawn::worker): Make detection of '/c' case insensitive
Christopher Faylor [Fri, 30 Nov 2012 07:11:19 +0000 (07:11 +0000)]
* spawn.cc (child_info_spawn::worker): Make detection of '/c' case insensitive
when looking for cmd.exe command line.

11 years ago * libc/include/sys/reent.h (__sFILE): Change type of _offset
Corinna Vinschen [Thu, 29 Nov 2012 16:28:30 +0000 (16:28 +0000)]
* libc/include/sys/reent.h (__sFILE): Change type of _offset
from int to _off_t.
* libc/stdio/ftell.c: Use _ftello_r().
* libc/stdio/ftello.c: Copy implementation from previous
_ftell_r().
* libc/stdio/fseek.c: Use _fseeko_r().
* libc/stdio/fseeko.c: Copy implementation from previous
_fseek_r().

11 years agoDisable libsanitizer for non-C++ builds.
Jan-Benedict Glaw [Wed, 28 Nov 2012 11:43:47 +0000 (11:43 +0000)]
Disable libsanitizer for non-C++ builds.

* configure.ac (noconfigdirs): Merge from GCC.
* configure: Regenerate.

11 years ago* Makefile.in: Remove old from CFLAGS and move C*FLAGS so that they can be
Christopher Faylor [Wed, 28 Nov 2012 03:23:41 +0000 (03:23 +0000)]
* Makefile.in: Remove old from CFLAGS and move C*FLAGS so that they can be
manipulated by Makefile.common.

11 years ago* Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated by
Christopher Faylor [Wed, 28 Nov 2012 03:22:36 +0000 (03:22 +0000)]
* Makefile.in: Move CFLAGS and CXXFLAGS so that they can be manipulated by
Makefile.common.  Add -static-libstdc++ to *LDFLAGS.  Add dependencies for
loadlib.h.
* loadlib.h: Update copyright.
(_load_sys_library): Properly define set_dll_library as WINAPI to avoid stack
corruption.

11 years ago* Makefile.in (ZLIBS): Common define to force static load.
Christopher Faylor [Tue, 27 Nov 2012 21:32:36 +0000 (21:32 +0000)]
* Makefile.in (ZLIBS): Common define to force static load.
(MINGW_LDFLAGS): Use static libgcc.

11 years ago* Makefile.in: Make sure that libz is always loaded staticly.
Christopher Faylor [Tue, 27 Nov 2012 16:14:52 +0000 (16:14 +0000)]
* Makefile.in: Make sure that libz is always loaded staticly.

11 years ago* Makefile.in (Makefile): Rely on 'configure' not 'configure.in'.
Christopher Faylor [Mon, 26 Nov 2012 20:02:05 +0000 (20:02 +0000)]
* Makefile.in (Makefile): Rely on 'configure' not 'configure.in'.

11 years agoChangeLog:
Christopher Faylor [Mon, 26 Nov 2012 19:50:45 +0000 (19:50 +0000)]
ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

cygserver/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

cygwin/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

doc/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

lsaauth/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

testsuite/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

utils/ChangeLog:
2012-11-26  Christopher Faylor  <me.cygwin2012@cgf.cx>

* configure.ac: Rename from configure.in.
* configure.in: Delete.
* configure: Regenerate.

11 years ago* ccwrap: Don't drop mingw header file paths unless we've specified them with
Christopher Faylor [Mon, 26 Nov 2012 19:00:35 +0000 (19:00 +0000)]
* ccwrap: Don't drop mingw header file paths unless we've specified them with
--with-windows-headers.

11 years ago * libc/include/inttypes.h: Add and use __INTTYPES_EXP().
Corinna Vinschen [Mon, 26 Nov 2012 16:26:06 +0000 (16:26 +0000)]
* libc/include/inttypes.h: Add and use __INTTYPES_EXP().

11 years ago * fhandler_registry.cc: Drop Mingw.org considerations.
Corinna Vinschen [Mon, 26 Nov 2012 13:28:53 +0000 (13:28 +0000)]
* fhandler_registry.cc: Drop Mingw.org considerations.
* fhandler_serial.cc: Ditto.
* fhandler_socket.cc: Ditto.
* fhandler_tape.cc: Ditto.
* fhandler_tty.cc: Ditto.
* net.cc: Ditto.
* ntdll.h: Ditto.
* sched.cc: Ditto.
* sec_helper.cc: Ditto.

11 years ago * bloda.cc: Drop Mingw.org considerations.
Corinna Vinschen [Mon, 26 Nov 2012 13:13:25 +0000 (13:13 +0000)]
* bloda.cc: Drop Mingw.org considerations.
* dump_setup.cc: Ditto.
* strace.cc: Ditto.

11 years ago * transport_pipes.cc (pipe_instance_lock_once): Remove.
Corinna Vinschen [Mon, 26 Nov 2012 12:33:07 +0000 (12:33 +0000)]
* transport_pipes.cc (pipe_instance_lock_once): Remove.
(pipe_instance_lock): Remove.
(pipe_instance): Remove.
(initialise_pipe_instance_lock): Remove.
(transport_layer_pipes::accept): Drop entire pipe_instance handling.
(transport_layer_pipes::close): Ditto.

11 years ago * cygserver.cc (main): Call listen right after creating the
Corinna Vinschen [Fri, 23 Nov 2012 15:19:41 +0000 (15:19 +0000)]
* cygserver.cc (main): Call listen right after creating the
transport.
* transport_pipes.cc (transport_layer_pipes::listen): Create
first instance of the named pipe here.  Connect the client side
to block it for further use by the system.
(transport_layer_pipes::accept): Don't handle first pipe instance
here.  Change debug output accordingly.

11 years ago* configure.in: Remove unneeded ALLOC substitution.
Christopher Faylor [Fri, 23 Nov 2012 14:58:24 +0000 (14:58 +0000)]
* configure.in: Remove unneeded ALLOC substitution.
* configure: Regenerate.
* aclocal.m4: Ditto.

11 years ago* configure.in: Add previously-missed AC_NO_EXECUTABLES.
Christopher Faylor [Fri, 23 Nov 2012 14:55:44 +0000 (14:55 +0000)]
* configure.in: Add previously-missed AC_NO_EXECUTABLES.
* configure: Regenerate.
* aclocal.m4: Ditto.

11 years agocygwin/ChangeLog:
Christopher Faylor [Fri, 23 Nov 2012 14:52:07 +0000 (14:52 +0000)]
cygwin/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Use explicit path to mkdir.

lsaauth/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Use /bin/mkdir to make directories.

testsuite/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Remove old Makefile.common'isms.  Don't rely on
in-build tools.

11 years ago * sysv_sem.cc (semundo_clear): Move condition to break from
Corinna Vinschen [Fri, 23 Nov 2012 14:32:02 +0000 (14:32 +0000)]
* sysv_sem.cc (semundo_clear): Move condition to break from
inner loop to the right spot.

11 years agoChangeLog:
Christopher Faylor [Fri, 23 Nov 2012 13:22:47 +0000 (13:22 +0000)]
ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.common: Revamp for new configury.  Add default compilation
targets, include .E processing.  Add magic for allowing "CFLAGS" to
control optimization options in "CXXFLAGS".
* configure.cygwin: New include for Cygwin configure.in's.
* acinclude.m4: Delete old definitions.  Implement AC_WINDOWS_HEADERS,
AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir.
* aclocal.m4: Regenerate.
* autogen.sh: New file.
* ccwrap: New script.
* c++wrap: New script.
* config.guess: New script.
* config.sub: New script.
* configure: Regenerate.
* configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard.
Delete ancient target test.
* install-sh: New script.

cygserver/ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Revamp for new configury.
* configure.in: Revamp for new configury.
* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.

cygwin/ChangeLog:
2012-11-22  Christopher Faylor  <me.cygwin2012@cgf.cx>

* select.cc (select): Don't return -1 when we've timed out after
looping.

2012-11-22  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Revamp for new configury.
(datarootdir): Add variable setting.
(winver_stamp): Accommodate changes to mkvers.sh setting.
(libc.a): Fix race when libm.a might not have been built yet.
* configure.in: Revamp for new configury.
* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.
* mkvers.sh: Find include directives via CFLAGS and friends rather than
assuming that w32api lives nearby.

utils/ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.
* configure.in: Revamp for new configury.
* Makefile.in: Revamp for new configury.  Rename ALL_* to just *.
Always use "VERBOSE" setting.
(MINGW_CXX): Don't include CFLAGS in definition.
(all): Define target first, before everything else so that it is the
default.
(ps.exe): Don't add useless -lcygwin.
(ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than
redefining them.
(cygcheck.exe): Always include -lz for MINGW_LDFLAGS.  Don't try to
figure out where to find it.
(dumper.exe): Simplify check.  Assume libraries are installed rather
than trying to retrieve from source tree.
(install): Just use /bin/mkdir to create directories.
(Makefile): Regenerate when standard dependencies change.
* dump_setup.cc: Always include zlib.h.  Remove accommodations for it
possibly not existing.
* parse_pe.cc: Add define which allows building with installed
binutils package.
* dumper.cc: Ditto.

11 years ago * libm/machine/aarch64/configure.in: Change comment to say libm
Corinna Vinschen [Fri, 23 Nov 2012 10:48:13 +0000 (10:48 +0000)]
* libm/machine/aarch64/configure.in: Change comment to say libm
instead of libc.

11 years ago * aarch64/configure.in: Replace the direct generation of
Corinna Vinschen [Fri, 23 Nov 2012 10:43:31 +0000 (10:43 +0000)]
* aarch64/configure.in: Replace the direct generation of
cpu-init/Makefile.in with AC_CONFIG_SUBDIRS(cpu-init).
* aarch64/configure: Re-generate.
* aarch64/cpu-init/Makefile.in (objtype): Remove.
(Makefile, config.status): Update the rules.
* aarch64/cpu-init/aclocal.m4: New file (generated).
* aarch64/cpu-init/configure.in: New file.
* aarch64/cpu-init/configure: New file (generated).

11 years agoinclude/opcode/
Alan Modra [Fri, 23 Nov 2012 03:28:09 +0000 (03:28 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Update prototype.
opcodes/
* ppc-dis.c (ppc_parse_cpu): Add "sticky" param.  Track bits
set from ppc_opts.sticky in it.  Delete "retain_mask".
(powerpc_init_dialect): Choose default dialect from info->mach
before parsing -M options.  Handle more bfd_mach_ppc variants.
Update common default to power7.
gas/
* config/tc-ppc.c (sticky): New var.
(md_parse_option, ppc_machine): Update ppc_parse_cpu calls.
gas/testsuite/
* gas/ppc/astest2.d: Pass -Mppc to objdump.
ld/testsuite/
* ld-powerpc/plt1.d: Update for default "at" branch hints.
* ld-powerpc/tlsexe.d: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsopt1.d: Likewise.
* ld-powerpc/tlsopt1_32.d: Likewise.
* ld-powerpc/tlsopt2.d: Likewise.
* ld-powerpc/tlsopt2_32.d: Likewise.
* ld-powerpc/tlsopt4.d: Likewise.
* ld-powerpc/tlsopt4_32.d: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlstocso.d: Likewise.

11 years ago* termios.cc (cfsetspeed): New function.
Yaakov Selkowitz [Wed, 21 Nov 2012 20:13:07 +0000 (20:13 +0000)]
* termios.cc (cfsetspeed): New function.
* cygwin.din (cfsetspeed): Export.
* posix.sgml (std-bsd): Add cfsetspeed.
* include/sys/termios.h (cfsetspeed): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

11 years ago2012-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 19 Nov 2012 22:03:01 +0000 (22:03 +0000)]
2012-11-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* config.sub (arm): Merge from upstream: Handle armv[6-8] targets.

11 years ago * include/mntent.h: Only include paths.h when building for Cygwin.
Corinna Vinschen [Fri, 16 Nov 2012 17:35:14 +0000 (17:35 +0000)]
* include/mntent.h: Only include paths.h when building for Cygwin.
Add comment to explain why.

11 years agoUpdate DF_1_XXX from Solaris
H.J. Lu [Fri, 16 Nov 2012 12:49:20 +0000 (12:49 +0000)]
Update DF_1_XXX from Solaris

binutils/

* readelf.c (process_dynamic_section): Correct DF_1_CONFALT.
Also dump DF_1_ENDFILTEE, DF_1_DISPRELDNE, DF_1_NODIRECT,
DF_1_IGNMULDEF, DF_1_NOKSYMS, DF_1_NOHDR, DF_1_EDITED,
DF_1_NORELOC, DF_1_SYMINTPOSE, DF_1_GLOBAUDIT and DF_1_SINGLETON.

include/elf/

* common.h (DF_1_CONLFAT): Renamed to ...
(DF_1_CONFALT): This.
(DF_1_ENDFILTEE): New.
(DF_1_DISPRELDNE): Likewise.
(DF_1_DISPRELPND): Likewise.
(DF_1_NODIRECT): Likewise.
(DF_1_IGNMULDEF): Likewise.
(DF_1_NOKSYMS): Likewise.
(DF_1_NOHDR): Likewise.
(DF_1_EDITED): Likewise.
(DF_1_NORELOC): Likewise.
(DF_1_SYMINTPOSE): Likewise.
(DF_1_GLOBAUDIT): Likewise.
(DF_1_SINGLETON): Likewise.

11 years agoRestore "Consider *-*-nacl* targets ELF for gold"
H.J. Lu [Thu, 15 Nov 2012 14:10:39 +0000 (14:10 +0000)]
Restore "Consider *-*-nacl* targets ELF for gold"

* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
* configure: Regenerate.

11 years agoSync toplevel files with GCC
H.J. Lu [Thu, 15 Nov 2012 00:16:49 +0000 (00:16 +0000)]
Sync toplevel files with GCC

2012-11-13  Richard Henderson  <rth@redhat.com>

* configure.ac: Move libsanitizer logic to subdirectory.
* configure: Regenerate.

2012-11-13  Dodji Seketeli  <dodji@redhat.com>

* configure.ac: Enable libsanitizer just on x86 linux for now.
* configure: Re-generate.

2012-11-13  David Edelsohn  <dje.gcc@gmail.com>

* configure.ac: Merge libquadmath sections.
* configure: Regenerate.

2012-11-12  Wei Mi <wmi@google.com>

* configure.ac: Add libsanitizer to target_libraries.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Regenerate.

11 years ago2012-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Nov 2012 10:45:39 +0000 (10:45 +0000)]
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* external.h (mach_o_entry_point_command_external)
(mach_o_source_version_command_external)
(mach_o_data_in_code_entry_external): New structures.

* loader.h (bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE,
BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
(BFD_MACH_O_REFERENCE_MASK): Adjust value.
(BFD_MACH_O_N_REF_TO_WEAK): New definition.
(BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise.
(bfd_mach_o_data_in_code_entry_kind): New enum.

11 years ago2012-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Nov 2012 10:22:27 +0000 (10:22 +0000)]
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* arm.h: New file.

11 years ago2012-11-12 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Mon, 12 Nov 2012 23:49:55 +0000 (23:49 +0000)]
2012-11-12  Steve Ellcey  <sellcey@mips.com>

* libc/machine/mips/machine/asm.h: New.
* libc/machine/mips/machine/regdef.h: Update register definitions
for different ABI's.

11 years ago* libc/include/sys/time.h: Avoid guarding other than timeval declaration with
Christopher Faylor [Mon, 12 Nov 2012 15:57:35 +0000 (15:57 +0000)]
* libc/include/sys/time.h: Avoid guarding other than timeval declaration with
_TIMEVAL_DEFINED.  Move timeval related macros under _TIMEVAL_DEFINED control.

11 years agomerge from gcc
DJ Delorie [Sun, 11 Nov 2012 22:37:19 +0000 (22:37 +0000)]
merge from gcc

11 years agoMerge from GCC.
Thomas Schwinge [Sun, 11 Nov 2012 10:59:50 +0000 (10:59 +0000)]
Merge from GCC.

config/
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.

libdecnumber/
* configure: Regenerate.

11 years ago * winbase.h: Semi-reinstantiate to workaround lack inline assembler
Corinna Vinschen [Sun, 11 Nov 2012 10:56:01 +0000 (10:56 +0000)]
* winbase.h: Semi-reinstantiate to workaround lack inline assembler
implementation of InterlockedCompareExchange for i686 in Mingw64
headers.
* pinfo.cc (pinfo::init): Remove unused variable mapaddr.

11 years ago2012-11-09 Nick Clifton <nickc@redhat.com>
Nick Clifton [Fri, 9 Nov 2012 17:36:19 +0000 (17:36 +0000)]
2012-11-09  Nick Clifton  <nickc@redhat.com>

* Makefile.am (ALL_MACHINES): Add cpu-v850-rh850.lo.
(ALL_MACHINES_CFILES): Add cpu-v850-rh850.c.
* archures.c (bfd_arch_info): Add bfd_v850_rh850_arch.
* config.bfd: Likewise.
* configure.in: Add bfd_elf32_v850_rh850_vec.
* cpu-v850.c: Update printed description.
* cpu-v850_rh850.c: New file.
* elf32-v850.c (v850_elf_check_relocs): Add support for RH850 ABI
relocs.
(v850_elf_perform_relocation): Likewise.
(v850_elf_final_link_relocate): Likewise.
(v850_elf_relocate_section): Likewise.
(v850_elf_relax_section): Likewise.
(v800_elf_howto_table): New.
(v850_elf_object_p): Add support for RH850 ABI values.
(v850_elf_final_write_processing): Likewise.
(v850_elf_merge_private_bfd_data): Likewise.
(v850_elf_print_private_bfd_data): Likewise.
(v800_elf_reloc_map): New.
(v800_elf_reloc_type_lookup): New.
(v800_elf_reloc_name_lookup): New.
(v800_elf_info_to_howto): New.
(bfd_elf32_v850_rh850_vec): New.
(bfd_arch_v850_rh850): New.
* targets.c (_bfd_targets): Add bfd_elf32_v850_rh850_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.

* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.
(guess_is_rela): Add EM_V800.
(dump_relocations): Likewise.
(get_machine_name): Update EM_V800.
(get_machine_flags): Add support for RH850 ABI flags.
(is_32bit_abs_reloc): Add support for RH850 ABI reloc.

* config/tc-v850.c (v850_target_arch): New.
(v850_target_format): New.
(set_machine): Use v850_target_arch.
(md_begin): Likewise.
(md_show_usage): Document new switches.
(md_parse_option): Add -mgcc-abi, -mrh850-abi, -m8byte-align and
-m4byte-align.
* config/tc-v850.c (TARGET_ARCH) Use v850_target_arch.
(TARGET_FORMAT): Use v850_target_format.
* doc/c-v850.texi: Document new options.

* v850.h: Add RH850 ABI values.

* Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c.
* Makefile.in: Regenerate.
* configure.tgt (v850*-*-*): Make v850_rh850 the default
emulation. Add vanilla v850 as an extra emulation.
* emulparams/v850_rh850.sh: New file.
* scripttempl/v850_rh850.sc: New file.

* configure.in: Add bfd_v850_rh850_arch.
* configure: Regenerate.
* disassemble.c (disassembler): Likewise.

11 years ago2012-11-09 Nick Clifton <nickc@redhat.com>
Nick Clifton [Fri, 9 Nov 2012 17:00:42 +0000 (17:00 +0000)]
2012-11-09  Nick Clifton  <nickc@redhat.com>

* elf32-rx.c (describe_flags): New function.  Returns a buffer
containing a description of the E_FLAG_RX_... values set.
(rx_elf_merge_private_bfd_data): Use it.
(rx_elf_print_private_bfd_data): Likewise.
(elf32_rx_machine): Skip EF_RX_CPU_RX check.
(elf32_rx_special_sections): Define.
(elf_backend_special_sections): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* config/obj-elf.c (obj_elf_change_section): Allow init array
sections to have the SHF_EXECINSTR attribute for the RX target.
* config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI.
(enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI.
(md_longopts): Add -mgcc-abi and -mrx-abi.
(md_parse_option): Add support for OPTION_USES_GCC_ABI and
OPTION_USES_RX_ABI.
* doc/as.texinfo (RX Options): Add mention of remaining RX
options.
* doc/c-rx.texi: Document -mgcc-abi and -mrx-abi.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* rx.h (EF_RX_CPU_RX): Add comment.
(E_FLAG_RX_ABI): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to
true.
(PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings.
(PARSE_AND_LIST_ARG_CASES): Add support for
--flag-mismatch-warnings.

11 years ago * path.cc (vcygpath): Handle cygdrive prefix.
Corinna Vinschen [Fri, 9 Nov 2012 08:53:01 +0000 (08:53 +0000)]
* path.cc (vcygpath): Handle cygdrive prefix.

11 years ago * sigproc.cc (proc_subproc): Delete unused variable child.
Corinna Vinschen [Thu, 8 Nov 2012 18:41:58 +0000 (18:41 +0000)]
* sigproc.cc (proc_subproc): Delete unused variable child.

11 years ago * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
Maciej W. Rozycki [Thu, 8 Nov 2012 18:25:23 +0000 (18:25 +0000)]
* mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.

11 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special character
Christopher Faylor [Thu, 8 Nov 2012 17:27:00 +0000 (17:27 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special character
handling when stopped by CTRL-S.
* fhandler_tty.cc (bytes_available): Add arguments to debug_only_printf call.
* sigproc.cc (proc_subproc): Simplify some if logic.

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