summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* opcodes/ChangeLogNick Clifton2013-01-022-179/+198
| | | | | | | | | | | | | | * 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.
* Update years in copyright notice for the GDB files.Joel Brobecker2013-01-0119-21/+23
| | | | | | | 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.
* * sigproc.cc (wait_sig): Remove spurious extern.Christopher Faylor2012-12-312-1/+4
|
* * dtable.cc (dtable::dup3): Fix bounds checking for valid newfd.Christopher Faylor2012-12-314-3/+8
| | | | | * syscalls.cc (dup2): Ditto. * winsup.h (events_terminate): Delete obsolete function declaration.
* * DevNotes: Add entry cgf-000019.Christopher Faylor2012-12-288-43/+117
| | | | | | | | | | | | | | | | | | | | | * 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.
* * fork.cc (child_info::prefork): Fix error message formatting.Christopher Faylor2012-12-272-1/+5
|
* Fix tid comment.Christopher Faylor2012-12-221-2/+2
|
* * select.h (select_stuff): Remove variable names from parameter declarations.Christopher Faylor2012-12-224-11/+55
| | | | | | | | | | | | | | | | (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.
* Back out prematurely checked-in change.Christopher Faylor2012-12-221-2/+2
|
* * sigproc.cc (exit_thread): undef ExitThread or suffer recursion. Attempt toChristopher Faylor2012-12-223-4/+11
| | | | lock process prior to calling sig_send.
* Revert the reversion and go with implementation described in cgf-000017, withChristopher Faylor2012-12-2113-23/+93
| | | | | | | | | | | | | | | | | | | | | | 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.
* * DevNotes: Add entry cgf-000018.Christopher Faylor2012-12-2110-61/+45
| | | | | | | | | | | | | | * 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.
* * DevNotes: Add entry cgf-000017.Christopher Faylor2012-12-2110-13/+106
| | | | | | | | | | | | | | | | | | * _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.
* * Makefile.def (install-target-libgo): Depend onJan-Benedict Glaw2012-12-203-0/+25
| | | | | install-target-libatomic. Merged from GCC repo. * Makefile.in: Regenerate.
* 2012-12-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-20306-6231/+11551
| | | | | | | | | | | | | | | | | | * 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
* * pathnames.sgml (pathnames-at): Drop confusing description onCorinna Vinschen2012-12-202-1/+5
| | | | "embedded double quotes".
* * dcrt0.cc (build_argv): Allow quoted filenames in @ expression.Corinna Vinschen2012-12-202-1/+9
|
* Add missing file.Christopher Faylor2012-12-191-2/+2
|
* * select.h (select_stuff::select_stuff): Make default constructor always zeroChristopher Faylor2012-12-192-1/+8
| | | | | everything while constructor with int arg just zeroes next. * select.cc (select_stuff::test_and_set): Revert to using default constructor.
* * select.cc (select_stuff::wait): Add windows error number to error message.Christopher Faylor2012-12-192-1/+5
|
* * libc/stdlib/strtod.c (_strtod_r): Revert change from 2011-05-16.Corinna Vinschen2012-12-192-10/+12
|
* 2012-12-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-182-3/+4
| | | | * libc/include/math.h: Remove the log2f macro.
* 2012-12-18 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2012-12-182-4/+35
| | | | | * libc/include/math.h: Add recognition of values 1 and 2 for FLT_EVAL_METHOD.
* merge from gccDJ Delorie2012-12-182-1/+14
|
* * select.cc (select_stuff::test_and_set): Remove workaround and use properChristopher Faylor2012-12-182-1/+6
| | | | constructor.
* * select.cc (select_stuff::test_and_set): Work around problem of new() notChristopher Faylor2012-12-182-1/+6
| | | | returning zeroed memory.
* * libc/stdio/puts.c (_puts_r): Fix typo in previous patch. Add localCorinna Vinschen2012-12-182-5/+11
| | | | variable fp for better readability.
* 2012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-172-2/+13
| | | | | * libc/stdio/puts.c: Add fp locking and use _stdout_r macro to refer to the stream rather than stdout.
* 2012-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-172-0/+20
| | | | * COPYING.LIBGLOSS: Add license for bfin libgloss.
* 2012-12-17 Stuart Henderson <shenders@gcc.gnu.org>Jeff Johnston2012-12-1730-454/+92380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add copyright noticesNick Clifton2012-12-178-5/+122
|
* * configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.Thomas Schwinge2012-12-163-2/+7
| | | | * configure: Regenerate.
* 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>Jeff Johnston2012-12-142-0/+42
| | | | | * libc/machine/aarch64/machine/_types.h: New file; define _ssize_t as long.
* * utils.sgml (mount): Document sparse mount option.Corinna Vinschen2012-12-142-0/+6
|
* * new-features.sgml (ov-new1.7.18): Add sparse change.Corinna Vinschen2012-12-143-0/+14
| | | | * pathnames.sgml (mount-table): Document sparse mount option.
* *** empty log message ***Corinna Vinschen2012-12-141-0/+10
|
* * fhandler.cc (fhandler_base::write): Don't attempt to sparsifyCorinna Vinschen2012-12-146-12/+48
| | | | | | | | | | | | | | | | | 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.
* Add --with-build-config=bootstrap-asan supportH.J. Lu2012-12-125-24/+582
| | | | | | | | * 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.
* Add libstdc++-raw-cxx.m4H.J. Lu2012-12-122-0/+40
| | | | * libstdc++-raw-cxx.m4: New file.
* Add bootstrap-asan.mkH.J. Lu2012-12-122-0/+10
| | | | * bootstrap-asan.mk: New file.
* 2012-12-11 Steve Ellcey <sellcey@mips.com>Jeff Johnston2012-12-116-212/+792
| | | | | | | | * 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.
* Microblaze: Add support for handling TLS symbol suffixes and generatingMichael Eager2012-12-112-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * sigproc.h (sig_send): Accept tid as argument #3. Default to NULL.Christopher Faylor2012-12-103-4/+10
| | | | | * sigproc.cc (sig_send): Ditto. Pass tid to other sig_send. (sigpending): Send current thread as arg #3.
* Add copyright noticesNick Clifton2012-12-1015-1/+134
|
* * config.sub: Merge from config repo.Jan-Benedict Glaw2012-12-082-2/+10
|
* * exceptions.cc (sigpacket::process): Reorganize to avoid use of tls beforeChristopher Faylor2012-12-073-13/+25
| | | | | | initialization. * fhandler_fifo.cc (fhandler_fifo::arm): Avoid improper printing of integer as a string in debug output.
* * sigproc.h (sigpacket): Remove parameter names from declarations.Christopher Faylor2012-12-074-10/+24
| | | | | | | | | (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.
* * cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlockChristopher Faylor2012-12-074-4/+16
| | | | | | | 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.
* 2012-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Jeff Johnston2012-12-061-6/+17
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* * new-features.sgml (ov-new1.7.18): New section. Document cfsetspeed.Yaakov Selkowitz2012-12-062-0/+16
|