OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years agoImporting Egor's testsuite.
cgf [Sun, 3 Sep 2000 03:52:30 +0000 (03:52 +0000)]
Importing Egor's testsuite.

23 years agoRemove everything
cgf [Sun, 3 Sep 2000 03:42:01 +0000 (03:42 +0000)]
Remove everything

23 years agoRemove README
cgf [Sun, 3 Sep 2000 03:41:19 +0000 (03:41 +0000)]
Remove README

23 years agoremove everything and move it up a level.
cgf [Sun, 3 Sep 2000 03:40:29 +0000 (03:40 +0000)]
remove everything and move it up a level.

23 years ago2000-09-02 H.J. Lu <hjl@gnu.org>
hjl [Sun, 3 Sep 2000 02:57:52 +0000 (02:57 +0000)]
2000-09-02  H.J. Lu  <hjl@gnu.org>

* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE,
BFD_RELOC_SH_GOTPC): Move them from the MIPS section to the SH
section.

23 years ago2000-09-02 Jason Eckhardt <jle@cygnus.com>
jle [Sun, 3 Sep 2000 01:39:08 +0000 (01:39 +0000)]
2000-09-02  Jason Eckhardt  <jle@cygnus.com>

        * elf32-i860.c (bfd_elf32_bfd_is_local_label_name): Define macro.
        (elf32_i860_is_local_label_name): New function and prototype.

23 years ago2000-09-02 Kazu Hirata <kazu@hxi.com>
kazu [Sun, 3 Sep 2000 00:04:40 +0000 (00:04 +0000)]
2000-09-02  Kazu Hirata  <kazu@hxi.com>

* config/tc-ia64.c: Fix formatting.

23 years agoIncrease minor version number (to 2.10.91) to help tools detect the new
nickc [Sat, 2 Sep 2000 21:35:44 +0000 (21:35 +0000)]
Increase minor version number (to 2.10.91) to help tools detect the new
ability to support removal of duplciate DWARF@ debug information.

23 years agoRegenerate
nickc [Sat, 2 Sep 2000 20:46:18 +0000 (20:46 +0000)]
Regenerate

23 years agoRegenerate
nickc [Sat, 2 Sep 2000 20:44:33 +0000 (20:44 +0000)]
Regenerate

23 years agoRegernate
nickc [Sat, 2 Sep 2000 20:44:12 +0000 (20:44 +0000)]
Regernate

23 years agoAdd .gnu.linkonce.wi.* to .debug_info sections.
nickc [Sat, 2 Sep 2000 20:43:22 +0000 (20:43 +0000)]
Add .gnu.linkonce.wi.* to .debug_info sections.

23 years agoAdd .gnu.linkobce.wi. to the list of debug section names.
nickc [Sat, 2 Sep 2000 20:33:48 +0000 (20:33 +0000)]
Add .gnu.linkobce.wi. to the list of debug section names.
Update generated files

23 years agoFind all sections containing debug information and include them in the stash.
nickc [Sat, 2 Sep 2000 20:21:40 +0000 (20:21 +0000)]
Find all sections containing debug information and include them in the stash.

23 years ago* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
aoliva [Sat, 2 Sep 2000 07:24:51 +0000 (07:24 +0000)]
* configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian
crosses, but add gcc/include to the header search path for them.

23 years ago* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
aoliva [Sat, 2 Sep 2000 02:36:25 +0000 (02:36 +0000)]
* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.
* config/tc-sh.c (md_apply_fix): Map 32-bit relocations that
become PC-relative to BFD_RELOC_32_PCREL.  Reject 16- or 8-bit
similar relocs.
(sh_obj_adjustable): Return 1 for PC-relative offsets used in
branches.

* config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME,
TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define.
* config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions.
[OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them.
(GOT_symbol): New variable.
(md_undefined_symbol): Set it.

23 years ago* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
aoliva [Sat, 2 Sep 2000 02:33:26 +0000 (02:33 +0000)]
* elf32-sh.c (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New.
(sh_reloc_map): Add new relocs.
(sh_elf_check_relocs, sh_elf_link_hash_newfunc,
sh_elf_link_hash_table_create, sh_elf_adjust_dynamic_symbol,
sh_elf_size_dynamic_sections, sh_elf_finish_dynamic_symbol,
sh_elf_finishe_dynamic_sections, sh_elf_discard_copies): New
functions.
(ELF_DYNAMIC_INTERPRETER, PLT_ENTRY_SIZE): Define.
(elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le,
elf_sh_pic_plt_entry_be, elf_sh_pic_plt_entry_le):
New array constants.
(elf_sh_plt0_entry, elf_sh_plt_entry, elf_sh_pic_plt_entry):
New variables.
(elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_linker_offset, elf_sh_plt0_gotid_offset,
elf_sh_plt_temp_offset, elf_sh_plt_symbol_offset,
elf_sh_plt_reloc_offset): Define.
(elf_sh_pcrel_relocs_copied, elf_sh_link_hash_entry,
elf_sh_link_hash_table): New structs.
(sh_elf_link_hash_traverse, sh_elf_hash_table): New macros.
(sh_elf_relocate_section, sh_elf_check_relocs): Handle new
relocation types.
(elf_backend_create_dynamic_sections,
bfd_elf32_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
* reloc.c (BFD_RELOC_SH_COPY, BFD_RELOC_SH_GLOB_DAT,
BFD_RELOC_SH_JMP_SLOT, BFD_RELOC_SH_RELATIVE, BFD_RELOC_SH_GOTPC):
New relocs.
* bfd-in2.h, libbfd.h: Rebuilt.

23 years ago* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
aoliva [Sat, 2 Sep 2000 02:24:02 +0000 (02:24 +0000)]
* sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): New relocs.
(R_SH_FIRST_INVALID_RELOC): Adjust.

23 years ago* sigproc.cc (mychild): New function.
cgf [Sat, 2 Sep 2000 01:19:58 +0000 (01:19 +0000)]
* sigproc.cc (mychild): New function.
(proc_subproc): Use mychild() to determine if a specific pid is valid for
wait()ing.

23 years ago * config/tc-ia64.c (match): Don't inline.
rth [Sat, 2 Sep 2000 01:02:41 +0000 (01:02 +0000)]
    * config/tc-ia64.c (match): Don't inline.
        (extra_goodness): New.
        (md_begin): Prefer nop.f and nop.b for best_template.

23 years agoCorrected spelling errors in various source files.
davea [Sat, 2 Sep 2000 00:16:59 +0000 (00:16 +0000)]
Corrected spelling errors in various source files.

23 years agoCorrected spelling error in comment: tracepont -> tracepoint
davea [Sat, 2 Sep 2000 00:13:29 +0000 (00:13 +0000)]
Corrected spelling error in comment: tracepont -> tracepoint

23 years agoCorrected spelling in comment: dependant -> dependent.
davea [Sat, 2 Sep 2000 00:12:17 +0000 (00:12 +0000)]
Corrected spelling in comment: dependant -> dependent.

23 years agoCorrected spelling in comment: dependant -> dependent
davea [Sat, 2 Sep 2000 00:09:06 +0000 (00:09 +0000)]
Corrected spelling in comment: dependant -> dependent

23 years agoCorrected spelling in comment: unles -> unless.
davea [Sat, 2 Sep 2000 00:08:05 +0000 (00:08 +0000)]
Corrected spelling in comment:  unles -> unless.

23 years agoProtoization.
kevinb [Sat, 2 Sep 2000 00:07:32 +0000 (00:07 +0000)]
Protoization.

23 years agoCorrected spelling error in comment: continaution ->continuation.
davea [Sat, 2 Sep 2000 00:07:13 +0000 (00:07 +0000)]
Corrected spelling error in comment: continaution ->continuation.

23 years agoCorrected typo in comment: ofa -> of a
davea [Sat, 2 Sep 2000 00:05:43 +0000 (00:05 +0000)]
Corrected typo in comment:  ofa -> of a

23 years agoCorrected spelling in comment: extention-> to extension.
davea [Sat, 2 Sep 2000 00:05:02 +0000 (00:05 +0000)]
Corrected spelling in comment: extention-> to extension.

23 years agoCorrected spelling in comments: dependant->dependent swaped->swapped.
davea [Sat, 2 Sep 2000 00:02:54 +0000 (00:02 +0000)]
Corrected spelling in comments: dependant->dependent swaped->swapped.

23 years agoFixed spelling errors in comments: dependant->dependent in several places.
davea [Sat, 2 Sep 2000 00:01:33 +0000 (00:01 +0000)]
Fixed spelling errors in comments: dependant->dependent in several places.

23 years agoCorrected spelling error in comment: swaped -> swapped.
davea [Fri, 1 Sep 2000 23:55:07 +0000 (23:55 +0000)]
Corrected spelling error in comment: swaped -> swapped.

23 years agoCorrected spelling error in comment:
davea [Fri, 1 Sep 2000 23:53:57 +0000 (23:53 +0000)]
Corrected spelling error in comment:
converteded->converted

23 years agoCorrected spelling in comments:
davea [Fri, 1 Sep 2000 23:53:02 +0000 (23:53 +0000)]
Corrected spelling in comments:
foe->for  executin ->execution.

23 years agoCorrected spelling errors in comments:
davea [Fri, 1 Sep 2000 23:52:09 +0000 (23:52 +0000)]
Corrected spelling errors in comments:
adn -> and, Is->Are,  occures->occurs

23 years agoCorrect spelling in comment: tupes -> tuples.
davea [Fri, 1 Sep 2000 23:50:17 +0000 (23:50 +0000)]
Correct spelling in comment: tupes -> tuples.

23 years agoFix typo in comment: h added, sort -> short.
davea [Fri, 1 Sep 2000 23:48:59 +0000 (23:48 +0000)]
Fix typo in comment: h added, sort -> short.

23 years agoCorrected mistake in comment. 64bit example said it was 32 bit.
davea [Fri, 1 Sep 2000 23:47:52 +0000 (23:47 +0000)]
Corrected mistake in comment. 64bit example said it was 32 bit.

23 years agoSpelling correction in comment: dependant->dependent
davea [Fri, 1 Sep 2000 23:45:13 +0000 (23:45 +0000)]
Spelling correction in comment:  dependant->dependent

23 years agoTypo in comment fixed: seem->see
davea [Fri, 1 Sep 2000 23:43:26 +0000 (23:43 +0000)]
Typo in comment fixed: seem->see

23 years agoSpelling correction: of->if in comment.
davea [Fri, 1 Sep 2000 23:41:20 +0000 (23:41 +0000)]
Spelling correction: of->if in comment.

23 years agospelling correction: depdendant->dependent
davea [Fri, 1 Sep 2000 23:39:11 +0000 (23:39 +0000)]
spelling correction: depdendant->dependent

23 years ago* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
cgf [Fri, 1 Sep 2000 21:04:34 +0000 (21:04 +0000)]
* sigproc.cc (sigproc_init): Create wait_sig_inited without auto-reset to avoid
potential races.
(init_child_info): Avoid unneeded test.

23 years ago* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
cgf [Fri, 1 Sep 2000 20:54:22 +0000 (20:54 +0000)]
* sigproc.cc (proc_info): Rename proc_exists which takes a pid to "pid_exists".
* shared.h: Split out "child_info" stuff into a new header file and use where
necessary.  Declare pid_exists.
* child_info.h: New file.

23 years agoFix core dump when executing ``b .'' command.
kevinb [Fri, 1 Sep 2000 18:37:05 +0000 (18:37 +0000)]
Fix core dump when executing ``b .'' command.

23 years ago2000-09-01 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Fri, 1 Sep 2000 17:59:25 +0000 (17:59 +0000)]
2000-09-01  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * regcache.c (reg_flush_command): New function.  Maintainer-mode
        command, flushes GDB's register cache, for testing purposes.

23 years ago* Makefile.in: More normalization.
cgf [Fri, 1 Sep 2000 14:20:30 +0000 (14:20 +0000)]
* Makefile.in: More normalization.

23 years ago(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.
amodra [Fri, 1 Sep 2000 11:17:07 +0000 (11:17 +0000)]
(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.

23 years ago* dcache.c (dcache_info): Output a cache line's state vector so it
jtc [Fri, 1 Sep 2000 00:12:09 +0000 (00:12 +0000)]
* dcache.c (dcache_info): Output a cache line's state vector so it
lines up under the data vector.

* dcache.c (dcache_read_line): New function.
(dcache_peek_byte): Use it.
(dcache_alloc): Return NULL if write of reclaimed cache line fails.
(dcache_peek_byte, dcache_poke_byte): Return failure if
dcache_alloc() returns a NULL data block pointer.
(dcache_xfer_memory): Don't force writeback unless we were writing.

* monitor.c (monitor_expect): Change places where immediate_quit
is set to 1 or 0 to increments and decrements respectively.  This
allows such changes to nest properly.
* ocd.c (ocd_start_remote): Likewise.
* remote-adapt.c (expect): Likewise.
* remote-array.c (expect): Likewise.
* remote-eb.c (expect): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-mips.c (mips_expect_timeout, mips_getstring): Likewise.
* remote-nrom.c (expect): Likewise.
* remote-os9k.c (expect): Likewise.
* remote-sds.c (sds_start_remote): Likewise.
* remote-st.c (expect): Likewise.
* remote-utils.c (sr_expect): Likewise.
* remote.c (remote_start_remote): Likewise.
* tracepoint.c (read_actions): Likewise.

* remote-mips.c (mips_getstring): Balance changes to immediate_quit.

23 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 31 Aug 2000 23:17:47 +0000 (23:17 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* as.c: Fix formatting.
* cond.c: Likewise.

23 years ago(From GCC:) Add testcases and missing changelogs:
hp [Thu, 31 Aug 2000 22:16:08 +0000 (22:16 +0000)]
(From GCC:) Add testcases and missing changelogs:
2000-08-31  Hans-Peter Nilsson  <hp@axis.com>

* testsuite/demangle-expected: Add nine tests for
underscore-after-number followed by five tests for name-signature
delimiter.

2000-07-24  Hans-Peter Nilsson  <hp@axis.com>

* cplus-dem.c (work_stuff_copy_to_from): New.
(delete_non_B_K_work_stuff): New.
(delete_work_stuff): New.
(mop_up): Break out work_stuff destruction to delete_work_stuff.
(iterate_demangle_function): New.
(demangle_prefix): Call iterate_demangle_function instead of
demangle_function_name.  Leave handling of name-signature
__-delimiters to iterate_demangle_function.

* cplus-dem.c (demangle_integral_value): Strip an optional
following underscore cautiously.  Handle negative numbers.

23 years ago * elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
amylaar [Thu, 31 Aug 2000 22:15:41 +0000 (22:15 +0000)]
* elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
not initialized, set them to indicate the SH1 instruction set.

23 years ago* Makefile.in: Normalize 'pwd' based on location of winsup.
cgf [Thu, 31 Aug 2000 20:39:31 +0000 (20:39 +0000)]
* Makefile.in: Normalize 'pwd' based on location of winsup.

23 years ago* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.
cgf [Thu, 31 Aug 2000 20:07:53 +0000 (20:07 +0000)]
* errno.cc (set_errno_from_win_error): Actually use arguments to strace_printf.

23 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 31 Aug 2000 18:36:17 +0000 (18:36 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* frags.c: Fix formatting.
* macro.c: Likewise.

23 years ago2000-08-31 Eric Christopher <echristo@cygnus.com>
echristo [Thu, 31 Aug 2000 18:30:50 +0000 (18:30 +0000)]
2000-08-31  Eric Christopher  <echristo@cygnus.com>

* config/tc-mn10300.c:  Cleanup and fix warnings.
(md_pseudo_table): Add initializers.
(md_show_usage): Cleanup.
(md_parse_option): Fix warnings.
(md_undefined_symbol): Fix warnings.
(md_conver_frag): Fix warnings.
(tc_gen_reloc): Fix warnings.
(md_apply_fix3): Fix warnings.
(check_operand): Fix warnings.

23 years agoJust realized the list is in alphabetical order, so
davea [Thu, 31 Aug 2000 17:53:22 +0000 (17:53 +0000)]
Just realized the list is in alphabetical order, so
changed my new entry to put things in alphabetical order.

23 years agoAdd myself to write-after-approval list.
davea [Thu, 31 Aug 2000 17:48:18 +0000 (17:48 +0000)]
Add myself to write-after-approval list.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:46:11 +0000 (09:46 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:45:08 +0000 (09:45 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:42:47 +0000 (09:42 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:41:33 +0000 (09:41 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:37:59 +0000 (09:37 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* acinclude.m4: Include libtool and gettext macros from the
aoliva [Thu, 31 Aug 2000 09:35:49 +0000 (09:35 +0000)]
* acinclude.m4: Include libtool and gettext macros from the
top level.
* aclocal.m4, configure: Rebuilt.

23 years ago* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
aoliva [Thu, 31 Aug 2000 09:25:10 +0000 (09:25 +0000)]
* ltconfig, ltmain.sh: Updated from libtool multi-language branch.
* libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch.
* gettext.m4: New file, extracted from aclocal.m4.

23 years agoIn src/gas/ChangeLog:
geoffk [Thu, 31 Aug 2000 06:48:48 +0000 (06:48 +0000)]
In src/gas/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* config/tc-ppc.c (md_parse_option): Recognize -m405.

In src/opcodes/ChangeLog:
2000-08-30  Mark Hatle  <mhatle@mvista.com>

* ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics.
(powerpc_opcodes): Add table entries for PPC 405 instructions.
Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403
instructions.
Added extended mnemonic mftbl as defined in the 405GP manual
for all PPCs.

23 years ago2000-08-31 Kazu Hirata <kazu@hxi.com>
kazu [Thu, 31 Aug 2000 06:11:03 +0000 (06:11 +0000)]
2000-08-31  Kazu Hirata  <kazu@hxi.com>

* listing.c: Fix formatting.

23 years agoProtoization.
kevinb [Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)]
Protoization.

23 years agoRename bfd_elf_get_arch_size to bfd_get_arch_size().
kevinb [Thu, 31 Aug 2000 00:39:10 +0000 (00:39 +0000)]
Rename bfd_elf_get_arch_size to bfd_get_arch_size().

23 years ago* resrc.c (close_input_stream): delete extraneous logic
dj [Wed, 30 Aug 2000 23:06:03 +0000 (23:06 +0000)]
* resrc.c (close_input_stream): delete extraneous logic

23 years ago* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
dj [Wed, 30 Aug 2000 22:37:24 +0000 (22:37 +0000)]
* times.cc (gettimeofday): use GetSystemTimeAsFileTime to avoid a
conversion
(FACTOR): correct value
(genf): set milliseconds to zero, DOW to 4.

23 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
jjohnstn [Wed, 30 Aug 2000 22:17:16 +0000 (22:17 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

        * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.

23 years ago* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
aoliva [Wed, 30 Aug 2000 22:01:46 +0000 (22:01 +0000)]
* ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf,
sh-*-*): With dwarf-2, `undefined function' can't pass.

23 years agoApplied patch from David Edelsohn <dje@watson.ibm.com>.
kevinb [Wed, 30 Aug 2000 20:35:26 +0000 (20:35 +0000)]
Applied patch from David Edelsohn <dje@watson.ibm.com>.

23 years ago2000-08-30 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 18:51:25 +0000 (18:51 +0000)]
2000-08-30  Kazu Hirata  <kazu@hxi.com>

* tic80-dis.c: Fix formatting.

23 years ago2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Wed, 30 Aug 2000 18:34:52 +0000 (18:34 +0000)]
2000-08-30  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/execve.c: included unistd.h for "_execve" prototype.
        * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
        "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
        everywhere else.

23 years agoCorrect for missing patch
geoffk [Wed, 30 Aug 2000 18:31:59 +0000 (18:31 +0000)]
Correct for missing patch

23 years ago * libc/string/swab.c: Specify that it's defined in <unistd.h>.
geoffk [Wed, 30 Aug 2000 18:30:14 +0000 (18:30 +0000)]
* libc/string/swab.c: Specify that it's defined in <unistd.h>.
* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution.  Don't declare
swab(), it is properly declared in unistd.h.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 18:12:21 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 18:12:03 +0000 (18:12 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * elf.c: Eliminate references to __sparcv9 macro; replace with
        autoconf variables HAVE_PSINFO32_T etc.
        * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T,
        HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO.
        * config.in: Ditto.
        * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can
        detect the above typedefs.  (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto.
        * aclocal.m4: Ditto.
        * configure: Regenerate.

23 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 03:55:39 +0000 (03:55 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* w65-dis.c: Fix formatting.

23 years ago2000-08-29 Kazu Hirata <kazu@hxi.com>
kazu [Wed, 30 Aug 2000 03:51:46 +0000 (03:51 +0000)]
2000-08-29  Kazu Hirata  <kazu@hxi.com>

* app.c: Fix a comment typo.  Fix formatting.

23 years ago2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 30 Aug 2000 00:58:58 +0000 (00:58 +0000)]
2000-08-29  Michael Snyder  <msnyder@seadog.cygnus.com>

        * valops.c (value_cast): Indentation fix-up.
        * acconfig.h (HAVE_PRGREGSET32_T, HAVE_PRFPREGSET32_T,
        HAVE_STRUCT_LINK_MAP32): New configure macros.
        * config.in: Ditto.
        * configure.in: Test for the above new macros.
        * breakpoint.c: Update copyright date.
        * core-sol2.c: Include v9/sys/privregs.h directly to
        work around a bug in Sun's Solaris 8 header files.
        (fetch_core_registers): Use the above new configure macros to
        handle cross-debugging of 32-bit core files on a 64-bit host.
        * sol-thread.c (ps_pdmodel) New function.
        (rw_common): For debugging of 32-bit apps on a 64-bit host,
        truncate addresses to 32 bits.
        * solib.c (solib_extract_address): Functionize.  Make 32/64 aware.
        (LM_ADDR, LM_NEXT, LM_NAME): Ditto.
        (IGNORE_FIRST_LINK_MAP): Ditto.
        (first_link_map_member): Make 32/64 aware.
        (open_symbol_file_object): Ditto.
        (current_sos): Ditto.

23 years ago2000-08-29 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Tue, 29 Aug 2000 23:31:10 +0000 (23:31 +0000)]
2000-08-29  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * i386-linux-nat.c (i386_linux_skip_solib_resolver,
        skip_hurd_resolver, find_minsym_and_objfile): Move these
        solib functions into i386-linux-tdep.c for cross debugging.
        * i386-linux-tdep.c: Receive the above functions.

23 years agoFix stack offset correction for 68hc11
ciceron [Tue, 29 Aug 2000 19:12:26 +0000 (19:12 +0000)]
Fix stack offset correction for 68hc11

23 years ago* grp.cc (getgroups): fail with EINVAL if array is not large
dj [Tue, 29 Aug 2000 18:59:25 +0000 (18:59 +0000)]
* grp.cc (getgroups): fail with EINVAL if array is not large
enough to hold all supplementary group IDs.

23 years ago2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Tue, 29 Aug 2000 18:09:15 +0000 (18:09 +0000)]
2000-08-29  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
        (broken) support for non-existent /etc/passwd field "comment".

23 years ago2000-08-29 Dave Brolley <brolley@redhat.com>
brolley [Tue, 29 Aug 2000 15:25:37 +0000 (15:25 +0000)]
2000-08-29  Dave Brolley  <brolley@redhat.com>

* utils-gen.scm (gen-ifld-extract): Pass total-len if
adata-integral-insn is true for this architecture.

23 years agoFix some ia64 gas failures.
twall [Tue, 29 Aug 2000 12:15:50 +0000 (12:15 +0000)]
Fix some ia64 gas failures.

23 years ago* signal.cc (_raise): New function.
cgf [Tue, 29 Aug 2000 02:06:49 +0000 (02:06 +0000)]
* signal.cc (_raise): New function.
* exceptions.cc (unused_sig_wrapper): Remove _raise.
* sigproc.h (class sigframe): Default frames to skip to zero or suffer from
exuberant optimization.
* fhandler_tty.cc (fhandler_tty::write): Set appropriate errno when WriteFile
to pipe fails.

23 years ago* kill.c (main): Avoid skipping next argument when a signal number is
cgf [Tue, 29 Aug 2000 01:58:00 +0000 (01:58 +0000)]
* kill.c (main): Avoid skipping next argument when a signal number is
specified.
* Makefile.in: Always clean dumper.exe.

23 years agoProtoization.
kevinb [Tue, 29 Aug 2000 01:56:58 +0000 (01:56 +0000)]
Protoization.

23 years agoFix segfault from last memory-leak fixing patch.
wilson [Mon, 28 Aug 2000 22:08:36 +0000 (22:08 +0000)]
Fix segfault from last memory-leak fixing patch.
* ia64-dis.c (print_insn_ia64): Add failed label after ia64_free_opcode
call.  Change last goto to use failed instead of done.

23 years ago* i386-linux-nat.c (fetch_inferior_registers): Move call to
kettenis [Mon, 28 Aug 2000 21:54:36 +0000 (21:54 +0000)]
* i386-linux-nat.c (fetch_inferior_registers): Move call to
dummy_sse_values ...
(supply_fpregset): ... here.

23 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Mon, 28 Aug 2000 20:06:54 +0000 (20:06 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
        only if _DIRENT_HAVE_D_NAMLEN is defined.
        (alphasort): aligned prototype with
        libc/sys/cygwin/sys/dirent.h and simplified function body.
        * libc/posix/telldir.c (telldir): changed "telldir" prototype to
        long telldir (DIR *) as mentioned in annex B of POSIX.1

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:20:29 +0000 (18:20 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* Makefile.in: Use of @true confuses VPATH. Remove it.
* cpu.h: Regenerated.
* cpux.h: Regenerated.
* decode.c: Regenerated.
* decodex.c: Regenerated.
* model.c: Regenerated.
* modelx.c: Regenerated.
* sem-switch.c: Regenerated.
* sem.c: Regenerated.
* semx-switch.c: Regenerated.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:19:41 +0000 (18:19 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cpu.h: Regenerated.
* decode.c: Regenerated.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:18:49 +0000 (18:18 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
in insn_value if it will fit.

23 years ago2000-08-28 Dave Brolley <brolley@redhat.com>
brolley [Mon, 28 Aug 2000 18:17:54 +0000 (18:17 +0000)]
2000-08-28  Dave Brolley  <brolley@redhat.com>

* cgen-ibld.in (cgen_put_insn_int_value): New function.
(insert_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
(insert_insn_normal): Use cgen_put_insn_int_value with CGEN_INT_INSN_P.
(extract_normal): Allow for non-zero word_offset with CGEN_INT_INSN_P.
* cgen-dis.in (read_insn): New static function.
(print_insn): Use read_insn to read the insn into the buffer and set
up for disassembly.
(print_insn): in CGEN_INT_INSN_P, make sure that the entire insn is
in the buffer.
* fr30-asm.c: Regenerated.
* fr30-desc.c: Regenerated.
* fr30-desc.h Regenerated.
* fr30-dis.c: Regenerated.
* fr30-ibld.c: Regenerated.
* fr30-opc.c: Regenerated.
* fr30-opc.h Regenerated.
* m32r-asm.c: Regenerated.
* m32r-desc.c: Regenerated.
* m32r-desc.h Regenerated.
* m32r-dis.c: Regenerated.
* m32r-ibld.c: Regenerated.
* m32r-opc.c: Regenerated.

23 years ago2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
jjohnstn [Mon, 28 Aug 2000 17:50:06 +0000 (17:50 +0000)]
2000-08-27  Werner Almesberger  <Werner.Almesberger@epfl.ch>

        * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
        of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
        Added __CLI and __STI macros (controlled via
        _I386MACH_ALLOW_HW_INTERRUPTS macro).
        * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
        libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
        libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
        libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
        libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
        libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
        libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
        libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
        libc/machine/i386/memset.S libc/machine/i386/setjmp.S
        libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
        (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
        for all global entry points.
        * libc/machine/i386/setjmp.S: removed code replicated in
        libc/machine/i386/i386mach.h and included i386mach.h instead;
        Use __CLI and __STI instead of cli and sti.