OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
bonzini [Mon, 28 Feb 2005 15:13:31 +0000 (15:13 +0000)]
2005-02-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR bootstrap/20250
        * Makefile.tpl (HOST target installs): Fix copy and pasto, use install
        instead of check.
        * Makefile.in: Regenerate.

19 years ago2005-02-28 Paolo Bonzini <bonzini@gnu.org>
bonzini [Mon, 28 Feb 2005 14:06:55 +0000 (14:06 +0000)]
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

Sync from gcc.

2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* Makefile.def (target_modules): Remove "stage", now unnecessary.
* Makefile.tpl (HOST_SUBDIR): New substitution.
(STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET,
USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET,
USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET,
USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it.
(Host modules, Bootstrapped modules): Use it.
(Build modules, Target modules): Do not create symlink trees,
always configure out-of-srcdir.
(distclean): Try removing $(host_subdir) with rm before using rm -rf.
* configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET,
GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use
$(HOST_SUBDIR).  Create a symlink for host_subdir.

* Makefile.in: Regenerate.
* configure: Regenerate.

Merged from libada-gnattools-branch:
2004-11-28  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.def: Add gnattools as a module, depending on target-libada.
* Makefile.in: Regenerate.
* configure.in: Include gnattools in host_tools; disable it if ada
is disabled.
* configure: Regenerate.

config:
2005-02-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383
* acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.

19 years ago * fhandler.h (class fhandler_socket): Declare new method
corinna [Mon, 28 Feb 2005 13:11:47 +0000 (13:11 +0000)]
* fhandler.h (class fhandler_socket): Declare new method
set_socketpair_eids.
* fhandler_socket.cc (fhandler_socket::set_socketpair_eids): New method.
(fhandler_socket::dup): Duplicate sec_pipe if necessary.
(fhandler_socket::listen): Only create sec_pipe if named pipes are
available. Initialized sec_peer_pid to 0 as on Linux.
(fhandler_socket::connect): Only run eid credential transaction if
named pipes are available.  Fake otherwise. Initialized sec_peer_pid
to 0 as on Linux.
(fhandler_socket::accept): Ditto.
(fhandler_socket::close): Move closing sec_pipe handle from here...
(fhandler_socket::~fhandler_socket): ... to here.
* net.cc (socketpair): Set eid credentials by calling
fhandler_socket::set_socketpair_eids() on both socket ends.
* wincap.h (wincaps::has_named_pipes): New element.
* wincap.cc: Implement above element throughout.

19 years agoremove unneeded blank line
cgf [Mon, 28 Feb 2005 01:55:45 +0000 (01:55 +0000)]
remove unneeded blank line

19 years ago*** empty log message ***
gdbadmin [Mon, 28 Feb 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 27 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoChanged my own mail address
sveinse [Sun, 27 Feb 2005 18:44:47 +0000 (18:44 +0000)]
Changed my own mail address

19 years ago* regtool.cc (opts): The argument to 'K' is not optional.
cgf [Sun, 27 Feb 2005 17:55:54 +0000 (17:55 +0000)]
* regtool.cc (opts): The argument to 'K' is not optional.
(main): Revert previous change.  Just let getopt deal with missing argument.

19 years ago* regtool.cc (main): Avoid a SEGV when nothing follows -K.
cgf [Sun, 27 Feb 2005 06:10:58 +0000 (06:10 +0000)]
* regtool.cc (main): Avoid a SEGV when nothing follows -K.

19 years ago* sigproc.cc (_pinfo::set_ctty): Move function
cgf [Sun, 27 Feb 2005 04:30:06 +0000 (04:30 +0000)]
* sigproc.cc (_pinfo::set_ctty): Move function
* pinfo.cc (_pinfo::set_ctty): to here.
* fhandler_mem.cc (fhandler_dev_mem::fstat): Don't fill out structure if this
is an on-disk device rather than an "auto" device.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Ditto.
* path.cc (normalize_posix_path): Don't treat a standalone '//' as introducing
a UNC path.
(normalize_win32_path): Ditto.

19 years ago* kill (getsig): Avoid buffer overflow when generating a signal name.
cgf [Sun, 27 Feb 2005 03:03:19 +0000 (03:03 +0000)]
* kill (getsig): Avoid buffer overflow when generating a signal name.
* strace.cc (handle_output_debug_string): Make error a little more specific.

19 years ago*** empty log message ***
gdbadmin [Sun, 27 Feb 2005 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 26 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago* debug.cc (delete_handle): Report on handle value in debugging output.
cgf [Sat, 26 Feb 2005 20:50:24 +0000 (20:50 +0000)]
* debug.cc (delete_handle): Report on handle value in debugging output.
* pinfo.h (_pinfo::exists): Declare "new" function.
(_pinfo::kill): Ditto.
* fhandler_termios.cc (tty_min::kill_pgrp): Use _pinfo::exists rather than
proc_exists.
* pinfo.cc (pinfo::init): Ditto.  Don't do a low_priority_sleep(0) when looping
to find exec'ed procinfo.
(pinfo::release): Be more careful about unmapping and closing.
* signal.cc (_pinfo::kill): Rename from kill_worker.  Accommodate entry into
_pinfo class.
(kill0): Use _pinfo::kill rather than kill_worker.
(kill_pgrp): Ditto.  Use _pinfo::exists rather than proc_exists.
* sigproc.cc (_pinfo::exists): Rename from proc_exists.
(pid_exists): Use _pinfo::exists rather than proc_exists.
(remove_proc): Ditto.
* sigproc.h (proc_exists): Delete declaration.

19 years ago2005-02-25 Mark Kettenis <kettenis@gnu.org>
ezannoni [Sat, 26 Feb 2005 04:32:53 +0000 (04:32 +0000)]
2005-02-25 Mark Kettenis  <kettenis@gnu.org>

Committed by Elena Zannoni <ezannoni@redhat.com>

* dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
info_ptr before building psymtabs for included files.
(create_all_comp_units): Initailize initial length size of
compilation header to zero.
(read_initial_length): Complain if both 32-bit and 64-bit DWARF
sections are encountered within the same compilation header.
(dwarf_decode_line_header): Pass compilation header in call to
read_initial_length.

19 years ago*** empty log message ***
gdbadmin [Sat, 26 Feb 2005 00:00:10 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 25 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
jjohnstn [Fri, 25 Feb 2005 22:38:44 +0000 (22:38 +0000)]
2005-02-25  Ralf Corsepious  <ralf.corsepius@rtems.org>

        * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
        L qualifier for these long constants.

19 years ago2005-02-25 Eric Blake <ebb9@byu.net>
jjohnstn [Fri, 25 Feb 2005 22:31:20 +0000 (22:31 +0000)]
2005-02-25  Eric Blake  <ebb9@byu.net>

        * libc/include/time.h (__tzrule_struct): Make offset long, since
        a 16-bit int overflows on a 12-hour offset.
        * libc/sys/linux/include/time.h: Ditto.
        * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
        * libc/time/mktm_r.c: Ditto.
        * libc/time/gettzinfo.c: Ditto.
        * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
        years.  Fix '%z' to use long, not int.

19 years ago * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
kseitz [Fri, 25 Feb 2005 22:23:25 +0000 (22:23 +0000)]
    * generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
        use throw_exception (struct exception).

19 years ago2005-02-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 25 Feb 2005 22:12:11 +0000 (22:12 +0000)]
2005-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_ranges): Print out offset for end of
list.

19 years ago * fhandler.h (class fhandler_base): Declare fixup_mmap_after_fork
corinna [Fri, 25 Feb 2005 21:23:14 +0000 (21:23 +0000)]
* fhandler.h (class fhandler_base): Declare fixup_mmap_after_fork
with additional flags parameter.  Change offset parameter to _off64_t.
(class fhandler_disk_file): Ditto.
(class fhandler_dev_mem): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork):
Accomodate new parameters.
* mmap.cc: Include ntdll.h.
(class mmap_record): Add flags member.
(mmap_record::mmap_record): Add flags parameter.
(mmap_record::get_flags): New method.
(class map): Add next_anon_addr member to store next anonymous mapping
address suggestion.
(map::get_next_anon_addr): New method.
(map::set_next_anon_addr): New method.
(mmap64): Don't align offset and length to granularity in case of
MAP_ANONYMOUS on NT.  Check for already existing mapping only on 9x.
Call mmap_record::mmap_record with additional flags argument.
(fhandler_base::fixup_mmap_after_fork): Accomodate new parameters.
(fhandler_disk_file::mmap): Use NtMapViewOfSection with
AT_ROUND_TO_PAGE flag for anonymous mappings on NT.  If addr is NULL,
try to map adjacent to previous mapping.
(fhandler_disk_file::fixup_mmap_after_fork): Add flags argument.
Change offset parameter to _off64_t.  Use NtMapViewOfSection to
re-create anonymous mappings on NT.
(fixup_mmaps_after_fork): Accomodate new parameters when calling
fhandler's fixup_mmaps_after_fork function.
* ntdll.h (AT_ROUND_TO_PAGE): New define.

19 years ago * Fix ChangeLog entries.
corinna [Fri, 25 Feb 2005 11:48:02 +0000 (11:48 +0000)]
* Fix ChangeLog entries.

19 years ago * mmap.cc (mmap64): Handle MAP_FIXED request on non-granulation
corinna [Fri, 25 Feb 2005 11:47:15 +0000 (11:47 +0000)]
* mmap.cc (mmap64): Handle MAP_FIXED request on non-granulation
boundary.

19 years ago * mmap.cc (class mmap_record): Declare new map_pages method with
corinna [Fri, 25 Feb 2005 11:15:20 +0000 (11:15 +0000)]
* mmap.cc (class mmap_record): Declare new map_pages method with
address parameter.
(mmap_record::map_pages): New method with address parameter.
(mmap64): Evaluate access mode before checking if already existing
mapping can be used.
Only use existing mapping if requested access mode matches the one
in the existing mapping.
Add check for existing mapping for MAP_FIXED case.

19 years ago * include/wctype.h (wctrans) Remove _CRTIMP.
dannysmith [Fri, 25 Feb 2005 08:15:45 +0000 (08:15 +0000)]
* include/wctype.h  (wctrans) Remove _CRTIMP.
(towctrans): Likewise.
(wctype): Likewise,

19 years ago * include/wctype.h: Add comment on wctrans, towctrans, wctype.
dannysmith [Fri, 25 Feb 2005 01:48:36 +0000 (01:48 +0000)]
* include/wctype.h:  Add comment on wctrans, towctrans, wctype.

19 years ago * mingwex/wctype.c: New file.
dannysmith [Fri, 25 Feb 2005 01:43:43 +0000 (01:43 +0000)]
* mingwex/wctype.c: New file.
* mingwex/wctrans.c: New file.
* mingwex/Makefile.in (DISTFILES): Add wctype.c, wctrans.c.
* mingwex/Makefile.in (Q8_OBJS): Add wctype.o, wctrans.o.

19 years ago*** empty log message ***
gdbadmin [Fri, 25 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * gdb.ada/fixed_points.exp: Create compilation object directory
brobecke [Thu, 24 Feb 2005 23:54:03 +0000 (23:54 +0000)]
    * gdb.ada/fixed_points.exp: Create compilation object directory
        before running the test.
        * gdb.ada/null_record.exp: Likewise.
        * gdb.ada/packed_array.exp: Likewise.
        * gdb.ada/start.exp: Likewise.

19 years agodaily update
amodra [Thu, 24 Feb 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * acinclude.m4: Include bfd/bfd.m4 directly.
drow [Thu, 24 Feb 2005 20:26:32 +0000 (20:26 +0000)]
* acinclude.m4: Include bfd/bfd.m4 directly.
* configure.ac: Use AC_ARG_PROGRAM.  Suggested by Aron Griffis
<agriffis@toolchain.org>.
* aclocal.m4, configure: Regenerated.

19 years ago * coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
bje [Thu, 24 Feb 2005 20:16:52 +0000 (20:16 +0000)]
* coffcode.h (coff_sym_filepos): Remove GNU960 conditional code.
* format.c (bfd_check_format_matches): Likewise.
* archive.c (BFD_GNU960_ARMAG): Likewise.
(bfd_generic_archive_p): Likewise.
(_bfd_write_archive_contents): Likewise.

19 years ago * ldfile.c: Remove GNU960 conditional code.
bje [Thu, 24 Feb 2005 20:11:04 +0000 (20:11 +0000)]
* ldfile.c: Remove GNU960 conditional code.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/lnk960.em: Likewise.

19 years agoAdd (int) cast.
jjohnstn [Thu, 24 Feb 2005 19:02:35 +0000 (19:02 +0000)]
Add (int) cast.

19 years ago2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
jjohnstn [Thu, 24 Feb 2005 18:50:05 +0000 (18:50 +0000)]
2005-02-24  Ralf Corsepious  <ralf.corsepius@rtems.org>

        * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
        manipulate float values in integer form.
        * libm/common/sf_round.c: Ditto.

19 years ago2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
jjohnstn [Thu, 24 Feb 2005 18:29:30 +0000 (18:29 +0000)]
2005-02-24  Ralf Corsepious  <ralf.corsepius@rtems.org>

        * libc/include/sys/types.h [__rtems__]: Include new
        header file machine/_types.h.
        * libc/include/machine/types.h: Ditto.
        * libc/sys/rtems/machine/_types.h: New file.

19 years ago2005-02-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 24 Feb 2005 15:49:45 +0000 (15:49 +0000)]
2005-02-24  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.95.
* configure: Regenerate.

19 years ago * elflink.c (elf_link_add_object_symbols): Force symbols in
jules [Thu, 24 Feb 2005 15:28:56 +0000 (15:28 +0000)]
* elflink.c (elf_link_add_object_symbols): Force symbols in
discarded COMDAT group sections to have default visibility.

19 years ago2005-02-24 Andrew Cagney <cagney@gnu.org>
cagney [Thu, 24 Feb 2005 13:51:27 +0000 (13:51 +0000)]
2005-02-24  Andrew Cagney  <cagney@gnu.org>

Add show_VARIABLE functions, update add_setshow call.
* varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
* valprint.c (_initialize_valprint, show_print_max)
(show_stop_print_at_null, show_repeat_count_threshold)
(show_prettyprint_structs, show_unionprint)
(show_prettyprint_arrays, show_addressprint, show_input_radix)
(show_output_radix): Ditto.
* valops.c (_initialize_valops, show_overload_resolution): Ditto.
* utils.c (initialize_utils, show_chars_per_line)
(show_lines_per_page, show_demangle, show_pagination_enabled)
(show_sevenbit_strings, show_asm_demangle): Ditto
* tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
(show_tui_border_mode, show_tui_active_border_mode): Ditto.
* top.c (init_main, show_new_async_prompt)
(show_async_command_editing_p, show_write_history_p)
(show_history_size, show_history_filename, show_caution)
(show_annotation_level, init_main): Ditto.
* target.c (initialize_targets, show_targetdebug)
(show_trust_readonly): Ditto.
* symfile.c (_initialize_symfile, show_symbol_reloading)
(show_ext_args, show_download_write_size)
(show_debug_file_directory): Ditto.
* source.c (_initialize_source, show_lines_to_list): Ditto.
* solib.c (_initialize_solib, show_auto_solib_add)
(show_solib_search_path): Ditto.
* p-valprint.c (_initialize_pascal_valprint)
(show_pascal_static_field_print): Ditto.
* printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
(show_print_symbol_filename): Add and update.
* parse.c (_initialize_parse, show_expressiondebug): Dito.
* observer.c (_initialize_observer, show_observer_debug): Dito.
* maint.c (_initialize_maint_cmds, show_watchdog)
(show_maintenance_profile_p): Dito.
* linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
* infrun.c (_initialize_infrun, show_debug_infrun)
(show_stop_on_solib_events, show_follow_fork_mode_string)
(show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
* infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
(show_unwind_on_signal_p): Ditto.
* gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
(_initialize_gdbtypes, show_overload_debug): Ditto.
* gdb-events.c, gdb-events.sh (_initialize_gdb_events)
(show_gdb_events_debug): Ditto.
* gdbarch.c, gdbarch.sh (show_gdbarch_debug)
(_initialize_gdbarch): Ditto.
* frame.c (_initialize_frame, show_backtrace_past_main)
(show_backtrace_past_entry, show_backtrace_limit)
(show_frame_debug): Ditto.
* exec.c (_initialize_exec, show_write_files): Ditto.
* dwarf2read.c (_initialize_dwarf2_read)
(show_dwarf2_max_cache_age): Ditto.
* demangle.c (_initialize_demangler)
(show_demangling_style_names): Ditto.
* dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
* cp-valprint.c (show_static_field_print)
(_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
* corefile.c (_initialize_core, show_gnutarget_string): Ditto.
* cli/cli-logging.c (_initialize_cli_logging)
(show_logging_overwrite, show_logging_redirect)
(show_logging_filename): Ditto.
* cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
(init_cli_cmds, show_baud_rate, show_remote_debug)
(show_remote_timeout, show_max_user_call_depth): Ditto.
* charset.c (show_host_charset_name, show_target_charset_name)
(initialize_charset): Ditto.
* breakpoint.c (show_can_use_hw_watchpoints)
(show_pending_break_support, _initialize_breakpoint): Ditto.

19 years ago * cris-dis.c (format_hex): Remove ineffective warning fix.
amodra [Thu, 24 Feb 2005 13:38:00 +0000 (13:38 +0000)]
* cris-dis.c (format_hex): Remove ineffective warning fix.
* crx-dis.c (make_instruction): Warning fix.
* frv-asm.c: Regenerate.

19 years ago * frv.opc (parse_A): Warning fix.
amodra [Thu, 24 Feb 2005 13:36:46 +0000 (13:36 +0000)]
* frv.opc (parse_A): Warning fix.

19 years ago * coffcode.h (coff_print_aux): Warning fix.
amodra [Thu, 24 Feb 2005 13:34:36 +0000 (13:34 +0000)]
* coffcode.h (coff_print_aux): Warning fix.
* elf-m10300.c (mn10300_elf_relax_section): Use section->id
instead of section pointer to identify.
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.  Allocate
the correct size buffer for local sym mangling too.
(h8300_bfd_link_add_symbols): Likewise.
* elf32-sh-symbian.c (sh_symbian_process_embedded_commands): Fix
warning.
* elf32-sh64.c (shmedia_prepare_reloc): Use %B and %p in error message
* elf32-xtensa.c (literal_value_hash): Warning fix.
* versados.c (process_otr): Warning fix.
(versados_canonicalize_reloc): Likewise.
* vms-gsd.c (_bfd_vms_slurp_gsd): Warning fix.
* vms.c (fill_section_ptr): Warning fix.

19 years ago(lnk960_before_parse): Remove redundant empty string from calls to concat.
nickc [Thu, 24 Feb 2005 13:16:06 +0000 (13:16 +0000)]
(lnk960_before_parse): Remove redundant empty string from calls to concat.

19 years agoFix minor typo
joshuadfranklin [Thu, 24 Feb 2005 06:14:44 +0000 (06:14 +0000)]
Fix minor typo

19 years ago*README: New file.
joshuadfranklin [Thu, 24 Feb 2005 05:26:32 +0000 (05:26 +0000)]
*README: New file.

19 years ago* cygpath.cc (usage): Clarify help output to indicate acceptance
joshuadfranklin [Thu, 24 Feb 2005 04:32:45 +0000 (04:32 +0000)]
* cygpath.cc (usage): Clarify help output to indicate acceptance
of multiple file names as arguments.

19 years ago*** empty log message ***
gdbadmin [Thu, 24 Feb 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 23 Feb 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago * libc/include/time.h (_timezone): Change to long also for Cygwin.
corinna [Wed, 23 Feb 2005 22:20:55 +0000 (22:20 +0000)]
* libc/include/time.h (_timezone): Change to long also for Cygwin.
(timezone): Drop cast from definition.

19 years ago * localtime.cc: Implement setting __tzrule's offset member using
corinna [Wed, 23 Feb 2005 22:17:26 +0000 (22:17 +0000)]
* localtime.cc: Implement setting __tzrule's offset member using
newlib's __gettzinfo () interface.
(__tzrule): Remove.
(timezone): Define as long according to POSIX.

19 years ago * devices.cc: Regenerate.
corinna [Wed, 23 Feb 2005 22:14:37 +0000 (22:14 +0000)]
* devices.cc: Regenerate.

19 years ago2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 23 Feb 2005 19:08:55 +0000 (19:08 +0000)]
2005-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/time.h [!CYGWIN](_timezone): Change to long.
        (__tzrule_type, __tzinfo_type): New types.
        (__gettzinfo): New function.
        * libc/sys/linux/include/time.h: Ditto.
        * libc/time/Makefile.am: Add gettzinfo.c.
        * libc/time/Makefile.in: Regenerated.
        * libc/time/local.h: Moved __tzrule_type to time.h.
        * libc/time/mktime.c: Call __gettzinfo to reference
        __tznorth, __tzyear, and __tzrule array.
        * libc/time/mktm_r.c: Ditto.
        * libc/time/strftime.c: Ditto.
        * libc/time/tzset_r.c: Ditto.  Also remove definition
        of __tzrule which is now in gettzinfo.c.  Change _timezone
        references to not cast to time_t.
        * libc/time/gettzinfo.c: New file.

19 years ago * devices.in (parsedisk): Fix typo.
corinna [Wed, 23 Feb 2005 17:59:03 +0000 (17:59 +0000)]
* devices.in (parsedisk): Fix typo.

19 years ago * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
corinna [Wed, 23 Feb 2005 17:42:06 +0000 (17:42 +0000)]
* libc/include/sys/unistd.h: Define getpeereid for Cygwin.

19 years ago * cygwin.din (getpeereid): Export.
corinna [Wed, 23 Feb 2005 17:39:44 +0000 (17:39 +0000)]
* cygwin.din (getpeereid): Export.
* fhandler.h (class fhandler_socket): Add pipe and id members to
exchange eid credentials for AF_LOCAL sockets.
(eid_pipe_name): Declare new method.
(getpeereid): Ditto.
* fhandler_socket.cc (fhandler_socket::eid_pipe_name): New method.
(fhandler_socket::fhandler_socket): Initialize sec_pipe.
(fhandler_socket::connect): Exchange eid credentials with accepting
socket process.
(fhandler_socket::listen): Prepare eid credential transaction.
(fhandler_socket::accept): Exchange eid credentials with connecting
socket process.
(fhandler_socket::close): Close eid credentials pipe if open.
(fhandler_socket::getpeereid): New method.
* net.cc (cygwin_getsockopt): Add SO_PEERCRED handling.
(getpeereid): New function.
* include/asm/socket.h (SO_PEERCRED): Define.
* include/cygwin/socket.h (struct ucred): Define new type.
* include/cygwin/version.h: Bump API minor version.

19 years ago * include/sys/statvfs.h (ST_RDONLY): Define.
corinna [Wed, 23 Feb 2005 16:27:51 +0000 (16:27 +0000)]
* include/sys/statvfs.h (ST_RDONLY): Define.
(ST_NOSUID): Define.

19 years ago2005-02-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 23 Feb 2005 16:22:13 +0000 (16:22 +0000)]
2005-02-22  H.J. Lu  <hongjiu.lu@intel.com>

* coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Defined.
* coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Likewise.

19 years ago* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
jimb [Wed, 23 Feb 2005 16:06:55 +0000 (16:06 +0000)]
* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.

19 years agoFix compile time warnings generated by gcc 4.0
nickc [Wed, 23 Feb 2005 16:04:37 +0000 (16:04 +0000)]
Fix compile time warnings generated by gcc 4.0

19 years ago2005-02-23 Andrew Cagney <cagney@gnu.org>
cagney [Wed, 23 Feb 2005 15:24:18 +0000 (15:24 +0000)]
2005-02-23  Andrew Cagney  <cagney@gnu.org>

* cli/cli-dump.c (dump_bfd_file): Replace magic constant with
SEC_XXX flags.

19 years ago * cygwin.din (fstatvfs): Export.
corinna [Wed, 23 Feb 2005 13:12:41 +0000 (13:12 +0000)]
* cygwin.din (fstatvfs): Export.
(statvfs): Export.
* syscalls.cc: Include sys/statvfs.h.
(statvfs): New function.  Move statfs functionality here.
(fstatvfs): New function.
(statfs): Just call statvfs and copy structure.  Check validity of
incoming struct statfs pointer.
* include/cygwin/types.h (fsblkcnt_t): Define.
(fsfilcnt_t): Define.
* include/cygwin/version.h: Bump API minor version.
* include/sys/statvfs.h: New file.

19 years ago * pe-dll.c: Warning fixes.
amodra [Wed, 23 Feb 2005 12:30:48 +0000 (12:30 +0000)]
* pe-dll.c: Warning fixes.
* emultempl/sunos.em: Likewise.

19 years ago * devices.h: Switch FH_ZERO and FH_PORT as on Linux. Add FH_FULL.
corinna [Wed, 23 Feb 2005 12:30:29 +0000 (12:30 +0000)]
* devices.h: Switch FH_ZERO and FH_PORT as on Linux.  Add FH_FULL.
* devices.in: Add /dev/full.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Add FH_FULL.
* fhandler.cc (fhandler_base::fstat): Set FH_FULL permission bits
correctly.
* fhandler_zero.cc (fhandler_dev_zero::write): Set errno to ENOSPC
and return -1 if device is FH_FULL.

19 years ago * cgen.c: Warning fixes.
amodra [Wed, 23 Feb 2005 12:28:01 +0000 (12:28 +0000)]
* cgen.c: Warning fixes.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-avr.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-frv.c: Likewise.
* config/tc-frv.h: Likewise.
* config/tc-h8300.c: Likewise.
* config/tc-h8500.c: Likewise.
* config/tc-i370.c: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-ip2k.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-maxq.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-ppc.h: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic80.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/tc-w65.c: Likewise.
* config/tc-xstormy16.c: Likewise.
* config/tc-z8k.c: Likewise.

19 years ago * dlltool.c: Warning fixes.
amodra [Wed, 23 Feb 2005 12:25:56 +0000 (12:25 +0000)]
* dlltool.c: Warning fixes.
* objdump.c: Likewise.

19 years ago(make_instruction): Move argument structure into inner scope and ensure that
nickc [Wed, 23 Feb 2005 11:53:31 +0000 (11:53 +0000)]
(make_instruction): Move argument structure into inner scope and ensure that
all of its fields are initialised before they are used.

19 years agoInitialise bitfield.
nickc [Wed, 23 Feb 2005 11:39:13 +0000 (11:39 +0000)]
Initialise bitfield.

19 years ago(elf32_m68hc11_relocate_section): Initialise variables that are passed by
nickc [Wed, 23 Feb 2005 11:18:09 +0000 (11:18 +0000)]
(elf32_m68hc11_relocate_section): Initialise variables that are passed by
reference to m68hc11_get_relocation_value in case that function does not
initialise them.

19 years agoconfigure: Regenerate.
nickc [Wed, 23 Feb 2005 10:07:06 +0000 (10:07 +0000)]
configure: Regenerate.

19 years ago(cr16c_elf_final_link_relocate): Remove duplicated return statements and
nickc [Wed, 23 Feb 2005 09:56:40 +0000 (09:56 +0000)]
(cr16c_elf_final_link_relocate): Remove duplicated return statements and
replace with a single return at the end of the function.  This helps pacify
the flow analysis code in gcc 4.0.

19 years ago(_bfd_elf_compute_section_file_positions): Initialise strtab to avoid compile
nickc [Wed, 23 Feb 2005 09:46:48 +0000 (09:46 +0000)]
(_bfd_elf_compute_section_file_positions): Initialise strtab to avoid compile
time warning.

19 years ago * opncls.c (bfd_zalloc): Document this function.
bje [Wed, 23 Feb 2005 03:49:40 +0000 (03:49 +0000)]
* opncls.c (bfd_zalloc): Document this function.

19 years ago * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
clm [Wed, 23 Feb 2005 02:44:18 +0000 (02:44 +0000)]
* read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.

19 years ago* fhandler_disk_file.cc (fhandler_cygdrive::closedir): Return 0 when closing
cgf [Wed, 23 Feb 2005 02:00:48 +0000 (02:00 +0000)]
* fhandler_disk_file.cc (fhandler_cygdrive::closedir): Return 0 when closing
cygdrive_root.

19 years ago*** empty log message ***
gdbadmin [Wed, 23 Feb 2005 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-02-22 Eric Christopher <echristo@redhat.com>
echristo [Tue, 22 Feb 2005 23:54:33 +0000 (23:54 +0000)]
2005-02-22  Eric Christopher  <echristo@redhat.com>

* ld-mips-elf/reloc-merge-lo16.d: Correct symbol
table size for __start.

2005-02-22  Eric Christopher  <echristo@redhat.com>

* config/tc-mips.c (struct proc): Change isym to
func_sym. New member func_end_sym.
(s_mips_ent): Update.
(s_mips_end): Ditto. Add code to compute function size.

19 years ago2005-02-22 Eric Christopher <echristo@redhat.com>
echristo [Tue, 22 Feb 2005 23:37:26 +0000 (23:37 +0000)]
2005-02-22  Eric Christopher  <echristo@redhat.com>

* gas/mips/elf-rel10.d: Update for label change.

19 years ago2005-02-22 Andrew Cagney <cagney@gnu.org>
cagney [Tue, 22 Feb 2005 23:25:02 +0000 (23:25 +0000)]
2005-02-22  Andrew Cagney  <cagney@gnu.org>

* configure.ac: Only enaable insight when itcl is present.
* configure: Re-generate.

19 years agodaily update
amodra [Tue, 22 Feb 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago* gas/mips/mips16-dwarf2.d: Pass -mabi=32. Include relocation
macro [Tue, 22 Feb 2005 20:50:09 +0000 (20:50 +0000)]
* gas/mips/mips16-dwarf2.d: Pass -mabi=32.  Include relocation
information.
* gas/mips/mips16-dwarf2-n32.d: New test to check DWARF2 line
information for MIPS16 for the n32 ABI.
* gas/mips/mips.exp. Run the new test.

19 years ago * cygwin.din (basename): Export.
corinna [Tue, 22 Feb 2005 19:45:38 +0000 (19:45 +0000)]
* cygwin.din (basename): Export.
(dirname): Export.
* path.cc (basename): New function.
(dirname): New function.
* include/libgen.h: New file.
* include/cygwin/version.h: Bump API minor version.

19 years ago2005-02-22 Eric Christopher <echristo@redhat.com>
echristo [Tue, 22 Feb 2005 19:39:05 +0000 (19:39 +0000)]
2005-02-22  Eric Christopher  <echristo@redhat.com>

* gas/mips/elf-rel10.s: Add label for frob.

19 years ago * ldlang.c (section_already_linked): Don't call
drow [Tue, 22 Feb 2005 18:35:32 +0000 (18:35 +0000)]
* ldlang.c (section_already_linked): Don't call
bfd_section_already_linked for dynamic objects.

19 years ago * ld-elfvsb/hidden2.d: Expect OBJECT.
drow [Tue, 22 Feb 2005 18:29:19 +0000 (18:29 +0000)]
* ld-elfvsb/hidden2.d: Expect OBJECT.
* ld-elfvsb/hidden2.s: Force type OBJECT.
* ld-elfvsb/hidden2.ld: Place .dynamic explicitly.
* ld-elf/start.s: Provide __start for MIPS.
* ld-elfcomm/elfcomm.exp: Accept MIPS common section.  XFAIL size change
test.
* ld-elf/warn1.d: Use group.ld instead of -Ttext.

19 years ago * select.cc (peek_pipe): Disable new pipe code until there's
corinna [Tue, 22 Feb 2005 15:39:45 +0000 (15:39 +0000)]
* select.cc (peek_pipe): Disable new pipe code until there's
a working substitute.

19 years ago * include/cygwin/version.h: Fix comment.
corinna [Tue, 22 Feb 2005 15:35:10 +0000 (15:35 +0000)]
* include/cygwin/version.h: Fix comment.

19 years ago * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
corinna [Tue, 22 Feb 2005 15:31:50 +0000 (15:31 +0000)]
* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.

19 years ago * cygwin.din (fdatasync): Export.
corinna [Tue, 22 Feb 2005 15:30:04 +0000 (15:30 +0000)]
* cygwin.din (fdatasync): Export.
* fhandler.cc (fhandler_base::fsync): Return with EINVAL if no
handle is available.
* syscalls.cc (fdatasync): Create export alias to fsync.
* include/cygwin/version.h: Bump API minor version.

19 years ago * arc-ext.c: Warning fixes.
amodra [Tue, 22 Feb 2005 13:01:52 +0000 (13:01 +0000)]
* arc-ext.c: Warning fixes.
* arc-ext.h: Likewise.
* cgen-opc.c: Likewise.
* ia64-gen.c: Likewise.
* maxq-dis.c: Likewise.
* ns32k-dis.c: Likewise.
* w65-dis.c: Likewise.
* ia64-asmtab.c: Regenerate.

19 years ago * ldexp.c: Warning fixes.
amodra [Tue, 22 Feb 2005 13:00:24 +0000 (13:00 +0000)]
* ldexp.c: Warning fixes.
* ldwrite.c: Likewise.
* emultempl/elf32.em: Likewise.

19 years ago * basic_blocks.c: Warning fixes.
amodra [Tue, 22 Feb 2005 12:59:21 +0000 (12:59 +0000)]
* basic_blocks.c: Warning fixes.
* gmon_io.c: Likewise.
* hist.c: Likewise.
* hist.h: Likewise.

19 years ago * read.c: Warning fixes.
amodra [Tue, 22 Feb 2005 12:58:27 +0000 (12:58 +0000)]
* read.c: Warning fixes.
* config/obj-elf.c: Likewise.

19 years ago * Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
amodra [Tue, 22 Feb 2005 12:57:26 +0000 (12:57 +0000)]
* Makefile.am (syslex.o, sysinfo.o): Pass AM_CFLAGS to compiler.
(syslex.o, sysinfo.o, dlltool.o, rescoff.o): Remove duplicate
dependencies.  Run "make dep-am".
* nlmconv.c: Warning fixes.
* readelf.c: Likewise.
* srconv.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.  Use yyleng instead of strlen, memcpy instead
of strcpy.
* Makefile.in: Regenerate.

19 years agogas/:
macro [Tue, 22 Feb 2005 12:32:22 +0000 (12:32 +0000)]
gas/:
* config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
emitting insn.

gas/testsuite/:
* gas/mips/mips16-dwarf2.d: New test to check DWARF2 line
information for MIPS16.
* gas/mips/mips16-dwarf2.s: Source for the new test.
* gas/mips/mips.exp: Run the new test.

19 years agoAllow darwin targeted ports to build tk, itcl and libgui.
nickc [Tue, 22 Feb 2005 09:16:09 +0000 (09:16 +0000)]
Allow darwin targeted ports to build tk, itcl and libgui.

19 years agobfd/
hjl [Tue, 22 Feb 2005 00:50:01 +0000 (00:50 +0000)]
bfd/

2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (sec_to_styp_flags): Replaced SEC_CLINK with
SEC_TIC54X_CLINK. Replace SEC_BLOCK with SEC_TIC54X_BLOCK.
Replace SEC_SHARED with SEC_COFF_SHARED.
(styp_to_sec_flags): Likewise.

* elfxx-target.h (TARGET_BIG_SYM): Remove SEC_ARCH_BIT_0.
(TARGET_LITTLE_SYM): Likewise.

* section.c (SEC_ARCH_BIT_0): Removed.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Defined with
SEC_LINK_DUPLICATES_ONE_ONLY and SEC_LINK_DUPLICATES_SAME_SIZE.
(SEC_SHARED): Renamed to ...
(SEC_COFF_SHARED): This.
(SEC_BLOCK): Renamed to ...
(SEC_TIC54X_BLOCK): This.
(SEC_CLINK): Renamed to ...
(SEC_TIC54X_CLINK): This.
(SEC_XXX): Rearranged. Move SEC_COFF_SHARED_LIBRARY,
SEC_COFF_SHARED, SEC_TIC54X_BLOCK and SEC_TIC54X_CLINK to the
end.
* bfd-in2.h: Regenerated.

binutils/

2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* objcopy.c (parse_flags): Replace SEC_SHARED with
SEC_COFF_SHARED.

* objdump.c (dump_section_header): Dump SEC_TIC54X_BLOCK and
SEC_TIC54X_CLINK for TI c54x only. Remove SEC_ARCH_BIT_0. Dump
SEC_COFF_SHARED for COFF only.

gas/

2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
SEC_COFF_SHARED.

* config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
SEC_TIC54X_BLOCK.
(demand_empty_rest_of_line): Likewise.
(tic54x_sblock): Likewise.
(tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.

ld/

2005-02-21  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
tic54x input only.
(lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
and ECOFF output only.

19 years agoRegenerate cgen files
amodra [Tue, 22 Feb 2005 00:33:19 +0000 (00:33 +0000)]
Regenerate cgen files

19 years ago * desc-cpu.scm (gen-ifld-decls): Move cgen_ifld_table from here..
amodra [Tue, 22 Feb 2005 00:31:31 +0000 (00:31 +0000)]
* desc-cpu.scm (gen-ifld-decls): Move cgen_ifld_table from here..
(cgen-desc.h): ..to here, after opcode/cgen.h include.

19 years ago*** empty log message ***
gdbadmin [Tue, 22 Feb 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***