OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
24 years agoUpdate dependencies.
amodra [Fri, 26 May 2000 14:14:20 +0000 (14:14 +0000)]
Update dependencies.

24 years agomissed this in the last commit.
amodra [Fri, 26 May 2000 13:16:03 +0000 (13:16 +0000)]
missed this in the last commit.

24 years agoEli Zaretskii's DOSish file name patches.
amodra [Fri, 26 May 2000 13:11:55 +0000 (13:11 +0000)]
Eli Zaretskii's DOSish file name patches.

24 years ago* Makefile.in (maintainer-clean-subdir): Fix handling of empty
aoliva [Fri, 26 May 2000 12:50:58 +0000 (12:50 +0000)]
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.

24 years ago * errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE.
corinna [Fri, 26 May 2000 09:17:08 +0000 (09:17 +0000)]
    * errno.cc (errmap): Map ERROR_BAD_NET_NAME to errno ENOSHARE.

24 years ago(bfd_close_all_done): Mask file perms with 0777 not 0x777.
amodra [Fri, 26 May 2000 07:32:26 +0000 (07:32 +0000)]
(bfd_close_all_done): Mask file perms with 0777 not 0x777.

24 years ago * config/tc-sparc.c (sparc_relax): New.
jakub [Fri, 26 May 2000 06:45:54 +0000 (06:45 +0000)]
* config/tc-sparc.c (sparc_relax): New.
(md_longopts): Add -relax and -no-relax options.
(md_parse_options, md_show_usage): Likewise.
(md_apply_fix3): Optimize tail call into branch always if possible.

24 years ago * elf64-sparc.c (sparc64_elf_relax_section): New.
jakub [Fri, 26 May 2000 06:41:33 +0000 (06:41 +0000)]
* elf64-sparc.c (sparc64_elf_relax_section): New.
(sparc64_elf_relocate_section): Optimize tail call into branch always
if possible.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
(elf32_sparc_relax_section): New.

24 years ago * elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
jakub [Fri, 26 May 2000 06:39:51 +0000 (06:39 +0000)]
* elf64-sparc.c: Add ATTRIBUTE_UNUSED to unused function parameters.
Remove unusued variables.
(sparc64_elf_relocate_section): Change r_symndx type to unsigned long.
(sparc64_elf_merge_private_bfd_data): Fix shared library case from
previous fix, so that shared libs really don't influence targets
extension mask and memory model.

24 years ago* sigproc.h (sigframe::set): Accept a default frame pointer.
cgf [Fri, 26 May 2000 06:24:58 +0000 (06:24 +0000)]
* sigproc.h (sigframe::set): Accept a default frame pointer.
* sigproc.cc (sig_send): Use passed in frame pointer, if appropriate.

24 years agoFix bitrot in tui-file.c.
cagney [Fri, 26 May 2000 06:15:49 +0000 (06:15 +0000)]
Fix bitrot in tui-file.c.

24 years agoConfigure TUI to use <ncurses.h> when available.
cagney [Fri, 26 May 2000 04:11:33 +0000 (04:11 +0000)]
Configure TUI to use <ncurses.h> when available.

24 years ago* m10300-dis.c (disassemble): Don't assume 32-bit longs when
aoliva [Fri, 26 May 2000 01:54:33 +0000 (01:54 +0000)]
* m10300-dis.c (disassemble): Don't assume 32-bit longs when
sign-extending operands.

24 years ago* configure.in: Don't assume that cinstall directory exists.
cgf [Thu, 25 May 2000 22:39:48 +0000 (22:39 +0000)]
* configure.in: Don't assume that cinstall directory exists.

24 years agoNew short-conditional-branch packing rules for D10V.
dlindsay [Thu, 25 May 2000 22:35:05 +0000 (22:35 +0000)]
New short-conditional-branch packing rules for D10V.

24 years ago* configure.in: Don't assume that cinstall directory exists.
cgf [Thu, 25 May 2000 22:28:43 +0000 (22:28 +0000)]
* configure.in: Don't assume that cinstall directory exists.

24 years agoDefine the ALONE flag bit, for use in the opcode table.
dlindsay [Thu, 25 May 2000 22:23:45 +0000 (22:23 +0000)]
Define the ALONE flag bit, for use in the opcode table.

24 years agoAdd ALONE flag to most of the short branch instructions.
dlindsay [Thu, 25 May 2000 22:21:38 +0000 (22:21 +0000)]
Add ALONE flag to most of the short branch instructions.

24 years ago* dir.cc (rmdir): Use file attributes that have already been discovered by
cgf [Thu, 25 May 2000 21:45:04 +0000 (21:45 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.

24 years ago* dir.cc (rmdir): Use file attributes that have already been discovered
cgf [Thu, 25 May 2000 21:02:28 +0000 (21:02 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered
by path_conv.

24 years ago* dir.cc (rmdir): Use file attributes that have already been discovered by
cgf [Thu, 25 May 2000 19:48:45 +0000 (19:48 +0000)]
* dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.

24 years agoReplace SKIP_SOLIB_RESOLVER stub with something that works.
scottb [Thu, 25 May 2000 18:24:33 +0000 (18:24 +0000)]
Replace SKIP_SOLIB_RESOLVER stub with something that works.

2000-05-25  Scott Bambrough <scottb@netwinder.org>

* arm-linux-tdep.c (find_minsym_and_objfile): New.
(skip_hurd_resolver): New.
(arm_linux_skip_solib_resolver): New.
(arm_skip_solib_resolver): Removed.

* config/arm/tm-linux.h (SKIP_SOLIB_RESOLVER): Changed to use
arm_linux_skip_solib_resolver.

24 years ago* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
kettenis [Thu, 25 May 2000 17:18:01 +0000 (17:18 +0000)]
* acconfig.h (HAVE_R_FS, HAVE_R_GS): Add.
* configure.in: Add checks for r_fs and r_gs members of
`struct reg'.
* config.in, configure: Regenerated.

24 years ago * ser-go32.c: Remove PARAMS.
eliz [Thu, 25 May 2000 13:55:48 +0000 (13:55 +0000)]
* ser-go32.c: Remove PARAMS.

24 years ago Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
corinna [Thu, 25 May 2000 10:27:36 +0000 (10:27 +0000)]
    Patch by  Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
        * dir.cc (rmdir): Correct the manner in checking the target directory.

24 years agoReplace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".
cagney [Thu, 25 May 2000 06:49:00 +0000 (06:49 +0000)]
Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".

24 years agoRe-generate config.in.
cagney [Thu, 25 May 2000 04:44:33 +0000 (04:44 +0000)]
Re-generate config.in.

24 years agoFile rename tweeks.
cagney [Thu, 25 May 2000 03:57:48 +0000 (03:57 +0000)]
File rename tweeks.

24 years agoEnsure bfd_close after bfd_openw so we don't get multiple bfd_openw
amodra [Thu, 25 May 2000 02:05:07 +0000 (02:05 +0000)]
Ensure bfd_close after bfd_openw so we don't get multiple bfd_openw
calls for same file.

24 years agoIA-64 unwind info changes, fix errors, add missing pieces, and some cleanup.
wilson [Thu, 25 May 2000 02:00:14 +0000 (02:00 +0000)]
IA-64 unwind info changes, fix errors, add missing pieces, and some cleanup.
* config/tc-ia64.c (dot_restorereg_p): New function.
(md_pseudo_table): Add restorereg.p.
...

24 years agoHave TUI use the same configury mechanism as MI.
cagney [Thu, 25 May 2000 01:50:49 +0000 (01:50 +0000)]
Have TUI use the same configury mechanism as MI.

24 years agoUpdate JimI's e-mail addres.
cagney [Thu, 25 May 2000 01:07:16 +0000 (01:07 +0000)]
Update JimI's e-mail addres.
Update TODO - FreeBSD mostly fixed.

24 years agoDelete pass on manually added dependency for readelf.o for new target
hp [Thu, 25 May 2000 00:39:59 +0000 (00:39 +0000)]
Delete pass on manually added dependency for readelf.o for new target

24 years agoAdd support for FreeBSD/i386 ELF.
kettenis [Wed, 24 May 2000 22:32:58 +0000 (22:32 +0000)]
Add support for FreeBSD/i386 ELF.
* i386bsd-nat.c: New file.
* config/i386/tm-fbsd.h (HAVE_I387_REGS): Define.
Include "i386/tm-i386.h" instead of "i386/tm-i386b.h".
(NUM_REGS): Remove redefinition.
(USE_STRUCT_CONVENTION): Define.
(i386_float_info): Remove prototype.
(FLOAT_INFO): Remove define.
(JB_ELEMENT_SIZE): Define to 4.
(JB_PC): Define to 0.
(GET_LONGJMP_TARGET): Define.
(SIGTRAMP_START, SIGTRAMP_END): Define.
(SIGCONTEXT_PC_OFFSET): Define.
(IN_SOLIB_CALL_TRAMPOLINE): Only define if !SVR4_SHARED_LIBS
* config/i386/nm-fbsd.h (PTRACE_ARG3_TYPE): Define to caddr_t.
(FETCH_INFERIOR_REGISTERS): Define.
(ATTACH_DETACH): Define.
(kernel_u_size): Remove PARAMS.
(register_u_addr): Use CORE_ADDR in prototype where appropriate.
Remove PARAMS.
(SVR4_SHARED_LIBS) [FREEBSD_ELF || __ELF__ && !FREEBSD_AOUT]:
Define.
[SVR4_SHARED_LIBS]: Include "elf/common.h".
Only define aliases for struct members from <link.h> if
!SVR4_SHARED_LIBS.
* config/i386/xm-fbsd.h: New file.
* config/i386/fbsd.mt (TDEPFILES): Remove solib.o.
* config/i386/fbsd.mh (NATDEPFILES): Remove i386b-nat.o.  Add
core-regset.o i387-nat.o i386bsd-nat.o.

24 years ago * dir.cc (writable_directory): Comment out previous code,
corinna [Wed, 24 May 2000 20:09:43 +0000 (20:09 +0000)]
    * dir.cc (writable_directory): Comment out previous code,
        return always 1 for now.
        (mkdir): Call set_file_attribute explicitely with S_IFDIR mode bit.
        * syscalls.cc (chown_worker): Ditto.
        (chmod): Ditto.
        * security.cc (get_nt_attribute): Fix error in debug output.
        Never set FILE_DELETE_CHILD for files.
        Construct appropriate inherit attribute according to file type.

24 years ago* mn10300/time.c (time): Set *tloc, since the sim doesn't.
aoliva [Wed, 24 May 2000 19:49:44 +0000 (19:49 +0000)]
* mn10300/time.c (time): Set *tloc, since the sim doesn't.

24 years ago* Makefile.common (%.o): further simplify, add "..." to make it
dj [Wed, 24 May 2000 18:54:10 +0000 (18:54 +0000)]
* Makefile.common (%.o): further simplify, add "..." to make it
obvious it's an abbreviated command line.

24 years ago * bfdint.texi (BFD ELF processor required): Add paragraph about
hp [Wed, 24 May 2000 18:21:53 +0000 (18:21 +0000)]
* bfdint.texi (BFD ELF processor required): Add paragraph about
target necessities for readelf.

24 years ago2000-05-24 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 24 May 2000 17:25:39 +0000 (17:25 +0000)]
2000-05-24  Michael Snyder  <msnyder@seadog.cygnus.com>

        * findvar.c (value_from_register): Factor code, simplify logic.

24 years ago2000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 24 May 2000 17:17:46 +0000 (17:17 +0000)]
2000-05-17  Michael Snyder  <msnyder@seadog.cygnus.com>

        * config/sparc/tm-sun4sol2.h: Turn on multi-arch.
        * sparc-tdep.c (gdb_print_insn_sparc): Remove temp. multi-arch hack.

24 years ago2000-05-18 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 24 May 2000 17:14:50 +0000 (17:14 +0000)]
2000-05-18  Michael Snyder  <msnyder@seadog.cygnus.com>

      * gdb.base/annota1.exp (annotate-signal-handler-caller):
      Relax the regular expression a little, make it pass on Solaris 8.

24 years ago2000-05-17 Michael Snyder <msnyder@seadog.cygnus.com>
msnyder [Wed, 24 May 2000 17:13:47 +0000 (17:13 +0000)]
2000-05-17  Michael Snyder  <msnyder@seadog.cygnus.com>

      * config/sparc/tm-sun4sol2.h: Turn on multi-arch.
      sparc-tdep.c (gdb_print_insn_sparc): Remove temporary multi-arch hack.

24 years ago * gdb.texinfo: Remove duplicate @syncodeindex. From Brian
eliz [Wed, 24 May 2000 16:20:23 +0000 (16:20 +0000)]
* gdb.texinfo: Remove duplicate @syncodeindex.  From Brian
        Youmans.

24 years ago * mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
dnovillo [Wed, 24 May 2000 15:24:56 +0000 (15:24 +0000)]
* mips-dis.c (REGISTER_NAMES): Rename to STD_REGISTER_NAMES.
(STD_REGISTER_NAMES): New name for REGISTER_NAMES.
(reg_names): Rename to std_reg_names. Change it to a char **
static variable.
(std_reg_names): New name for reg_names.
(set_mips_isa_type): Set reg_names to point to std_reg_names by
default.

24 years agoet al. not et.al.
cagney [Wed, 24 May 2000 11:39:44 +0000 (11:39 +0000)]
et al. not et.al.

24 years agoChange profiling so that it is enabled by default. Re-generate everything.
cagney [Wed, 24 May 2000 04:39:47 +0000 (04:39 +0000)]
Change profiling so that it is enabled by default.  Re-generate everything.

24 years ago* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
jtc [Wed, 24 May 2000 04:16:27 +0000 (04:16 +0000)]
* config/i386/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/i386/nbsd.mh (NATDEPFILES): ...to here.
* config/m68k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/m68k/nbsd.mh (NATDEPFILES): ...to here.
* config/ns32k/nbsd.mt (TDEPFILES): Move solib.o from here...
* config/ns32k/nbsd.mh (NATDEPFILES): ...to here.

* config/powerpc/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o.
* configure.tgt (powerpc-*-netbsd*): add gdbserver to configdirs.
* gdbserver/low-nbsd.c (initialize_arch): Define for PPC.
(fetch_inferior_registers): Likewise.
(store_inferior_registers): Likewise.

* gdbserver/low-nbsd.c (fetch_inferior_registers): Handle X86
floating point registers.
(store_inferior_registers): Likewise.
-------------------------------------------------------------------

24 years agoRemove quotes from arround for loop arg.
cagney [Wed, 24 May 2000 02:18:18 +0000 (02:18 +0000)]
Remove quotes from arround for loop arg.

24 years ago* syscalls.cc (_cygwin_istext_for_stdio): New, for newlib
dj [Tue, 23 May 2000 23:52:49 +0000 (23:52 +0000)]
* syscalls.cc (_cygwin_istext_for_stdio): New, for newlib
* include/cygwin/version.h: Bump API number for detect old
programs using old getc/putc macros

24 years agoAdd special case handling when GDB set CPSR register
nickc [Tue, 23 May 2000 23:52:46 +0000 (23:52 +0000)]
Add special case handling when GDB set CPSR register

24 years ago* libc/stdio/stdio.c (__stextmode): new, see if file is text mode
dj [Tue, 23 May 2000 23:51:54 +0000 (23:51 +0000)]
* libc/stdio/stdio.c (__stextmode): new, see if file is text mode
(__sread): always read in binary mode
(__swrite): always write in binary mode
* libc/include/stdio.h: no getc/putc macros for cygwin; causes
compatibility issues with different dll versions
* libc/stdio/fopen.c: use __stextmode
* libc/stdio/fdopen.c: ditto
* libc/stdio/freopen.c: ditto
* libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
* libc/stdio/local.h: declare __stextmode

24 years ago* i387-nat.h, i387-nat.c: New files.
kettenis [Tue, 23 May 2000 23:44:44 +0000 (23:44 +0000)]
* i387-nat.h, i387-nat.c: New files.

24 years agoWhen deciding if ".text" section should be read-only, don't forget to reset
nickc [Tue, 23 May 2000 21:03:35 +0000 (21:03 +0000)]
When deciding if ".text" section should be read-only, don't forget to reset
SEC_READONLY because it could be already set.

24 years ago* config/sparc/nm-linux.h: Include config/nm-linux.h.
aoliva [Tue, 23 May 2000 20:34:08 +0000 (20:34 +0000)]
* config/sparc/nm-linux.h: Include config/nm-linux.h.
* config/powerpc/nm-linux.h: Likewise.

24 years ago* dir.cc (writable_directory): handle root directories
dj [Tue, 23 May 2000 19:25:18 +0000 (19:25 +0000)]
* dir.cc (writable_directory): handle root directories

24 years agoone line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
taylor [Tue, 23 May 2000 15:56:32 +0000 (15:56 +0000)]
one line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
with the printing of complex numbers (it would print the real part twice).

24 years agoAdd make_cleanup_close() function.
cagney [Tue, 23 May 2000 14:48:12 +0000 (14:48 +0000)]
Add make_cleanup_close() function.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 23 May 2000 14:20:56 +0000 (14:20 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf32-mips.c (mips_elf_calculate_relocation): Check
h->root.other not h->other.

* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 23 May 2000 14:15:30 +0000 (14:15 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_relocate_section): Check
h->root.other not h->other.

24 years ago* uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with the
cgf [Tue, 23 May 2000 14:10:31 +0000 (14:10 +0000)]
* uname.cc (uname): Use a "s" to denote a snapshot to avoid confusion with the
number "5".

24 years ago* path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on a
cgf [Tue, 23 May 2000 14:08:52 +0000 (14:08 +0000)]
* path.cc (mount_info::conv_to_posix_path): Avoid putting a trailing slash on a
directory name when the ms-dos path spec is a root directory of a device.
* registry.cc (reg_key::build_reg): Set 'key_is_invalid' flag rather than using
an INVALID_HANDLE_KEY.
(reg_key::get_int): Test for key validity before performing registry
operations.
(reg_key::set_int): Ditto.
(reg_key::get_string): Ditto.
(reg_key::set_string): Ditto.
(reg_key::kill): Ditto.
(reg_key::~reg_key): Ditto.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
hjl [Tue, 23 May 2000 14:05:50 +0000 (14:05 +0000)]
2000-05-23  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_relocate_section): Don't allow the
undefined symbol with the non-default visibility attributes.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mips.c (mips_elf_calculate_relocation): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-ia64.c (elf64_ia64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

24 years agosigrc wasn't initialized before being passed to sim_resume().
cagney [Tue, 23 May 2000 11:34:27 +0000 (11:34 +0000)]
sigrc wasn't initialized before being passed to sim_resume().

24 years agoAdd -Wuninitialized.
cagney [Tue, 23 May 2000 11:28:13 +0000 (11:28 +0000)]
Add -Wuninitialized.

24 years agoOops. Forgot to say "configure: Regenerate".
hp [Tue, 23 May 2000 10:03:32 +0000 (10:03 +0000)]
Oops.  Forgot to say "configure: Regenerate".

24 years ago * configure.in (i386-*-freebsd a.out entry): Quote properly.
hp [Tue, 23 May 2000 08:53:54 +0000 (08:53 +0000)]
* configure.in (i386-*-freebsd a.out entry): Quote properly.

24 years agoIRIX GCC fixes from 5.0 branch.
cagney [Tue, 23 May 2000 07:49:04 +0000 (07:49 +0000)]
IRIX GCC fixes from 5.0 branch.

24 years ago* mkvers.sh: Use snapshot date as build date since it is more interesting.
cgf [Tue, 23 May 2000 05:18:48 +0000 (05:18 +0000)]
* mkvers.sh: Use snapshot date as build date since it is more interesting.
* uname.cc (uname): Detect if this is a snapshot build and add an "S" to the
version number.  Report the snapshot date as the release date.

24 years agoMissed copyright update in last patch.
amodra [Tue, 23 May 2000 05:07:47 +0000 (05:07 +0000)]
Missed copyright update in last patch.

24 years agoPass jump reloc in fr_var so it can be used in
amodra [Tue, 23 May 2000 04:48:21 +0000 (04:48 +0000)]
Pass jump reloc in fr_var so it can be used in
md_estimate_size_before_relax, replacing old kludge.

24 years agoFrom branch. Bump VERSION number.
cagney [Tue, 23 May 2000 03:22:29 +0000 (03:22 +0000)]
From branch.  Bump VERSION number.

24 years ago * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
rth [Tue, 23 May 2000 01:48:04 +0000 (01:48 +0000)]
    * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
        (pseudo_func): Add pcrel.
        (operand_match):  Handle IA64_OPND_TGT64.
        (build_insn): Likewise.
        (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
        (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
        (fix_insn): Handle all three 64-bit relocation types.

24 years ago * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
rth [Tue, 23 May 2000 01:32:27 +0000 (01:32 +0000)]
    * elf64-ia64.c (ia64_howto_table): Add PCREL60B, PCREL21BI,
        PCREL22, PCREL64I.  Zero size of special relocs.
        (elf64_ia64_reloc_type_lookup): Likewise.
        (USE_BRL, oor_brl, oor_ip): New.
        (elf64_ia64_relax_section): New.
        (elf64_ia64_check_relocs): Handle PCREL60B, PCREL22, PCREL64I.
        (elf64_ia64_install_value): Likewise, plus PCREL21BI.
        (elf64_ia64_relocate_section): Likewise.
        (bfd_elf64_bfd_relax_section): New.
        * reloc.c (BFD_RELOC_IA64_PCREL21BI): New.
        (BFD_RELOC_IA64_{PCREL22,PCREL60B,PCREL64I}): New.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years ago * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
rth [Tue, 23 May 2000 01:30:56 +0000 (01:30 +0000)]
    * ia64.h (R_IA64_PCREL60B, R_IA64_PCREL21BI): New.
        (R_IA64_PCREL22, R_IA64_PCREL64I): New.

24 years agoAllow d suffix on iret
amodra [Tue, 23 May 2000 00:36:39 +0000 (00:36 +0000)]
Allow d suffix on iret

24 years agoPatch from Thomas de Lellis to implement --section-start
nickc [Mon, 22 May 2000 21:58:39 +0000 (21:58 +0000)]
Patch from Thomas de Lellis to implement --section-start

24 years ago * obj.h (struct format_ops): New members begin, app_file,
hp [Mon, 22 May 2000 21:19:43 +0000 (21:19 +0000)]
* obj.h (struct format_ops): New members begin, app_file,
s_set_other, s_set_desc, s_get_type, s_set_type,
separate_stab_sections, init_stab_section.

* config/obj-multi.h: Update GPL notice to v2.
(obj_begin): New.
(obj_app_file): New.
(S_SET_SIZE): Test s_set_size for NULL before calling.
(S_SET_ALIGN): Similar for s_set_align.
(S_SET_OTHER): New.
(S_SET_DESC): New.
(S_GET_TYPE): New.
(S_SET_TYPE): New.
(SEPARATE_STAB_SECTIONS): New.
(INIT_STAB_SECTION): New.
(EMIT_SECTION_SYMBOLS): New.
(AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.

* config/obj-elf.h: Update GPL notice to v2.
Mention that this file is included from obj-multi.h.
(obj_begin): Wrap definition in ifndef.
(elf_file_symbol): Constify declaration.
(obj_app_file): Ditto.
(SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
Wrap in ifndef SEPARATE_STAB_SECTIONS.

* config/obj-elf.c (elf_s_set_other): New.
(elf_file_symbol): Constify argument.
(elf_separate_stab_sections): New.
(elf_init_stab_section): New.
(elf_format_ops): Add new members.  Remove comma at end.

* config/obj-ecoff.c (ecoff_separate_stab_sections): New.
(ecoff_format_ops): Add new fields.  Remove comma at end.
Mention inconsistency for emit_section_symbols.

* config/obj-coff.h (c_dot_file_symbol): Constify declaration.

* config/obj-coff.c (c_dot_file_symbol): Constify argument.
(coff_separate_stab_sections): New.
(coff_format_ops): Add new members.

* config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
(obj_aout_s_set_other): New.
(obj_aout_s_set_desc): New.
(obj_aout_s_get_type): New.
(obj_aout_s_set_type): New.
(obj_aout_separate_stab_sections): New.
(aout_format_ops): New members added.  Use obj_aout_process_stab,
not 0.  Use obj_aout_sec_sym_ok_for_reloc, not 0.
(obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
appropriate.
(obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.

24 years ago* environ.cc (regopt): Scan HKLM if HKCU scan fails.
cgf [Mon, 22 May 2000 21:19:36 +0000 (21:19 +0000)]
* environ.cc (regopt): Scan HKLM if HKCU scan fails.

24 years ago* am33.igen: Fix leading comments of SP-relative offset insns that
aoliva [Mon, 22 May 2000 20:34:09 +0000 (20:34 +0000)]
* am33.igen: Fix leading comments of SP-relative offset insns that
referred to other registers.  Make their offsets unsigned.

24 years agoAdd peigen.lo to MIPS PE target
nickc [Mon, 22 May 2000 19:16:58 +0000 (19:16 +0000)]
Add peigen.lo to MIPS PE target

24 years agoUse bfd_generic_verify_endian_match() and fix it to only check when endianness
nickc [Mon, 22 May 2000 18:44:01 +0000 (18:44 +0000)]
Use bfd_generic_verify_endian_match() and fix it to only check when endianness
is known.

24 years agoRegerbated after change to Makefile.am
nickc [Mon, 22 May 2000 18:04:17 +0000 (18:04 +0000)]
Regerbated after change to Makefile.am

24 years ago * dir.cc (rmdir): Care for misleading error messages
corinna [Mon, 22 May 2000 17:15:47 +0000 (17:15 +0000)]
    * dir.cc (rmdir): Care for misleading error messages
        when trying to remove a directory on a samba share.
        Eliminate superfluous else branch.
        * syscalls.cc (_rename): Additional check for ERROR_FILE_EXISTS
        if MoveFile fails.

24 years agoKeep a reloc for jumps to weak and external symbols.
amodra [Mon, 22 May 2000 11:38:43 +0000 (11:38 +0000)]
Keep a reloc for jumps to weak and external symbols.

24 years agoPurge (almost) make_cleanup_func.
cagney [Mon, 22 May 2000 09:02:22 +0000 (09:02 +0000)]
Purge (almost) make_cleanup_func.

24 years ago2000-05-22 H.J. Lu <hjl@gnu.org>
hjl [Mon, 22 May 2000 07:26:58 +0000 (07:26 +0000)]
2000-05-22  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Clear the visibility
field for symbols not defined locally.

24 years agoPurge procfs.c of make_cleanup_func.
cagney [Mon, 22 May 2000 06:17:34 +0000 (06:17 +0000)]
Purge procfs.c of make_cleanup_func.

24 years agoEliminate make_cleanup_func from top.c
cagney [Mon, 22 May 2000 05:43:39 +0000 (05:43 +0000)]
Eliminate make_cleanup_func from top.c

24 years agoReplace preg() with phex(). Cleanup monitor.c.
cagney [Mon, 22 May 2000 02:07:18 +0000 (02:07 +0000)]
Replace preg() with phex().  Cleanup monitor.c.

24 years ago* dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid a
cgf [Mon, 22 May 2000 00:54:22 +0000 (00:54 +0000)]
* dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid a
race.
(noload): Add an extra argument for debugging.
* uinfo.cc (uinfo_init): Eliminate test for multiple calls.
(getlogin): Assume that uinfo_init has already been called.

24 years ago* i387-tdep.c (print_i387_value): Cast &value to (char *) in
kettenis [Sun, 21 May 2000 21:21:20 +0000 (21:21 +0000)]
* i387-tdep.c (print_i387_value): Cast &value to (char *) in
pointer arithmetic.  Fixes a bug which manifested itself on
FreeBSD.

24 years ago2000-05-21 H.J. Lu (hjl@gnu.org)
hjl [Sun, 21 May 2000 21:08:17 +0000 (21:08 +0000)]
2000-05-21  H.J. Lu  (hjl@gnu.org)

* ld-elfvsb/main.c (main_visibility_check): Fix the protected
visibility test.

24 years ago * stabs.c (aout_process_stab): Make global.
hp [Sun, 21 May 2000 18:26:09 +0000 (18:26 +0000)]
* stabs.c (aout_process_stab): Make global.
(s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
* read.h (aout_process_stab): Declare.

* configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
Generalize to *aout, *coff *elf.
* configure: Regenerated.

* doc/internals.texi (Object format backend): Say
SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.

24 years ago * gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.
hp [Sun, 21 May 2000 18:06:40 +0000 (18:06 +0000)]
* gas/elf/elf.exp: Exclude *-*-linux*coff* as non-elf.

24 years agoDefine LIBIBERTY
nickc [Sun, 21 May 2000 17:01:02 +0000 (17:01 +0000)]
Define LIBIBERTY

24 years ago20000-05-21 H.J. Lu (hjl@gnu.org)
hjl [Sun, 21 May 2000 16:57:14 +0000 (16:57 +0000)]
20000-05-21  H.J. Lu  (hjl@gnu.org)

* configure: Revert changes made on May 18 and May 19.

        * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
        directory are used if they exist. Make sure
        $(build_tooldir)/include is searched for header files,
        $(build_tooldir)/lib/ for library files.
        (GCC_FOR_TARGET): Likewise.
        (CXX_FOR_TARGET): Likewise.

24 years ago* target.h (target_memory_bfd_section): Removed declaration.
jtc [Sat, 20 May 2000 10:29:51 +0000 (10:29 +0000)]
* target.h (target_memory_bfd_section): Removed declaration.
* target.c (target_memory_bfd_section): Removed.
* exec.c (xfer_memory): Removed #if'ed-out code which referenced
target_memory_bfd_section.

* target.h (target_read_memory_section): Removed declaration.
* target.c (target_read_memory_section): Removed.
(target_xfer_memory): Update, removed bfd_section argument.
(target_read_string, target_read_memory, target_write_memory):
Update for above change.

* gdbcore.h (read_memory_section): Removed declaration.
* corefile.c (read_memory_section): Removed.
* jv-lang.c (get_java_utf8_name): Changed calls to
read_memory_section to read_memory.
* printcmd.c (printf_command): Likewise.
* valops.c (value_at, value_fetch_lazy): Likewise.

24 years ago* exceptions.cc (interruptible): Add an argument to control whether function
cgf [Sat, 20 May 2000 05:52:33 +0000 (05:52 +0000)]
* exceptions.cc (interruptible): Add an argument to control whether function
just checks for validity.  Flag module handle == 0 as noninterrupible.
(call_handler): Always acquire and release ebp lock.  Loop for only a fixed
amount of time attempting to grab mutos and find an interruptible PC.

24 years ago * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
hp [Sat, 20 May 2000 02:03:38 +0000 (02:03 +0000)]
* Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
* Makefile.in: Regenerated.

24 years ago * regtool.cc (find_key): Add parameter `access'.
corinna [Fri, 19 May 2000 22:02:23 +0000 (22:02 +0000)]
    * regtool.cc (find_key): Add parameter `access'.
        Call `RegOpenKeyEx' with that desired access.
        (cmd_add, cmd_remove, cmd_set, cmd_unset): Call
        `find_key' with KEY_ALL_ACCESS access.
        (cmd_list, cmd_check, cmd_get): Call `find_key'
        with KEY_READ access.