OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
23 years ago2000-07-24 H.J. Lu (hjl@gnu.org)
hjl [Mon, 24 Jul 2000 15:40:20 +0000 (15:40 +0000)]
2000-07-24  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of
the undefined reference.

23 years agoUpdated TODO.
green [Mon, 24 Jul 2000 14:49:04 +0000 (14:49 +0000)]
Updated TODO.

23 years ago * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
green [Mon, 24 Jul 2000 14:44:16 +0000 (14:44 +0000)]
* gdb.java/configure.in (AC_INIT): Use jmisc.exp.
* gdb.java/configure: Rebuild.

23 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Mon, 24 Jul 2000 14:35:14 +0000 (14:35 +0000)]
2000-07-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

         * gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
         to the gdbarch structure.
         * gdbarch.c: Regenerate.
         * gdbarch.h: Regenerate.
         * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
         Delete macros.
         * regcache.c (write_register, read_register, write_register_bytes,
         write_register_gen, read_register_bytes, read_register_gen):
         Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
         ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.

23 years ago2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Mon, 24 Jul 2000 14:29:23 +0000 (14:29 +0000)]
2000-07-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

         * gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
         to the gdbarch structure.
         * gdbarch.c: Regenerate.
         * gdbarch.h: Regenerate.
         * inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
         Delete macros.
         * regcache.c (write_register, read_register, write_register_bytes,
         write_register_gen, read_register_bytes, read_register_gen):
         Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
         ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.

23 years ago * gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
ezannoni [Mon, 24 Jul 2000 14:25:22 +0000 (14:25 +0000)]
* gdbarch.sh: Add NUM_PSEUDO_REGS to the gdbarch structure.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* inferior.h (NUM_PSEUDO_REGS): Delete macro.

23 years ago * fhandler.h (class fhandler_dev_random): Add members for managing
corinna [Mon, 24 Jul 2000 11:33:02 +0000 (11:33 +0000)]
    * fhandler.h (class fhandler_dev_random): Add members for managing
        pseudo randomness.
        * fhandler_random.cc: Rearrange. Use pseudo random number generator
        as entropy source if system entropy isn't available and if device is
        used as /dev/urandom. Allow initializing device by calling write().

23 years ago * gdbmi.texinfo: Change GDB -> @value{GDBN}, and
eliz [Mon, 24 Jul 2000 06:09:48 +0000 (06:09 +0000)]
* gdbmi.texinfo: Change GDB -> @value{GDBN}, and
(gdb) -> (@value{GDBP}).  Fix a few typos and some markup.  From
Dmitry S. Sivachenko <dima@Chg.RU>.

23 years ago * language.c: Include jv-lang.h.
green [Mon, 24 Jul 2000 05:04:17 +0000 (05:04 +0000)]
* language.c: Include jv-lang.h.
(lang_bool_type): Add case for java booleans.

And in testsuite...

* gdb.java/jv-exp.exp: New file.

23 years ago* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
aoliva [Mon, 24 Jul 2000 04:34:55 +0000 (04:34 +0000)]
* Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC).
(configure-target-libchill, configure-target-libobjc): Likewise.

23 years ago * configure: Rebuilt.
green [Mon, 24 Jul 2000 04:34:52 +0000 (04:34 +0000)]
* configure: Rebuilt.
* configure.in (configdirs): Add gdb.java.
* gdb.java/jmisc.java: New file.
* gdb.java/jmisc.exp: New file.
* gdb.java/Makefile.in: New file.
* gdb.java/configure: Rebuilt.
* gdb.java/configure.in: New file.
* lib/java.exp: New file.

23 years ago* configure.in: Use the same cache file for all target libs.
aoliva [Mon, 24 Jul 2000 04:34:08 +0000 (04:34 +0000)]
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

23 years agoEliminate global address_size. Replace with function
cagney [Mon, 24 Jul 2000 01:26:10 +0000 (01:26 +0000)]
Eliminate global address_size.  Replace with function
read_comp_unit_head() and ``struct compu_unit_head'' parameter.
Include support for signed address case.
Fixes problem of global address size / sign being out-of-sync with
with current section.

23 years ago * fhandler.h: Add comment.
corinna [Sun, 23 Jul 2000 21:13:05 +0000 (21:13 +0000)]
    * fhandler.h: Add comment.

23 years ago2000-07-23 Ulf Carlsson <ulfc@engr.sgi.com>
ulfc [Sun, 23 Jul 2000 20:51:35 +0000 (20:51 +0000)]
2000-07-23  Ulf Carlsson  <ulfc@engr.sgi.com>

* elf32-mips.c (_bfd_mips_elf_check_relocs): Use abfd instead
of dynobj for SGI_COMPAT checks.

23 years ago * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
corinna [Sun, 23 Jul 2000 19:33:44 +0000 (19:33 +0000)]
    * fhandler.h (class fhandler_dev_raw): Add private member `varblkop'
        to be set when variable blocksize mode is on.
        * fhandler_raw.cc: Eliminate `\n' from trace output.
        (clear): Set `varblkop' to 0.
        (dup): Copy varblkop as well.
        (writebuf): Care for variable blocksize.
        (open): Ditto.
        (raw_read): Ditto.
        (raw_write): Ditto.
        * fhandler_tape.cc (open): Ditto.
        (ioctl): Ditto. Some cleanups.

23 years ago * configure.in (AC_CHECK_HEADERS): Add time.h.
law [Sun, 23 Jul 2000 19:20:18 +0000 (19:20 +0000)]
    * configure.in (AC_CHECK_HEADERS): Add time.h.
        (AC_HEADER_TIME): Add check.
        * configure, config.in: Regenerate.
        * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.

23 years ago * configure (topsrcdir): Don't use dirname.
law [Sun, 23 Jul 2000 17:42:34 +0000 (17:42 +0000)]
* configure (topsrcdir): Don't use dirname.

23 years ago * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
law [Sun, 23 Jul 2000 16:05:33 +0000 (16:05 +0000)]
* aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
* configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
* configure, config.in: Regenerate.
* pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.

23 years ago * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
law [Sun, 23 Jul 2000 15:58:10 +0000 (15:58 +0000)]
    * cp-demangle.c, mkstemps.c: #include <sys/types.h>.

23 years ago(external_coff_symbol_p): K&R-ise.
amodra [Sun, 23 Jul 2000 08:19:24 +0000 (08:19 +0000)]
(external_coff_symbol_p): K&R-ise.

23 years ago Patch suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>.
corinna [Sat, 22 Jul 2000 16:43:54 +0000 (16:43 +0000)]
    Patch suggested by Kazuhiro Fujieda  <fujieda@jaist.ac.jp>.
        * winsup.h: Add new macros sys_wcstombs and sys_mbstowcs.
        * syscalls.cc (_link): Replace calls to mbstowcs by call to
        sys_mbstowcs.
        * uinfo.cc (internal_getlogin): Replace calls to wcstombs and
        mbstowcs by calls to sys_wcstombs and sys_mbstowcs. Replace
        usage of constants by meaningful defines. Use result of
        GetSystemDirectory for HOMEPATH and HOMEDRIVE as a last resort.

23 years agomerge with gcc
jason [Sat, 22 Jul 2000 08:20:09 +0000 (08:20 +0000)]
merge with gcc

23 years agoCorrect absolute section alignment.
amodra [Sat, 22 Jul 2000 04:23:48 +0000 (04:23 +0000)]
Correct absolute section alignment.

23 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Sat, 22 Jul 2000 00:15:30 +0000 (00:15 +0000)]
2000-07-21  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * thread.c (thread_apply_all_command): Update thread list first.

23 years agooops - omitted from previous delta
nickc [Fri, 21 Jul 2000 23:40:12 +0000 (23:40 +0000)]
oops - omitted from previous delta

23 years agoApplied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.
nickc [Fri, 21 Jul 2000 23:31:51 +0000 (23:31 +0000)]
Applied Michael's Sokolov's patch to implement --embedded-relocs for m68k coff.

23 years ago2000-07-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Fri, 21 Jul 2000 22:25:52 +0000 (22:25 +0000)]
2000-07-21  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        * regcache.c (read_register, read_register_bytes): Fix typos.

23 years ago2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Fri, 21 Jul 2000 20:52:26 +0000 (20:52 +0000)]
2000-07-21  Michael Snyder  <msnyder@cleaver.cygnus.com>

      * config/i386/tm-i386.h: treat PC and FP as unsigned.
      (SAVED_PC_AFTER_CALL): Use read_memory_unsigned_integer.
      (FRAME_SAVED_PC): Ditto.
      (FRAME_CHAIN): Ditto.

23 years ago2000-07-20 Michael Snyder <msnyder@cleaver.cygnus.com>
msnyder [Fri, 21 Jul 2000 20:03:08 +0000 (20:03 +0000)]
2000-07-20  Michael Snyder  <msnyder@cleaver.cygnus.com>

      * valarith.c (value_sub): Call check_typedef.

23 years agoDetect and report corrupt relocs
nickc [Fri, 21 Jul 2000 19:56:19 +0000 (19:56 +0000)]
Detect and report corrupt relocs

23 years ago * spawn.cc (span_guts): Retrieve security attributes before setting
corinna [Fri, 21 Jul 2000 19:34:35 +0000 (19:34 +0000)]
    * spawn.cc (span_guts): Retrieve security attributes before setting
        psid to NULL.

23 years ago * spu.c: Bump to version 0.3; make all space dynamically sized
shebs [Fri, 21 Jul 2000 19:27:07 +0000 (19:27 +0000)]
* spu.c: Bump to version 0.3; make all space dynamically sized
and allocated, add generation of library constructs of which
only a given percentage are used in the generated program.
(main): New options --lib-enums, --lib-functions, --lib-macros,
--lib-structs.
* README: Update version number.

23 years ago* prevent the example/calc subtree from being tested during a top-level
fche [Fri, 21 Jul 2000 12:21:40 +0000 (12:21 +0000)]
* prevent the example/calc subtree from being tested during a top-level
  "make check"

2000-07-21  Frank Ch. Eigler  <fche@redhat.com>

* example/Makefile.am (SUBDIRS): Remove to prevent automatic recursion
into `calc'.
(all-local): Add at least `calc' building back.
* example/Makefile.in: Regenerated.

23 years ago * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
corinna [Fri, 21 Jul 2000 10:11:57 +0000 (10:11 +0000)]
    * include/winnt.h: Add missing typedefs for PTOKEN_SOURCE and
        LPTOKEN_SOURCE.

23 years ago * security.cc (acl_worker): Use stat_suffixes in call to path_conv
corinna [Fri, 21 Jul 2000 10:06:13 +0000 (10:06 +0000)]
    * security.cc (acl_worker): Use stat_suffixes in call to path_conv
        just as in `stat_worker'.

23 years agoFri Jul 21 16:01:43 2000 Andrew Cagney <cagney@b1.cygnus.com>
cagney [Fri, 21 Jul 2000 06:12:32 +0000 (06:12 +0000)]
Fri Jul 21 16:01:43 2000  Andrew Cagney  <cagney@b1.cygnus.com>
From 2000-04-25 Felix Lee <flee@cygnus.com>:
* baseboards/tx39-sim.exp: Use idt, not dve linker script.  Delete
misleading comments and null statements.

23 years agomerge with gcc
jason [Fri, 21 Jul 2000 05:45:22 +0000 (05:45 +0000)]
merge with gcc

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Fri, 21 Jul 2000 03:58:32 +0000 (03:58 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
info->new_dtags when setting DT_FLAGS_1. It will only be set
by the new linker options. It shouldn't break anything.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Fri, 21 Jul 2000 02:16:30 +0000 (02:16 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1
only if info->new_dtags is true.

23 years agoForgot to commit ChangeLog entry for CRIS gas tests. Oops.
hp [Fri, 21 Jul 2000 00:57:47 +0000 (00:57 +0000)]
Forgot to commit ChangeLog entry for CRIS gas tests.  Oops.

23 years ago * gas/cris/*: New tests for CRIS.
hp [Fri, 21 Jul 2000 00:48:54 +0000 (00:48 +0000)]
* gas/cris/*: New tests for CRIS.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Fri, 21 Jul 2000 00:09:48 +0000 (00:09 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* binutils/binutils.texi: Put back "@end table" deleted by
accident.

23 years ago* config/obj-coff.c (obj_frob_symbol): revert previous change,
dj [Thu, 20 Jul 2000 23:38:05 +0000 (23:38 +0000)]
* config/obj-coff.c (obj_frob_symbol): revert previous change,
it breaks linking against DLLs.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 21:59:40 +0000 (21:59 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (longopts): Duplicate "disable-new-dtags"
and "disable-new-dtags" to stop getopt from treating -d/-e as
abbreviations for these options.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 21:19:33 +0000 (21:19 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_info): Add new_dtags.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 21:18:23 +0000 (21:18 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* ld.texinfo: Add documentation for --disable-new-dtags and
--enable-new-dtags.

* ldmain.c (main): Initialize link_info.new_dtags to false.

* emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add
--disable-new-dtags and --enable-new-dtags.
(gld_${EMULATION_NAME}_list_options): Likewise.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 21:16:58 +0000 (21:16 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set
DT_RUNPATH and DT_FLAGS only if info->new_dtags is true.

23 years ago * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
law [Thu, 20 Jul 2000 20:22:28 +0000 (20:22 +0000)]
    * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
        and print it with %u.

23 years agoFix formatting.
nickc [Thu, 20 Jul 2000 20:07:09 +0000 (20:07 +0000)]
Fix formatting.

23 years agomerge with gcc
jason [Thu, 20 Jul 2000 18:56:16 +0000 (18:56 +0000)]
merge with gcc

23 years agomerge with gcc
jason [Thu, 20 Jul 2000 18:55:35 +0000 (18:55 +0000)]
merge with gcc

23 years ago * config.sub: Update to subversions version 2000-07-06.
hp [Thu, 20 Jul 2000 18:03:17 +0000 (18:03 +0000)]
* config.sub: Update to subversions version 2000-07-06.

23 years agoAdd optional style argument to --demangle switch.
nickc [Thu, 20 Jul 2000 18:02:55 +0000 (18:02 +0000)]
Add optional style argument to --demangle switch.

23 years ago * gas/all/gas.exp: Don't run floating-point tests on CRIS.
hp [Thu, 20 Jul 2000 17:53:38 +0000 (17:53 +0000)]
* gas/all/gas.exp: Don't run floating-point tests on CRIS.
* gas/ieee-fp/x930509a.exp: Ditto.
* gas/macros/macros.exp: Mark strings test xfail for CRIS.

23 years ago * configure.in: Add CRIS support.
hp [Thu, 20 Jul 2000 17:45:27 +0000 (17:45 +0000)]
* configure.in: Add CRIS support.
* configure: Regenerate.
* Makefile.am: (CPU_TYPES): Add cris.
(CPU_OBJ_VALID) [aout]: Add cris.
(MULTI_CPU_TYPES): Add cris.
(MULTI_CPU_OBJ_VALID) [aout]: Add cris.
  [coff]: Only i386 and mips are valid.
(TARGET_CPU_CFILES): Add config/tc-cris.c.
(TARGET_CPU_HFILES): Add config/tc-cris.h.
(MULTI_CFILES): Add config/e-crisaout.c and config/e-criself.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* as.c: Declare crisaout, criself.
* config/tc-cris.h, config/tc-cris.c: New.
* config/e-criself.c, config/e-crisaout.c: New.
* po/POTFILES.in, po/gas.pot: Regenerate.

23 years ago * MAINTAINERS: Add self as CRIS port maintainer.
hp [Thu, 20 Jul 2000 17:28:55 +0000 (17:28 +0000)]
* MAINTAINERS: Add self as CRIS port maintainer.
* readelf.c: Include elf/cris.h.
(guess_is_rela): Handle EM_CRIS.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am: Rebuild dependencies.
* Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.

23 years ago * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
hp [Thu, 20 Jul 2000 17:16:05 +0000 (17:16 +0000)]
* Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o,
ecrislinux.o.
(ecrisaout.c, ecriself.c, ecrislinux.c): New rules.
Regenerate dependencies.
* Makefile.in: Rebuild.
* configure.tgt (cris-*-*): New target.
* emulparams/crisaout.sh, emulparams/criself.sh,
emulparams/crislinux.sh, scripttempl/crisaout.sc: New files.
* po/POTFILES.in, po/ld.pot: Regenerate.

23 years agoFix formatting.
nickc [Thu, 20 Jul 2000 17:12:25 +0000 (17:12 +0000)]
Fix formatting.

23 years agoRevert spurious unrelated changes from last commit. Oops.
hp [Thu, 20 Jul 2000 16:56:18 +0000 (16:56 +0000)]
Revert spurious unrelated changes from last commit.  Oops.

23 years ago * Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
hp [Thu, 20 Jul 2000 16:46:28 +0000 (16:46 +0000)]
* Makefile.am (CFILES): Add cris-dis.c and cris-opc.c.
(ALL_MACHINES): Add cris-dis.lo and cris-opc.lo.
(cris-dis.lo, cris-opc.lo): New rules.
* Makefile.in: Rebuild.
* configure.in (bfd_cris_arch): New target.
* configure: Rebuild.
* disassemble.c (ARCH_cris): Define.
(disassembler): Support ARCH_cris.
* cris-dis.c, cris-opc.c: New files.
* po/POTFILES.in, po/opcodes.pot: Regenerate.

23 years agoFix typo in CRIS entry
hp [Thu, 20 Jul 2000 16:35:18 +0000 (16:35 +0000)]
Fix typo in CRIS entry

23 years ago * Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
hp [Thu, 20 Jul 2000 16:21:06 +0000 (16:21 +0000)]
* Makefile.am (ALL_MACHINES): Add cpu-cris.lo.
(ALL_MACHINES_CFILES): Add cpu-cris.c.
(BFD32_BACKENDS): Add aout-cris.lo and elf32-cris.lo.
(BFD32_BACKENDS_CFILES): Add aout-cris.c and elf32-cris.c.
(cpu-cris.lo, aout-cris.lo, elf32-cris.lo): New rules.
* Makefile.in: Rebuild.
* aclocal.m4: Rebuild.
* aoutx.h (NAME(aout,machine_type)): Add case for bfd_arch_cris.
* archures.c (enum bfd_architecture): Add bfd_arch_cris.
(bfd_cris_arch): Declare.
(bfd_archures_list): Add bfd_cris_arch.
* bfd-in2.h: Rebuild.
* config.bfd: (cris-*-*): New target.
* configure.in (bfd_elf32_cris_vec, cris_aout_vec): New vectors.
* configure: Rebuild.
* elf.c (prep_headers): Add bfd_arch_cris.
* libbfd.h: Rebuild.
* libaout.h (enum machine_type): Add M_CRIS.
* reloc.c: Add CRIS relocations.
* targets.c (bfd_target bfd_elf32_cris_vec, cris_aout_vec):
Declare.
(bfd_target_vect): Add bfd_elf32_cris_vec and cris_aout_vec.
* cpu-cris.c, aout-cris.c, elf32-cris.c: New files.
* po/POTFILES.in, po/bfd.pot: Regenerate.

23 years ago2000-07-20 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 16:13:25 +0000 (16:13 +0000)]
2000-07-20  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
Print out ignored -z options.

23 years ago common.h (EM_CRIS): New machine number.
hp [Thu, 20 Jul 2000 15:44:56 +0000 (15:44 +0000)]
common.h (EM_CRIS): New machine number.
cris.h: New file.

23 years ago cris.h: New file.
hp [Thu, 20 Jul 2000 15:39:41 +0000 (15:39 +0000)]
cris.h: New file.

23 years ago * dis-asm.h (print_insn_cris): Declare.
hp [Thu, 20 Jul 2000 15:36:12 +0000 (15:36 +0000)]
* dis-asm.h (print_insn_cris): Declare.

23 years ago * ntsec.sgml: Add description for the new setuid ability
corinna [Thu, 20 Jul 2000 11:04:33 +0000 (11:04 +0000)]
    * ntsec.sgml: Add description for the new setuid ability
        of Cygwin since release 1.1.3.
        * overview2.sgml: Add description for new chroot functionality.
        * calls.texinfo: Add missing calls. Change comments for
        setuid, setgid, seteuid, setegid, chroot.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 03:25:10 +0000 (03:25 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
(PARSE_AND_LIST_PROLOGUE): New.
(PARSE_AND_LIST_LONGOPTS): Likewise.
(PARSE_AND_LIST_OPTIONS): Likewise.
(PARSE_AND_LIST_ARGS_CASES): Likewise.

* ldmain.c (main): Clear link_info.flags and link_info.flags_1.

* lexsup.c (ld_options): Comment out 'z'.
(parse_args): Likewise.

* emultempl/elf32.em: Include "elf/common.h".
(gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
options.
(gld_${EMULATION_NAME}_list_options): Likewise.

* ld.texinfo: Add documentation for the recognized -z options.

23 years ago2000-07-19 H.J. Lu (hjl@gnu.org)
hjl [Thu, 20 Jul 2000 03:23:03 +0000 (03:23 +0000)]
2000-07-19  H.J. Lu  (hjl@gnu.org)

* bfdlink.h (bfd_link_info): Add flags and flags_1.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 03:21:59 +0000 (03:21 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
DF_TEXTREL if DT_TEXTREL is set.
* elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
* elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
* elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
* elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
* elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
* elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
* elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.

* bfd/elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
DT_RPATH is set.
Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 03:17:32 +0000 (03:17 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call
bfd_elf_set_dt_needed_soname ().

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 03:16:18 +0000 (03:16 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_elf_set_dt_needed_soname): New.
* bfd-in2.h: Rebuild.

* elf-bfd.h (elf_obj_tdata): Add dt_soname.
(elf_dt_soname): New.

* elf.c (bfd_elf_set_dt_needed_soname): New.

* elflink.h (elf_link_add_object_symbols): Add the DT_NEEDED
entry if the shared object loaded by DT_NEEDED is used to
resolve the reference in a regular object.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 02:45:36 +0000 (02:45 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_dynamic_type): Change "AUXILARY" to
"AUXILIARY".
(process_dynamic_segment): Print out strings for DT_CONFIG,
DT_DEPAUDIT, DT_AUDIT and DT_RUNPATH.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Thu, 20 Jul 2000 02:19:23 +0000 (02:19 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
DT_DEPAUDIT and DT_AUDIT as strings.

23 years agoChange output of `nm --help' to include a description of the purpose of the
nickc [Thu, 20 Jul 2000 00:39:09 +0000 (00:39 +0000)]
Change output of `nm --help' to include a description of the purpose of the
program and a detailed description of the accepted options.

23 years agoFix formatting
nickc [Thu, 20 Jul 2000 00:31:39 +0000 (00:31 +0000)]
Fix formatting

23 years ago* m16.igen (break): Call SignalException not sim_engine_halt.
cagney [Thu, 20 Jul 2000 00:02:22 +0000 (00:02 +0000)]
* m16.igen (break): Call SignalException not sim_engine_halt.

23 years ago * thread.c (free_thread): New function.
nsd [Wed, 19 Jul 2000 21:03:06 +0000 (21:03 +0000)]
* thread.c (free_thread): New function.
(init_thread_list): Always zero highest_thread_num.  Call
free_thread() instead of free().
(delete_thread): Move thread cleanup code to free_thread().

23 years ago * spawn.cc (spawn_guts): Don't restore impersonation in case
corinna [Wed, 19 Jul 2000 20:27:27 +0000 (20:27 +0000)]
    * spawn.cc (spawn_guts): Don't restore impersonation in case
        of _P_OVERLAY. Clean up slightly. Accomodate comments.

23 years ago * shared.h (class pinfo): New members `root' and `rootlen'.
corinna [Wed, 19 Jul 2000 20:14:24 +0000 (20:14 +0000)]
    * shared.h (class pinfo): New members `root' and `rootlen'.
        * syscalls.cc (chroot): Set new root for process.
        * path.cc (getcwd_inner): Add parameter to force use of
        new root from chroot() call.
        (ischrootpath): New macro.
        (normalize_posix_path): Care for changed root dir.
        (normalize_win32_path): Ditto.
        (getcwd_inner): Ditto.
        (chdir): Eliminate trailing path component consisting
        entirely of dots.
        * fork.cc (fork): Copy pinfo members regarding chroot().
        * spawn.cc (_spawnve): Ditto.
        * dir.cc (opendir): Don't use computed win32 path if
        chroot() took place.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:45:46 +0000 (18:45 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* readelf.c (process_dynamic_segment): Change DF_1_NODEPLIB
to DF_1_NODEFLIB.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:43:35 +0000 (18:43 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DF_1_NODEFLIB): Renamed from DF_1_NODEPLIB.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:26:38 +0000 (18:26 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:24:32 +0000 (18:24 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_dynamic_type): Fix DT_CHECKSUM.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:22:41 +0000 (18:22 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_CHECKSUM): Set to 0x6ffffdf8.
(DTF_1_CONFEXP): It is 0x00000002 as suspected.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:03:17 +0000 (18:03 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* readelf.c (get_dynamic_type): Change DT_FEATURE_1 to
DT_FEATURE.
(process_dynamic_segment): Likewise.

* readelf.c (get_dynamic_type): Handle DT_CONFIG, DT_DEPAUDIT,
DT_AUDIT, DT_PLTPAD, DT_MOVETAB and DT_CHECKSUM.
(process_dynamic_segment): Handle DTF_1_CONFEXP, DF_1_NODEPLIB,
DF_1_NODUMP and DF_1_CONLFAT.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:02:31 +0000 (18:02 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FEATURE): Renamed from DT_FEATURE_1.
(DT_CONFIG): New. From Solaris 8.
(DT_DEPAUDIT): Likewise.
(DT_AUDIT): Likewise.
(DT_PLTPAD): Likewise.
(DT_MOVETAB): Likewise.
(DF_1_NODEPLIB): Likewise.
(DF_1_NODUMP): Likewise.
(DF_1_CONLFAT): Likewise.
(DT_CHECKSUM): Likewise. FIXME. Check the value on Solaris 8.
(DTF_1_CONFEXP): Likewise.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 18:02:13 +0000 (18:02 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
DT_FLAGS_1, DT_USED and DT_CHECKSUM.

23 years ago2000-07-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 17:47:08 +0000 (17:47 +0000)]
2000-07-19  H.J. Lu  <hjl@gnu.org>

* sb.c: Include <stdlib.h> if exists for abort ().

23 years agoUpdate copyright info.
cgf [Wed, 19 Jul 2000 17:42:16 +0000 (17:42 +0000)]
Update copyright info.

23 years ago2000-07-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
ezannoni [Wed, 19 Jul 2000 14:11:41 +0000 (14:11 +0000)]
2000-07-19  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

        Multiarch the sh target.
* sh-tdep.c:
(sh_generic_reg_names, sh_reg_names,sh3_reg_names, sh3e_reg_names,
  sh_dsp_reg_names, sh3_dsp_reg_names, sh_processor_type_table):
  Remove.
(XMALLOC): Define.
(struct frame_extra_info): Define.
(sh_register_raw_size, sh_register_virtual_size,
  sh_register_virtual_type, sh_register_byte, sh_breakpoint_from_pc,
  sh_frame_saved_pc, sh_skip_prologue,
  sh_nofp_frame_init_saved_regs, sh_fp_frame_init_saved_regs,
  sh_extract_struct_value_address, sh_use_struct_convention,
  sh_store_struct_return, sh_push_arguments, sh_push_return_address,
  sh_saved_pc_after_call, sh_generic_register_name,
  sh_sh_register_name, sh_sh3_register_name, sh_sh3e_register_name,
  sh_sh_dsp_register_name, sh_sh3_dsp_register_name,
  sh_frame_args_address, sh_frame_locals_address,
  sh_coerce_float_to_double, sh_default_store_return_value,
  sh3e_sh4_store_return_value, sh_generic_show_regs,
  sh3_show_regs,sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs,
  sh_dsp_show_regs, sh_register_byte, sh_register_raw_size,
  sh_register_virtual_size, sh_sh3e_register_virtual_type,
  sh_default_register_virtual_type, sh_gdbarch_init): New functions.
(sh_target_architecture_hook, sh_frame_find_saved_regs,
  sh_show_regs): Delete functions.
(sh_frame_chain, sh_find_callers_reg, sh_init_extra_frame_info,
  sh_pop_frame, sh_extract_return_value): Update

* config/sh/tm-sh.h (GDB_MULTI_ARCH): Define to 1.
(struct gdbarch_tdep): Define.
Remove all unnecessary defines.

* remote-e7000.c ({PR,GBR,SR,MACL,VBR,MACH}_REGNUM): Define to -1,
  for h8300 case.
(want_sh,want_nopc_sh,want_nopc_sh3): Make nomenclature
  consistent.
(e7000_fetch_registers): Remove ifdef GDB_TARGET_IS_SH, use
  runtime check instead.
(e7000_wait): Ditto.

* sh3-rom.c (sh3_supply_register): Use gdbarch_tdep to get the SSR
  and SPC register numbers.
(sh3_regnames, sh3e_regnames): Don't specify a size.

* config/h8300/tm-h8300.h: Add comment.

23 years ago#ifdef OBJ_SOM, not #ifdef SOM
amodra [Wed, 19 Jul 2000 06:30:49 +0000 (06:30 +0000)]
#ifdef OBJ_SOM, not #ifdef SOM

23 years agoFix typos.
amodra [Wed, 19 Jul 2000 05:16:11 +0000 (05:16 +0000)]
Fix typos.

23 years agoFix a couple of HPPA SOM test failures.
amodra [Wed, 19 Jul 2000 04:55:13 +0000 (04:55 +0000)]
Fix a couple of HPPA SOM test failures.
Re-enable some tests for hppa-linux.

23 years ago* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
cagney [Wed, 19 Jul 2000 02:55:54 +0000 (02:55 +0000)]
* solib.c (elf_locate_base, info_sharedlibrary_command): Rename
bfd_elf_get_arch_size to bfd_get_arch_size.

23 years agoFix typo.
cgf [Wed, 19 Jul 2000 02:14:19 +0000 (02:14 +0000)]
Fix typo.

23 years ago2000-07-18 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Jul 2000 00:33:45 +0000 (00:33 +0000)]
2000-07-18  H.J. Lu  <hjl@gnu.org>

* common.h (DT_FLAGS_1): Renamed from DT_1_FLAGS.

23 years ago* pe-dll.c (pe_dll_id_target): check object target name also
dj [Wed, 19 Jul 2000 00:04:04 +0000 (00:04 +0000)]
* pe-dll.c (pe_dll_id_target): check object target name also

23 years agoFix expected results to match current assembler output.
nickc [Tue, 18 Jul 2000 22:07:53 +0000 (22:07 +0000)]
Fix expected results to match current assembler output.