OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
15 years agodaily update
amodra [Tue, 29 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agoReplace __mingw_snprintf() with new generic family implementation; likewise, replace...
keithmarshall [Mon, 28 Jul 2008 23:24:20 +0000 (23:24 +0000)]
Replace __mingw_snprintf() with new generic family implementation; likewise, replace __mingw_vsnprintf().

15 years ago Lay foundations for new printf() function family implementation.
keithmarshall [Mon, 28 Jul 2008 22:57:43 +0000 (22:57 +0000)]
Lay foundations for new printf() function family implementation.

15 years ago * elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
drow [Mon, 28 Jul 2008 22:14:53 +0000 (22:14 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
relocations for undefined weak symbols with non-default visibility.
(_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for
global symbols in shared libraries.
(allocate_dynrelocs): New function.
(_bfd_mips_elf_adjust_dynamic_symbol): Do not handle
possibly_dynamic_relocs here.
(_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.

15 years ago * Makefile.in (just-check): Remove. Move body to...
tromey [Mon, 28 Jul 2008 20:05:58 +0000 (20:05 +0000)]
* Makefile.in (just-check): Remove.  Move body to...
(check): ... here.

15 years ago * linux-low.c (sys/dir.h, sys/user.h): Remove includes.
devans [Mon, 28 Jul 2008 18:28:56 +0000 (18:28 +0000)]
* linux-low.c (sys/dir.h, sys/user.h): Remove includes.
(linux_write_memory): Remove declaration of errno.

15 years agobfd/ChangeLog:
aoliva [Mon, 28 Jul 2008 18:07:04 +0000 (18:07 +0000)]
bfd/ChangeLog:
* elf32-i386.c (struct elf_i386_link_hash_table): Added field
tls_module_base.
(elf_i386_link_hash_table_create): Initialize it.
(elf_i386_always_size_sections): Set it.
(set_tls_module_base): New.
(elf_i386_relocate_sections): Call it.
* elf64-x86-64.c (struct elf64_x86_64_link_hash_table): Added
field tls_module_base.
(elf64_x86_64_link_hash_table_create): Initialize it.
(elf64_x86_64_always_size_sections): Set it.
(set_tls_module_base): New.
(elf64_x86_64_relocate_sections): Call it.
Reported by Cary Coutant <ccoutant@google.com>
ld/testsuite/ChangeLog:
* ld-i386/tlsbindesc.dd: Adjust incorrect expectations for LD to
LE relaxation.
* ld-x86-64/tlsbindesc.dd: Likewise.
* ld-i386/tlsbindesc.rd: Adjust address of _TLS_MODULE_BASE_.
* ld-x86-64/tlsbindesc.rd: Likewise.
Reported by Cary Coutant <ccoutant@google.com>

15 years ago * annotate.h (deprecated_annotate_starting_hook): Remove.
tromey [Mon, 28 Jul 2008 17:53:51 +0000 (17:53 +0000)]
* annotate.h (deprecated_annotate_starting_hook): Remove.
(deprecated_annotate_stopped_hook): Remove.
(deprecated_annotate_exited_hook): Remove.
* Makefile.in (annotate.o): Depend on observer_h.
* top.c (deprecated_delete_breakpoint_hook): Remove.
(deprecated_create_breakpoint_hook): Likewise.
(deprecated_modify_breakpoint_hook): Likewise.
* interps.c (clear_interpreter_hooks): Update for removed hooks.
* breakpoint.c (mention): Don't call removed hook.
(delete_breakpoint): Likewise.
(disable_breakpoint): Likewise.
(do_enable_breakpoint): Likewise.
* annotate.c: Include observer.h.
(breakpoint_changed): Change type of argument.
(_initialize_annotate): Register observers.
(deprecated_annotate_starting_hook): Remove.
(deprecated_annotate_stopped_hook): Remove.
(deprecated_annotate_exited_hook): Remove.
(annotate_starting): Update for hook removal.
(annotate_stopped): Likewise.
(annotate_exited): Likewise.
* defs.h (deprecated_delete_breakpoint_hook): Remove.
(deprecated_create_breakpoint_hook): Likewise.
(deprecated_modify_breakpoint_hook): Likewise.

15 years ago * main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.
tromey [Mon, 28 Jul 2008 16:28:58 +0000 (16:28 +0000)]
* main.c (captured_main): Don't use BEFORE_MAIN_LOOP_HOOK.

15 years agowarning fix
amodra [Mon, 28 Jul 2008 06:48:00 +0000 (06:48 +0000)]
warning fix

15 years ago * elf32-arm.c (arm_map_one_stub): Declare variables at beginning
amodra [Mon, 28 Jul 2008 06:46:31 +0000 (06:46 +0000)]
* elf32-arm.c (arm_map_one_stub): Declare variables at beginning
of block.
* elf32-avr.c (get_local_syms): Likewise.

15 years ago * readelf.c (print_vma): Typo fix.
amodra [Mon, 28 Jul 2008 04:14:40 +0000 (04:14 +0000)]
* readelf.c (print_vma): Typo fix.

15 years agobfd/
amodra [Mon, 28 Jul 2008 04:07:31 +0000 (04:07 +0000)]
bfd/
PR 6769
* bfd-in.h (BFD_VMA_FMT): Define.
(printf_vma, sprintf_vma): Use the above.
(_bfd_int64_low, _bfd_int64_high): Delete.
* bfd-in2.h: Regenerate.
binutils/
PR 6769
* readelf.c (print_dec_vma, print_hex_vma): Delete.
(print_vma): Use BFD_VMA_FMT.
* size.c (size_number, rprint_number): Likewise.

15 years ago*** empty log message ***
gdbadmin [Mon, 28 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 28 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
cgf [Sun, 27 Jul 2008 22:31:48 +0000 (22:31 +0000)]
* dcrt0.cc (dll_crt0_0): Remove calling malloc_init and
user_shared_initialize_1 from here.
(dll_crt0_1): Remove dynamically_loaded check.  Just call malloc_init and
user_shared_initialize unconditionally.
* shared.cc (user_shared_create): Rename from user_shared_initialize.
(user_shared_initialize): Rename from user_shared_initialize_1.  Move complete
user_shared content initialization code here from user_shared_create.
* syscalls.cc (seteuid32): Remove call to user_shared_initialize_1.  That is
implied by the "true" argument to user_shared_create().

15 years ago * configure.ac: Check for the GNU/Linux ptrace signature.
drow [Sun, 27 Jul 2008 21:18:50 +0000 (21:18 +0000)]
* configure.ac: Check for the GNU/Linux ptrace signature.
* configure: Regenerated.

15 years ago * linux-nat.c (resume_callback): Add more debugging output.
drow [Sun, 27 Jul 2008 21:12:40 +0000 (21:12 +0000)]
* linux-nat.c (resume_callback): Add more debugging output.
(linux_nat_has_pending_sigint): New function, based on
linux_nat_has_pending.
(set_ignore_sigint, maybe_clear_ignore_sigint): New functions.
(stop_wait_callback): Remove flush_mask handling.  Honor
ignore_sigint.  Call maybe_clear_ignore_sigint.  Pass NULL
to recursive calls.
(linux_nat_has_pending, flush_callback): Remove.
(linux_nat_filter_event): Check for ignore_sigint.
(linux_nat_wait): Remove flush_mask support and call to
flush_callback.  Use set_ignore_sigint and maybe_clear_ignore_sigint.
* linux-nat.h (struct lwp_info): Add ignore_sigint field.

* gdb.threads/manythreads.exp: Use remote_expect instead of after.
Add a test for duplicated SIGINTs.

15 years ago * linux-nat.c (count_events_callback, select_event_lwp_callback): Only
drow [Sun, 27 Jul 2008 21:05:37 +0000 (21:05 +0000)]
* linux-nat.c (count_events_callback, select_event_lwp_callback): Only
report events from resumed threads.

* gdb.threads/schedlock.exp (get_args): Update to work for any
value of NUM.
(Top level): Report the number of threads that did not resume.

15 years ago * gdb.dwarf2/dw2-compressed.S: Also define __start.
drow [Sun, 27 Jul 2008 21:01:45 +0000 (21:01 +0000)]
* gdb.dwarf2/dw2-compressed.S: Also define __start.

15 years ago * lib/mi-support.exp (default_mi_gdb_start): Remove check for
drow [Sun, 27 Jul 2008 20:57:42 +0000 (20:57 +0000)]
* lib/mi-support.exp (default_mi_gdb_start): Remove check for
non-MI prompt.

15 years ago * mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
drow [Sun, 27 Jul 2008 20:52:42 +0000 (20:52 +0000)]
* mips-linux-tdep.c (mips_linux_syscall_next_pc): New function.
(mips_linux_init_abi): Set tdep->syscall_next_pc.
* mips-tdep.c (enum mips_fpu_type, struct gdbarch_tdep): Move to
mips-tdep.h.
(mips32_next_pc): Handle the syscall instruction.
* mips-tdep.h (enum mips_fpu_type, struct gdbarch_tdep): New,
from mips-tdep.c.  Add syscall_next_pc to gdbarch_tdep.

15 years ago* mount.cc (mount_info::init): Add location where we're looking for fstab to
cgf [Sun, 27 Jul 2008 16:59:07 +0000 (16:59 +0000)]
* mount.cc (mount_info::init): Add location where we're looking for fstab to
temporary message.
* lib/cygwin_crt0.c (cygwin_crt0): Simplify by eliminating accommodations for
ancient cygwin DLLs.
* lib/crt0.h: Include <windows.h> directly since it is needed.

15 years ago* cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.
cgf [Sun, 27 Jul 2008 14:53:42 +0000 (14:53 +0000)]
* cygcheck.cc (load_cygwin): Free the cygwin dll after we're done with it.

15 years ago* shared_info.h (shared_destroy): Declare.
cgf [Sun, 27 Jul 2008 14:52:46 +0000 (14:52 +0000)]
* shared_info.h (shared_destroy): Declare.
* shared.cc (shared_destroy): Define new function to destroy shared memory
regions.
* init.cc (dll_entry): Call shared_destroy when dll detaches from the process.

16 years ago * fhandler_socket.cc (fhandler_socket::send_internal): Send never more
corinna [Sun, 27 Jul 2008 10:20:49 +0000 (10:20 +0000)]
* fhandler_socket.cc (fhandler_socket::send_internal): Send never more
then 64K bytes at once.  For blocking sockets, loop until entire data
has been sent or an error occurs.
(fhandler_socket::sendto): Drop code which sends on 64K bytes.
(fhandler_socket::sendmsg): Ditto.

16 years ago * ld-gc/gc.exp (test_gc): xfail powerpc64.
amodra [Sun, 27 Jul 2008 04:40:57 +0000 (04:40 +0000)]
* ld-gc/gc.exp (test_gc): xfail powerpc64.

16 years ago * elf.c (_bfd_elf_make_section_from_shdr): Ignore return from
amodra [Sun, 27 Jul 2008 03:43:51 +0000 (03:43 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): Ignore return from
elf_parse_notes.  Use bfd_malloc_and_get_section.
(elf_parse_notes): Validate note namesz and descsz.

16 years agogdb:
tromey [Sun, 27 Jul 2008 02:00:02 +0000 (02:00 +0000)]
gdb:
PR gdb/1158:
* valops.c (value_struct_elt): Treat function-valued field as a
static method.
gdb/testsuite:
* gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
(function_struct, function_struct_ptr): New globals.
* gdb.base/callfuncs.exp (do_function_calls): Test calling via a
function pointer in a struct.

16 years agogdb:
tromey [Sun, 27 Jul 2008 01:58:00 +0000 (01:58 +0000)]
gdb:
PR gdb/1136:
* macroexp.c (get_punctuator) <punctuators>: Rearrange to put
longer tokens first.
gdb/testsuite:
* gdb.base/macscp.exp: Add test for macro lexing bug.

16 years ago*** empty log message ***
gdbadmin [Sun, 27 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sun, 27 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago* fhandler_tty.cc (fhandler_pty_master::setup): Reorganize so that all
cgf [Sat, 26 Jul 2008 19:35:19 +0000 (19:35 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Reorganize so that all
operations for each end of the pipe are grouped together.

16 years agomissed from last commit
amodra [Sat, 26 Jul 2008 14:30:39 +0000 (14:30 +0000)]
missed from last commit

16 years agoSupport PowerPC single-precision float.
amodra [Sat, 26 Jul 2008 13:10:47 +0000 (13:10 +0000)]
Support PowerPC single-precision float.

16 years ago Kill cmd_async_ok.
vprus [Sat, 26 Jul 2008 10:23:54 +0000 (10:23 +0000)]
Kill cmd_async_ok.
        * cli/cli-decode.h (CMD_ASYNC_OK, set_cmd_async_ok)
        (get_cmd_async_ok): Remove.
        * cli/cli-decode.c (set_cmd_async_ok, get_cmd_async_ok): Remove.
        * cli/cli-cmds.c (init_cli_cmds): Don't use set_cmd_async_ok.
        * infcmd.c (_initialize_infcmd): Likewise.
        * thread.c (_initialize_thread): Likewise.

16 years ago * dcrt0.cc (dll_crt0_1): Call malloc_init and user_shared_initialize_1
corinna [Sat, 26 Jul 2008 08:32:27 +0000 (08:32 +0000)]
* dcrt0.cc (dll_crt0_1): Call malloc_init and user_shared_initialize_1
only in non-dynamically loaded case.

16 years ago * ld-scripts/include.exp: Don't run test for aout.
amodra [Sat, 26 Jul 2008 01:23:37 +0000 (01:23 +0000)]
* ld-scripts/include.exp: Don't run test for aout.
* ld-scripts/include.s: Use .fill rather than .4byte.
* ld-scripts/include-1.d: Adjust.

16 years ago * mips-tdep.c (mips_n32n64_push_dummy_call): Handle passing
jsm28 [Sat, 26 Jul 2008 01:19:33 +0000 (01:19 +0000)]
* mips-tdep.c (mips_n32n64_push_dummy_call): Handle passing
128-bit long doubles in even-odd pairs of FPRs.  Do not
right-align float arguments for big-endian.
(mips_n32n64_return_value): Apply return value convention for
structs containing one or two floating-point values to soft-float
as well as hard-float.  Handle 128-bit long doubles in such
structs.
(mips_o32_push_dummy_call): Only skip one integer register for a
float argument passed in an FPR.

16 years ago * binutils-all/objdump.exp: Run compressed debug test only for ELF.
amodra [Sat, 26 Jul 2008 01:15:42 +0000 (01:15 +0000)]
* binutils-all/objdump.exp: Run compressed debug test only for ELF.

16 years ago*** empty log message ***
gdbadmin [Sat, 26 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Sat, 26 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2008-07-25 Bo Yang <techrazy@users.sourceforge.net>
ironhead [Fri, 25 Jul 2008 22:13:22 +0000 (22:13 +0000)]
2008-07-25 Bo Yang <techrazy@users.sourceforge.net>

        * lib/gdi32.def (SetLayout): Export.

16 years ago2008-07-25 Bo Yang <techrazy@users.sourceforge.net>
ironhead [Fri, 25 Jul 2008 22:09:35 +0000 (22:09 +0000)]
2008-07-25 Bo Yang <techrazy@users.sourceforge.net>

        * include/wincrypt.h  (struct _CRYPT_KEY_PROV_PARAM,
        struct _CRYPT_KEY_PROV_INFO, CertGetCertificateContextProperty,
        CryptEnumKeyIdentifierProperties, CryptAcquireCertificatePrivateKey,
        CertCreateCertificateContext, CryptGetKeyIdentifierProperty,
        CertSetCertificateContextProperty, CertCompareCertificateName,
        CryptSetKeyIdentifierProperty, CertOIDToAlgId, CryptGetDefaultProviderA,
        CryptGetDefaultProviderW and many corresponding macroes): Define.
        * lib/crypt32.def  (Export the above 11 functions): Export.
        * include/winerror.h  (CRYPT_E_NOT_FOUND and other crypt related
        macroes): Define.

16 years ago * acinclude.m4: Remove libide, libgui, and all the other Tcl
kseitz [Fri, 25 Jul 2008 18:00:17 +0000 (18:00 +0000)]
    * acinclude.m4: Remove libide, libgui, and all the other Tcl
        functions.
        * tcl.m4: New file.

16 years agogdb:
tromey [Fri, 25 Jul 2008 16:12:01 +0000 (16:12 +0000)]
gdb:
* tui/tui-hooks.c: Include observer.h.
(tui_event_default, tui_old_event_hooks, tui_event_hooks):
Remove.
(tui_bp_created_observer, tui_bp_deleted_observer,
tui_bp_modified_observer): New globals.
(tui_install_hooks): Use observers, not events.
(tui_remove_hooks): Likewise.
* mi/mi-cmd-break.c: Include observer.h, not gdb-events.h.
(mi_breakpoint_observers_installed, mi_can_breakpoint_notify): New
globals.
(breakpoint_notify): Check mi_can_breakpoint_notify.
(breakpoint_hooks): Remove.
(mi_cmd_break_insert): Attach observers.  Don't use events.
* tracepoint.c: Include observer.h, not gdb-events.h.
(tracepoint_operation, trace_pass_command): Notify observer.
* interps.c: Don't include gdb-events.h.
(clear_interpreter_hooks): Don't call clear_gdb_event_hooks.
* gdbarch.c: Rebuild.
* gdbarch.sh: Emit include for observer.h, not gdb-events.h.
(deprecated_current_gdbarch_select_hack): Notify observer.
* breakpoint.h: Don't include gdb-events.h.
* breakpoint.c: Don't include gdb-events.h.
(condition_command): Notify observer.
(commands_command): Likewise.
(commands_from_control_command): Likewise.
(mention, delete_breakpoint, set_ignore_count): Likewise.
(disable_breakpoint, do_enable_breakpoint): Likewise.
* Makefile.in (gdb_events_h): Remove.
(breakpoint_h): Update.
(COMMON_OBS): Remove gdb-events.o.
(gdb-events.o): Remove.
(breakpoint.o, gdbarch.o, interps.o, tracepoint.o, gdbtk-bp.o,
gdbtk-hooks.o, mi-cmd-break.o, tui-hooks.o): Update.
* gdb-events.c: Remove.
* gdb-events.h: Remove.
* gdb-events.sh: Remove.
gdb/doc:
* observer.texi (GDB Observers): Document new observers:
breakpoint_created, breakpoint_deleted, breakpoint_modified,
tracepoint_created, tracepoint_deleted, tracepoint_modified,
architecture_changed.
gdb/gdbtk:
* generic/gdbtk-hooks.c: Include observer.h, not gdb-events.h.
(gdbtk_add_hooks): Use observers, not events.
(gdbtk_architecture_changed): Add argument, for observer.
* generic/gdbtk-bp.c: Include observer.h.
(gdb_set_bp): Notify observer.
(gdb_set_bp_addr): Likewise.

16 years ago * dcrt0.cc (dll_crt0_0): Call malloc_init and user_shared_initialize_1
corinna [Fri, 25 Jul 2008 15:23:55 +0000 (15:23 +0000)]
* dcrt0.cc (dll_crt0_0): Call malloc_init and user_shared_initialize_1
here in case we're dynamically loaded.  Explain why.
(dll_crt0_1): Call user_shared_initialize_1 from here.
* mount.cc (is_native_path): New inline function testing for native
and long Win32 path prefix.
(is_unc_share): Remove long WIn32 path prefix test.
(mount_info::create_root_entry): Use PATH_MAX buffer.
(mount_info::init): Ditto.
(mount_info::add_item): Test for is_native_path as well.
* path.cc (normalize_win32_path): Simplify native path prefix code.
* shared.cc (user_shared_initialize_1): New function taking user
shared initialization code relying on malloc and cygtls.
(user_shared_initialize): Move mountinfo initialization to
user_shared_initialize_1.
* shared_info.h (user_shared_initialize_1): Declare.
* syscalls.cc (seteuid32): Call user_shared_initialize_1 after user
changed.

16 years ago* mount.cc: Remove non-unix-like options (-x,-t,b) throughout.
cgf [Fri, 25 Jul 2008 15:03:25 +0000 (15:03 +0000)]
* mount.cc: Remove non-unix-like options (-x,-t,b) throughout.
(oopts): Use boolean constants for slightly increased clarity.
* configure.in: Remove apparently unneeded program_transfer_name code.
* configure: Regenerate.

16 years ago * utils.sgml: Remove useless text.
corinna [Fri, 25 Jul 2008 07:08:56 +0000 (07:08 +0000)]
* utils.sgml: Remove useless text.

16 years ago PR 5990
ian [Fri, 25 Jul 2008 04:25:49 +0000 (04:25 +0000)]
PR 5990
* descriptors.cc: New file.
* descriptors.h: New file.
* gold-threads.h (class Hold_optional_lock): New class.
* fileread.cc: Include "descriptors.h".
(File_read::~File_read): Release descriptor rather than closing
it.
(File_read::open) [file]: Call open_descriptor rather than open.
Set is_descriptor_opened_.
(File_read::open) [memory]: Assert that descriptor is not open.
(File_read::reopen_descriptor): New function.
(File_read::release): Release descriptor.
(File_read::do_read): Make non-const.  Reopen descriptor.
(File_read::read): Make non-const.
(File_read::make_view): Reopen descriptor.
(File_read::do_readv): Likewise.
* fileread.h (class File_read): Add is_descriptor_opened_ field.
Update declarations.
* layout.cc: Include "descriptors.h".
(Layout::create_build_id): Use open_descriptor rather than open.
* output.cc: Include "descriptors.h".
(Output_file::open): Use open_descriptor rather than open.
* archive.cc (Archive::const_iterator): Change Archive to be
non-const.
(Archive::begin, Archive::end): Make non-const.
(Archive::count_members): Likewise.
* archive.h (class Archive): Update declarations.
* object.h (Object::read): Make non-const.
* Makefile.am (CCFILES): Add descriptors.cc.
(HFILES): Add descriptors.h.
* Makefile.in: Rebuild.

16 years ago2008-07-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Fri, 25 Jul 2008 01:50:35 +0000 (01:50 +0000)]
2008-07-24  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winuser.h (MENUGETOBJECTINFO, MNGO_NOINTERFACE, MNGO_NOERROR,
        MNGOF_TOPGAP, MNGOF_BOTTOMGAP): Define.

16 years ago2008-07-24 techrazy <techrazy@users.sourceforge.net>
ironhead [Fri, 25 Jul 2008 01:19:11 +0000 (01:19 +0000)]
2008-07-24  techrazy  <techrazy@users.sourceforge.net>

        * include/wingdi.h (OUT_PS_ONLY_PRECIS): Define.

16 years ago*** empty log message ***
gdbadmin [Fri, 25 Jul 2008 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 25 Jul 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago PR 6716
ian [Thu, 24 Jul 2008 21:45:50 +0000 (21:45 +0000)]
PR 6716
* gold.h: Always include <clocale>.  Add Solaris workarounds
following code in binutils/sysdep.h.

16 years ago PR 6048
ian [Thu, 24 Jul 2008 21:23:09 +0000 (21:23 +0000)]
PR 6048
* ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether
this->eh_frame_hdr_ is NULL before using it.

16 years ago * dynobj.cc (Versions::Versions): Update comment.
ian [Thu, 24 Jul 2008 21:21:38 +0000 (21:21 +0000)]
* dynobj.cc (Versions::Versions): Update comment.

16 years ago2008-07-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 24 Jul 2008 18:51:33 +0000 (18:51 +0000)]
2008-07-24  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/nops-1.d: Add -mtune=generic32.
* gas/i386/nops-2.d: Likewise.
* gas/i386/nops-3.d: Likewise.

* gas/i386/x86-64-nops-1.d: Add -mtune=generic64.
* gas/i386/x86-64-nops-2.d: Likewise.
* gas/i386/x86-64-nops-3.d: Likewise.
* gas/i386/x86-64-nops-4.d: Likewise.

16 years ago * mount.cc (mount_info::from_fstab): Change system_printf to
corinna [Thu, 24 Jul 2008 18:32:41 +0000 (18:32 +0000)]
* mount.cc (mount_info::from_fstab): Change system_printf to
debug_printf on NtOpenFile failure.

16 years ago * shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
corinna [Thu, 24 Jul 2008 18:25:47 +0000 (18:25 +0000)]
* shared.cc (user_shared_initialize): Fetch potentially changed Cygwin
username from /etc/passwd before loading mount table.
(shared_info::init_installation_root): New function fetching Cygwin's
installation root dir and storing as native NT path in global shared
memory.
(shared_info::initialize): Call init_installation_root exactly once at
first startup.
* shared_info.h (SHARED_INFO_CB): Accommodate change to shared_info.
(CURR_SHARED_MAGIC): Ditto.
(class shared_info): Add installation_root member.
(shared_info::init_installation_root): Declare.

* grp.cc (pwdgrp::read_group): Call pwdgrp::load with native WCHAR path.
* passwd.cc (pwdgrp::read_passwd): Ditto.  Avoid recursion.
(etc::init): Take POBJECT_ATTRIBUTES instead of path_conv.
* path.h (etc::init): Change prototype accordingly.
* pwdgrp.h (class pwdgrp): Store path as UNICODE_STRING/PWCHAR instead
of as path_conv.
(pwdgrp::load): Accommodate prototype.
* uinfo.cc (pwdgrp::load): Change argument type from char to wchar_t.
Create native NT path here instead of calling path_conv.

* mount.cc (find_root_from_cygwin_dll): Drop in favor of global
initializaion in shared_info.
(mount_info::init): Fetch native NT root dir from cygwin_shared.
(mount_info::from_fstab): Expect native NT path and use native NT
functions to access file.  Convert username part in user fstab path
according to special char transformation rules.
* path.cc (tfx_chars): Convert slash to backslash.
(transform_chars): Implement for path given as PWCHAR.
(transform_chars): PUNICODE_STRING version calls PWCHAR version.
Remove useless commented code.

16 years ago2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 24 Jul 2008 17:55:25 +0000 (17:55 +0000)]
2008-07-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/ctype.h (_ctype_): Restore for C++ backward
        compatability only.

16 years ago * elf32-mips.c (elf_backend_write_section): Define.
drow [Thu, 24 Jul 2008 16:17:41 +0000 (16:17 +0000)]
* elf32-mips.c (elf_backend_write_section): Define.

16 years ago * remote.c (remote_threads_extra_info): Don't query the remote
palves [Thu, 24 Jul 2008 15:28:42 +0000 (15:28 +0000)]
* remote.c (remote_threads_extra_info): Don't query the remote
server about info on the internally added main thread.

16 years agomerge from gcc
dj [Thu, 24 Jul 2008 13:51:49 +0000 (13:51 +0000)]
merge from gcc

16 years ago * nto-procfs.c (procfs_attach): Populate initial thread list.
aristovski [Thu, 24 Jul 2008 13:18:57 +0000 (13:18 +0000)]
* nto-procfs.c (procfs_attach): Populate initial thread list.
(procfs_wait): Return new pid, built from the inferior status.

16 years ago * include/lmaccess.h (struct _USER_INFO_4): Define.
corinna [Thu, 24 Jul 2008 09:01:12 +0000 (09:01 +0000)]
* include/lmaccess.h (struct _USER_INFO_4): Define.
(struct _USER_INFO_23): Define.
(struct _GROUP_INFO_3): Define.

16 years ago * elf.c (_bfd_elf_map_sections_to_segments): Catch off by one
nickc [Thu, 24 Jul 2008 07:51:24 +0000 (07:51 +0000)]
    * elf.c (_bfd_elf_map_sections_to_segments): Catch off by one
        error assigning sections to segments.

16 years ago * dynobj.cc (Versions::Versions): If there is an soname, use it as
ian [Thu, 24 Jul 2008 07:26:27 +0000 (07:26 +0000)]
* dynobj.cc (Versions::Versions): If there is an soname, use it as
the base version name.

16 years ago * config/bfin-parse.y (asm_1): Error if plain symbol is used
jiez [Thu, 24 Jul 2008 07:25:12 +0000 (07:25 +0000)]
* config/bfin-parse.y (asm_1): Error if plain symbol is used
as load/store offset.

16 years ago * stringpool.cc (Stringpool_template::add_with_length): Set key to
ian [Thu, 24 Jul 2008 07:23:20 +0000 (07:23 +0000)]
* stringpool.cc (Stringpool_template::add_with_length): Set key to
array size plus one.
(Stringpool_template::set_string_offsets): Subtract one from key
before using it as an array index.
(Stringpool_template::get_offset_with_length): Likewise.
(Stringpool_template::write_to_buffer): Likewise.
* stringpool.h (Stringpool_template::get_offset_from_key):
Likewise.

16 years ago PR 6658
ian [Thu, 24 Jul 2008 01:24:49 +0000 (01:24 +0000)]
PR 6658
* object.h (Merged_symbol_value::value): Do our best to handle a
negative addend.

16 years agodaily update
amodra [Thu, 24 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Thu, 24 Jul 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago PR 6647
ian [Wed, 23 Jul 2008 23:44:02 +0000 (23:44 +0000)]
PR 6647
* script.cc (Version_script_info::get_versions): Don't add empty
version tag to return value.
(Version_script_info::get_symbol_version_helper): Change return
type to bool.  Add pversion parameter.  Change all callers.
(script_register_vers_node): Don't require a non-NULL tag.
* script.h (class Version_script_info): Update declarations.
(Version_script_info::get_symbol_version): Change return type to
bool.  Add version parameter.  Change all callers.
* symtab.cc (Sized_symbol::add_from_relobj): Rework version
handling.  Handle an empty version from a version script.
(Symbol_table::define_special_symbol): Likewise.
* testsuite/ver_test_10.script: New file.
* testsuite/ver_test_10.sh: New file.
* testsuite/Makefile.am (check_SCRIPTS): Add ver_test_10.sh.
(check_DATA): Add ver_test_10.syms.
(ver_test_10.syms, ver_test_10.so): New target.
* testsuite/Makefile.in: Rebuild.

16 years ago Import of Itcl 3.3.
kseitz [Wed, 23 Jul 2008 22:44:49 +0000 (22:44 +0000)]
    Import of Itcl 3.3.
        * itcl/configure.in, itk/configure.in, iwidgets/configure.in:
        Replace with configure.ac.
        * itcl/configure, itk/configure, iwidgets/configure: Regenerate.
        * configure.ac, Makefile.am, Makefile.in: New files.
        * README: "New" file.
        * aclocal.m4: Regenerate.
        * itcl/Makefile.in (RANLIB): Replace with RANLIB_LIB so
        that the toplevel build does not override this variable.
        * itk/Makefile.in (RANLIB): Likewise.
        * itcl/tclconfig/tcl.m4 (TEA_PATH_TCLCONFIG): Look for itclConfig.sh
        in the platform-specific location (unix or win).
        (TEA_PATH_TKCONFIG): Likewise.
        (TEA_MAKE_LIB): Even on windows, GCC libraries must start with "lib".
        * itk/tclconfig.m4: Copy of itcl/tcl.m4.
        * iwidgets/tcl.m4: Remove.
        * iwidgets/tclconfig: New directory.
        * iwidgets/tclconfig/tcl.m4, iwidgets/tclconfig/install-sh: Copies
        of itcl/tclconfig files.
        * iwidgets/Makefile.in (MKINSTALLDIRS): Use mkdir -p.
        * iwidgets/configure.ac (PACKAGE): Rename to PACKAGE_NAME.
        Call TEA_INIT, add AC_CONFIG_AUX_DIR and AC_PROG_INSTALL.
        Use TEA_* instead of SC_* macros.
        Search a few more directories for the itcl and itk libraries.

16 years ago * mkgroup.c (main): Fix test for duplicate domain/machine request.
corinna [Wed, 23 Jul 2008 20:12:12 +0000 (20:12 +0000)]
* mkgroup.c (main): Fix test for duplicate domain/machine request.
* mkpasswd.c (main): Ditto.

16 years ago * mkgroup.c: Rework to allow per-domain/per-machine id_offset.
corinna [Wed, 23 Jul 2008 18:09:50 +0000 (18:09 +0000)]
* mkgroup.c: Rework to allow per-domain/per-machine id_offset.
Add -b option to skip builtin groups.
(main): Simplify code.
* mkpasswd.c: Rework to allow per-domain/per-machine id_offset.
(main): Simplify code.
* utils.sgml: Explain changed mkgroup/mkpasswd -d/-D/-l/-L options.
Add mkgroup -b option.

16 years ago * configure.ac (CONFIG_INITS): Delete long obsoleted variable.
bauermann [Wed, 23 Jul 2008 17:40:47 +0000 (17:40 +0000)]
* configure.ac (CONFIG_INITS): Delete long obsoleted variable.
* configure: Regenerate.

16 years ago2008-07-23 Simon Baldwin <simonb@google.com>
cgd [Wed, 23 Jul 2008 16:19:59 +0000 (16:19 +0000)]
2008-07-23  Simon Baldwin  <simonb@google.com>

        * symtab.cc (Symbol_table::sized_write_symbol): Only set st_size
        to zero for undefined symbols from dynamic libraries.

16 years ago * symtab.cc (Symbol_table::resolve): Remove version parameter.
ian [Wed, 23 Jul 2008 14:36:09 +0000 (14:36 +0000)]
* symtab.cc (Symbol_table::resolve): Remove version parameter.
Change all callers.
* symtab.h (class Symbol_table): Update declaration.
* testsuite/ver_test_9.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add ver_test_9.
(ver_test_9_SOURCES, ver_test_9_DEPENDENCIES): Define.
(ver_test_9_LDFLAGS, ver_test_9_LDADD): Define.
(ver_test_9.so, ver_test_9.o): New targets.
* testsuite/Makefile.in: Rebuild.

16 years ago * nto-procfs.c (procfs_xfer_memory): Changed signature.
aristovski [Wed, 23 Jul 2008 13:36:00 +0000 (13:36 +0000)]
* nto-procfs.c (procfs_xfer_memory): Changed signature.
(procfs_resume): Workaround for dereferencing type-punned pointer
warning.
* nto-tdep.c (nto_parse_redirection): Change signature to be const
correct.
* nto-tdep.h (nto_parse_redirection): Likewise.

16 years ago * mkgroup.c: Consolidate variable names.
corinna [Wed, 23 Jul 2008 11:41:10 +0000 (11:41 +0000)]
* mkgroup.c: Consolidate variable names.
(enum_unix_groups): New function.
(print_special): Use LookupAccountSidW instead of LookupAccountSidA.
(current_group): Ditto.
(usage): Add -U option.
(longopts): Add --unix option.
(opts): Add -U option.
(main): Handle -U option.  Call enum_unix_groups if set.
* mkpasswd.c: Consolidate variable names.
(current_user): Use LookupAccountSidW instead of LookupAccountSidA.
(enum_unix_users): New function.
(usage): Add -U option.
(longopts): Add --unix option.
(opts): Add -U option.
(main): Handle -U option.  Call enum_unix_groups if set.
* utils.sgml: Add -U option text to mkgroup and mkpasswd description.

16 years ago * spawn.cc (spawn_guts): Fix previous patch for UNC paths.
corinna [Wed, 23 Jul 2008 10:17:04 +0000 (10:17 +0000)]
* spawn.cc (spawn_guts): Fix previous patch for UNC paths.

16 years ago*** empty log message ***
gdbadmin [Wed, 23 Jul 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Wed, 23 Jul 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * options.h (class General_options): Define --check-sections.
ian [Tue, 22 Jul 2008 23:55:24 +0000 (23:55 +0000)]
* options.h (class General_options): Define --check-sections.
* layout.cc (Layout::set_segment_offsets): Handle
--check-sections.

16 years ago * options.h (class General_options): Define -n/--nmagic and
ian [Tue, 22 Jul 2008 23:01:20 +0000 (23:01 +0000)]
* options.h (class General_options): Define -n/--nmagic and
-N/--omagic.
* options.cc (General_options::finalize): For -n/--nmagic or
-N/--omagic, set -static.
* layout.cc (Layout::attach_allocated_section_to_segment): If
-N/--omagic, don't put read-only and read-write sections in
different segments.
(Layout::find_first_load_seg): If -N/--omagic, don't insist on
finding a read-only segment.
(Layout::set_segment_offsets): If -N/--omagic or -n/--nmagic,
don't set the minimum segment alignment to the common page size,
and don't set the file offset to the address modulo the page size.
* script-sections.cc (Script_sections::create_segments): If
-n/--omagic, don't put read-only and read-write sections in
different segments.

16 years ago * cref.cc: New file.
ian [Tue, 22 Jul 2008 22:08:43 +0000 (22:08 +0000)]
* cref.cc: New file.
* cref.h: New file.
* options.h (class General_options): Add --print-symbol-counts.
* main.cc (main): Issue defined symbol report if requested.
* archive.cc (Archive::interpret_header): Make into a const member
function.
(Archive::add_symbols): Call Input_objects::archive_start and
archive_stop.
(Archive::const_iterator): Define new class.
(Archive::begin, Archive::end): New functions.
(Archive::include_all_members): Rewrite to use iterator.
(Archive::count_members): New function.
* archive.h (class Archive): Update declarations.
(Archive::filename): New function.
* object.cc: Include "cref.h".
(Sized_relobj::Sized_relobj): Initialize defined_count_.
(Sized_relobj::do_get_global_symbol_counts): New function.
(Input_objects::add_object): Add object to cross-referencer.
(Input_objects::archive_start): New function.
(Input_objects::archive_stop): New function.
(Input_objects::print_symbol_counts): New function.
* object.h: Declare Cref and Archive.
(Object::get_global_symbol_counts): New function.
(Object::do_get_global_symbol_counts): New pure virtual function.
(class Sized_relobj): Add defined_count_ field.  Update
declarations.
(class Input_objects): Add cref_ field.  Update constructor.
Update declarations.
* dynobj.cc (Sized_dynobj::Sized_dynobj): Initialize symbols_ and
defined_count_.
(Sized_dynobj::do_add_symbols): Allocate symbols_ if printing
symbol counts.
(Sized_dynobj::do_get_global_symbol_counts): New function.
* dynobj.h (class Sized_dynobj): Add fields symbols_ and
defined_count_.  Update declarations.  Define Symbols typedef.
* symtab.cc (Symbol_table::add_from_relobj): Add defined
parameter.  Change all callers.
(Symbol_table::add_from_dynobj): Add sympointers and defined
parameters.  Change all callers.
* symtab.h (class Symbol_table): Update declarations.
* Makefile.am (CCFILES): Add cref.cc.
(HFILES): Add cref.h.
* Makefile.in: Rebuild.

16 years ago2008-07-22 Simon Baldwin <simonb@google.com>
cgd [Tue, 22 Jul 2008 21:02:44 +0000 (21:02 +0000)]
2008-07-22  Simon Baldwin  <simonb@google.com>

        * symtab.cc (Symbol_table::sized_write_symbol): Set symbol size
        to zero when writing undefined symbols.

16 years ago * mkgroup.c (enum_groups): Create full qualified groupname using
corinna [Tue, 22 Jul 2008 20:47:14 +0000 (20:47 +0000)]
* mkgroup.c (enum_groups): Create full qualified groupname using
domain or servername, depending on printing domain or machine accounts.
* mkpasswd.c (enum_users): Ditto for users.

16 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:41:59 +0000 (20:41 +0000)]
Initial revision

16 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:41:46 +0000 (20:41 +0000)]
Initial revision

16 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:40:18 +0000 (20:40 +0000)]
Initial revision

16 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:39:58 +0000 (20:39 +0000)]
Initial revision

16 years agoInitial revision
kseitz [Tue, 22 Jul 2008 20:39:42 +0000 (20:39 +0000)]
Initial revision

16 years agotouch all sources for Itcl 3.3/Iwidgets 4.0.1 upgrade
kseitz [Tue, 22 Jul 2008 20:32:44 +0000 (20:32 +0000)]
touch all sources for Itcl 3.3/Iwidgets 4.0.1 upgrade

16 years ago * mkgroup.c (main): Remove special root group code. Only print
corinna [Tue, 22 Jul 2008 20:12:02 +0000 (20:12 +0000)]
* mkgroup.c (main): Remove special root group code.  Only print
SYSTEM group in case of printing local machine or local domain groups.

16 years ago * tcl.m4: New file.
kseitz [Tue, 22 Jul 2008 20:11:35 +0000 (20:11 +0000)]
    * tcl.m4: New file.
        * acinclude.m4: Include tcl.m4 instead of ../config/acinclude.m4
        * aclocal.m4: Regenerated.
        * configure.ac: Do not check for ITCL_SH.
        Use SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG, SC_LOAD_TCLCONFIG, and
        SC_LOAD_TKCONFIG to find Tcl and Tk.
        Add some logic for when using in-tree Tcl/Tk.
        Change substitutes for TCL_BUILD_LIB_SPEC, TK_BUILD_LIB_SPEC, and
        TCLHDIR to accommodate using system-supplied Tcl and Tk.
        * configure: Regenerated.
        * Makefile.in: Regenerated.
        * library/Makefile.am: Replace ITCL_SH with TCLSH.
        Remove TCL_SHARED rules.
        (tclIndex): Update build rules.
        * library/Makefile.in: Regenerate.
        * library/balloon.tcl: Update for Itcl 3.2/3.3.
        * library/cframe.tcl: Likewise.
        * library/lframe.tcl: Likewise.
        * library/multibox.tcl: Likewise.
        * library/sendpr.tcl: Likewise.
        * library/ventry.tcl: Likewise.
        * library/wframe.tcl: Likewise.
        * src/Makefile.am (INCLUDES): Update.
        * src/Makefile.in: Regenerate.
        * src/paths.c (init_script): Accommodate builddir != srcdir.

16 years agoRemove erroneous ChangeLog entry.
corinna [Tue, 22 Jul 2008 17:31:35 +0000 (17:31 +0000)]
Remove erroneous ChangeLog entry.

16 years ago * spawn.cc (spawn_guts): Remove long path prefix from win32 path
corinna [Tue, 22 Jul 2008 16:59:58 +0000 (16:59 +0000)]
* spawn.cc (spawn_guts): Remove long path prefix from win32 path
before calling CreateProcess if path length is < MAX_PATH.