OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years agomerge from gcc
dj [Fri, 17 Aug 2001 06:32:52 +0000 (06:32 +0000)]
merge from gcc

22 years ago * config.bfd (targ64_selvecs): New.
amodra [Fri, 17 Aug 2001 04:17:17 +0000 (04:17 +0000)]
* config.bfd (targ64_selvecs): New.
<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.

22 years ago * bfd-in.h (BFD_VERSION): Remove wrong comment.
amodra [Fri, 17 Aug 2001 03:54:52 +0000 (03:54 +0000)]
* bfd-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New.
(BFD_ARCH_SIZE): Comment.
* configure.in (target_size): New.  Set instead of target64 in
selvecs case statement.  Set target64 from it.
(bfd_default_target_size): New.  Set from taget_size. AC_SUBST.
* bfd-in2.h: Regenerate.
* configure: Regenerate.

22 years ago * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
amodra [Fri, 17 Aug 2001 03:19:00 +0000 (03:19 +0000)]
* bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
(bfd_errmsgs): Add corresponding message.
* archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
finding an archive that contains different format object files.
Return bfd_error_wrong_object_format for this case.
* format.c: Formatting fixes.  s/CONST/const/.
(bfd_check_format_matches): Accept archives that give
bfd_error_wrong_object_format if no full match is found.  Tidy
code handling matching_vector.  Don't return a pointer to freed
memory in `matching'.  Handle ambiguous matches as for partial
archive matches.
* bfd-in2.h: Regenerate.

22 years ago*** empty log message ***
gdbadmin [Fri, 17 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * generic/gdbtk.c (gdbtk_init): Revert change from earlier.
kseitz [Thu, 16 Aug 2001 23:04:45 +0000 (23:04 +0000)]
* generic/gdbtk.c (gdbtk_init): Revert change from earlier.
It is insufficient. We must get the absolute pathname
from autoconf.
Don't bother setting TCL_LIBRARY: it must be set already
in order for us to execute a script.

22 years ago * cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
kseitz [Thu, 16 Aug 2001 22:58:34 +0000 (22:58 +0000)]
* cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
pointers can now be dereferenced. Update test to reflect
this change in varobj.
* c_variable.test (4.9, 4.10, 4.47, 4.48, 5.1, 5.2, 5.3,
5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 5.17, 5.18, 5.43, 5.44, 5.47,
5.48, 5.49, 5.50, 5.51, 5.53, 6.30): Likewise.

22 years ago * configure.in (GDBTK_SRC_DIR): We must have autoconf
kseitz [Thu, 16 Aug 2001 22:47:00 +0000 (22:47 +0000)]
* configure.in (GDBTK_SRC_DIR): We must have autoconf
give us the absolute path to the source directory.
* configure: Regenerated.
* Makefile.in (GDBTK_SRC_DIR): Add variable so that
autoconf can substitue it in for us.
(gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
really do need an absolute pathname.

22 years agoSet MIPS n32 ABI flag in ELF header if appropriate.
ths [Thu, 16 Aug 2001 21:48:28 +0000 (21:48 +0000)]
Set MIPS n32 ABI flag in ELF header if appropriate.

22 years agoAdd support for MIPS R1[02]000 performance counter opcodes.
ths [Thu, 16 Aug 2001 19:24:32 +0000 (19:24 +0000)]
Add support for MIPS R1[02]000 performance counter opcodes.

22 years ago * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
jlarmour [Thu, 16 Aug 2001 19:10:49 +0000 (19:10 +0000)]
* mips-opc.c: R3900s can support all branch likely INSN_MACROs where
the corresponding non-likely insn is in MIPS I.

22 years ago * library/globalpref.ith (_change_font, _change_size): New
kseitz [Thu, 16 Aug 2001 18:55:50 +0000 (18:55 +0000)]
* library/globalpref.ith (_change_font, _change_size): New
private methods.
(_size): New private variable.
(font_changed, wfont_changed): Removed.
* library/globalpref.itb (make_font_item): Change combobox
callback to use _change_font.
Replace tixControl with iwidgets::spinint.
(font_changed, wfont_changed): Removed.
(_change_font, _change_size): New private methods.
* tclIndex: Regenerate.

22 years ago * generic/gdbtk.c (gdbtk_init): Make sure we're working with
kseitz [Thu, 16 Aug 2001 17:38:16 +0000 (17:38 +0000)]
* generic/gdbtk.c (gdbtk_init): Make sure we're working with
absolute pathnames in the *_LIBRAY variables.

22 years ago* new docs
fche [Thu, 16 Aug 2001 16:23:22 +0000 (16:23 +0000)]
* new docs

22 years ago From Ian Roxborough <irox@redhat.com>
kseitz [Thu, 16 Aug 2001 15:48:14 +0000 (15:48 +0000)]
From Ian Roxborough  <irox@redhat.com>
* generic/gdbtk-hooks.c (x_event): Deal with Tcl API insanity
for Tcl_ObjGetVar2 or Tcl_GetObjVar2.
(gdbtk_trace_find): Likewise for Tcl_GlobalEvalObj
or Tcl_EvalObj (TCL_EVAL_GLOBAL).

22 years agoRemove obsolete special handling of 64bit Relocations.
ths [Thu, 16 Aug 2001 15:12:07 +0000 (15:12 +0000)]
Remove obsolete special handling of 64bit Relocations.

22 years ago* fhandler_socket.cc (fhandler_socket::create_secret_event): Relax
duda [Thu, 16 Aug 2001 14:34:27 +0000 (14:34 +0000)]
* fhandler_socket.cc (fhandler_socket::create_secret_event): Relax
security of secret_event so AF_UNIX socket clients can connect to
servers even if running under a different user account.
(fhandler_socket::check_peer_secret_event): Ditto.

22 years ago * resource.cc (getrlimit): Return getdtablesize () as current limit
corinna [Thu, 16 Aug 2001 14:29:21 +0000 (14:29 +0000)]
    * resource.cc (getrlimit): Return getdtablesize () as current limit
        on RLIMIT_NOFILE.
        * syscalls.cc (getdtablesize): Return OPEN_MAX if current dtable size
        is less than OPEN_MAX, the current dtable size otherwise.
        * sysconf.cc (sysconf): Return getdtablesize () on _SC_OPEN_MAX.

22 years ago * resource.cc (getrlimit): Return OPEN_MAX as current limit
corinna [Thu, 16 Aug 2001 14:20:09 +0000 (14:20 +0000)]
    * resource.cc (getrlimit): Return OPEN_MAX as current limit
        on RLIMIT_NOFILE.
        * syscalls.cc (getdtablesize): Return OPEN_MAX.
        * sysconf.cc (sysconf): Return OPEN_MAX on _SC_OPEN_MAX.
        * include/limits.h (OPEN_MAX): Define as 256.

22 years ago* obvious fix
fche [Thu, 16 Aug 2001 14:19:54 +0000 (14:19 +0000)]
* obvious fix

2001-08-16  Frank Ch. Eigler  <fche@redhat.com>

* config/sid.exp (sid_start): Don't warn if we cannot figure out
what to force sid endianness to.

22 years ago*** empty log message ***
gdbadmin [Thu, 16 Aug 2001 02:23:16 +0000 (02:23 +0000)]
*** empty log message ***

22 years ago * generic/gdbtk.c (gdbtk_init): Don't assume a particular
kseitz [Wed, 15 Aug 2001 21:13:56 +0000 (21:13 +0000)]
* generic/gdbtk.c (gdbtk_init): Don't assume a particular
layout for the source directory, let the Makefile tell us
where the real source directory is.
When compiling under Cygwin, convert the (posix) path to a
win32 path, which is what tcl really wants.

From Ian Roxborough <irox@redhat.com>:

        * generic/gdbtk.c (gdbtk_init): If Insight isn't
        executed from inside a directory called "bin",
        assume that we are being running from the build
        directory and set the *_LIBRARY variables to point
        to (hopefully) the correct source directory.

22 years ago * lib/gdb.exp (gdbtk_start): Don't set environment
kseitz [Wed, 15 Aug 2001 21:11:45 +0000 (21:11 +0000)]
* lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
now figure these out for itself.

22 years ago * Makefile.in (GDBTK_VERSION): Set a version number.
kseitz [Wed, 15 Aug 2001 21:09:46 +0000 (21:09 +0000)]
* Makefile.in (GDBTK_VERSION): Set a version number.
(GDBTK_LIBRARY): New variable to point to location where
gdbtk will install its tcl library. Changed all refereneces
to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
(SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
(SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
(all-gdbtk): Remove.
(install-gdbtk): Remove.
(gdbtk.o): Pass srcdir to file when compiling.

Also from Ian Roxborough:

* Makefile.in: Changed all references to the install directory
"gdbtcl" to read "insight1.0".

22 years agoFix for ld
trix [Wed, 15 Aug 2001 17:10:18 +0000 (17:10 +0000)]
Fix for ld

22 years ago * arch-utils.c (generic_skip_trampoline_code): New function.
corinna [Wed, 15 Aug 2001 15:29:55 +0000 (15:29 +0000)]
    * arch-utils.c (generic_skip_trampoline_code): New function.
        * arch-utils.h (generic_skip_trampoline_code): Declare external.
        * gdbarch.c: Regeberated from gdbarch.sh.
        * gdbarch.h: Ditto.
        * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
        * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.

22 years ago* gdbint.texinfo: Add a cautionary note about macro use.
cgf [Wed, 15 Aug 2001 14:47:53 +0000 (14:47 +0000)]
* gdbint.texinfo: Add a cautionary note about macro use.

22 years ago * libieee.h (common_header_type): Add last_byte field.
amodra [Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)]
* libieee.h (common_header_type): Add last_byte field.

* ieee.c: Add missing prototypes.  Some format fixes.
(struct output_buffer_struct): Move for availability to prototypes.
(ieee_part_after): New function.
(ieee_slurp_debug): Use it here.
(ieee_seek): Pass in ieee_data_struct rather than bfd.  Use
ieee_part_after to set last_byte to one past end of current part.
Update callers.
(ieee_pos): Pass in ieee_data_struct rather than bfd.
Update callers.
(parse_expression): Don't go beyond the end of the current part.
(ieee_slurp_external_symbols): Correct type passed to read_2bytes.
(ieee_get_symtab_upper_bound, ieee_get_symtab,
ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
ieee_set_section_contents, ieee_write_object_contents,
ieee_make_empty_symbol): Make static.
(ieee_archive_p): Correct comments regarding bfd_read.
(ieee_object_p): Similarly.
(ieee_mkobject): Move it.  Clear output_ptr_start, output_ptr,
output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
input_bfd, output_bfd, output_buffer.
(do_as_repeat): Write out ieee_set_current_pc_enum value as for
do_with_relocs, ie. as a symbol for relocatable files.
(ieee_vec): Add comments showing functions referenced by macros.

22 years ago * times.cc (utimes): Revert previous change. Just open the
corinna [Wed, 15 Aug 2001 10:48:42 +0000 (10:48 +0000)]
    * times.cc (utimes): Revert previous change. Just open the
        file using FILE_WRITE_ATTRIBUTES instead of GENERIC_WRITE
        on NT/W2K.

22 years ago * security.cc (set_nt_attribute): Return always -1 in case of
corinna [Wed, 15 Aug 2001 10:21:39 +0000 (10:21 +0000)]
    * security.cc (set_nt_attribute): Return always -1 in case of
        a failure.
        * times.cc (utimes): On NTFS with ntsec ON, change the file's
        security descriptor temporarily to acquire write access if
        opening the file failed.

22 years ago * fhandler.cc (fhandler_base::is_nonblocking): New method.
corinna [Wed, 15 Aug 2001 07:49:14 +0000 (07:49 +0000)]
    * fhandler.cc (fhandler_base::is_nonblocking): New method.
        (fhandler_base::set_nonblocking): Ditto.
        * fhandler.h (fhandler_base): Declare new methods `is_nonblocking' and
        `set_nonblocking'.
        * fhandler_socket.cc (fhandler_socket::ioctl): Use `set_nonblocking'.
        * fhandler_tty.cc (fhandler_pty_master::process_slave_output):
        Use `is_nonblocking'.
        (fhandler_tty_slave::read): Ditto.
        (fhandler_tty_slave::ioctl): Use `set_nonblocking'.
        (fhandler_pty_master::ioctl): Ditto.
        * net.cc (cygwin_sendto): Fallback to winsock 1 functionality
        in case of nonblocking IO.
        (cygwin_recvfrom): Ditto.
        (cygwin_recv): Ditto.
        (cygwin_send): Ditto.
        * syscalls.cc (_read): Use `is_nonblocking'.

22 years ago2001-08-14 Daniel Jacobowitz <drow@mvista.com>
hjl [Wed, 15 Aug 2001 05:02:27 +0000 (05:02 +0000)]
2001-08-14  Daniel Jacobowitz  <drow@mvista.com>
    H.J. Lu  (hjl@gnu.org)

* partial-stab.h: valu should be a CORE_ADDR.

2001-08-14  H.J. Lu  (hjl@gnu.org)

* dbxread.c (SWAP_SYMBOL): Removed.
(INTERNALIZE_SYMBOL): Check sign extended vma.

22 years ago* cygpath.cc (main): Support -w for Windows (System) directories and return
cgf [Wed, 15 Aug 2001 03:24:18 +0000 (03:24 +0000)]
* cygpath.cc (main): Support -w for Windows (System) directories and return
physical correct orthography for the Windows System dir.

22 years ago*** empty log message ***
gdbadmin [Wed, 15 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * src/tkCanvEdge.c: Work around Windows gcc problem
mdejong [Tue, 14 Aug 2001 21:26:52 +0000 (21:26 +0000)]
* src/tkCanvEdge.c: Work around Windows gcc problem
initializing a static member with a dll imported
symbol by assigning the function pointer at runtime.
Static initialization works just fine in VC++ but
fails when compiling with the Windows version of gcc.

22 years ago* top.c (SIGSETJMP): Protect env argument with parentheses.
cgf [Tue, 14 Aug 2001 20:05:46 +0000 (20:05 +0000)]
* top.c (SIGSETJMP): Protect env argument with parentheses.
(SIGLONGJMP): Protect env argument with parentheses.

22 years ago2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 14 Aug 2001 20:00:32 +0000 (20:00 +0000)]
2001-08-14  Jeff Johnston  <jjohnstn@redhat.com>

        * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
        a label, not a hex constant.

This patch was approved by Nick Clifton.

22 years ago* include/cygwin/version.h: Bump API version.
cgf [Tue, 14 Aug 2001 15:05:42 +0000 (15:05 +0000)]
* include/cygwin/version.h: Bump API version.

22 years ago* spawn.cc (spawn_guts): Enable appropriate privilege before
duda [Tue, 14 Aug 2001 14:57:43 +0000 (14:57 +0000)]
* spawn.cc (spawn_guts): Enable appropriate privilege before
loading user's registry hive.

22 years ago* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.
cgf [Tue, 14 Aug 2001 14:36:57 +0000 (14:36 +0000)]
* libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.
* libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.

22 years agosync with gcc - whitespace differences, one missing entry, and one
dj [Tue, 14 Aug 2001 14:08:12 +0000 (14:08 +0000)]
sync with gcc - whitespace differences, one missing entry, and one
rearrangement.

22 years agoAdd missing protypes
nickc [Tue, 14 Aug 2001 10:01:28 +0000 (10:01 +0000)]
Add missing protypes

22 years ago * fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
corinna [Tue, 14 Aug 2001 07:41:45 +0000 (07:41 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Use new O_NONBLOCK_MASK define.
        * fhandler.h: Move definitions of O_NOSYMLINK, O_DIROPEN and
        OLD_O_NDELAY from winsup.h to here. Add O_NONBLOCK_MASK define.
        * fhandler_socket.cc (fhandler_socket::close): Add hack to allow
        a graceful shutdown even if shutdown() hasn't been called by the
        application. Add debug output.
        (fhandler_socket::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_socket::fcntl): Use new O_NONBLOCK_MASK define. Actually
        set `request' before using it.
        * fhandler_tty.cc: Use new O_NONBLOCK_MASK define throughout.
        (fhandler_tty_slave::ioctl): Set fhandler's NONBLOCK flag according
        to FIONBIO setting.
        (fhandler_pty_master::ioctl): Ditto.
        * net.cc (wsock_event::prepare): Compare WSACreateEvent return code
        with `WSA_INVALID_EVENT' according to MSDN.
        * syscalls.cc (_read): Use new O_NONBLOCK_MASK define.

22 years ago * emultempl/elf32.em: Formatting fixes.
amodra [Tue, 14 Aug 2001 04:40:35 +0000 (04:40 +0000)]
* emultempl/elf32.em: Formatting fixes.
(output_prev_sec_find): Test for bfd_ind_section too;  do so by
looking at sec->owner.
(output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test.
(gld${EMULATION_NAME}_place_orphan): Add a few comments.  Remove
unused code, and reorganize orphan section placement code.

22 years ago(wild_doit): Rename to lang_add_section.
amodra [Tue, 14 Aug 2001 02:01:31 +0000 (02:01 +0000)]
(wild_doit): Rename to lang_add_section.

22 years ago* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
cagney [Tue, 14 Aug 2001 01:34:00 +0000 (01:34 +0000)]
* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
name.

22 years ago2001-08-13 Jeff Holcomb <jeffh@redhat.com>
jeffh [Tue, 14 Aug 2001 00:07:59 +0000 (00:07 +0000)]
2001-08-13  Jeff Holcomb  <jeffh@redhat.com>

        * cpp_variable.test: Use gdbtk_test_run to start the test
        program.

22 years ago*** empty log message ***
gdbadmin [Tue, 14 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 13 Aug 2001 22:54:42 +0000 (22:54 +0000)]
2001-08-13  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
        macro constants for mallopt options.
        (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.

22 years ago * emultempl/needrelax.em: New file.
rth [Mon, 13 Aug 2001 20:40:31 +0000 (20:40 +0000)]
    * emultempl/needrelax.em: New file.
        * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it.
        * Makefile.am (eelf64_ia64.c): Depend on it.
        * Makefile.in: Rebuild.

22 years ago * library/regwin.ith: Rewrite.
kseitz [Mon, 13 Aug 2001 19:04:38 +0000 (19:04 +0000)]
* library/regwin.ith: Rewrite.
* library/regwin.itb: Rewrite.
* library/tclIndex: Regenerate.

22 years ago * library/regwin.ith: Rewrite.
kseitz [Mon, 13 Aug 2001 18:58:36 +0000 (18:58 +0000)]
* library/regwin.ith: Rewrite.
* library/regwin.itb: Rewrite.
* library/tclIndex: Regenerate.

22 years ago * generic/gdbtk-register.c (gdb_register_info): New function.
kseitz [Mon, 13 Aug 2001 18:53:36 +0000 (18:53 +0000)]
* generic/gdbtk-register.c (gdb_register_info): New function.
Consolidates all register handling.
(get_register_size): New function.
(gdb_changed_register_list, gdb_fetch_registers,
gdb_regnames): Deprecate.
(setup_architecture_data): Free old register cache
when necessary.

22 years ago * generic/gdbtk-register.c (gdb_register_info): New function.
kseitz [Mon, 13 Aug 2001 18:37:22 +0000 (18:37 +0000)]
* generic/gdbtk-register.c (gdb_register_info): New function.
Consolidates all register handling.
(get_register_size): New function.
(gdb_changed_register_list, gdb_fetch_registers,
gdb_regnames): Deprecate.
(setup_architecture_data): Free old register cache
when necessary.

22 years ago * generic/gdbtk-hooks.c (gdbtk_add_hooks): Register
kseitz [Mon, 13 Aug 2001 18:30:36 +0000 (18:30 +0000)]
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Register
architecture_changed event handler.
(gdbtk_architecture_changed): New function.
* library/gdbevent.ith (class ArchChangdEvent): New event.
* library/ehandler.ith (arch_changed): New method. Handler
for ArchChangedEvents.
* library/interface.tcl (gdbtk_tcl_architecture_changed): New
proc to handle architecture change events.

22 years ago Update tkTable to version 2.7:
kseitz [Mon, 13 Aug 2001 17:53:52 +0000 (17:53 +0000)]
Update tkTable to version 2.7:
* src/tkTableCmds.c, src/tkTable.tcl.h, src/tkTableCellSort.c,
src/tkTableEdit.c, src/tkTableInitScript.h, src/tkTablePs.c,
src/tkTableUtil.c, doc/tkTable.html: New files.
* src/tkTable.c, src/tkTable.h, src/TkTable.tcl, src/tkTableCell.c,
src/tkTableTag.c, src/tkTableWin.c, src/tkTable_version.in: Update to
version 2.7.
* configure.in: If compiling with cygwin, we need to have
WIN32 defined to build tkTable modules.
* configure: Regenerate.
* src/Makefile.am: Add new tkTable files and update build rules
for new version of tkTable.
* src/Makefile.in: Regenerate.

22 years ago * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
amodra [Mon, 13 Aug 2001 14:28:57 +0000 (14:28 +0000)]
* emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that
output_section is set non-NULL.

22 years agoAdd missing prototypes
nickc [Mon, 13 Aug 2001 11:05:28 +0000 (11:05 +0000)]
Add missing prototypes

22 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
amodra [Mon, 13 Aug 2001 10:56:20 +0000 (10:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return
`true' for SEC_EXCLUDE sections so that the generic code doesn't
needlessly create an output_section_statement.  Treat a correctly
named output_section_statement with NULL bfd_section as compatible.

22 years agoFix bug in previous delta
nickc [Mon, 13 Aug 2001 10:43:29 +0000 (10:43 +0000)]
Fix bug in previous delta

22 years agooops - omitted from previous delta!
nickc [Mon, 13 Aug 2001 10:06:53 +0000 (10:06 +0000)]
oops - omitted from previous delta!

22 years agoAdd missing prototypes. Fix formatting.
nickc [Mon, 13 Aug 2001 10:06:11 +0000 (10:06 +0000)]
Add missing prototypes.  Fix formatting.

22 years ago * mcore-dis.c: Fix formatting.
kazu [Mon, 13 Aug 2001 08:09:58 +0000 (08:09 +0000)]
* mcore-dis.c: Fix formatting.
* mips-dis.c: Likewise.
* pj-dis.c: Likewise.
* z8k-dis.c: Likewise.

22 years ago * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
aj [Mon, 13 Aug 2001 08:03:51 +0000 (08:03 +0000)]
* config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
relocations.

22 years agoUpdate copyright notice
hp [Mon, 13 Aug 2001 07:31:29 +0000 (07:31 +0000)]
Update copyright notice

22 years ago * emultempl/generic.em: Support EXTRA_EM_FILE.
hp [Mon, 13 Aug 2001 07:24:57 +0000 (07:24 +0000)]
* emultempl/generic.em: Support EXTRA_EM_FILE.
(ld_${EMULATION_NAME}_emulation): Support emulation parameters
LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL,
LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION,
LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET,
LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH,
LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS,
LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN,
LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE,
LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE,
LDEMUL_FIND_POTENTIAL_LIBRARIES.

22 years agomerge from gcc
dj [Mon, 13 Aug 2001 02:25:01 +0000 (02:25 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 13 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * scripttempl/elf.sc, scripttempl/elfd30v.sc,
rth [Sun, 12 Aug 2001 20:19:48 +0000 (20:19 +0000)]
    * scripttempl/elf.sc, scripttempl/elfd30v.sc,
        scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc,
        scripttempl/v850.sc: Keep .jcr data.

22 years ago * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
rth [Sun, 12 Aug 2001 20:16:29 +0000 (20:16 +0000)]
    * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
        to *VALUEP.  Regenerate all cgen files.

22 years ago * gloss.cxx (gloss32::read): Fix argument type mismatch for min.
rth [Sun, 12 Aug 2001 19:32:17 +0000 (19:32 +0000)]
    * gloss.cxx (gloss32::read): Fix argument type mismatch for min.

22 years agoExtend unaligned test to check .uaword with mulitple arguments
nickc [Sun, 12 Aug 2001 08:59:29 +0000 (08:59 +0000)]
Extend unaligned test to check .uaword with mulitple arguments

22 years agoFix behaviour of unaligned data directives
nickc [Sun, 12 Aug 2001 08:47:02 +0000 (08:47 +0000)]
Fix behaviour of unaligned data directives

22 years agoMake --verbose always display linker script
nickc [Sun, 12 Aug 2001 07:59:28 +0000 (07:59 +0000)]
Make --verbose always display linker script

22 years ago* config/mn10300/mn10300.mt (TM_FILE): Delete.
cagney [Sun, 12 Aug 2001 03:39:10 +0000 (03:39 +0000)]
* config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.

22 years agoConvert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
cagney [Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)]
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.

22 years ago* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
cagney [Sun, 12 Aug 2001 02:10:17 +0000 (02:10 +0000)]
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.

22 years ago* doublest.c (convert_doublest_to_floatformat): Rename
cagney [Sun, 12 Aug 2001 01:45:48 +0000 (01:45 +0000)]
* doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest.  Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.

22 years ago* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
cagney [Sun, 12 Aug 2001 01:11:12 +0000 (01:11 +0000)]
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.

22 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoreplace direct invocation og elf vma print functions with indirect invocation
nickc [Sat, 11 Aug 2001 16:48:15 +0000 (16:48 +0000)]
replace direct invocation og elf vma print functions with indirect invocation

22 years ago * config/tc-mips.c: Fix a comment typo.
kazu [Sat, 11 Aug 2001 15:15:14 +0000 (15:15 +0000)]
* config/tc-mips.c: Fix a comment typo.

22 years ago2001-08-10 Andreas Jaeger <aj@suse.de>
aj [Sat, 11 Aug 2001 07:59:54 +0000 (07:59 +0000)]
2001-08-10  Andreas Jaeger  <aj@suse.de>

* elf64-sparc.c: Add missing prototypes.
* elf32-cris.c: Likewise.
* elf32-i370.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-s390.c: Likewise.

22 years agoOops. Forgot to check in include/wchar.h???
cgf [Sat, 11 Aug 2001 01:56:53 +0000 (01:56 +0000)]
Oops.  Forgot to check in include/wchar.h???

22 years ago* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
cagney [Sat, 11 Aug 2001 00:59:29 +0000 (00:59 +0000)]
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.

* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.

* tracepoint.c (encode_actions): Make frame_reg an int.  Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static.  Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.

22 years ago * gdb-events.sh: Add architecture_changed event.
kseitz [Sat, 11 Aug 2001 00:41:02 +0000 (00:41 +0000)]
* gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago(lbasename): Change function declaration to return a const char pointer.
cagney [Fri, 10 Aug 2001 23:46:14 +0000 (23:46 +0000)]
(lbasename): Change function declaration to return a const char pointer.

22 years ago2001-08-10 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 10 Aug 2001 21:52:16 +0000 (21:52 +0000)]
2001-08-10  Michael Snyder  <msnyder@redhat.com>

* regcache.c (legacy_write_register_gen): Don't 'optimize out'
        a write_register to a pseudo-reg.  Target_store_pseudo_register
        needs to get called, because these regs may be computed and may
        have side-effects.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 20:38:32 +0000 (20:38 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32-rel2.d: Updated for the objdump output change.
* gas/mips/e32el-rel2.d: Likewise.
* gas/mips/elf-rel.d: Likewise.
* gas/mips/elf-rel2.d: Likewise.
* gas/mips/elf-rel3.d: Likewise.
* gas/mips/elf_e_flags1.d: Likewise.
* gas/mips/elf_e_flags2.d: Likewise.
* gas/mips/elf_e_flags3.d: Likewise.
* gas/mips/elf_e_flags4.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.
* gas/mips/empic.d: Likewise.
* gas/mips/mips16-e.d: Likewise.
* gas/mips/mips16-f.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/mips16-f.d: Fix the symbol table output.

* gas/mips/mipsel16-f.d: Fix the endian.

* gas/mips/mips.exp; Don't xfail mips16-f/mipsel16-f.

22 years ago * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
aj [Fri, 10 Aug 2001 19:29:59 +0000 (19:29 +0000)]
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 18:43:44 +0000 (18:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
(bfd_fprintf_vma): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 16:43:17 +0000 (16:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* nm.c (print_value): Add one arg, bfd *.
(print_value): Replace fprintf_vma with bfd_fprintf_vma.
(print_symbol_info_bsd): Also pass `abfd' to print_value ().
(print_symbol_info_sysv): Likewise.
(print_symbol_info_posix): Likewise.

* objdump.c (dump_section_header): Replace printf_vma with
bfd_printf_vma.
(print_section_stabs): Likewise.
(dump_bfd_header): Likewise.
(objdump_print_value): Replace sprintf_vma with
bfd_sprintf_vma.
(disassemble_bytes): Likewise.
(dump_reloc_set): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
hjl [Fri, 10 Aug 2001 16:32:03 +0000 (16:32 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Don't return void.
(bfd_fprintf_vma): Likewise.

22 years ago * gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.
rsandifo [Fri, 10 Aug 2001 16:28:03 +0000 (16:28 +0000)]
* gas/mips/mips-gp32-fp32.d: Expect addu rather than or for moves.
* gas/mips/mips-gp32-fp64.d: Likewise.
* gas/mips/mips-abi32.d: Likewise.
* gas/mips/mips-gp32-fp32-pic.d: Likewise.
* gas/mips/mips-gp32-fp64-pic.d: Likewise.
* gas/mips/mips-abi32-pic.d: Likewise.

22 years ago * config/tc-mips.c (move_register): New function.
rsandifo [Fri, 10 Aug 2001 16:24:31 +0000 (16:24 +0000)]
* config/tc-mips.c (move_register): New function.
(macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
(mips_ip): Likewise.
(macro2): Use move_register rather than macro_build for moves.
(mips16_macro): Likewise.
(macro): Likewise.  Handle M_MOVE.

22 years ago * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
rsandifo [Fri, 10 Aug 2001 16:22:07 +0000 (16:22 +0000)]
* mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
argument.
* mips-opc.c (G6): Undefine.
(mips_builtin_opcodes): Remove gp32 entry for "move".  Add macro
as the first "move" alternative.

22 years ago * opcode/mips.h (INSN_GP32): Remove.
rsandifo [Fri, 10 Aug 2001 16:20:43 +0000 (16:20 +0000)]
* opcode/mips.h (INSN_GP32): Remove.
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.

22 years ago * gdb-events.sh: Deal with event notifications with no
kseitz [Fri, 10 Aug 2001 16:05:30 +0000 (16:05 +0000)]
* gdb-events.sh: Deal with event notifications with no
arguments.

22 years ago * lib/kernels.c: New file.
earnie [Fri, 10 Aug 2001 11:52:35 +0000 (11:52 +0000)]
* lib/kernels.c: New file.