platform/upstream/binutils.git
23 years agoFix definition of NEGBRANCH
Nick Clifton [Mon, 12 Feb 2001 23:29:49 +0000 (23:29 +0000)]
Fix definition of NEGBRANCH

23 years ago2001-02-09 Bo Thorsen <bo@suse.de>
Jan Hubicka [Mon, 12 Feb 2001 16:54:08 +0000 (16:54 +0000)]
2001-02-09  Bo Thorsen  <bo@suse.de>

* elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
alignment to 3.
(elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
and relocation.
(elf64_x86_64_relocate_section): Fix formatting.
(elf64_x86_64_relocate_section): Fix addend for relocation of
R_X86_64_(8|16|32|PC8|PC16|PC32).

23 years ago * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
Jan Hubicka [Mon, 12 Feb 2001 16:47:15 +0000 (16:47 +0000)]
* elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
* tc-i386.c (i386_displacement): Fix handling of
BFD_RELOC_X86_64_GOTPCREL.
(i386_validate_fix): Likewise.

23 years ago * i386.h (i386_optab): SSE integer converison instructions have
Jan Hubicka [Mon, 12 Feb 2001 16:42:49 +0000 (16:42 +0000)]
* i386.h (i386_optab): SSE integer converison instructions have
64bit versions on x86-64.
* i386-dis.c (prefix_user_t): Add 'Y' to SSE ineger converison
instructions.
(putop): Handle 'Y'

23 years ago2001-02-12 Philip Blundell <pb@futuretv.com>
Phil Blundell [Mon, 12 Feb 2001 13:32:25 +0000 (13:32 +0000)]
2001-02-12  Philip Blundell  <pb@futuretv.com>

* config/tc-arm.c (do_ldst): Improve warnings for unpredictable
ldrt/strt instructions.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Feb 2001 00:23:37 +0000 (00:23 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_bfd_final_link): Use file_align for STMTAB
alignment.

23 years ago2001-02-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 12 Feb 2001 00:21:59 +0000 (00:21 +0000)]
2001-02-11  H.J. Lu  <hjl@gnu.org>

* config/default.exp: Set up gcc_gas_flag.

* binutils-all/objcopy.exp (copy_setup): Process gcc_gas_flag
for Linux only.

* binutils-all/testprog.c: Include <string.h> and don't use
exit ().

23 years agofix formatting
Nick Clifton [Sun, 11 Feb 2001 23:22:25 +0000 (23:22 +0000)]
fix formatting

23 years agooops - omitted from previous delta
Nick Clifton [Sun, 11 Feb 2001 23:21:01 +0000 (23:21 +0000)]
oops - omitted from previous delta

23 years ago * unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
Michael Sokolov [Sun, 11 Feb 2001 23:13:38 +0000 (23:13 +0000)]
* unwind-ia64.c: Don't use ANSI C preprocessor stringisation and string
literal concatenation.

23 years agoApply several patches from Maciej W. Rozycki
Nick Clifton [Sun, 11 Feb 2001 23:11:41 +0000 (23:11 +0000)]
Apply several patches from Maciej W. Rozycki

23 years ago * readelf.c (struct unw_aux_info): Remove const from the info member.
Michael Sokolov [Sun, 11 Feb 2001 23:11:39 +0000 (23:11 +0000)]
* readelf.c (struct unw_aux_info): Remove const from the info member.
(process_unwind): Don't type-cast the third argument to the
GET_DATA_ALLOC macro.

23 years ago * Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
Michael Sokolov [Sun, 11 Feb 2001 22:56:42 +0000 (22:56 +0000)]
* Makefile.am (stamp-lib): ranlib the libopcodes.a in the build
directory.
* Makefile.in: Regenerate.

23 years ago * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
Michael Sokolov [Sun, 11 Feb 2001 22:53:28 +0000 (22:53 +0000)]
* Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
* Makefile.in: Regenerate.

23 years agofix seg fault in reloc reading code
Nick Clifton [Sun, 11 Feb 2001 22:14:01 +0000 (22:14 +0000)]
fix seg fault in reloc reading code

23 years ago * gdb.texinfo (Environment): Document that `path' does not change
Eli Zaretskii [Sun, 11 Feb 2001 13:37:32 +0000 (13:37 +0000)]
* gdb.texinfo (Environment): Document that `path' does not change
the value of PATH in GDB's own environment (it did in the past,
but that was changed on March 15, 1994).  Reported by Doug Evans
<dje@transmeta.com>.

23 years ago * NEWS: Document that "info symbol" works with COFF debug info and
Eli Zaretskii [Sun, 11 Feb 2001 06:11:38 +0000 (06:11 +0000)]
* NEWS: Document that "info symbol" works with COFF debug info and
its variants.

* minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
symbols whose SYMBOL_BFD_SECTION is NULL.

23 years ago * gdbint.texinfo: Fix up @itemize lists so that @item is alone on
Eli Zaretskii [Sun, 11 Feb 2001 05:48:30 +0000 (05:48 +0000)]
* gdbint.texinfo: Fix up @itemize lists so that @item is alone on
its line.  Fix markup of commands.  Add an index and index entries.

23 years agoRemove annoying entry....:-)
Nick Clifton [Sat, 10 Feb 2001 22:30:07 +0000 (22:30 +0000)]
Remove annoying entry....:-)

23 years agoRemove extraneous whitespace
Nick Clifton [Sat, 10 Feb 2001 22:26:55 +0000 (22:26 +0000)]
Remove extraneous whitespace

23 years ago2001-02-10 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 10 Feb 2001 22:25:10 +0000 (22:25 +0000)]
2001-02-10  Chris Demetriou  <cgd@broadcom.com>

        * configure.in: Make 'mipself' and 'mipsecoff' emulations
        map to MIPS-specific files, as they used to do before the
        change on 2000-05-21.
        * configure: Regerate.

23 years agoDocument new --unwind option to readelf.
Nick Clifton [Sat, 10 Feb 2001 22:20:55 +0000 (22:20 +0000)]
Document new --unwind option to readelf.

23 years ago2001-02-10 Chris Demetriou <cgd@broadcom.com>
Chris Demetriou [Sat, 10 Feb 2001 21:41:12 +0000 (21:41 +0000)]
2001-02-10  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (md_parse_option): Don't try to compile
        ELF-only option code if not ELF.

23 years ago Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
Peter Schauer [Sat, 10 Feb 2001 12:01:11 +0000 (12:01 +0000)]
Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
* xcoffsolib.c (xcoff_solib_address):  Renamed from
pc_load_segment_name.  Return NULL if address is not in a shared
library.  Cleanup shared library name construction, using xasprintf.
Format shared library member names consistent with format in exec.c.
(solib_info):  Format shared library member names consistent with
format in exec.c.
* config/rs6000/nm-rs6000.h:  Replace PC_LOAD_SEGMENT with PC_SOLIB,
using xcoff_solib_address for PC_SOLIB definition.
* stack.c (print_frame):  Remove PC_LOAD_SEGMENT code, no longer
needed.

23 years ago * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
Peter Schauer [Sat, 10 Feb 2001 11:12:06 +0000 (11:12 +0000)]
* mipsread.c (read_alphacoff_dynamic_symtab):  Replace alloca calls
with xmalloc calls and cleanups.

23 years ago * rs6000-nat.c (child_xfer_memory): Add missing parameter
Peter Schauer [Sat, 10 Feb 2001 11:05:39 +0000 (11:05 +0000)]
* rs6000-nat.c (child_xfer_memory):  Add missing parameter
'struct mem_attrib *' required by 2001-01-23 change.

23 years ago * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
Richard Henderson [Sat, 10 Feb 2001 01:44:39 +0000 (01:44 +0000)]
    * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add
        .IA_64.unwind.* pattern to unwind table section and
        .IA_64.unwind_info* pattern to unwind info section.

23 years ago * config/tc-ia64.h (md_elf_section_type): New macro.
Richard Henderson [Sat, 10 Feb 2001 01:42:04 +0000 (01:42 +0000)]
    * config/tc-ia64.h (md_elf_section_type): New macro.
        (ELF_TC_SPECIAL_SECTIONS): Drop .IA_64.unwind and .IA_64.unwind_info
        (they're now handled via ia64_elf_section_type.

        * config/tc-ia64.c (unwind): New members saved_text_seg,
        saved_text_subseg, and force_unwind_entry.
        (optimize_unw_records): New function to optimize away unnecessary
        unwind directives.
        (ia64_elf_section_type): New function.
        (output_unw_records): Generate unwind info only if the size is
        non-zero or if it's forced for some other reason (e.g.,
        handlerdata or a personality routine).
        (generate_unwind_image): Don't switch back to previous
        section---stay inside the unwind info section instead so that
        handlerdata that may follow goes into the right place.
        (dot_handlerdata): Force generation of unwind entry and save the
        current active text segment before generating unwind image.
        (dot_unwentry): Force generation of unwind entry.
        (dot_personality): Ditto.
        (dot_endp): Generate unwind table entry only if there is
        some unwind info or the unwind entry was forced.

        * config/tc-ia64.c (make_unw_section_name): New macro to form
        unwind section name.
        (generate_unwind_image): Add "text_name" argument.  Use it to
        form unwind section name.
        (dot_handlerdata): Determine current segment (section) name and
        pass it to generate_unwind_image().
        (dot_endp): Determine current segment (section) name and use
        it to determine the appropriate unwind section name.
        (ia64_md_do_align): Add missing ATTRIBUTE_UNUSED declarations to
        n, fill, and max arguments.

23 years ago * elfxx-ia64.c (is_unwind_section_name): New function. Returns
Richard Henderson [Sat, 10 Feb 2001 01:41:06 +0000 (01:41 +0000)]
    * elfxx-ia64.c (is_unwind_section_name): New function.  Returns
        true if section name is an unwind table section name.
        (elfNN_ia64_additional_program_headers): Count each unwind section
        separately.
        (elfNN_ia64_modify_segment_map): Install one unwind program header
        for each unwind separate section.  Note: normally the linker
        script merges the unwind sections that go into a single segment,
        so this still generates at most one unwind program header per
        segment.

        * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
        name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
        (elfNN_ia64_fake_sections): Mark sections with names that start
        with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
        unwind section.

        * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
        Use it to make sh_info in unwind section point to the text section
        it applies to.

23 years agoAdd s390 support
Nick Clifton [Sat, 10 Feb 2001 00:58:38 +0000 (00:58 +0000)]
Add s390 support

23 years agoSuppress extra addition of ImageBase.
Nick Clifton [Fri, 9 Feb 2001 18:38:58 +0000 (18:38 +0000)]
Suppress extra addition of ImageBase.

23 years ago* config/tc-sh.c (md_pseudo_table): Add uaquad. Use s_uacons for
Alexandre Oliva [Fri, 9 Feb 2001 18:21:42 +0000 (18:21 +0000)]
* config/tc-sh.c (md_pseudo_table): Add uaquad.  Use s_uacons for
2byte, 4byte and 8byte.

23 years ago * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
Jakub Jelinek [Fri, 9 Feb 2001 17:53:16 +0000 (17:53 +0000)]
* elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.

23 years ago * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
Jakub Jelinek [Fri, 9 Feb 2001 17:31:11 +0000 (17:31 +0000)]
* elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
(sparc64_elf_relocate_section): Likewise.

23 years agoDon't #ifdef inside printf in case printf is a macro.
Alan Modra [Fri, 9 Feb 2001 16:33:21 +0000 (16:33 +0000)]
Don't #ifdef inside printf in case printf is a macro.

23 years ago* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
Mark Kettenis [Fri, 9 Feb 2001 16:19:25 +0000 (16:19 +0000)]
* elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
similar to R_SPARC_32.
* elf64-sparc.c (sparc64_elf_howto_table): Likewise.

23 years ago * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
Jakub Jelinek [Fri, 9 Feb 2001 15:55:14 +0000 (15:55 +0000)]
* configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into
targ_extra_libpath.
(sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath.

23 years ago2001-02-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 9 Feb 2001 06:58:59 +0000 (06:58 +0000)]
2001-02-08  H.J. Lu  <hjl@gnu.org>

* elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
relocation entries for weak definitions when building DSO with
-Bsymbolic.

23 years ago Updates to "make TAGS":
Jim Kingdon [Fri, 9 Feb 2001 01:47:34 +0000 (01:47 +0000)]
Updates to "make TAGS":
* Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
tahoe-tdep.c.
(TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).

23 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
Richard Henderson [Fri, 9 Feb 2001 00:29:58 +0000 (00:29 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
        before visibility.  Locally defined protected symbols are not
        dynamic.

23 years ago * config.bfd: Enable coff64 for rs6000-*. Patch from
Geoffrey Keating [Fri, 9 Feb 2001 00:11:24 +0000 (00:11 +0000)]
* config.bfd: Enable coff64 for rs6000-*.  Patch from
<hzoli@austin.ibm.com>.

23 years ago * ld-srec/srec.exp (run_srec_test): m6811 code has references
Stephane Carrez [Thu, 8 Feb 2001 18:57:47 +0000 (18:57 +0000)]
* ld-srec/srec.exp (run_srec_test): m6811 code has references
to soft registers, define them with --defsym.
* ld-selective/selective.exp: Likewise.

23 years ago * gas/mri/mri.exp: Don't execute the M68K specific tests
Stephane Carrez [Thu, 8 Feb 2001 18:55:29 +0000 (18:55 +0000)]
* gas/mri/mri.exp: Don't execute the M68K specific tests
on m6811-elf and m6812-elf targets, still run the generic MRI tests.

23 years ago * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
Eli Zaretskii [Thu, 8 Feb 2001 11:14:11 +0000 (11:14 +0000)]
* config/djgpp/fnchange.lst: Remove extraneous "too many dots".

23 years agoFrom Dean Luick <luick@cray.com>:
Andrew Cagney [Thu, 8 Feb 2001 06:49:19 +0000 (06:49 +0000)]
From Dean Luick <luick@cray.com>:
* defs.h (continuation): Remove unused global variable.

23 years agoRemove configurations marked as obsolete in 5.0.
Andrew Cagney [Thu, 8 Feb 2001 06:30:25 +0000 (06:30 +0000)]
Remove configurations marked as obsolete in 5.0.

23 years agoAdd __FILE__ and __LINE__ parameter to internal_error() /
Andrew Cagney [Thu, 8 Feb 2001 06:03:54 +0000 (06:03 +0000)]
Add __FILE__ and __LINE__ parameter to internal_error() /
internal_verror().

23 years ago * acinclude.m4 (AM_PROG_LEX): Override installed definition.
Hans-Peter Nilsson [Thu, 8 Feb 2001 06:01:31 +0000 (06:01 +0000)]
* acinclude.m4 (AM_PROG_LEX): Override installed definition.
* aclocal.m4: Regenerate.
* configure: Regenerate.

23 years ago2001-02-08 Ben Elliston <bje@redhat.com>
Chris Demetriou [Thu, 8 Feb 2001 05:22:04 +0000 (05:22 +0000)]
2001-02-08  Ben Elliston  <bje@redhat.com>

        * sim-main.c (load_memory): Pass cia to sim_core_read* functions.
        (store_memory): Likewise, pass cia to sim_core_write*.

23 years agoFrom Mark Kettenis, include <signal.h>.
Andrew Cagney [Thu, 8 Feb 2001 05:06:13 +0000 (05:06 +0000)]
From Mark Kettenis, include <signal.h>.

23 years ago(pa_build_unwind_subspace): Don't call
Alan Modra [Thu, 8 Feb 2001 00:15:36 +0000 (00:15 +0000)]
(pa_build_unwind_subspace): Don't call
md_number_to_chars with size > sizeof (valueT).

23 years agoIf stabs info is successfully found, do not attempt to find dwarf2 info
Nick Clifton [Wed, 7 Feb 2001 23:50:04 +0000 (23:50 +0000)]
If stabs info is successfully found, do not attempt to find dwarf2 info
before returning.

23 years agoignore common definitions of function symbols in unlinked archives
Nick Clifton [Wed, 7 Feb 2001 23:42:15 +0000 (23:42 +0000)]
ignore common definitions of function symbols in unlinked archives

23 years agoChange bfd_target_vector from an array to a pointer
Nick Clifton [Wed, 7 Feb 2001 23:16:22 +0000 (23:16 +0000)]
Change bfd_target_vector from an array to a pointer

23 years agoAdd -u option toi readelf to display unwind info.
Nick Clifton [Wed, 7 Feb 2001 19:41:03 +0000 (19:41 +0000)]
Add -u option toi readelf to display unwind info.
Add support to display unwind info for IA64 binaries.

23 years agoFix printf fmt of long in remote-sim.c.
Andrew Cagney [Wed, 7 Feb 2001 18:37:25 +0000 (18:37 +0000)]
Fix printf fmt of long in remote-sim.c.
mn10300-elf now buildable.

23 years ago* event-top.c: Remove duplicate #include <signal.h>.
Mark Kettenis [Wed, 7 Feb 2001 07:29:38 +0000 (07:29 +0000)]
* event-top.c: Remove duplicate #include <signal.h>.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 7 Feb 2001 06:19:58 +0000 (06:19 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
internal symbols are not dynamic.
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.

23 years ago* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
Andrew Cagney [Wed, 7 Feb 2001 03:44:24 +0000 (03:44 +0000)]
* sol-thread.c (restore_inferior_pid): Save the PID in a freshly
allocated buffer.
(save_inferior_pid): Restore the PID from that tempoary
buffer. Delete the buffer.
* utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.

23 years ago* MAINTAINERS: Add ``The Obvious Fix Rule''.
Andrew Cagney [Wed, 7 Feb 2001 03:11:44 +0000 (03:11 +0000)]
* MAINTAINERS: Add ``The Obvious Fix Rule''.

23 years agoAdd Michael Synder to Solaris/SPARC list.
Andrew Cagney [Wed, 7 Feb 2001 03:08:44 +0000 (03:08 +0000)]
Add Michael Synder to Solaris/SPARC list.

23 years agoAddd set_gdbarch_data() method. Update register_gdbarch_data() interface.
Andrew Cagney [Wed, 7 Feb 2001 02:17:48 +0000 (02:17 +0000)]
Addd set_gdbarch_data() method.  Update register_gdbarch_data() interface.

23 years agoRemove elf64-ia64.c from list of backend C files - it is auto-generated.
Nick Clifton [Wed, 7 Feb 2001 01:58:26 +0000 (01:58 +0000)]
Remove elf64-ia64.c from list of backend C files - it is auto-generated.

23 years ago* i960-desc.c: Update all the A macro definitions to the new
DJ Delorie [Wed, 7 Feb 2001 01:16:05 +0000 (01:16 +0000)]
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.

23 years ago* configure: Output host type to stdout, not stderr.
DJ Delorie [Wed, 7 Feb 2001 01:06:43 +0000 (01:06 +0000)]
* configure: Output host type to stdout, not stderr.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 7 Feb 2001 01:04:58 +0000 (01:04 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if
there is no relocation.

23 years ago * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
Michael Sokolov [Tue, 6 Feb 2001 21:39:46 +0000 (21:39 +0000)]
* ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
fprintf_filtered with correct arguments.

23 years ago2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
Michael Snyder [Tue, 6 Feb 2001 20:05:42 +0000 (20:05 +0000)]
2001-02-06  Michael Snyder  <msnyder@makita.cygnus.com>
Submitted by Paul Hilfinger (hilfingr@gnat.com)
and Andrei Petrov (and@genesyslab.com).
* findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
must be allocated dynamically, since these are no longer constants.
* infcmd.c: Ditto.
* regcache.c: Ditto.
* remote.c: Ditto.
* sol-thread.c: Ditto.
* valops.c: Ditto.
* config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
work-around for a missing Sun header file in solaris for sparc64.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 6 Feb 2001 19:59:06 +0000 (19:59 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
* config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
GET_THREAD_SIGNALS): Define.
* arm-linux-nat.c (fill_gregset): Correct type of argument.
(supply_gregset): Likewise.
(fill_fpregset): Likewise.
(supply_fpregset): Likewise.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:43:19 +0000 (19:43 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
checking.
(pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
external_PEI_IMAGE_hdr.

23 years ago2001-01-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:35:48 +0000 (19:35 +0000)]
2001-01-23  H.J. Lu  <hjl@gnu.org>

* include/coff/pe.h (struct external_PEI_DOS_hdr): New.
(struct external_PEI_IMAGE_hdr): New.

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:14:07 +0000 (19:14 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 6 Feb 2001 19:09:01 +0000 (19:09 +0000)]
2001-02-06  H.J. Lu  <hjl@gnu.org>

* config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): New. Defined.

* config/tc-ia64.c (md_parse_option): Only accept the valid
ia64 options on "-axxx".

23 years ago2001-02-06 Kazu Hirata <kazu@hxi.com>
Kazu Hirata [Tue, 6 Feb 2001 19:04:20 +0000 (19:04 +0000)]
2001-02-06  Kazu Hirata  <kazu@hxi.com>

* elf-m10200.c: Fix formatting.

23 years ago * valops.c (value_cast): If casting a scalar to a pointer, do not
David Taylor [Tue, 6 Feb 2001 18:07:48 +0000 (18:07 +0000)]
* valops.c (value_cast): If casting a scalar to a pointer, do not
  issue a message about truncation unless it exceeds the length of
  an address, not the length of a pointer.  This is because what the
  user gives us is an address, not a pointer, and we will ultimately
  convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
  to a pointer.  This allows things like "print *(int *)0x01000234"
  to work without generating a misleading message on a target having
  two byte pointers and four byte addresses.

23 years ago2001-02-06 Philip Blundell <philb@gnu.org>
Phil Blundell [Tue, 6 Feb 2001 08:19:34 +0000 (08:19 +0000)]
2001-02-06  Philip Blundell  <philb@gnu.org>

* Makefile.am: Remove mention of earmelf_linux26.
* Makefile.in: Regenerate.

23 years agoFix spacing.
Christopher Faylor [Tue, 6 Feb 2001 05:04:40 +0000 (05:04 +0000)]
Fix spacing.

23 years ago* win32-nat.c: Change PTR to void * throughout.
Christopher Faylor [Tue, 6 Feb 2001 05:01:04 +0000 (05:01 +0000)]
* win32-nat.c: Change PTR to void * throughout.

23 years ago* signals.h: Removed.
J.T. Conklin [Tue, 6 Feb 2001 04:17:03 +0000 (04:17 +0000)]
* signals.h: Removed.
* event-top.c (#include <signal.h>): Changed from signals.h.
* inflow.c: Likewise.
* mac-xdep.c: Likewise.
* ser-pipe.c: Likewise.
* ser-tcp.c: Likewise.
* standalone.c: Likewise.
* top.c: Likewise.
* utils.c: Likewise.
* Makefile.in: Removed signals.h from dependencies.

23 years agoChange suggested by Dean Luick <luick@cray.com>
Christopher Faylor [Tue, 6 Feb 2001 04:03:23 +0000 (04:03 +0000)]
Change suggested by Dean Luick <luick@cray.com>
* inferior.h (step_over_calls_kind): Remove trailing comma from last enum
element.
(step_over_calls): Declare as extern rather than global.

23 years agoDon't abort for invalid input, print an error message instead.
Jim Wilson [Tue, 6 Feb 2001 03:49:29 +0000 (03:49 +0000)]
Don't abort for invalid input, print an error message instead.
* config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
aborting for invalid operands.

23 years agoFix unwind info when cross-compiling from little-endian machines.
Alan Modra [Tue, 6 Feb 2001 02:52:09 +0000 (02:52 +0000)]
Fix unwind info when cross-compiling from little-endian machines.

23 years agoRevert accidental breakage from Nick's 2000-12-16 checkin.
Jim Wilson [Tue, 6 Feb 2001 02:42:20 +0000 (02:42 +0000)]
Revert accidental breakage from Nick's 2000-12-16 checkin.
* ia64-asmtab.c: Revert 2000-12-16 change.

23 years ago2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
Elena Zannoni [Tue, 6 Feb 2001 02:00:44 +0000 (02:00 +0000)]
2001-02-05  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

      * sh-tdep.c: Update copyright.
      (sh_extract_return_value): Rewrite.
      (sh3e_sh4_extract_return_value): New function.
      (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
      version of the function for sh3e and sh4 CPUs.

23 years ago2001-02-05 Michael Chastain <chastain@redhat.com>
Michael Chastain [Mon, 5 Feb 2001 21:09:21 +0000 (21:09 +0000)]
2001-02-05  Michael Chastain  <chastain@redhat.com>

* hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
to conform with interface change.

23 years agoDo not convert reloc addend to PC rel, it will be handled later on.
Nick Clifton [Sun, 4 Feb 2001 22:14:19 +0000 (22:14 +0000)]
Do not convert reloc addend to PC rel, it will be handled later on.

23 years ago * config.guess: Import from subversions.gnu.org (revision 1.181).
Michael Sokolov [Sun, 4 Feb 2001 18:17:30 +0000 (18:17 +0000)]
* config.guess: Import from subversions.gnu.org (revision 1.181).
* config.sub: Import from subversions.gnu.org (revision 1.199).

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 4 Feb 2001 16:37:03 +0000 (16:37 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* configure.in (OBJDUMP_DEFS): Match `arm*-*', not just `arm-*'.
* configure: Regenerate.

23 years ago2001-02-04 Philip Blundell <philb@gnu.org>
Phil Blundell [Sun, 4 Feb 2001 14:01:35 +0000 (14:01 +0000)]
2001-02-04  Philip Blundell  <philb@gnu.org>

* emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000.
* emulparams/armelf_linux26.sh: Delete.
* configure.tgt: Remove mention of armelf_linux26 emulation.

23 years ago * config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
Stephane Carrez [Sun, 4 Feb 2001 13:58:30 +0000 (13:58 +0000)]
* config/tc-m68hc11.h (LISTING_HEADER): Use m68hc11_listing_header
function to select the header according to the cpu.
(md_after_pass_hook, md_do_align): Remove.
(md_cleanup, m68hc11_cleanup): Remove.
(md_pcrel_from_section): Declare.
* config/tc-m68hc11.c (build_dbranch_insn): Remove insn_size.
(build_jump_insn, build_insn): Likewise.
(m68hc11_listing_header): New function.
(m68hc11_cleanup): Remove.

23 years ago * gas/m68hc11/malis.s: New test to verify compliance with Motorola
Stephane Carrez [Sun, 4 Feb 2001 13:53:49 +0000 (13:53 +0000)]
* gas/m68hc11/malis.s: New test to verify compliance with Motorola
Assembly Language Input Standard.
* gas/m68hc11/malis.d: New file.
* gas/m68hc11/malis-include.s: New file.
* gas/m68hc11/all.exp: Add the new test.

23 years ago * config/djgpp/fnchange.lst: Tweak to make consistent with the
Eli Zaretskii [Sun, 4 Feb 2001 07:56:38 +0000 (07:56 +0000)]
* config/djgpp/fnchange.lst: Tweak to make consistent with the
new files.

23 years ago * config/djgpp/djconfig.sh: Use explicit absolute file name when
Eli Zaretskii [Sun, 4 Feb 2001 07:52:33 +0000 (07:52 +0000)]
* config/djgpp/djconfig.sh: Use explicit absolute file name when
invoking `find'.

23 years ago * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
Eli Zaretskii [Sun, 4 Feb 2001 07:48:18 +0000 (07:48 +0000)]
* ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
UART_FIFO_WORKS is defined.  Otherwise use outportb.
From Francisco Pastor <fpastor.etra-id@etra.es>

23 years ago * go32-nat.c (go32_xfer_memory): Make the argument list consistent
Eli Zaretskii [Sun, 4 Feb 2001 07:24:57 +0000 (07:24 +0000)]
* go32-nat.c (go32_xfer_memory): Make the argument list consistent
with target.h's to_xfer_memory member.

23 years agoFix typo
Nick Clifton [Sat, 3 Feb 2001 00:53:10 +0000 (00:53 +0000)]
Fix typo

23 years ago Binutils portion of fix for syntax array elements when max
Patrick Macdonald [Fri, 2 Feb 2001 23:04:40 +0000 (23:04 +0000)]
Binutils portion of fix for syntax array elements when max
operands is greater than 127.

2001-02-02  Patrick Macdonald  <patrickm@redhat.com>

* cgen.h (CGEN_SYNTAX_CHAR_TYPE): Typedef as unsigned short.
(CGEN_MAX_SYNTAX_ELEMENTS): Rename from CGEN_MAX_SYNTAX_BYTES.
(CGEN_SYNTAX): Define using CGEN_MAX_SYNTAX_ELEMENTS.

* fr30-desc.h: Regenerate with CGEN_MAX_SYNTAX_ELEMENTS.
* m32r-desc.h: Regenerate.

23 years ago* ppc-bdm.c (#include <signal.h>): Removed.
J.T. Conklin [Fri, 2 Feb 2001 23:04:14 +0000 (23:04 +0000)]
* ppc-bdm.c (#include <signal.h>): Removed.
* remote-array.c: Likewise.
* remote-bug.c: Likewise.
* remote-e7000.c: Likewise.
* remote-mips.c: Likewise.
* remote-os9k.c: Likewise.
* remote-st.c: Likewise.
* remote-udi.c: Likewise.
* remote-vx29k.c: Likewise.
* remote-vx68.c: Likewise.
* remote-vx960.c: Likewise.
* remote-vxmips.c: Likewise.
* remote-vxsparc.c: Likewise.

23 years agomerge from gcc
DJ Delorie [Fri, 2 Feb 2001 20:08:59 +0000 (20:08 +0000)]
merge from gcc

23 years agoChanged free() to xfree() where appropriate. Also changed Copyright to
John R. Moore [Fri, 2 Feb 2001 20:01:16 +0000 (20:01 +0000)]
Changed free() to xfree() where appropriate. Also changed Copyright to
include 2001.