OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
amodra [Tue, 13 Aug 2002 02:08:25 +0000 (02:08 +0000)]
* emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1.
(MAXPAGESIZE): Set to 1.

* ld.h (ALIGN_N): Delete.
* ldexp.h (align_n): Declare.
* ldexp.c (align_n): New function.
(fold_binary): Use align_n instead of ALIGN_N.
(exp_fold_tree): Likewise.
* ldlang.c (lang_size_sections_1): Likewise.
(lang_one_common): Likewise.

21 years ago2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 13 Aug 2002 00:11:50 +0000 (00:11 +0000)]
2002-08-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
        Declare as extern chars and use the address operator to
        properly use values set in linker script.

21 years ago*** empty log message ***
gdbadmin [Tue, 13 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 13 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * include/commdlg.h: Don't include COM headers if __OBJC__.
dannysmith [Mon, 12 Aug 2002 23:33:09 +0000 (23:33 +0000)]
* include/commdlg.h: Don't include COM headers if __OBJC__.

21 years ago * include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
dannysmith [Mon, 12 Aug 2002 23:10:15 +0000 (23:10 +0000)]
* include/wincrypt.h (CryptDuplicateHash, CryptDuplicateKey):
Add prototypes.

21 years ago2002-08-12 Andriy Palamarchuk <apa3a@yahoo.com>
dannysmith [Mon, 12 Aug 2002 22:24:28 +0000 (22:24 +0000)]
2002-08-12  Andriy Palamarchuk  <apa3a@yahoo.com>

* include/shellapi.h (FOF_NOERRORUI): Add define.

21 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Aug 2002 19:23:33 +0000 (19:23 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Preserve section across
elf_merge_symbol.

21 years ago2002-08-12 H.J. Lu <hjl@gnu.org>
hjl [Mon, 12 Aug 2002 19:21:59 +0000 (19:21 +0000)]
2002-08-12  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers23.

* ld-elfvers/vers23.c: New.
* ld-elfvers/vers23.dsym: New.
* ld-elfvers/vers23.ver: New.
* ld-elfvers/vers23a.c: New.
* ld-elfvers/vers23a.dsym: New.
* ld-elfvers/vers23a.map: New.
* ld-elfvers/vers23a.sym: New.
* ld-elfvers/vers23a.ver: New.
* ld-elfvers/vers23b.c: New.
* ld-elfvers/vers23b.dsym: New.
* ld-elfvers/vers23b.map: New.
* ld-elfvers/vers23b.ver: New.

21 years ago2002-08-12 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 12 Aug 2002 19:05:33 +0000 (19:05 +0000)]
2002-08-12  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete
declarations.
* i386-linux-tdep.c (i386_linux_register_byte): Delete function.
(i386_linux_register_raw_size): Delete function.
i386_linux_init_abi): Update.
* i386-tdep.c (i386_register_raw_size): Delete function.
(i386_register_byte): Delete function.
(i386_gdbarch_init): Update.
(i386_register_size): Delete array.
(i386_register_offset): Delete array.

* config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro.
(REGISTER_RAW_SIZE): Delete macro.
* config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro.
(REGISTER_BYTE): Delete macro.

21 years ago * fhandler.h (fhandler_socket::recv): Remove method.
scottc [Mon, 12 Aug 2002 13:54:12 +0000 (13:54 +0000)]
* fhandler.h (fhandler_socket::recv): Remove method.
(fhandler_socket::send): Ditto.
* fhandler_socket.cc (fhandler_socket::recv): Ditto.
(fhandler_socket::send): Ditto.
(fhandler_socket::read): Delegate to fhandler_socket::recvfrom.
(fhandler_socket::write): Delegate to fhandler_socket::sendto.
(fhandler_socket::sendto): Check for null `to' address.
* net.cc (cygwin_sendto): Check for zero request length.
(cygwin_recvfrom): Ditto.  Fix signature, use void *buf.
(cygwin_recv): Delegate to cygwin_recvfrom.
(cygwin_send): Delegate to cygwin_sendto.

21 years ago * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
hp [Mon, 12 Aug 2002 09:01:17 +0000 (09:01 +0000)]
* ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section
listing.
* ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd,
ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise.

21 years ago * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
hp [Mon, 12 Aug 2002 08:51:10 +0000 (08:51 +0000)]
* ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols
is no longer set to object.
* ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd,
ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd,
ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd,
ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd,
ld-sh/sh64/shdl64.xd: Likewise.

21 years ago[gas/]
rsandifo [Mon, 12 Aug 2002 08:33:42 +0000 (08:33 +0000)]
[gas/]
* config/tc-mips.c (mips_ip): Don't work out the value of
constant %hi()s here.

[gas/testsuite/]
* gas/mips/elf-consthilo.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago[gas/]
rsandifo [Mon, 12 Aug 2002 08:30:49 +0000 (08:30 +0000)]
[gas/]
* config/tc-mips.c (mips_ip): Don't work out the value of
constant %hi()s here.

[gas/testsuite/]
* gas/mips/elf-consthilo.[sd]: New test.
* gas/mips/mips.exp: Run it.

21 years ago*** empty log message ***
gdbadmin [Mon, 12 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 12 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * include/objidl.h (IEnumMoniker): Put 'interface' back.
dannysmith [Sun, 11 Aug 2002 21:16:29 +0000 (21:16 +0000)]
* include/objidl.h (IEnumMoniker): Put 'interface' back.

21 years ago* cygthread.cc (cygthread::cygthread): Close another race.
cgf [Sun, 11 Aug 2002 19:31:24 +0000 (19:31 +0000)]
* cygthread.cc (cygthread::cygthread): Close another race.

21 years ago* assert.cc (__assert): Call debugger on assertion failure if debugging.
cgf [Sun, 11 Aug 2002 19:19:29 +0000 (19:19 +0000)]
* assert.cc (__assert): Call debugger on assertion failure if debugging.
* dcrt0.cc (dll_crt0_1): Just wait for signal thread to go live rather than
going through the overhead of invoking it.
* fork.cc (fork_child): Ditto.
* exceptions.cc (signal_fixup_after_fork): Call sigproc_init here.
* sigproc.cc (proc_can_be_signalled): Assume that the signal thread is live.
(sig_dispatch): Ditto.
(sig_send): Ditto.
(wait_for_sigthread): Renamed from "wait_for_me".  Assume that wait_sig_inited
has been set and that this function is only called from the main thread.
* winsup.h (wait_for_sigthread): Declare new function.

21 years ago * ada-lang.c (ada_lookup_partial_symbol)
aidan [Sun, 11 Aug 2002 18:15:49 +0000 (18:15 +0000)]
* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
prototype names so that grep ^func works properly.

* ada-lang.c (ada_array_element_type)
(ada_lookup_partial_symbol): Fix typos in parameter list.

* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
Fix prototype names so that grep ^func works properly.

21 years ago * ada-lang.c (ada_lookup_partial_symbol)
aidan [Sun, 11 Aug 2002 18:14:51 +0000 (18:14 +0000)]
* ada-lang.c (ada_lookup_partial_symbol)
(to_fixed_variant_branch_type) (find_line_in_linetable): Fix
prototype names so that grep ^func works properly.

* ada-lang.c (ada_array_element_type)
(ada_lookup_partial_symbol): Fix typos in parameter list.

* ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1):
Fix prototype names so that grep ^func works properly.

21 years ago * include/objidl.h (IEnumMoniker): Correct declaration.
dannysmith [Sun, 11 Aug 2002 07:36:43 +0000 (07:36 +0000)]
* include/objidl.h (IEnumMoniker): Correct declaration.

21 years ago*** empty log message ***
gdbadmin [Sun, 11 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 11 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago * w32sdk: New winsup module.
earnie [Sat, 10 Aug 2002 15:07:51 +0000 (15:07 +0000)]
* w32sdk: New winsup module.

21 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
amodra [Sat, 10 Aug 2002 14:49:47 +0000 (14:49 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
for ELF, and don't bother checking ELF relocs when non-ELF.
(i386_immediate): Allow absolute_section expressions for aout.
(i386_displacement): Likewise.  Also test bfd_is_com_section.
(md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
(md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
not when fx_addsy.  Remove dead code.

21 years ago * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
amodra [Sat, 10 Aug 2002 12:48:52 +0000 (12:48 +0000)]
* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
* ld-linkonce/linkonce.exp: Likewise.
* ld-selective/sel-dump.exp: Likewise.
* ld-selective/selective.exp: Don't run on aout or bout.

21 years ago2002-08-10 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 05:12:39 +0000 (05:12 +0000)]
2002-08-10  Andrew Cagney  <cagney@redhat.com>
            Elena Zannoni  <ezannoni@redhat.com>
            Martin M. Hunt  <hunt@redhat.com>

* gdbtypes.c (build_builtin_type_vec128): Set the vector bit.
(build_builtin_type_vec128i): Set the vector bit.
* gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare.
* gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define.
(build_builtin_type_vec64): New function.
(build_builtin_type_vec64i): New function.
(build_gdbtypes): Initialize builtin_type_vec64 and
builtin_type_vec64i.

21 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 02:00:16 +0000 (02:00 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c (regcache_dump): Compare the register offset
with REGISTER_BYTE.
* arch-utils.c (generic_register_byte): New function.
* arch-utils.h (generic_register_byte): Declare.
* gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte.
* gdbarch.h, gdbarch.c: Regenerate.

21 years agoOversights in previous checkin.
msnyder [Sat, 10 Aug 2002 01:09:10 +0000 (01:09 +0000)]
Oversights in previous checkin.

21 years agoShh, revert unintended commit.
cagney [Sat, 10 Aug 2002 00:40:40 +0000 (00:40 +0000)]
Shh, revert unintended commit.

21 years ago2002-08-09 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 10 Aug 2002 00:36:46 +0000 (00:36 +0000)]
2002-08-09  Andrew Cagney  <cagney@redhat.com>

* regcache.c: Include "gdbcmd.h"
(_initialize_regcache): Add commands "maintenance print
registers", "maintenance print raw-registers" and "maintenance
print cooked-registers".
(enum regcache_dump_what): Define.
(dump_endian_bytes): New function.
(regcache_dump): New function.
(regcache_print): New function.
(maintenance_print_registers): New function.
(maintenance_print_raw_registers): New function.
(maintenance_print_cooked_registers): New function.
* Makefile.in (regcache.o): Update dependencies.

21 years ago2002-08-09 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 10 Aug 2002 00:34:04 +0000 (00:34 +0000)]
2002-08-09  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
(mips_push_arguments): Correct some comments.  Use paddr_nz
for printing addresses in debug output.  Replace static
allocation using MAX_REGISTER_RAW_SIZE with alloca.
(mips_n32n64_push_arguments): New function, cloned from
mips_push_arguments and tuned for the n32/n64 ABI.
(mips_push_register): Buffer needs dynamic allocation.
(mips_print_register): Ditto.
(do_gp_register_row): Ditto.
(mips_store_return_value): Ditto.
(mips_gdbarch_init): Set gdbarch_push_arguments per ABI.

21 years ago*** empty log message ***
gdbadmin [Sat, 10 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sat, 10 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-09 Don Howard <dhoward@redhat.com>
dhoward [Fri, 9 Aug 2002 22:50:31 +0000 (22:50 +0000)]
2002-08-09  Don Howard  <dhoward@redhat.com>

        * memattr.c (mem_info_command): Print special case of upper bound
        as max CORE_ADDR + 1.

21 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Aug 2002 21:58:14 +0000 (21:58 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_n32n64_use_struct_convention): N32 only
returns structs by ref if they're too big to fit in two registers.

21 years ago2002-08-09 Jason Tishler <jason@tishler.net>
jjohnstn [Fri, 9 Aug 2002 21:33:29 +0000 (21:33 +0000)]
2002-08-09  Jason Tishler  <jason@tishler.net>

        * libc/stdlib/mallocr.c: Include <limits.h>.
        (request2size): Change macro to do
        unsigned long comparisons and avoid signed overflow.
        (mALLOc): Add overflow check for the number of bytes to allocate.
        (rEALLOc): Ditto.

21 years ago2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 9 Aug 2002 21:12:07 +0000 (21:12 +0000)]
2002-08-09  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Add check for --enable-newlib-io-pos-args
        and define WANT_IO_POS_ARGS flag if enabled.  Define
        the flag by default for x86-linux configurations.
        * configure.in: Add support for --enable-newlib-io-pos-args.
        * libc/configure.in: Ditto.
        * configure: Regenerated.
        * libc/configure: Ditto.
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
        vfprintf.c and vfiprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/vfprintf.c: Add positional argument support that
        is enabled by compiling with -DWANT_IO_POS_ARGS.

21 years agoFix minor formatting problem in previous patch.
kevinb [Fri, 9 Aug 2002 20:38:49 +0000 (20:38 +0000)]
Fix minor formatting problem in previous patch.

21 years ago * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
kevinb [Fri, 9 Aug 2002 20:30:20 +0000 (20:30 +0000)]
* mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's
saved regs value.
(read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of
mips_find_saved_regs().
(mips_pop_frame): Likewise.

21 years ago * blockframe.c (frame_saved_regs_register_unwind): Revise
kevinb [Fri, 9 Aug 2002 18:26:15 +0000 (18:26 +0000)]
* blockframe.c (frame_saved_regs_register_unwind): Revise
PC_IN_CALL_DUMMY assertion to only apply when generic dummy
frames are in use.

21 years ago * remote.c: (remote_wait, remote_async_wait): Add check for awatch
graces [Fri, 9 Aug 2002 16:41:24 +0000 (16:41 +0000)]
    * remote.c: (remote_wait, remote_async_wait): Add check for awatch
        T-packets; the 'a' is not taken as a register number.
(remote_check_watch_resources, remote_stopped_by_watchpoint)
        (remote_stopped_data_address): New functions; add to target
        vector.
        (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change
        prototypes to match other implementations of this
        function. replace integer argument with pointer -- the length
        field in the Z-packet is the length of what is pointed to or 1 if
        pointer is null. Add to target vector.
        (remote_insert_watchpoint, remote_remove_watchpoint): Add to
        target vector.

        From Mark Salter:
        * remote.c (remote_wait): Add support to extract optional
        watchpoint information from T-packet. Ignore unrecognized
        optional info in T-packet.
        (remote_async_wait): Ditto.
doc:
From Mark Salter:
* gdb.texinfo (Protocol): Document T packet extension to
allow watchpoint address reporting.

21 years ago * cli/cli-dump.c: Change fopen modes to use binary open modes
corinna [Fri, 9 Aug 2002 16:36:10 +0000 (16:36 +0000)]
* cli/cli-dump.c: Change fopen modes to use binary open modes
as defined in include/fopen-bin.h throughout.

21 years agoOops - omitted from previous delta
nickc [Fri, 9 Aug 2002 15:39:19 +0000 (15:39 +0000)]
Oops - omitted from previous delta

21 years agoAdd QNX Neutrino PowerPC support and common up QNX functions
nickc [Fri, 9 Aug 2002 15:38:20 +0000 (15:38 +0000)]
Add QNX Neutrino PowerPC support and common up QNX functions

21 years agoUpdated Swedish translation
nickc [Fri, 9 Aug 2002 15:07:55 +0000 (15:07 +0000)]
Updated Swedish translation

21 years ago * config/tc-i386.h: Reorganize.
amodra [Fri, 9 Aug 2002 12:37:41 +0000 (12:37 +0000)]
* config/tc-i386.h: Reorganize.

21 years ago* config/tc-mips.c (macro): Handle a register plus a 16-bit
macro [Fri, 9 Aug 2002 11:07:22 +0000 (11:07 +0000)]
* config/tc-mips.c (macro): Handle a register plus a 16-bit
immediate offset in "dla" and "la" expansions.
* gas/mips/empic.d: Treat "addiu" and "daddiu" as equivalent when
$0 is source.
* mips-opc.c (mips_builtin_opcodes): Remove "dla" and "la" as
aliases to "daddiu" and "addiu".

21 years ago * elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
ths [Fri, 9 Aug 2002 05:35:25 +0000 (05:35 +0000)]
* elfxx-mips.c (mips_elf_global_got_index): Avoid segfault if
g->global_gotsym is NULL.

21 years agoAdd the missing space.
hjl [Fri, 9 Aug 2002 04:56:20 +0000 (04:56 +0000)]
Add the missing space.

21 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Aug 2002 04:42:43 +0000 (04:42 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers22.

* ld-elfvers/vers22.c: New.
* ld-elfvers/vers22.dsym: New.
* ld-elfvers/vers22.map: New.
* ld-elfvers/vers22.ver: New.
* ld-elfvers/vers22a.c: New.
* ld-elfvers/vers22a.dsym: New.
* ld-elfvers/vers22a.sym: New.
* ld-elfvers/vers22a.ver: New.
* ld-elfvers/vers22b.c: New.
* ld-elfvers/vers22b.dsym: New.
* ld-elfvers/vers22b.ver: New.

21 years ago2002-08-08 H.J. Lu <hjl@gnu.org>
hjl [Fri, 9 Aug 2002 04:40:29 +0000 (04:40 +0000)]
2002-08-08  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_add_default_symbol): Don't warn a defintion
overrides an indirect versioned symbol.

21 years ago * configure.in: bfd_gas=yes for all i386 targets. Formatting.
amodra [Fri, 9 Aug 2002 03:42:15 +0000 (03:42 +0000)]
* configure.in: bfd_gas=yes for all i386 targets.  Formatting.
Remove "bfd_gas=yes" from target table when covered later.
Consolidate some entries.
* configure: Regenerate

21 years ago * include/commctrl.h: Whitespace change.
dannysmith [Fri, 9 Aug 2002 02:49:38 +0000 (02:49 +0000)]
* include/commctrl.h: Whitespace change.

21 years ago2002-08-09 Mark Schreiber <mark7@users.sourceforge.net>
dannysmith [Fri, 9 Aug 2002 02:45:49 +0000 (02:45 +0000)]
2002-08-09  Mark Schreiber  <mark7@users.sourceforge.net>

* include/wincrypt.h (CRYPT_NOHASHOID): Add define.

2002-08-09  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commctrl.h: Whitespace change.

21 years ago2002-08-09 Lars Munch <lars@segv.dk>
dannysmith [Fri, 9 Aug 2002 02:29:57 +0000 (02:29 +0000)]
2002-08-09  Lars Munch  <lars@segv.dk>

* include/commctrl.h (tagTVHITTESTINFO): Replace obsolete
struct name _TVHITTESTINFO and typedefs. Add defines for
backward compatability.
(ListView_SetExtendedListViewStyleEx): Add macro.

21 years ago2002-08-08 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 9 Aug 2002 01:42:40 +0000 (01:42 +0000)]
2002-08-08  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c: Minor whitespace and indentation clean-ups.

21 years ago * doublest.c (store_floating): Avoid floatformat_from_doublest()
kevinb [Fri, 9 Aug 2002 00:45:10 +0000 (00:45 +0000)]
* doublest.c (store_floating): Avoid floatformat_from_doublest()
assertion failure by returning early after a warning.

21 years ago * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
jakub [Fri, 9 Aug 2002 00:10:19 +0000 (00:10 +0000)]
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments.  Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.

21 years ago * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
jakub [Fri, 9 Aug 2002 00:09:50 +0000 (00:09 +0000)]
* config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
at start of insn, pass it to output_disp and output_imm.
(output_disp): Added arguments.  If _GLOBAL_OFFSET_TABLE_ is seen
in displacement for R_386_32 reloc, use R_386_GOTPC and compute
properly addend.
(output_imm): Added arguments.  Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
* testsuite/gas/i386/gotpc.s: New.
* testsuite/gas/i386/gotpc.d: New.
* testsuite/gas/i386/i386.exp: Add gotpc test.

21 years agodaily update
amodra [Fri, 9 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 9 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoMultiarch FRAME_INIT_SAVED_REGS for mips.
kevinb [Thu, 8 Aug 2002 23:42:26 +0000 (23:42 +0000)]
Multiarch FRAME_INIT_SAVED_REGS for mips.

21 years ago * mips-tdep.c (mips_find_saved_regs): Make static.
kevinb [Thu, 8 Aug 2002 23:32:52 +0000 (23:32 +0000)]
* mips-tdep.c (mips_find_saved_regs): Make static.
(mips_frame_init_saved_regs): New function.
(mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method.
* config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro.
(mips_find_saved_regs): Delete declaration.

21 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Aug 2002 22:44:46 +0000 (22:44 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

* config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.

21 years ago * elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
jakub [Thu, 8 Aug 2002 21:38:26 +0000 (21:38 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Fill in proper addend
for R_386_TLS_TPOFF32 relocs against symndx 0.

21 years ago* remote.c (remote_wait, remote_async_wait): Change
graces [Thu, 8 Aug 2002 19:45:50 +0000 (19:45 +0000)]
* remote.c (remote_wait, remote_async_wait): Change
thread_num from int to ULONGEST.
(unpack_varlen_hex): Change result parameter from
int * to ULONGEST *.

21 years ago* environ.cc (parse_options): Remember the "no" part of any options for later
cgf [Thu, 8 Aug 2002 18:02:09 +0000 (18:02 +0000)]
* environ.cc (parse_options): Remember the "no" part of any options for later
export.

21 years ago * winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
scottc [Thu, 8 Aug 2002 17:03:19 +0000 (17:03 +0000)]
* winsup.h (__check_null_invalid_struct): Make ptr argument non-const.
(__check_null_invalid_struct_errno): Ditto.
* miscfuncs.cc (__check_null_invalid_struct): Ditto.
(__check_null_invalid_struct_errno): Ditto.
(__check_invalid_read_ptr_errno): Remove superfluous cast.
* net.cc (get): Set appropriate errno if fd is not a socket.
(cygwin_sendto): Fix parameter checking.
(cygwin_recvfrom): Ditto.
(cygwin_setsockopt): Ditto.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_gethostbyaddr): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_listen): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_send): Ditto.
(cygwin_shutdown): Ditto.  Move sigframe to fhandler_socket.
(cygwin_recvmsg): Fix parameter checking.  Add tracing.
(cygwin_sendmsg): Ditto.
* fhandler_socket.cc (fhandler_socket::shutdown): Add sigframe.
* resource.cc (setrlimit): Fix parameter checking.

21 years ago2002-08-08 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 8 Aug 2002 15:37:28 +0000 (15:37 +0000)]
2002-08-08  Andrew Cagney  <ac131313@redhat.com>

* configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*,
powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with
powerpc*-*-*.
* MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target.

21 years ago2002-08-08 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 8 Aug 2002 14:59:34 +0000 (14:59 +0000)]
2002-08-08  Andrew Cagney  <cagney@redhat.com>

* gcore.c (override_derive_stack_segment): Delete variable.
(preempt_derive_stack_segment): Delete function.
(derive_stack_segment): Delete function.
(default_derive_stack_segment): Renamed to derive_stack_segment.
(override_derive_heap_segment): Delete variable.
(preempt_derive_heap_segment): Delete function.
(derive_heap_segment): Delete function.
(default_derive_heap_segment): Rename to derive_heap_segment.

21 years ago Patch by Joe Buehler <jbuehler@hekimian.com>:
corinna [Thu, 8 Aug 2002 14:16:13 +0000 (14:16 +0000)]
Patch by Joe Buehler  <jbuehler@hekimian.com>:
* sec_helper.cc (sec_acl): remove extraneous arg to debug_printf.

21 years agoCheck symbols with undefine version.
hjl [Thu, 8 Aug 2002 03:50:16 +0000 (03:50 +0000)]
Check symbols with undefine version.

21 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 8 Aug 2002 00:26:51 +0000 (00:26 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

        * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION.
* mips-tdep.c (mips_EABI_use_struct_convention,
mips_OABI_use_struct_convention, mips_NABI_use_struct_convention):
New functions.  (mips_use_struct_convention): Delete.
(mips_gdbarch_init): set use_gdbarch_convention.

21 years ago * elflink.h (elf_link_output_extsym): Don't output symbols from
amodra [Thu, 8 Aug 2002 00:20:16 +0000 (00:20 +0000)]
* elflink.h (elf_link_output_extsym): Don't output symbols from
SEC_EXCLUDE sections.

21 years ago * aoutx.h (aout_link_write_symbols): Correct handling of warning syms.
amodra [Thu, 8 Aug 2002 00:11:36 +0000 (00:11 +0000)]
* aoutx.h (aout_link_write_symbols): Correct handling of warning syms.

21 years agodaily update
amodra [Thu, 8 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 8 Aug 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years agomerge from gcc
dj [Wed, 7 Aug 2002 21:01:25 +0000 (21:01 +0000)]
merge from gcc

21 years ago2002-08-06 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 7 Aug 2002 18:17:25 +0000 (18:17 +0000)]
2002-08-06  Michael Snyder  <msnyder@redhat.com>

*  mips-tdep.c: gdbarch-ify reg_struct_has_addr.
(mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr,
mips_o32_reg_struct_has_addr): New functions.
(mips_gdbarch_init): Set gdbarch reg_struct_has_addr.

21 years ago * libc/include/machine/setjmp.h: For mips, define _JBLEN based
rsandifo [Wed, 7 Aug 2002 17:07:40 +0000 (17:07 +0000)]
* libc/include/machine/setjmp.h: For mips, define _JBLEN based
based on __mips_soft_float rather than __mips64.
* libc/machine/mips/setjmp.S: Provide hard and soft float versions
of both 32-bit and 64-bit code.

21 years ago2002-08-07 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 7 Aug 2002 16:01:57 +0000 (16:01 +0000)]
2002-08-07  Andrew Cagney  <ac131313@redhat.com>

* regcache.c (pseudo_register): Delete function.
(fetch_register): Delete function.
(store_register): Delete function.
(regcache_raw_read, legacy_read_register_gen): Use
target_fetch_registers instead of fetch_register.
(legacy_write_register_gen, regcache_raw_write): Use
target_store_register instead of store_register.
(write_register_bytes): Ditto.

* gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete.
(STORE_PSEUDO_REGISTER): Delete.
* gdbarch.h, gdbarch.c: Regenerate.

21 years agoOnly search for an interworking bfd if there are input bfds.
nickc [Wed, 7 Aug 2002 15:22:41 +0000 (15:22 +0000)]
Only search for an interworking bfd if there are input bfds.

21 years ago Fix by Conrad Scott <conrad.scott@dsl.pipex.com>:
corinna [Wed, 7 Aug 2002 10:08:17 +0000 (10:08 +0000)]
Fix by Conrad Scott  <conrad.scott@dsl.pipex.com>:
* fhandler_socket.cc (fhandler_socket::accept): Fix FIONBIO call.

21 years ago * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
corinna [Wed, 7 Aug 2002 08:52:23 +0000 (08:52 +0000)]
* cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to
write dump file binary.

21 years ago * elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
amodra [Wed, 7 Aug 2002 05:23:09 +0000 (05:23 +0000)]
* elf64-ppc.c (edit_opd): Arrange to drop symbols for discarded .opd
entries.

21 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
ths [Wed, 7 Aug 2002 04:44:14 +0000 (04:44 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Cast signedness
mismatch.

21 years ago * elfxx-mips.c (ABI_64_P): Remove superfluous check.
ths [Wed, 7 Aug 2002 04:37:24 +0000 (04:37 +0000)]
* elfxx-mips.c (ABI_64_P): Remove superfluous check.

21 years ago * elf32-mips.c (mips_reloc_map): Fix typo.
ths [Wed, 7 Aug 2002 04:32:14 +0000 (04:32 +0000)]
* elf32-mips.c (mips_reloc_map): Fix typo.

21 years agoone more change
cgf [Wed, 7 Aug 2002 01:22:56 +0000 (01:22 +0000)]
one more change

21 years ago* cygheap.cc (_csbrk): Avoid !cygheap considerations.
cgf [Wed, 7 Aug 2002 01:20:59 +0000 (01:20 +0000)]
* cygheap.cc (_csbrk): Avoid !cygheap considerations.
(cygheap_init): Deal with unintialized cygheap issues here.

21 years ago2002-08-05 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 7 Aug 2002 00:28:31 +0000 (00:28 +0000)]
2002-08-05  Michael Snyder  <msnyder@redhat.com>

*  mips-tdep.c (mips_find_saved_regs): Adjust stack according
to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64.  Enhance comment.
(mips_gdbarch_init): Set N32 target to be mips64.

21 years agodaily update
amodra [Wed, 7 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 7 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * frame.c (find_saved_register): Break out of loop once saved
kevinb [Tue, 6 Aug 2002 22:42:55 +0000 (22:42 +0000)]
* frame.c (find_saved_register): Break out of loop once saved
register address is found.  Don't mention sparc in loop comment
anymore.

21 years ago * config/tc-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
rth [Tue, 6 Aug 2002 22:06:07 +0000 (22:06 +0000)]
    * config/tc-alpha.c (cpu_types): Enabled ev67, ev68,  -m21264a
        and m21264b processor names and cpu types.
        * doc/c-alpha.texi: Documented new types.

21 years agoConrad Scott <conrad.scott@dsl.pipex.com
cgf [Tue, 6 Aug 2002 22:05:53 +0000 (22:05 +0000)]
Conrad Scott <conrad.scott@dsl.pipex.com
* cygheap.cc (_csbrk): Allocate some slop initially.  Don't erroneously add
sbrk amount to returned value in initial case.

21 years agoAdd myself as Alpha maintainer.
rth [Tue, 6 Aug 2002 21:58:26 +0000 (21:58 +0000)]
Add myself as Alpha maintainer.