OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
amodra [Tue, 2 Jul 2002 23:48:44 +0000 (23:48 +0000)]
* Makefile.am (check-DEJAGNU): Revert 2002-06-25 change.
* Makefile.in: Regenerate.

22 years ago * frame.h (frame_address_in_block): New function.
brobecke [Tue, 2 Jul 2002 19:08:53 +0000 (19:08 +0000)]
    * frame.h (frame_address_in_block): New function.

        * blockframe.c (frame_address_in_block): New function extracted
        from get_frame_block().
        (get_frame_block): Use frame_address_in_block().
        (block_innermost_frame): Use frame_address_in_block() to match
        the frame pc address against the block boundaries rather than
        the frame pc directly. This prevents a failure when a frame pc
        is actually a return-address pointing immediately after the end
        of the given block.

22 years ago* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
dj [Tue, 2 Jul 2002 18:57:42 +0000 (18:57 +0000)]
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src].
* configure.in: Ditto.

22 years ago* MAINTAINERS: Add self under write after approval.
graces [Tue, 2 Jul 2002 18:25:40 +0000 (18:25 +0000)]
* MAINTAINERS: Add self under write after approval.

22 years ago2002-07-02 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Tue, 2 Jul 2002 18:18:55 +0000 (18:18 +0000)]
2002-07-02  Chris Demetriou  <cgd@broadcom.com>

        * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
        Check that one of them is defined and error out if not.
        Add any platforms defined in <machine/ieeefp.h> that are missing.
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
        (DB_LITTLE_ENDIAN): New defines.
        * libc/search/hash.c: Replace all incorrect checks for
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
        * libc/search/hash_page.c: Likewise.

22 years ago* m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
graces [Tue, 2 Jul 2002 18:13:50 +0000 (18:13 +0000)]
* m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not
used in architecture vector. The default is
m68k_local_breakpoint_from_pc.
(m68k_local_breakpoint_from_pc): Add.
(enum): Add register numbers from tm-m68k.h.
(m68k_gdbarch_init): Add breakpoint_from_pc to architecture vector.
* config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to
GDB_MULTI_ARCH_PARTIAL.
(BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP)
(NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to
m68k-tdep.c.
(BREAKPOINT, REMOTE_BREAKPOINT): Remove.
(A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move
to enum in m68k-tdep.c

22 years ago * solib-osf.c (open_map): Compute the list of shared libraries
brobecke [Tue, 2 Jul 2002 17:05:28 +0000 (17:05 +0000)]
    * solib-osf.c (open_map): Compute the list of shared libraries
        loaded by the inferior, rather than the list of libraries loaded
        by GDB itself.  Otherwise, GDB ends up reading the symbols from
        the wrong shared libraries...

22 years ago* i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
kettenis [Tue, 2 Jul 2002 13:48:15 +0000 (13:48 +0000)]
* i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static.
(LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove
macros.
(i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
Remove functions.
(FRAMELESS_SIGNAL): Remove function.
(i386_linux_frame_chain, i386_linux_frame_saved_pc,
i386_linux_saved_pc_after_call): Removed.
(i386_linux_init_abi): Initialize tdep->sigcontext_addr,
tdep->sc_pc_offset and tdep->sc_sp_offset.  Don't override
frame_chain, frame_saved_pc and saved_pc_after_call any longer.

22 years ago * mkgroup.c: Add function pointers for functions from advapi32.dll.
corinna [Tue, 2 Jul 2002 12:59:42 +0000 (12:59 +0000)]
* mkgroup.c: Add function pointers for functions from advapi32.dll.
(load_netapi): Load used functions from advapi32.dll.
(main): Use function pointers instead of statically linked functions
from advapi32.dll.

22 years ago * include/cygwin/version.h: Bump API minor version.
corinna [Tue, 2 Jul 2002 09:40:04 +0000 (09:40 +0000)]
* include/cygwin/version.h: Bump API minor version.

22 years ago* i386-tdep.c (i386_frameless_signal_p): New function.
kettenis [Tue, 2 Jul 2002 09:12:36 +0000 (09:12 +0000)]
* i386-tdep.c (i386_frameless_signal_p): New function.
(i386_frame_chain): Deal with frameless signals.
(i386_sigtramp_saved_sp): New function.
(i386_frame_saved_pc): Deal with frameless signals.
(i386_saved_pc_after_call): Make sure the correct value is
returned just after entry into a sigtramp.
* i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset,
i386fbsd4_sc_sp_offset): New variables.
(i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use
these variables to initialize tdep->sc_sp_offset.  * i386bsd-nat.c
(_initialize_i386bsd_nat): Add sanity check for sc_sp_offset
similiar to what we already did for sc_pc_offset.
* i386-sol2-tdep.c (i386_sol2_init_abi): Initialize
tdep->sc_sp_offset.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Tue, 2 Jul 2002 09:05:50 +0000 (09:05 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* elf64-s390.c (create_got_section): Set .got section alignment to
8 bytes.
(elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes.

22 years ago2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
sky [Tue, 2 Jul 2002 09:04:42 +0000 (09:04 +0000)]
2002-07-02  Martin Schwidefsky  <schwidefsky@de.ibm.com>
* config/tc-s390.c (tc_s390_fix_adjustable): Prevent any adjustment
to symbols in merge sections, even non pc-relative ones.

22 years ago * security.cc (get_logon_server): Interpret a zero length
corinna [Tue, 2 Jul 2002 09:02:52 +0000 (09:02 +0000)]
* security.cc (get_logon_server): Interpret a zero length
domain as the local domain.
(get_group_sidlist): Add authenticated users SID to SYSTEM's group
list instead of SYSTEM itself.
(verify_token): Accept the primary group sid if it equals
the token user sid.

22 years ago * cygwin.din (__fpclassifyd): Add symbol.
corinna [Tue, 2 Jul 2002 08:44:54 +0000 (08:44 +0000)]
* cygwin.din (__fpclassifyd): Add symbol.
(__fpclassifyf): Ditto.
(__signbitd): Ditto.
(__signbitf): Ditto.

22 years ago* i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.
kettenis [Tue, 2 Jul 2002 08:39:53 +0000 (08:39 +0000)]
* i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line.

22 years ago * security.h (DONT_INHERIT): Eliminate definition.
corinna [Tue, 2 Jul 2002 08:11:14 +0000 (08:11 +0000)]
* security.h (DONT_INHERIT): Eliminate definition.
(INHERIT_ALL): Ditto.
(INHERIT_ONLY): Ditto.
* sec_acl.cc: Use appropriate defines from accctrl.h instead of the
above throughout.
* security.cc: Ditto.

22 years ago2002-07-02 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Tue, 2 Jul 2002 05:50:10 +0000 (05:50 +0000)]
2002-07-02  Danny Smith <dannysmith@users.sourceforge.net>

* include/commctrl.h (WC_*): Remove some duplicate defines.

2002-07-02  Ken Fitlike  <kenfitlike@hotmail.com>

* include/commctrl.h (WC_IPADDRESS[AW]): Add defines and
UNICODE mappings.
(IPM*): Add defines.
(IPN_*): Add defines.
(NMIPADDRESS): Add structure and typedefs.
(MAKEIPADDRESS): Add macro.
(MAKEIPRANGE): Add macro.
(FIRST_IPADDRESS): Add macro.
(SECOND_IPADDRESS): Add macro.
(THIRD_IPADDRESS): Add macro.
(FOURTH_IPADDRESS): Add macro.

22 years ago * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.
amodra [Tue, 2 Jul 2002 04:31:20 +0000 (04:31 +0000)]
* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.

22 years ago * ldfile.c (ldfile_try_open_bfd): Formatting.
amodra [Tue, 2 Jul 2002 04:26:38 +0000 (04:26 +0000)]
* ldfile.c (ldfile_try_open_bfd): Formatting.

22 years ago * ldmisc.c (demangle): Move so that it doesn't intrude between
amodra [Tue, 2 Jul 2002 04:21:57 +0000 (04:21 +0000)]
* ldmisc.c (demangle): Move so that it doesn't intrude between
vfinfo comment and body.  Add comment.

22 years ago * budemang.c: New file, "demangle" function.
amodra [Tue, 2 Jul 2002 04:21:23 +0000 (04:21 +0000)]
* budemang.c: New file, "demangle" function.
* budemang.h: New file.
* addr2line.c (translate_addresses): Use "demangle".
* nm.c (print_symname): Likewise.
* objdump.c (objdump_print_symname): Likewise.
(dump_symbols): Likewise.  Also, don't use bfd_asymbol_name macro
here since that obfuscates.
* rdcoff.c: Don't #include demangle.h.
* Makefile.am (CFILES): Add budemang.c, emul_aix.c,
emul_vanilla.c.  Remove emul_$(EMULATION).c.  Sort.
(HFILES): Add budemang.h.  Sort.
(nm_new_SOURCES, objdump_SOURCES, addr2line_SOURCES): Add budemang.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

22 years agomerge from gcc
dj [Tue, 2 Jul 2002 04:09:34 +0000 (04:09 +0000)]
merge from gcc

22 years ago* syscalls.c (seteuid32): Return immediately if the program is not impersonated
cgf [Tue, 2 Jul 2002 03:06:32 +0000 (03:06 +0000)]
* syscalls.c (seteuid32): Return immediately if the program is not impersonated
and both uid and gid are original.
(setegid32): Return immediately if the new gid is the current egid.

22 years ago* syscalls.cc (seteuid32): Fix incorrect placement of Pierre's patch below.
cgf [Tue, 2 Jul 2002 01:53:58 +0000 (01:53 +0000)]
* syscalls.cc (seteuid32): Fix incorrect placement of Pierre's patch below.

22 years ago* syscalls.cc (seteuid32): Fix incorrect use of system_printf.
cgf [Tue, 2 Jul 2002 01:42:40 +0000 (01:42 +0000)]
* syscalls.cc (seteuid32): Fix incorrect use of system_printf.

22 years ago* autoload.cc (GetSecurityInfo): Define new autoload function.
cgf [Tue, 2 Jul 2002 01:36:14 +0000 (01:36 +0000)]
* autoload.cc (GetSecurityInfo): Define new autoload function.
(RegQueryInfoKeyA): Ditto.
* fhandler.h (fhandler_virtual::fill_filebuf): Change return type to bool.
(fhandler_proc::fill_filebuf): Ditto.
(fhandler_registry::fill_filebuf): Ditto.
(fhandler_process::fill_filebuf): Ditto.
(fhandler_registry::value_name): Add new member.
(fhandler_registry::close): Add new method.
(fhandler_process::p): Remove member.
* fhandler_proc.cc (fhandler_proc::open): Add set_nohandle after calling
superclass method.  Check return value of fill_filebuf.
(fhandler_proc::fill_filebuf): Change return type to bool.  Add return
statement.
* fhandler_process.cc (fhandler_process::open): Add set_nohandle after calling
superclass method.  Remove references to p.  Check return value of
fill_filebuf.
(fhandler_process::fill_filebuf): Change return type to bool.  Don't use
dereference operator on p.  Add return statement.
(fhandler_process::format_process_stat): Fix typo.
* fhandler_registry.cc: Add static open_key declaration.
(fhandler_registry::exists): Assume path is already normalised.  Try opening
the path as a key in its own right first, before reverting to enumerating
subkeys and values of the parent key.
(fhandler_registry::fstat): Add additional code to return more relevant
information about the registry key/value.
(fhandler_registry::readdir): Explicitly set desired access when opening
registry key.  Remove output of buf from debug_printf format string.
(fhandler_registry::open): Use set_io_handle to store registry key handle.  Set
value_name member.  Move code to read a value from the registry to
fill_filebuf.  Add call to fill_filebuf.
(fhandler_registry::close): New method.
(fhandler_registry::fill_filebuf): Change return type to bool.  Add code to
read a value from registry.
(fhandler_registry::open_key): Make function static.  Use KEY_READ as desired
access unless this is the last path component.  Check the return value of
RegOpenKeyEx for an error instead of hKey.
* fhandler_virtual.cc (fhandler_virtual::lseek): Check the return value of
fill_filebuf.
(fhandler_virtual::open): Remove call to set_nohandle.
(fhandler_virtual::fill_filebuf): Change return type to bool.  Add return
statement.
* security.cc (get_nt_object_attribute): New function.
(get_object_attribute): New function.
* security.h (get_object_attribute): New function declaration.

22 years ago*** empty log message ***
gdbadmin [Tue, 2 Jul 2002 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 2 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years agotypo fix
amodra [Mon, 1 Jul 2002 23:47:10 +0000 (23:47 +0000)]
typo fix

22 years ago* syscalls.c (seteuid32): Do not return an error when the token cannot be
cgf [Mon, 1 Jul 2002 23:42:04 +0000 (23:42 +0000)]
* syscalls.c (seteuid32): Do not return an error when the token cannot be
created only because of a problem with the gid.

22 years agoRemove redundant entry.
dj [Mon, 1 Jul 2002 23:18:33 +0000 (23:18 +0000)]
Remove redundant entry.

22 years agomerge from gcc:
dj [Mon, 1 Jul 2002 23:12:32 +0000 (23:12 +0000)]
merge from gcc:

2002-07-01  Nathanael Nerode <neroden@gcc.gnu.org>

* Makefile.in: Eliminate 'apache' targets.
* configure.in: Eliminate 'apache' targets.

* configure.in: Eliminate redundant tests.  Reorganize.

* Makefile.in: Eliminate last reference to LIBGCC1_TEST.

* config-ml.in: Eliminate references to Cygnus configure.

* Makefile.in: Eliminate references to building emacs.

2002-07-01  Denis Chertykov  <denisc@overta.ru>

* configure.in: Add support for ip2k.

22 years ago2002-07-02 Michal Ludvig <mludvig@suse.cz>
mludvig [Mon, 1 Jul 2002 22:09:48 +0000 (22:09 +0000)]
2002-07-02  Michal Ludvig  <mludvig@suse.cz>

* config/i386/tm-x86-64linux.h: New.
* config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE
definitions.
* config/i386/nm-x86-64.h: Rename to ...
* config/i386/nm-x86-64linux.h: ... this one.
* config/i386/x86-64linux.mh: Reflect the above change.

22 years ago* i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc
kettenis [Mon, 1 Jul 2002 21:16:30 +0000 (21:16 +0000)]
* i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc
with sigcontext_addr.  Add sc_sp_offset.
(i386bsd_sigtramp_saved_pc): Remove prototype.
(i386bsd_sicontext_addr): Add prototype.
* i386-tdep.c (i386_sigtramp_saved_pc): New function.
(i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc.
(i386_svr4_sigtramp_saved_pc): Removed.
(i386_svr4_sigcontext_addr): New function.
(i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc.
Initialize tdep->sigcontext_addr instead.  Initialize
tdep->sc_pc_offset and tdep->sc_sp_offset.
(i386_gdbarch_init): Likewise.
* i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static
any more.
(i386bsd_sigtramp_saved_pc): Remove function.
(i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc.
Initialize tdep->sigcontext_addr instead.  Initialize
tdep->sc_pc_offset.
* i386-linux-tdep.c (i386_linux_init_abi): Remove initialization
of tdep->sigtramp_saved_pc.
* i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize
tdep->sigtramp_saved_pc.  Initialize tdep->sigcontext_addr
instead.

22 years ago* mount.cc (main): Ensure that mount_already_exists() also gets default flag
cgf [Mon, 1 Jul 2002 20:54:35 +0000 (20:54 +0000)]
* mount.cc (main): Ensure that mount_already_exists() also gets default flag
that is passed to do_mount.
* cygpath.cc (long_options): Add "dos" and "mixed", correct "close", "file" and
"type" to use NULL flag.
(usage): Clean up usage output (more), accomodate new options.
(main): Add --dos and --mixed options; accomodate all output forms in --type.
Make UNIXy output default.

22 years ago* fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode.
cgf [Mon, 1 Jul 2002 19:03:25 +0000 (19:03 +0000)]
* fhandler_clipboard.c (fhandler_dev_clipboard::open): Force text mode.
* fhandler_console.cc (fhandler_console::open): *Really* force binary mode
rather than make it optional.
* fhandler_proc.cc (fhandler_proc::open): Ditto.
* fhandler_process.cc (fhandler_process::open): Ditto.
* fhandler_random.cc (fhandler_dev_random::fhandler_dev_random): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::open): Ditto.
* fhandler_registry.cc (fhandler_registry::open): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* fhandler_virtual.cc (fhandler_virtual::open): Ditto.
* fhandler_windows.cc (fhandler_windows::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
* net.cc (fdsock): Ditto.
* path.cc (set_flags): Add more debugging.

22 years agomerge from gcc
dj [Mon, 1 Jul 2002 18:02:30 +0000 (18:02 +0000)]
merge from gcc

22 years agoinclude/elf:
thorpej [Mon, 1 Jul 2002 16:43:35 +0000 (16:43 +0000)]
include/elf:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* Rename EF_* to EF_VAX_*.

bfd:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* elf32-vax.c (elf32_vax_print_private_bfd_data): Change EF_*
to EF_VAX_*.

binutils:

2002-07-01  Matt Thomas  <matt@3am-software.com>

* readelf.c: Include "elf/vax.h".
(guess_is_rela): Move EM_VAX from unknown to RELA case.
(dump_relocations): Handle VAX relocations.
(get_machine_flags): Handle VAX machine flags.

22 years ago* debug.cc (threads): Avoid initialization.
cgf [Mon, 1 Jul 2002 16:37:45 +0000 (16:37 +0000)]
* debug.cc (threads): Avoid initialization.
* uinfo.cc (cygheap_user::ontherange): (from Corinna Vinschen) Actually make
below changes work.

22 years ago* uinfo.cc (cygheap_user::ontherange): Make cygwin root the last resort for
cgf [Mon, 1 Jul 2002 15:50:02 +0000 (15:50 +0000)]
* uinfo.cc (cygheap_user::ontherange): Make cygwin root the last resort for
HOMEPATH/HOMEDRIVE for consistency with HOME.

22 years ago * shared.cc (sec_none): Move to sec_helper.cc.
corinna [Mon, 1 Jul 2002 14:31:28 +0000 (14:31 +0000)]
* shared.cc (sec_none): Move to sec_helper.cc.
(sec_none_nih): Ditto.
(sec_all): Ditto.
(sec_all_nih): Ditto.
(get_null_sd): Ditto.
(sec_acl): Ditto.
(__sec_user): Ditto.
* sec_helper.cc (sec_none): Move from shared.cc to here.
(sec_none_nih): Ditto.
(sec_all): Ditto.
(sec_all_nih): Ditto.
(get_null_sd): Ditto.
(sec_acl): Ditto.
(__sec_user): Ditto.

22 years ago* i386-tdep.c (i386_frameless_function_invocation,
kettenis [Mon, 1 Jul 2002 10:20:39 +0000 (10:20 +0000)]
* i386-tdep.c (i386_frameless_function_invocation,
i386_frame_num_args, i386_frame_init_saved_regs,
i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy,
i386_pop_frame, i386_push_arguments, i386_store_struct_return,
i386_extract_return_value, i386_store_return_value,
i386_extract_struct_value_address, i386_register_virtual_type,
i386_register_convertible, i386_register_convert_to_virtual,
i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc,
i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make
static.

22 years ago * elfxx-mips.c (ABI_64_P): Fix comment.
ths [Mon, 1 Jul 2002 10:01:00 +0000 (10:01 +0000)]
* elfxx-mips.c (ABI_64_P): Fix comment.
(MIPS_ELF_OPTIONS_SECTION_NAME,MIPS_ELF_STUB_SECTION_NAME): Use the
new section names for N64 ABI.
(mips_elf_output_extsym): No special _gp_disp handling for NewABI.
(mips_elf_calculate_relocation): Code formatting.
(mips_elf_create_dynamic_relocation): Likewise.
(_bfd_mips_elf_fake_sections): IRIX6 needs this hack, too.
(_bfd_mips_elf_size_dynamic_sections): Handle GOT_PAGE for any NewABI.
(_bfd_mips_elf_relocate_section): No special handling for R_MIPS_64
in any NewABI.
(_bfd_mips_elf_finish_dynamic_symbol): No special _gp_disp handling
for NewABI.
(_bfd_mips_elf_modify_segment_map): Handle any N64 ABI.
(_bfd_mips_elf_gc_sweep_hook): NewABI GOT relocs should be handled
here, too.

22 years ago* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.
kettenis [Mon, 1 Jul 2002 09:40:59 +0000 (09:40 +0000)]
* i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed.

22 years ago* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
kettenis [Mon, 1 Jul 2002 09:13:07 +0000 (09:13 +0000)]
* config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed.
* i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of
this macro.  Include "value.h".

22 years ago * elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
schwab [Mon, 1 Jul 2002 08:47:11 +0000 (08:47 +0000)]
* elf64-x86-64.c (elf64_x86_64_relocate_section): Only convert
R_X86_64_64 to R_X86_64_RELATIVE.

22 years ago * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.
amodra [Mon, 1 Jul 2002 08:32:29 +0000 (08:32 +0000)]
* emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format.

22 years ago * vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
amodra [Mon, 1 Jul 2002 08:31:51 +0000 (08:31 +0000)]
* vaxbsd.c: New BFD backend for VAX BSD and Ultrix.
* Makefile.am (BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Add new backend.
Run "make dep-am".
* config.bfd (vax-*-bsd* | vax-*-ultrix*): Use vaxbsd_vec instead of
host_aout_vec.
* configure.in (vaxbsd_vec): Add.
* targets.c (vaxbsd_vec): Add.
* Makefile.in: Rebuild.
* configure: Rebuild.
* po/SRC-POTFILES.in: Rebuild.

22 years ago * ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
amodra [Mon, 1 Jul 2002 08:07:29 +0000 (08:07 +0000)]
* ldlang.h (entry_sym): Make it a struct bfd_sym_chain.
* ldlang.c (entry_sym): Likewise.
(ldlang_undef_chain_list_type): Likewise.
(lang_finish): Adjust references to entry_symbol.
(lang_add_entry): Likewise.
(lang_gc_sections): Use link_info.gc_sym_list.
(lang_process): Set link_info.gc_sym_list.
* ldlex.l: Include bfdlink.h.
* ldmain.c (main): Init link_info.gc_sym_list.
* emultempl/aix.em: Adjust references to entry_symbol.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/ppc64elf.em (ppc_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
* emulparams/elf64ppc.sh: KEEP .opd sections.

22 years ago * elflink.h (elf_gc_mark): Pass in the section whose relocs we are
amodra [Mon, 1 Jul 2002 08:06:39 +0000 (08:06 +0000)]
* elflink.h (elf_gc_mark): Pass in the section whose relocs we are
examining to gc_mark_hook, rather than the bfd.
(elf_gc_sections): Adjust.
* elf-bfd.h (struct elf_backend_data <gc_mark_hook>): Likewise.
* elf-m10300.c (mn10300_elf_gc_mark_hook): Likewise.
* elf32-arm.h (elf32_arm_gc_mark_hook): Likewise.
* elf32-avr.c (elf32_avr_gc_mark_hook): Likewise.
* elf32-cris.c (cris_elf_gc_mark_hook): Likewise.
* elf32-d10v.c (elf32_d10v_gc_mark_hook): Likewise.
* elf32-fr30.c (fr30_elf_gc_mark_hook): Likewise.
* elf32-hppa.c (elf32_hppa_gc_mark_hook): Likewise.
* elf32-i386.c (elf_i386_gc_mark_hook): Likewise.
* elf32-m32r.c (m32r_elf_gc_mark_hook): Likewise.
* elf32-m68k.c (elf_m68k_gc_mark_hook): Likewise.
* elf32-mcore.c (mcore_elf_gc_mark_hook): Likewise.
* elf32-openrisc.c (openrisc_elf_gc_mark_hook): Likewise.
* elf32-ppc.c (ppc_elf_gc_mark_hook): Likewise.
* elf32-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf32-sh.c (sh_elf_gc_mark_hook): Likewise.
* elf32-sparc.c (elf32_sparc_gc_mark_hook): Likewise.
* elf32-v850.c (v850_elf_gc_mark_hook): Likewise.
* elf32-vax.c (elf_vax_gc_mark_hook): Likewise.
* elf32-xstormy16.c (xstormy16_elf_gc_mark_hook): Likewise.
* elf64-mmix.c (mmix_elf_gc_mark_hook): Likewise.
* elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* elf64-s390.c (elf_s390_gc_mark_hook): Likewise.
* elf64-sh64.c (sh_elf64_gc_mark_hook): Likewise.
* elfxx-mips.c (_bfd_mips_elf_gc_mark_hook): Likewise.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_gc_mark_hook): Likewise.
* elf32-frv.c (elf32_frv_gc_mark_hook): Likewise.  Also remove
redundant local sym tests.
* elf64-ppc.c (struct ppc_link_hash_entry): Add is_entry.
(link_hash_newfunc): Init is_entry.
(ppc64_elf_copy_indirect_symbol): Copy is_entry.
(ppc64_elf_link_hash_table_create): Init all_local_syms.
(create_linkage_sections): Use bfd_make_section_anyway rather than
bfd_make_section.
(ppc64_elf_mark_entry_syms): New function.
(ppc64_elf_check_relocs): Don't bother testing elf_bad_symtab.  Set
up opd entry to function section map.
(ppc64_elf_gc_mark_hook): Special case opd section relocs, and
relocs that reference the opd section.
(edit_opd): New function.
(ppc64_elf_size_dynamic_sections): Call get_local_syms and edit_opd.
(ppc64_elf_setup_section_lists): Don't calculate htab->bfd_count here.
(get_local_syms): Do so here.  Exit if we already have local syms.
Remove bogus comment imported from elf32-hppa.c.  Don't attempt to
read local syms on non-ELF input.
(ppc64_elf_size_stubs): Call _bfd_elf64_link_read_relocs rather
than duplicating it's function here.  Adjust free of internal
relocs to suit.
(ppc64_elf_relocate_section): Adjust local syms in opd section.
* elf64-ppc.h (ppc64_elf_mark_entry_syms): Declare.
* elf32-hppa.c (elf32_hppa_size_stubs): Call
_bfd_elf32_link_read_relocs rather than duplicating it's function
here.  Adjust free of internal relocs to suit.

22 years ago * bfdlink.h (struct bfd_sym_chain): Declare.
amodra [Mon, 1 Jul 2002 08:04:47 +0000 (08:04 +0000)]
* bfdlink.h (struct bfd_sym_chain): Declare.
(struct bfd_link_info): Add gc_sym_list.  Formatting fixes.

22 years ago * elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
aj [Mon, 1 Jul 2002 06:42:27 +0000 (06:42 +0000)]
* elf64-x86-64.c (elf64_x86_64_check_relocs): Certain relocations
are not allowed in shared libs code, enforce -fPIC.

22 years ago* uinfo.cc (cygheap_user::ontherange): Potentially set HOME from existing
cgf [Mon, 1 Jul 2002 03:57:16 +0000 (03:57 +0000)]
* uinfo.cc (cygheap_user::ontherange): Potentially set HOME from existing
homepath and homedrive cygheap_user fields (not currently used yet).  Set HOME
to / if no other alternative.
(cygheap_user::test_uid): Simplify.

22 years agowhite space
cgf [Mon, 1 Jul 2002 02:36:04 +0000 (02:36 +0000)]
white space

22 years agowhite space
cgf [Mon, 1 Jul 2002 02:35:16 +0000 (02:35 +0000)]
white space

22 years ago* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
cgf [Mon, 1 Jul 2002 02:11:29 +0000 (02:11 +0000)]
* environ.cc (parse_options): Use setenv to potentially replace CYGWIN value on
export.  Fixes broken behavior since November 2000 changes.
(regopt): Return indication of whether or not something has been parsed from
the registry.
(environ_init): Only attempt to export CYGWIN variable when values were set
from the registry.  It is exported automatically otherwise.

22 years ago*** empty log message ***
gdbadmin [Mon, 1 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 1 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* fhandler.h (fhandler_process::pid): New field.
cgf [Sun, 30 Jun 2002 23:02:58 +0000 (23:02 +0000)]
* fhandler.h (fhandler_process::pid): New field.
(fhandler_process::fstat): Remove unneeded array.  Set pid element.
(fhandler_process::open): Ditto.
(fhandler_process::fill_filebuf): Handle case where 'p' field is NULL.

22 years ago * utils-gen.scm (-gen-extract-word): Handle lsb0?.
hp [Sun, 30 Jun 2002 22:48:48 +0000 (22:48 +0000)]
* utils-gen.scm (-gen-extract-word): Handle lsb0?.

22 years agoRemove ada-lex.c and ada-exp.tab.c as they are generated files
aidan [Sun, 30 Jun 2002 22:04:33 +0000 (22:04 +0000)]
Remove ada-lex.c and ada-exp.tab.c as they are generated files

22 years ago* config/i386/tm-i386.h (struct frame_info, struct
kettenis [Sun, 30 Jun 2002 18:55:15 +0000 (18:55 +0000)]
* config/i386/tm-i386.h (struct frame_info, struct
frame_saved_regs, struct value, struct type): Remove forward
declarations.

22 years ago * readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.
ciceron [Sun, 30 Jun 2002 18:43:33 +0000 (18:43 +0000)]
* readelf.c (dump_relocations): Handle 68HC11/68HC12 relocations.

22 years ago* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
kettenis [Sun, 30 Jun 2002 18:43:05 +0000 (18:43 +0000)]
* config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET, HAVE_SSE_REGS): Remove define.
* config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS]
(FILL_FPXREGSET): Define.

22 years ago* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.
kettenis [Sun, 30 Jun 2002 17:22:56 +0000 (17:22 +0000)]
* config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define.

22 years ago* configure.tgt (i[3456]86-*-openbsd*): Fold into
kettenis [Sun, 30 Jun 2002 17:19:51 +0000 (17:19 +0000)]
* configure.tgt (i[3456]86-*-openbsd*): Fold into
i[3456]86-*-netbsd* case.
* config/i386/tm-obsd.h: Removed.
* config/i386/obsd.mt: Removed.
* config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and
core-aout.o.
(MH_CFLAGS): Add -DYYDEBUG=0.

22 years ago* fhandler.h (fhandler_process::p): New field.
cgf [Sun, 30 Jun 2002 17:05:48 +0000 (17:05 +0000)]
* fhandler.h (fhandler_process::p): New field.
(fhandler_process:fill_filebuf): Revert to same definition as virtual in parent
class.
(fhandler_process::open): Fill out p field rather than passing as an argument.
(fhandler_process::fill_filebuf): Use p pointer rather than argument.

22 years ago* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
kettenis [Sun, 30 Jun 2002 17:01:41 +0000 (17:01 +0000)]
* i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to
i386nbsd_sc_pc_offset on OpenBSD too.

22 years ago* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
kettenis [Sun, 30 Jun 2002 14:43:21 +0000 (14:43 +0000)]
* config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS]
(IN_SOLIB_CALL_TRAMPOLINE): Remove define.
* config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove
define.
* i386bsd-tdep.c: Include "arch-utils.h".
(i386bsd_aout_in_solib_call_trampoline): New function.
(i386bsd_init_abi): Set in_solib_call_trampoline to
i386bsd_aout_in_solib_call_trampoline.
(i386nbsdelf_init_abi, i386fbsd_init_abi): Set
in_solib_call_trampoline to generic_in_solib_call_trampoline.

22 years ago * security.cc (extract_nt_dom_user): Check for all buffer overflows.
corinna [Sun, 30 Jun 2002 13:08:58 +0000 (13:08 +0000)]
* security.cc (extract_nt_dom_user): Check for all buffer overflows.
Call LookupAccountSid after trying to get domain & user from passwd.
(get_group_sidlist): Obtain the domain and user by calling
extract_nt_dom_user instead of LookupAccountSid.

22 years ago*** empty log message ***
gdbadmin [Sun, 30 Jun 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sun, 30 Jun 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.
cgf [Sat, 29 Jun 2002 23:45:07 +0000 (23:45 +0000)]
* uinfo.cc (cygheap_user::test_uid): Use standard issetuid test.

22 years ago* autoload.cc (NetGetDCName): Change to make this an optional load function.
cgf [Sat, 29 Jun 2002 22:05:30 +0000 (22:05 +0000)]
* autoload.cc (NetGetDCName): Change to make this an optional load function.
* cygheap.h (cygheap_user::logsrv): Return NULL when operation fails.
(cygheap_user::winname): Ditto.
(cygheap_user::domain): Ditto.
* uinfo.cc (cygheap_user::env_logsrv): Save results in temp variable.
(cygheap_user::env_userprofile): Ditto.

22 years ago * mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
hp [Sat, 29 Jun 2002 21:45:08 +0000 (21:45 +0000)]
* mmo.c (mmo_write_loc_chunk): Don't eliminate leading and
trailing zero-sequences when there's previous left-over data.

22 years ago * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
hp [Sat, 29 Jun 2002 21:33:28 +0000 (21:33 +0000)]
* ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s,
ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test.

22 years ago* environ.cc (spenv::retrieve): Detect return of env_dontadd from cygheap_user
cgf [Sat, 29 Jun 2002 17:26:12 +0000 (17:26 +0000)]
* environ.cc (spenv::retrieve): Detect return of env_dontadd from cygheap_user
methods.
(build_env): Avoid incrementing environment pointer if not actually adding to
the environment.  That could result in garbage in the environment table.  Be
more defensive when reallocing envblock.

22 years ago * config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.
ciceron [Sat, 29 Jun 2002 15:52:31 +0000 (15:52 +0000)]
* config/tc-m68hc11.h (m68hc11_listing_header): Fix warning.

22 years ago * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
ciceron [Sat, 29 Jun 2002 10:33:43 +0000 (10:33 +0000)]
* emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define.
* emulparams/m68hc11elf.sh (EEPROM_SIZE): Define.
(EEPROM_START_ADDR): Define.
(EEPROM_MEMORY): Define.
* emulparams/m68hc12elf.sh: Likewise.
* scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs
section to put soft registers in .page0.
* scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss.

22 years ago * config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
ciceron [Sat, 29 Jun 2002 10:32:32 +0000 (10:32 +0000)]
* config/tc-m68hc11.h (ELF_TC_SPECIAL_SECTIONS): New sections
.softregs and .eeprom.

22 years ago* uinfo.cc (cygheap_user::test_uid): Return NULL or further tests are sorta
cgf [Sat, 29 Jun 2002 06:50:16 +0000 (06:50 +0000)]
* uinfo.cc (cygheap_user::test_uid): Return NULL or further tests are sorta
useless.
(cygheap_user::env_domain): Recalculate if name is missing.

22 years ago* environ.cc (spenv::from_cygheap): Still need to take setuid into
cgf [Sat, 29 Jun 2002 06:40:18 +0000 (06:40 +0000)]
* environ.cc (spenv::from_cygheap): Still need to take setuid into
consideration.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
obrien [Sat, 29 Jun 2002 04:54:59 +0000 (04:54 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* NEWS: Note the next release is 2.13.

22 years ago* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case where no
cgf [Sat, 29 Jun 2002 03:14:10 +0000 (03:14 +0000)]
* uinfo.cc (cygheap_user::env_logsrv): Return "almost_null" in case where no
domain or username is "SYSTEM".

22 years ago* cygheap.h (cygheap_user): Reorg to accommodate environment caching.
cgf [Sat, 29 Jun 2002 02:36:08 +0000 (02:36 +0000)]
* cygheap.h (cygheap_user): Reorg to accommodate environment caching.
(cygheap_user::logsrv): New method.
(cygheap_user::winname): Ditto.
(cygheap_user::domain): Ditto.
(cygheap_user::test_uid): Ditto.
* cygheap.cc (cygheap_user::set_name): Reflect name "pwinname" name change.
* environ.cc (getwinenveq): New function.
(spenv::from_cygheap): Change arguments.
(spenv::retrieve): Ditto for call.  Use getwinenveq to retrieve info from
environment.  Always return value from cygwin environment, if it exists.
* environ.h (getwinenveq): Declare.
* uinfo.cc (cygheap_user::ontherange): Use logsrv() rather than env_logsrv().
(cygheap_user::test_uid): Define new method.
(cygheap_user::env_logsrv): Accept environment arguments.  Use test_uid to find
info.
(cygheap_user::env_domain): Ditto.
(cygheap_user::env_userprofile): Ditto.
(cygheap_user::env_homepath): Ditto.
(cygheap_user::env_homedrive): Ditto.
(cygheap_user::env_name): Ditto.

22 years ago*** empty log message ***
gdbadmin [Sat, 29 Jun 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 29 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* macrotab.h: Do not include "obstack.h" or "bcache.h".
cagney [Fri, 28 Jun 2002 23:42:33 +0000 (23:42 +0000)]
* macrotab.h: Do not include "obstack.h" or "bcache.h".
(struct obstack, struct bcache): Add opaque declarations.
* Makefile.in (macrotab_h): Update

22 years ago* blockframe.c (generic_find_dummy_frame): Change return type to
cagney [Fri, 28 Jun 2002 22:38:29 +0000 (22:38 +0000)]
* blockframe.c (generic_find_dummy_frame): Change return type to
``struct regcache''.
(struct dummy_frame): Replace field ``registers'' with regcache, a
struct regcache object.
(generic_find_dummy_frame): Update.
(generic_push_dummy_frame): Update.  Use regcache_xfree,
regcache_xmalloc and regcache_cpy.
(generic_pop_dummy_frame): Update.  Use regcache_cpy and
regcache_xfree.
(deprecated_generic_find_dummy_frame): Update.
(generic_read_register_dummy): Update.  Use
regcache_read_as_address.
(generic_call_dummy_register_unwind): Update.  Use regcache_read.
(generic_get_saved_register): Update.  Use regcache_read.

22 years ago* Makefile.in (objfiles_h): Add $(bcache_h).
cagney [Fri, 28 Jun 2002 22:09:11 +0000 (22:09 +0000)]
* Makefile.in (objfiles_h): Add $(bcache_h).
* objfiles.h: Include "bcache.h".

* Makefile.in (symtab_h): Remove $(bcache_h).
* symtab.h: Do not include "bcache.h".

22 years ago* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
cagney [Fri, 28 Jun 2002 22:07:20 +0000 (22:07 +0000)]
* ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to
generic_func_frame_chain_valid.

22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 28 Jun 2002 18:44:47 +0000 (18:44 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.

22 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Use
cagney [Fri, 28 Jun 2002 16:15:06 +0000 (16:15 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use
generic_unwind_get_saved_register.

22 years ago * libm/mathfp/sf_pow.c (powf): Change k from int to float.
fitzsim [Fri, 28 Jun 2002 15:32:44 +0000 (15:32 +0000)]
* libm/mathfp/sf_pow.c (powf): Change k from int to float.

22 years agoExtend search path for config.guess to include $libdir/../../libexec.
nickc [Fri, 28 Jun 2002 07:43:31 +0000 (07:43 +0000)]
Extend search path for config.guess to include $libdir/../../libexec.
This is where an install from the top level build directory will place it,
because the top level Makefile overrides the definition of $(libexecdir).

22 years agodaily update
amodra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Jun 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
jjohnstn [Thu, 27 Jun 2002 23:58:36 +0000 (23:58 +0000)]
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
        * libc/include/time.h: Same.
        * libc/include/string.h: Same.
        * libc/include/stdlib.h: Same.
        * libc/include/signal.h: Same.
        * libc/include/setjmp.h: Same.
        * libc/include/math.h: Same.
        * libc/include/locale.h: Same.
        * libc/include/ctype.h: Same.
        * libc/include/machine/setjmp.h: Same.
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
        (_END_STD_C): Add.

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
law [Thu, 27 Jun 2002 22:57:48 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.