binutils-gdb.git
24 years agoAdd support for v4 SystemMode.
Nick Clifton [Tue, 30 May 2000 17:13:37 +0000 (17:13 +0000)]
Add support for v4 SystemMode.

24 years ago* config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000.
Andrew Cagney [Tue, 30 May 2000 09:08:59 +0000 (09:08 +0000)]
* config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000.
* config.guess: Import CVS version 1.148 Tue May 30 09:00:06 2000

24 years agoFurther re-arange into distinct sections.
Andrew Cagney [Tue, 30 May 2000 08:52:57 +0000 (08:52 +0000)]
Further re-arange into distinct sections.

24 years agoFix my inept 2000-05-24 change.
Alan Modra [Tue, 30 May 2000 07:47:56 +0000 (07:47 +0000)]
Fix my inept 2000-05-24 change.

24 years ago* gdbarch.sh: Add field ``postdefault''. Rename fields
Andrew Cagney [Tue, 30 May 2000 01:29:26 +0000 (01:29 +0000)]
* gdbarch.sh: Add field ``postdefault''.  Rename fields
``startup'' and ``default'' to ``staticdefault'' and
``predefault''.  Fix initialization of valid_p.  Create/compare
gdbarch.log.

24 years agoMove/rename GDB_GREGSET_T definitions for solaris 2.
Andrew Cagney [Tue, 30 May 2000 00:03:57 +0000 (00:03 +0000)]
Move/rename GDB_GREGSET_T definitions for solaris 2.

24 years agoFix compile time warning messages.
Nick Clifton [Mon, 29 May 2000 22:05:27 +0000 (22:05 +0000)]
Fix compile time warning messages.

24 years ago * hashtab.c, partition.c, xmemdup.c: Include string.h
Zack Weinberg [Mon, 29 May 2000 20:45:32 +0000 (20:45 +0000)]
* hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
* objalloc.c: Include config.h.  Include stdlib.h and don't
declare malloc or free if HAVE_STDLIB_H.
* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
else declare malloc without prototype.  Include string.h if
HAVE_STRING_H, else declare memset without prototype.  Don't
include stddef.h.

* sort.c: Bring over from GCC.

24 years agoMinor formatting tweak to make synchronisation easier.
Nick Clifton [Mon, 29 May 2000 20:25:14 +0000 (20:25 +0000)]
Minor formatting tweak to make synchronisation easier.

24 years agoUpdate copyright dates
Nick Clifton [Mon, 29 May 2000 20:10:32 +0000 (20:10 +0000)]
Update copyright dates

24 years agoDo not run test sfor c54x
Nick Clifton [Mon, 29 May 2000 20:04:54 +0000 (20:04 +0000)]
Do not run test sfor c54x

24 years agoRemove RCS date string in order to make synchronisation easier.
Nick Clifton [Mon, 29 May 2000 19:56:44 +0000 (19:56 +0000)]
Remove RCS date string in order to make synchronisation easier.

24 years agoDefine GPR_CLEAR
Nick Clifton [Mon, 29 May 2000 19:38:39 +0000 (19:38 +0000)]
Define GPR_CLEAR

24 years agofix spelling mistake in comment
Nick Clifton [Mon, 29 May 2000 19:35:50 +0000 (19:35 +0000)]
fix spelling mistake in comment

24 years agoRemove RCS tags to make synchronisation easier.
Nick Clifton [Mon, 29 May 2000 19:34:13 +0000 (19:34 +0000)]
Remove RCS tags to make synchronisation easier.

24 years agoUse GPR_CLEAR instead of GPR_SET
Nick Clifton [Mon, 29 May 2000 19:28:53 +0000 (19:28 +0000)]
Use GPR_CLEAR instead of GPR_SET

24 years agoreplace GPR_SET with GPR_CLEAR
Nick Clifton [Mon, 29 May 2000 19:26:48 +0000 (19:26 +0000)]
replace GPR_SET with GPR_CLEAR

24 years agominor formatting tweaks to aid syncronisation
Nick Clifton [Mon, 29 May 2000 19:05:41 +0000 (19:05 +0000)]
minor formatting tweaks to aid syncronisation

24 years ago2000-05-29 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 29 May 2000 18:48:26 +0000 (18:48 +0000)]
2000-05-29  Philip Blundell  <philb@gnu.org>

* doc/as.texinfo: (Local Labels): Delete misplaced mention of ARM.

24 years ago2000-05-29 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 29 May 2000 18:20:07 +0000 (18:20 +0000)]
2000-05-29  Philip Blundell  <philb@gnu.org>

* ppcboot.c: Add packed attribute if compiling with GCC.

24 years ago2000-05-29 Philip Blundell <philb@gnu.org>
Phil Blundell [Mon, 29 May 2000 18:18:42 +0000 (18:18 +0000)]
2000-05-29  Philip Blundell  <philb@gnu.org>

* doc/as.texinfo: Update copyright dates.
* NEWS: Mention ARM ELF support.

24 years agoPurge symtab of make_cleanup_func.
Andrew Cagney [Mon, 29 May 2000 13:18:15 +0000 (13:18 +0000)]
Purge symtab of make_cleanup_func.
Pass correct arg to make_cleanup_free_search_symbols.

24 years ago(_bfd_elf_link_hash_table_init): Initialize dynlocal.
Alan Modra [Mon, 29 May 2000 05:16:19 +0000 (05:16 +0000)]
(_bfd_elf_link_hash_table_init): Initialize dynlocal.

24 years agoUse BFD's _. ie. dgettext ("gprof", ..) vs. gettext (..)
Alan Modra [Sun, 28 May 2000 23:30:29 +0000 (23:30 +0000)]
Use BFD's _.  ie. dgettext ("gprof", ..) vs. gettext (..)

24 years agoInclude year 2000 in copyright message
Nick Clifton [Sun, 28 May 2000 19:25:07 +0000 (19:25 +0000)]
Include year 2000 in copyright message

24 years agoFix capitialisation of setnaces in comment.
Nick Clifton [Sun, 28 May 2000 19:22:12 +0000 (19:22 +0000)]
Fix capitialisation of setnaces in comment.

24 years agoFix GDB_GREGSET_T, GDB_FPREGSET_T typos.
Kevin Buettner [Sun, 28 May 2000 16:26:17 +0000 (16:26 +0000)]
Fix GDB_GREGSET_T, GDB_FPREGSET_T typos.

24 years agoPARAMS removal.
Kevin Buettner [Sun, 28 May 2000 01:12:42 +0000 (01:12 +0000)]
PARAMS removal.

24 years ago* config/tc-mn10300.c (md_assemble): Copy size to real_size before
Alexandre Oliva [Sat, 27 May 2000 21:40:22 +0000 (21:40 +0000)]
* config/tc-mn10300.c (md_assemble): Copy size to real_size before
it is modified, and use the real_size to compute the frag address
for dwarf2 line info.

24 years ago * emulparams/avr1200.sh (STACK): Define as 0.
Denis Chertykov [Sat, 27 May 2000 15:36:58 +0000 (15:36 +0000)]
* emulparams/avr1200.sh (STACK): Define as 0.
* emulparams/avr23xx.sh (STACK): Define as last internal SRAM address.
* emulparams/avr4433.sh (STACK): Likewise.
* emulparams/avr44x4.sh (STACK): Likewise.
* emulparams/avr85xx.sh (STACK): Likewise.
* emulparams/avrmega103.sh (STACK): Likewise.
* emulparams/avrmega161.sh (STACK): Likewise.
* emulparams/avrmega603.sh (STACK): Likewise.
* scripttempl/elf32avr.sc (__data_start): Define for gcrt1.
(__stack): Define from ${STACK} for main().

24 years agoFix "make dep-in" and "make dep"
Alan Modra [Sat, 27 May 2000 13:41:11 +0000 (13:41 +0000)]
Fix "make dep-in" and "make dep"
Previous rules had problems due to automake moving variables around.

24 years ago2000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>
Michael Snyder [Fri, 26 May 2000 23:22:41 +0000 (23:22 +0000)]
2000-05-26  Michael Snyder  <msnyder@seadog.cygnus.com>

        * gregset.h: New file.  Typedefs for gdb_gregset_t and
        gdb_fpregset_t, prototypes for supply_gregset and friends.
        * procfs.c: Include gregset.h.  Delete local prototypes for
        supply_gregset etc., and local typedef gdb_gregset_t etc.
        * sol-thread.c: Include gregset.h, delete local prototypes,
        add appropriate casts to gdb_gregset_t.
        * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c,
        sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c,
        m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c,
        irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c,
        arm-linux-nat.c, alpha-nat.c: Include gregset.h.
        * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T.
        * config/sparc/tm-sun4sol2.h: Ditto.

24 years agoWhen calling getopt_long indicate that the 'd' switch takes an optional
Nick Clifton [Fri, 26 May 2000 21:11:33 +0000 (21:11 +0000)]
When calling getopt_long indicate that the 'd' switch takes an optional
argument, whereas the 'D' switch takes no argument at all.

24 years ago* resrc.c (close_input_stream): zero out cpp_pipe after closing it.
DJ Delorie [Fri, 26 May 2000 18:46:47 +0000 (18:46 +0000)]
* resrc.c (close_input_stream): zero out cpp_pipe after closing it.

24 years agoUpdate dependencies.
Alan Modra [Fri, 26 May 2000 14:14:21 +0000 (14:14 +0000)]
Update dependencies.

24 years agomissed this in the last commit.
Alan Modra [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.
Alan Modra [Fri, 26 May 2000 13:11:57 +0000 (13:11 +0000)]
Eli Zaretskii's DOSish file name patches.

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

24 years ago(bfd_close_all_done): Mask file perms with 0777 not 0x777.
Alan Modra [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 Jelinek [Fri, 26 May 2000 06:45:55 +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 Jelinek [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 Jelinek [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 agoFix bitrot in tui-file.c.
Andrew 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.
Andrew Cagney [Fri, 26 May 2000 04:11:34 +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
Alexandre Oliva [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 agoNew short-conditional-branch packing rules for D10V.
Donald Lindsay [Thu, 25 May 2000 22:35:05 +0000 (22:35 +0000)]
New short-conditional-branch packing rules for D10V.

24 years agoDefine the ALONE flag bit, for use in the opcode table.
Donald Lindsay [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.
Donald Lindsay [Thu, 25 May 2000 22:21:38 +0000 (22:21 +0000)]
Add ALONE flag to most of the short branch instructions.

24 years agoReplace SKIP_SOLIB_RESOLVER stub with something that works.
Scott Bambrough [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.
Mark 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.
Eli Zaretskii [Thu, 25 May 2000 13:55:48 +0000 (13:55 +0000)]
* ser-go32.c: Remove PARAMS.

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

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

24 years agoFile rename tweeks.
Andrew 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
Alan Modra [Thu, 25 May 2000 02:05:08 +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.
Jim 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.
Andrew Cagney [Thu, 25 May 2000 01:50:50 +0000 (01:50 +0000)]
Have TUI use the same configury mechanism as MI.

24 years agoUpdate JimI's e-mail addres.
Andrew Cagney [Thu, 25 May 2000 01:07:17 +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
Hans-Peter Nilsson [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.
Mark 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 * bfdint.texi (BFD ELF processor required): Add paragraph about
Hans-Peter Nilsson [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>
Michael Snyder [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>
Michael Snyder [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>
Michael Snyder [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>
Michael Snyder [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
Eli Zaretskii [Wed, 24 May 2000 16:20:24 +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.
Diego Novillo [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.
Andrew 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.
Andrew Cagney [Wed, 24 May 2000 04:39:50 +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...
J.T. Conklin [Wed, 24 May 2000 04:16:28 +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.
Andrew Cagney [Wed, 24 May 2000 02:18:18 +0000 (02:18 +0000)]
Remove quotes from arround for loop arg.

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

24 years ago* i387-nat.h, i387-nat.c: New files.
Mark 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
Nick Clifton [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.
Alexandre Oliva [Tue, 23 May 2000 20:34:09 +0000 (20:34 +0000)]
* config/sparc/nm-linux.h: Include config/nm-linux.h.
* config/powerpc/nm-linux.h: Likewise.

24 years agoone line fix by Gregory Lielens <Gregory.Lielens@fft.be> to fix a problem
David Taylor [Tue, 23 May 2000 15:56:33 +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.
Andrew Cagney [Tue, 23 May 2000 14:48:13 +0000 (14:48 +0000)]
Add make_cleanup_close() function.

24 years ago2000-05-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 23 May 2000 14:20:57 +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>
H.J. Lu [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 ago2000-05-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [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().
Andrew 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.
Andrew Cagney [Tue, 23 May 2000 11:28:14 +0000 (11:28 +0000)]
Add -Wuninitialized.

24 years agoOops. Forgot to say "configure: Regenerate".
Hans-Peter Nilsson [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.
Hans-Peter Nilsson [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.
Andrew Cagney [Tue, 23 May 2000 07:49:05 +0000 (07:49 +0000)]
IRIX GCC fixes from 5.0 branch.

24 years agoMissed copyright update in last patch.
Alan Modra [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
Alan Modra [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.
Andrew 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.
Richard Henderson [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,
Richard Henderson [Tue, 23 May 2000 01:32:28 +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.
Richard Henderson [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
Alan Modra [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
Nick Clifton [Mon, 22 May 2000 21:58:40 +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,
Hans-Peter Nilsson [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* am33.igen: Fix leading comments of SP-relative offset insns that
Alexandre Oliva [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
Nick Clifton [Mon, 22 May 2000 19:16:59 +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
Nick Clifton [Mon, 22 May 2000 18:44:02 +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
Nick Clifton [Mon, 22 May 2000 18:04:17 +0000 (18:04 +0000)]
Regerbated after change to Makefile.am

24 years agoKeep a reloc for jumps to weak and external symbols.
Alan Modra [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.
Andrew Cagney [Mon, 22 May 2000 09:02:23 +0000 (09:02 +0000)]
Purge (almost) make_cleanup_func.