binutils-gdb.git
30 years ago * confiugre.in (hppa*-*-osf*): New configuration.
Jeff Law [Thu, 24 Feb 1994 16:10:15 +0000 (16:10 +0000)]
    * confiugre.in (hppa*-*-osf*): New configuration.
        * config/pa/hppaosf.mt: New target makefile fragment.
        * config/pa/tm-hppao.h: New target include file.

30 years ago * gas/hppa/more.parse/parse.exp (no subspace test): Only expect
Jeff Law [Thu, 24 Feb 1994 15:12:50 +0000 (15:12 +0000)]
    * gas/hppa/more.parse/parse.exp (no subspace test): Only expect
        a failure if gas is not producing an ELF object.

30 years ago * config/ho-hppaosf.h: Fix braino in test for ANSI-C.
Jeff Law [Thu, 24 Feb 1994 15:11:19 +0000 (15:11 +0000)]
    * config/ho-hppaosf.h: Fix braino in test for ANSI-C.

30 years ago * rldefs.h: Define S_ISREG if necessary.
Peter Schauer [Thu, 24 Feb 1994 14:19:43 +0000 (14:19 +0000)]
* rldefs.h:  Define S_ISREG if necessary.

30 years ago * dwarfread.c: Remove second inclusion of <sys/types.h>, which
Peter Schauer [Thu, 24 Feb 1994 13:33:45 +0000 (13:33 +0000)]
* dwarfread.c:  Remove second inclusion of <sys/types.h>, which
causes problems if <sys/types.h> has no multiple inclusion protection.

30 years ago * exec.c (print_section_info): Print entry point for exec_bfd only.
Peter Schauer [Thu, 24 Feb 1994 12:40:39 +0000 (12:40 +0000)]
* exec.c (print_section_info):  Print entry point for exec_bfd only.
* ser-unix.c (wait_for):  Fix typo in HAVE_TERMIO case.

30 years ago * elfcode.h (elf_core_file_p): Check for core file e_machine match
Peter Schauer [Thu, 24 Feb 1994 12:37:43 +0000 (12:37 +0000)]
* elfcode.h (elf_core_file_p):  Check for core file e_machine match
like in elf_object_p.

30 years ago * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
Peter Schauer [Thu, 24 Feb 1994 12:18:54 +0000 (12:18 +0000)]
* Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
into tilde.c and use it. Add system function declarations where
necessary. Check for __GO32__, not _GO32_ consistently.
* Makefile.in:  Update dependencies.
* rltty.c:  Include <sys/file.h> to match include file setup
in readline.c for rldefs.h. Otherwise we get inconsistent
TTY_DRIVER definitions in readline.c and rltty.c.
* bind.c, complete.c:  Do not include <sys/types.h>, it is already
included via sysdep.h, which causes problems if <sys/types.h> has
no multiple inclusion protection.
* readline.c (_rl_set_screen_size):  Reestablish test for
TIOCGWINSZ_BROKEN.

30 years ago * elfcode.h (alloca): Delete declaration.
Jeff Law [Thu, 24 Feb 1994 04:00:30 +0000 (04:00 +0000)]
    * elfcode.h (alloca): Delete declaration.

30 years ago * som.c (som_prep_headers): Use CPU_PA_RISC1_0 for magic
Jeff Law [Thu, 24 Feb 1994 02:31:01 +0000 (02:31 +0000)]
    * som.c (som_prep_headers): Use CPU_PA_RISC1_0 for magic
        number rather than HP9000S800_ID.  Note som.c is careful
        to make sure CPU_PA_RISC1_0 is always defined.

30 years ago * sparc-stub.c (trap_low): Make trap handler work for arbitrary
Stu Grossman [Thu, 24 Feb 1994 01:49:15 +0000 (01:49 +0000)]
* sparc-stub.c (trap_low):  Make trap handler work for arbitrary
numbers of register windows.

30 years agoWed Feb 23 16:52:51 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Thu, 24 Feb 1994 00:56:32 +0000 (00:56 +0000)]
Wed Feb 23 16:52:51 1994  Stan Shebs  (shebs@andros.cygnus.com)

* hosts/mpw.h (fstat): Declare.
(mpw_fstat): Eliminate mentions.

30 years ago * write.c (write_contents): Give the user a reasonable error
Jeff Law [Thu, 24 Feb 1994 00:53:24 +0000 (00:53 +0000)]
    * write.c (write_contents): Give the user a reasonable error
        message rather than "assertion failed" if bfd_set_section_contents
        fails.

30 years ago * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
Jeff Law [Thu, 24 Feb 1994 00:31:46 +0000 (00:31 +0000)]
    * tm-hppa.h (CALL_DUMMY): Add two NOP instructions to the end of
        the call dummy to avoid kernel bugs in HPUX, BSD, and OSF1.
        (CALL_DUMMY_LENGTH): Changed accordingly.

30 years ago * sparclite/hello.c: Add factorial function for testing.
Stu Grossman [Thu, 24 Feb 1994 00:25:58 +0000 (00:25 +0000)]
* sparclite/hello.c:  Add factorial function for testing.
* salib.c:  Use macros instead of constants for I/O addresses to
make 931 support easier.
* sparclite.h:  Change constraint for LOC to "rJ" to force use of
register in sta/lda instructions.

30 years ago * stabs.texinfo: Document N_RBRAC as function relative for COFF as
Jim Kingdon [Wed, 23 Feb 1994 19:20:07 +0000 (19:20 +0000)]
* stabs.texinfo: Document N_RBRAC as function relative for COFF as
well as for ELF and SOM.  Unify the descriptions of ELF and SOM
as "stabs in sections" rather than just saying "ELF and SOM".
Also make that stuff apply to COFF.

30 years ago * dbxread.c (process_one_symbol): Set
Jim Kingdon [Wed, 23 Feb 1994 18:42:05 +0000 (18:42 +0000)]
* dbxread.c (process_one_symbol): Set
block_address_function_relative for COFF like we do for ELF and SOM.

30 years agoRemove trash left from Makefile cut & paste.
Rob Savoye [Tue, 22 Feb 1994 22:55:24 +0000 (22:55 +0000)]
Remove trash left from Makefile cut & paste.

30 years ago * ldlang.c (lang_size_sections): Only align section to alignment
Ian Lance Taylor [Tue, 22 Feb 1994 18:19:07 +0000 (18:19 +0000)]
* ldlang.c (lang_size_sections): Only align section to alignment
required by linker script, not to maximum alignment of input
sections.

30 years agothis is i386-mach3 *host* support (not target like in last mistaken msg)...
Ken Raeburn [Tue, 22 Feb 1994 18:09:19 +0000 (18:09 +0000)]
this is i386-mach3 *host* support (not target like in last mistaken msg)...

30 years agokeep te-mach.h
Ken Raeburn [Tue, 22 Feb 1994 17:57:49 +0000 (17:57 +0000)]
keep te-mach.h

30 years agoShould've got checked in with i386-mach3 config changes.
Ken Raeburn [Tue, 22 Feb 1994 17:57:35 +0000 (17:57 +0000)]
Should've got checked in with i386-mach3 config changes.
(Already in change log.)

30 years ago * ldlang.h (largest_section): Don't declare.
Ian Lance Taylor [Tue, 22 Feb 1994 17:32:30 +0000 (17:32 +0000)]
* ldlang.h (largest_section): Don't declare.
* ldlang.c (largest_section): Don't define.
(size_input_section): Don't set largest_section; not used.

30 years ago * ecoff.c (ecoff_build_debug): Don't set hdr->magic here. It is
Ian Lance Taylor [Tue, 22 Feb 1994 04:30:14 +0000 (04:30 +0000)]
* ecoff.c (ecoff_build_debug): Don't set hdr->magic here.  It is
now set in bfd/ecofflink.c:ecoff_write_symhdr.

30 years ago * ecofflink.c (ecoff_write_symhdr): Set symhdr->magic here.
Ian Lance Taylor [Tue, 22 Feb 1994 04:25:43 +0000 (04:25 +0000)]
* ecofflink.c (ecoff_write_symhdr): Set symhdr->magic here.
* ecoff.c (ecoff_write_object_contents): Make sure .bss section
ends on a page boundary if there is no symbol table.
(ecoff_bfd_final_link): Don't set symhdr->magic here.

30 years ago * config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
Ian Lance Taylor [Tue, 22 Feb 1994 03:49:59 +0000 (03:49 +0000)]
* config/obj-coffbfd.c (write_object_file): use bfd_get_error (),
not bfd_error.
* config/obj-elf.c (elf_frob_file): Likewise.

30 years ago * read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
Ian Lance Taylor [Tue, 22 Feb 1994 03:49:42 +0000 (03:49 +0000)]
* read.c (s_lcomm): Use an alignment power of 3 for 8 byte .lcomm
variables.

30 years ago * hosts/hp300.h: Include <stdlib.h>; don't declare free.
Ian Lance Taylor [Tue, 22 Feb 1994 01:51:38 +0000 (01:51 +0000)]
* hosts/hp300.h: Include <stdlib.h>; don't declare free.

30 years agoPowerPC ELF is now in BFD; fix comment claiming otherwise.
Ian Lance Taylor [Tue, 22 Feb 1994 00:14:02 +0000 (00:14 +0000)]
PowerPC ELF is now in BFD; fix comment claiming otherwise.

30 years ago * som.c (som_bfd_count_ar_symbols): Use a pointer and alloca
Ian Lance Taylor [Tue, 22 Feb 1994 00:01:34 +0000 (00:01 +0000)]
* som.c (som_bfd_count_ar_symbols): Use a pointer and alloca
rather than an array of variable size.
(som_bfd_fill_in_ar_symbols): Likewise.
(som_bfd_ar_write_symbol_stuff): Likewise.

30 years ago * ldlang.c (new_afile): Pass NULL as last argument to concat.
Ian Lance Taylor [Mon, 21 Feb 1994 23:19:43 +0000 (23:19 +0000)]
* ldlang.c (new_afile): Pass NULL as last argument to concat.

30 years ago * config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.
Ian Lance Taylor [Mon, 21 Feb 1994 23:17:59 +0000 (23:17 +0000)]
* config/ho-hpux.h (BROKEN_ASSERT): Define if not __GNUC__.

30 years ago * read.c (read_a_source_file): Use correct arguments to memcpy
Ian Lance Taylor [Mon, 21 Feb 1994 19:44:01 +0000 (19:44 +0000)]
* read.c (read_a_source_file): Use correct arguments to memcpy
(broken 19 Jul 1993).  From kjd@pescadero.stanford.edu (Kenneth
Duda).

30 years agoOops... Forgot to check this in...
Stu Grossman [Mon, 21 Feb 1994 19:05:44 +0000 (19:05 +0000)]
Oops... Forgot to check this in...

30 years agoMon Feb 21 10:12:02 1994 Stan Shebs (shebs@andros.cygnus.com)
Stan Shebs [Mon, 21 Feb 1994 18:17:21 +0000 (18:17 +0000)]
Mon Feb 21 10:12:02 1994  Stan Shebs  (shebs@andros.cygnus.com)

* Makefile.in (targets.o, archures.o): Use ALL_CFLAGS to supply
flags to explicit compile actions.

30 years ago * coff-alpha.c (alpha_relocate_section): Rewrite mask and shift
Ian Lance Taylor [Mon, 21 Feb 1994 17:56:38 +0000 (17:56 +0000)]
* coff-alpha.c (alpha_relocate_section): Rewrite mask and shift
operation to avoid OSF 1.3 cc bug.
* ecoff.c (ecoff_write_object_contents): Make text_size, data_size
and bss_size bfd_size_type instead of unsigned long.  Make
text_start and data_start bfd_vma instead of unsigned long.
* ecofflink.c (ecoff_add_string): Remove incorrect cast of return
value.

30 years ago * nlmconv.c: Include libiberty.h.
Ian Lance Taylor [Mon, 21 Feb 1994 02:57:01 +0000 (02:57 +0000)]
* nlmconv.c: Include libiberty.h.
start-sanitize-powerpc-netware
Support for PowerPC NetWare.
* nlmconv.c (main): For PowerPC NetWare, automatically define the
special symbols __toc_start.
(select_output_format): Handle bfd_arch_powerpc.
(mangle_relocs): Likewise.
(powerpc_mangle_relocs): New function.
end-sanitize-powerpc-netware

30 years ago * config/obj-coff.h (obj_coff_section): Declare.
Ian Lance Taylor [Mon, 21 Feb 1994 02:06:52 +0000 (02:06 +0000)]
* config/obj-coff.h (obj_coff_section): Declare.
* config/obj-coff.c (obj_pseudo_table): For "section", use
obj_coff_section.
(obj_coff_section): Rewrite.

30 years ago * linker.c (_bfd_generic_link_add_archive_symbols): Consider
Ian Lance Taylor [Mon, 21 Feb 1994 00:18:57 +0000 (00:18 +0000)]
* linker.c (_bfd_generic_link_add_archive_symbols): Consider
symbols in the order they appear in the archive map.

30 years ago * coff-alpha.c (reloc_nil): Add forward declaration, add missing
Peter Schauer [Sat, 19 Feb 1994 11:29:48 +0000 (11:29 +0000)]
* coff-alpha.c (reloc_nil):  Add forward declaration, add missing
error_message argument.
* coff-sparc.c (bfd_coff_generic_reloc):  Add forward declaration,
add missing error_message argument.
* mipsbsd.c (mips_fix_hi16_s):  Add forward declaration, add missing
error_message argument.

30 years ago * config/mips/tm-mips.h (FIX_CALL_DUMMY): For big endian targets,
Peter Schauer [Sat, 19 Feb 1994 11:26:47 +0000 (11:26 +0000)]
* config/mips/tm-mips.h (FIX_CALL_DUMMY):  For big endian targets,
error() on TYPE_CODE_FLT arguments whose size is greater than 8,
swap all other TYPE_CODE_FLT arguments as mips_push_arguments
ensures that floats are promoted to doubles before they are pushed
on the stack.

30 years ago * mdebugread.c (new_psymtab): Pass in section_offsets and set
Peter Schauer [Sat, 19 Feb 1994 11:24:36 +0000 (11:24 +0000)]
* mdebugread.c (new_psymtab):  Pass in section_offsets and set
them in the pst.
* mdebugread.c (handle_psymbol_enumerators):  New function to enter
the enumerators of an ecoff enum into the partial symbol table.
* mdebugread.c (parse_partial_symbols):  Call it.
* symfile.c (reread_symbols):  Initialize objfile->*_psymbols.next.
* symmisc.c (dump_psymtab):  Fix typo, clean up output of section
offsets. Cast psymtab->read_symtab to PTR before passing it to
gdb_print_address.
* i386-tdep.c (i386_skip_prologue):  Skip over instructions that
set up the global offset table pointer in pic compiled code.
* config/mips/tm-mips.h (FIX_CALL_DUMMY):  For big endian targets,
error() on TYPE_CODE_FLT arguments whose size is greater than 8,
swap all other TYPE_CODE_FLT arguments as mips_push_arguments
ensures that floats are promoted to doubles before they are pushed
on the stack.

30 years ago * sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
Stu Grossman [Sat, 19 Feb 1994 07:18:09 +0000 (07:18 +0000)]
* sparclite/Makefile.in, sparclite/salib.c, sparclite/sparclite.h:
Fixup cache_on and flush_i_cache so that they work for both the
930 and 932 processors.  Rewrite most low level funcs (uart
access & cache stuff) to use new ASI access macros in sparclite.h.
Also make it easy to access second serial port.

30 years ago * hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
Ian Lance Taylor [Sat, 19 Feb 1994 03:20:20 +0000 (03:20 +0000)]
* hp300ux-nat.c: Don't incloude <sys/dir.h>, <sys/ioctl.h>, or
<sys/stat.h>; not needed.

30 years ago * stack.c (print_frame_info): In "pathological" case, don't
Jim Kingdon [Sat, 19 Feb 1994 01:21:33 +0000 (01:21 +0000)]
* stack.c (print_frame_info): In "pathological" case, don't
distrust the line number information.

30 years agoModified Files:
Kung Hsu [Sat, 19 Feb 1994 00:57:49 +0000 (00:57 +0000)]
Modified Files:
  ChangeLog mips-tdep.c valprint.c

        * mips-tdep.c (mips_print_register): handle 64 bits register.
        * valprint.c (print_longest): fix a bug in printing 64 bits value.

30 years agoModified Files:
Kung Hsu [Sat, 19 Feb 1994 00:50:48 +0000 (00:50 +0000)]
Modified Files:
tm-mips64.h tm-mips.h

Change REGISTER_VIRTUAL_TYPE to handle 64 bit register.

30 years agoAdd unknown.exp
Jim Kingdon [Sat, 19 Feb 1994 00:37:57 +0000 (00:37 +0000)]
Add unknown.exp

30 years ago* configure: If subdir configure fails, print out a message with subdirectory
Ken Raeburn [Fri, 18 Feb 1994 22:15:10 +0000 (22:15 +0000)]
* configure: If subdir configure fails, print out a message with subdirectory
name, in case subdir's configure code didn't identify itself.

30 years ago* Version 4.12.2.
Jim Kingdon [Fri, 18 Feb 1994 22:15:01 +0000 (22:15 +0000)]
* Version 4.12.2.

30 years agorevised for Rob's changes
Ken Raeburn [Fri, 18 Feb 1994 22:13:24 +0000 (22:13 +0000)]
revised for Rob's changes

30 years agokeep ld.cdtest
Ken Raeburn [Fri, 18 Feb 1994 22:10:20 +0000 (22:10 +0000)]
keep ld.cdtest

30 years agoupdate -- keep more stuff recently added
Ken Raeburn [Fri, 18 Feb 1994 22:09:23 +0000 (22:09 +0000)]
update -- keep more stuff recently added

30 years agokeep new te-mach.h
Ken Raeburn [Fri, 18 Feb 1994 22:04:40 +0000 (22:04 +0000)]
keep new te-mach.h

30 years ago* configure.in: Remove embedded newlines from configdirs.
David Edelsohn [Fri, 18 Feb 1994 21:23:25 +0000 (21:23 +0000)]
* configure.in: Remove embedded newlines from configdirs.
Avoid mismatches of substrings.  Fix matching strings at end of configdirs.

30 years ago * Makefile.in (install): Do the sed for program_transform_name
Jim Kingdon [Fri, 18 Feb 1994 21:01:55 +0000 (21:01 +0000)]
* Makefile.in (install): Do the sed for program_transform_name
ourselves instead of worrying about INSTALL_XFORM.  This enables
users to override INSTALL_PROGRAM in the standard way.

* Makefile.in (c-exp.tab.o, ch-exp.tab.o, m2-exp.tab.o): Don't
depend on Makefile.in.

30 years agoBack out last patch until I figure out why configure is choking.
David Edelsohn [Fri, 18 Feb 1994 20:18:56 +0000 (20:18 +0000)]
Back out last patch until I figure out why configure is choking.

30 years agoFirst cut at i386-mach3 support.
Ken Raeburn [Fri, 18 Feb 1994 20:08:11 +0000 (20:08 +0000)]
First cut at i386-mach3 support.

30 years agoFirst attempt at i386-mach3 support.
Ken Raeburn [Fri, 18 Feb 1994 19:57:35 +0000 (19:57 +0000)]
First attempt at i386-mach3 support.

te-mach.h: New file.
obj-aout.c (obj_aout_frob_file): New function.
obj-aout.h (obj_aout_frob_file): Declare it.
(frob_file): New macro.
tc-i386.c (md_apply_fix_1) [TE_Mach]: Don't adjust pcrel32 relocations.
tc-i386.h (TARGET_FORMAT) [TE_Mach]: Use a.out-mach3.

30 years agowrite.c (write_object_file): Removed register declarations.
Ken Raeburn [Fri, 18 Feb 1994 19:53:26 +0000 (19:53 +0000)]
write.c (write_object_file): Removed register declarations.

30 years agomissed atof-generic log entry last time
Ken Raeburn [Fri, 18 Feb 1994 19:41:53 +0000 (19:41 +0000)]
missed atof-generic log entry last time

30 years ago* configure.in: Avoid substring mismatches but allow matches
David Edelsohn [Fri, 18 Feb 1994 19:25:46 +0000 (19:25 +0000)]
* configure.in: Avoid substring mismatches but allow matches
to words at front and end of string.

30 years ago * defs.h, valprint.c: Make longest_to_int a function not a macro.
Jim Kingdon [Fri, 18 Feb 1994 17:47:43 +0000 (17:47 +0000)]
* defs.h, valprint.c: Make longest_to_int a function not a macro.
Only test against INT_MIN if a LONGEST is bigger than an int.

30 years agoKeep or lost ppc-ext.h depending on whether keep-powerpc-netware is
Ian Lance Taylor [Fri, 18 Feb 1994 17:12:00 +0000 (17:12 +0000)]
Keep or lost ppc-ext.h depending on whether keep-powerpc-netware is
used.

30 years ago start-sanitize-powerpc-netware
Ian Lance Taylor [Fri, 18 Feb 1994 17:09:13 +0000 (17:09 +0000)]
start-sanitize-powerpc-netware
Support for PowerPC NetWare.
* config.bfd (powerpc-*-netware*): New target; use ppc-nlm.
* config/ppc-nlm.mt: New file.
* configure.in (nlm32_powerpc_vec): New target vector; use
nlm32-powerpc.o, nlm32.o, nlm.o.
* targets.c (nlm32_powerpc_vec): Declare.
* Makefile.in (BFD32_BACKENDS): Add nlm32-powerpc.o.
(CFILES): Should add nlm32-powerpc.c, but didn't, because the
dependencies can't be sanitized.
end-sanitize-powerpc-netware

Initial support for PowerPC ELF.  Done without an ABI, and
probably to be changed when I get an ABI.
* config.bfd (powerpc-*-sysv4*): New target; use ppc-elf.
* config/ppc-elf.mt: New file.
* configure.in (bfd_elf32_powerpc_vec): New target vector; use
elf32-powerpc.o, elf32.o, elf.o.
* elf32-powerpc.c: New file.
* elfcode.h (prep_headers): Add bfd_arch_powerpc case.
(elf_set_arch_mach): Likewise.
* targets.c (bfd_elf32_powerpc_vec): Declare.
* Makefile.in (BFD32_BACKENDS): Add elf32-powerpc.o.
(CFILES): Add elf32-powerpc.c.
Rebuilt dependencies.

30 years ago* Makefile.in: Add search.o rule for Sun make.
Jim Kingdon [Fri, 18 Feb 1994 16:57:47 +0000 (16:57 +0000)]
* Makefile.in: Add search.o rule for Sun make.

30 years ago * gdb.texinfo (Formatting Documentation): Change GhostScript to
Jim Kingdon [Fri, 18 Feb 1994 16:39:10 +0000 (16:39 +0000)]
* gdb.texinfo (Formatting Documentation): Change GhostScript to
Ghostscript.

30 years ago* README: Change GhostScript to Ghostscript.
Jim Kingdon [Fri, 18 Feb 1994 16:31:01 +0000 (16:31 +0000)]
* README: Change GhostScript to Ghostscript.

30 years ago * config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
Jim Kingdon [Fri, 18 Feb 1994 15:55:21 +0000 (15:55 +0000)]
* config/rs6000/{tm-rs6000lynx.h,nm-rs6000lynx.h,xm-rs6000lynx.h}:
Rename to tm-rs6000ly.h, nm-rs6000ly.h, xm-rs6000ly.h for 14
character file names.
* Makefile.in (ALLPARAM): Add these files.

30 years agoSupport for PowerPC NetWare. Sanitization to follow.
Ian Lance Taylor [Fri, 18 Feb 1994 15:44:44 +0000 (15:44 +0000)]
Support for PowerPC NetWare.  Sanitization to follow.

30 years ago * config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
Jim Kingdon [Fri, 18 Feb 1994 15:42:48 +0000 (15:42 +0000)]
* config/mips/littlemips64.mt: Rename to mipsel64.mt for 14
character file names.
Makefile.in: Add Kung's new mips64 files.

30 years agoSupport for PowerPC ELF and PowerPC NetWare. Sanitization to follow.
Ian Lance Taylor [Fri, 18 Feb 1994 15:37:20 +0000 (15:37 +0000)]
Support for PowerPC ELF and PowerPC NetWare.  Sanitization to follow.

30 years agoModified Files:
Kung Hsu [Fri, 18 Feb 1994 01:38:08 +0000 (01:38 +0000)]
Modified Files:
ChangeLog configure.in defs.h mips-tdep.c

        * configure.in: add mips64-*-elf, mips64-*-ecoff, mips64el-*-elf,
        mips64el-*-ecoff and mips64-big-*.
        * defs.h: get rid of FORCE_LONG_LONG.
        * mips-tdep.c (mips_find_saved_regs): add sd and sdc1 instruction
        parsing. Change register size to be MIPS_REGSIZE.

30 years agoAdded Files:
Kung Hsu [Fri, 18 Feb 1994 01:21:36 +0000 (01:21 +0000)]
Added Files:
bigmips64.mt idt64.mt idtl64.mt littlemips64.mt tm-bigmips64.h
tm-idt64.h tm-idtl64.h tm-mips64.h

Add the above files to support mips 64 bits target.

30 years agoCorrect info about evaluating macro args (distinct from evaluating preprocessor
Roland Pesch [Fri, 18 Feb 1994 01:10:24 +0000 (01:10 +0000)]
Correct info about evaluating macro args (distinct from evaluating preprocessor
vars); add version number (1); formatting improvements.

30 years ago binutils.texi: fixed dir-entry, copyright date, last chapter a bit
Jeffrey Osier [Fri, 18 Feb 1994 00:15:58 +0000 (00:15 +0000)]
binutils.texi:  fixed dir-entry, copyright date, last chapter a bit

30 years agoUse bfd_set_error in last patch.
Ian Lance Taylor [Thu, 17 Feb 1994 21:50:39 +0000 (21:50 +0000)]
Use bfd_set_error in last patch.

30 years ago Some support for PowerPC ELF, although it isn't in BFD yet.
Ian Lance Taylor [Thu, 17 Feb 1994 21:37:32 +0000 (21:37 +0000)]
Some support for PowerPC ELF, although it isn't in BFD yet.
* configure.in: If cpu is powerpc*, use ppc.
(ppc-*-sysv4*): Use object format elf.
* config/tc-ppc.h: Only declare a number of things if OBJ_COFF is
defined.
(TARGET_ARCH): Make it call ppc_arch.
(ppc_arch): Declare.
(TARGET_FORMAT): Set based on OBJ_COFF or OBJ_ELF.
(NO_STRING_ESCAPES): Define.
(LOCAL_LABEL, FAKE_LABEL_NAME): Define for OBJ_ELF.
* config/tc-ppc.c: Only define a number of functions of OBJ_COFF
is defined.
(md_pseudo_table): Most pseudo-ops are OBJ_COFF specific.  Added
OBJ_COFF specific "bi" and "ei".
(md_parse_option): Fix handling of -u.  Make -m601 set
PPC_OPCODE_601.  If OBJ_ELF, accept -V and -Q.
(ppc_set_cpu): New function.
(ppc_arch): New function.
(md_begin): Call ppc_set_cpu.
(ppc_insert_operand): For a signed operand accept an unsigned
value, for IBM compatibility.
(ppc_byte): Don't call stringer for strings; instead, treat two
double quotes as a single double quote.
(ppc_comm): Set sy_tc.output for a .lcomm symbol.
(ppc_biei): New function.
(ppc_tc): If not OBJ_COFF, ignore first argument.
(ppc_fix_adjustable): Call as_bad_where, not as_bad.
(ppc_is_toc_sym): New function.
(md_apply_fix): Use ppc_is_toc_sym.  Handle BFD_RELOC_16 and
BFD_RELOC_8.

30 years agoVarious entries.
Ian Lance Taylor [Thu, 17 Feb 1994 20:56:49 +0000 (20:56 +0000)]
Various entries.

30 years ago * ldlang.c, ldmain.c: Include libiberty.h.
Ian Lance Taylor [Thu, 17 Feb 1994 20:54:37 +0000 (20:54 +0000)]
* ldlang.c, ldmain.c: Include libiberty.h.

30 years ago * elfcode.h (elf_slurp_symbol_table): Handle zero symbols
Ian Lance Taylor [Thu, 17 Feb 1994 20:45:06 +0000 (20:45 +0000)]
* elfcode.h (elf_slurp_symbol_table): Handle zero symbols
reasonably.  Allocate x_symp using alloca.

Also fixed up indentation a bit in elf_set_arch_mach.

30 years ago * elfcode.h (map_program_segments): ELF program header entries
Ian Lance Taylor [Thu, 17 Feb 1994 20:39:58 +0000 (20:39 +0000)]
* elfcode.h (map_program_segments): ELF program header entries
must be sorted by load address.  This used to generate the entries
in reverse order.

30 years agohppa.h: Fix typo in fstws arg string.
Torbjorn Granlund [Thu, 17 Feb 1994 20:31:08 +0000 (20:31 +0000)]
hppa.h: Fix typo in fstws arg string.

30 years ago * corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
David MacKenzie [Thu, 17 Feb 1994 18:19:25 +0000 (18:19 +0000)]
* corelow.c, exec.c, irix5-nat.c, mipsread.c, objfiles.c,
osfsolib.c, rs6000-nat.c, solib.c, symfile.c, utils.c,
xcoffexec.c: Use bfd_get_error and bfd_set_error and new error names.

30 years ago * messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_get_error and
David MacKenzie [Thu, 17 Feb 1994 18:14:04 +0000 (18:14 +0000)]
* messages.c (as_perror) [BFD_ASSEMBLER]: Use bfd_get_error and
bfd_set_error and new error names.

30 years ago * ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
David MacKenzie [Thu, 17 Feb 1994 18:12:17 +0000 (18:12 +0000)]
* ldlang.c, ldmain.c, ldmisc.c: Use bfd_get_error and
bfd_set_error and new error names.

30 years ago * ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
David MacKenzie [Thu, 17 Feb 1994 18:10:18 +0000 (18:10 +0000)]
* ar.c, bucomm.c, nlmconv.c, nm.c, objcopy.c, objdump.c,
size.c: Use bfd_get_error and bfd_set_error and new error names.

30 years ago * bfd.c (bfd_get_error, bfd_set_error): New functions.
David MacKenzie [Thu, 17 Feb 1994 18:08:41 +0000 (18:08 +0000)]
* bfd.c (bfd_get_error, bfd_set_error): New functions.
(bfd_error): Make static.
(bfd_error_type): Renamed from bfd_ec.  Prepend "bfd_error_" to
all values.
* bfd-in2.h: Regenerated.
* aix386-core.c, aout-adobe.c, aout-encap.c, aout-target.h,
aoutf1.h, aoutx.h, archive.c, archures.c,
bfd.c, bout.c, cache.c, coff-alpha.c, coff-mips.c,
coff-rs6000.c, coffcode.h, coffgen.c, core.c, ctor.c,
ecoff.c, ecofflink.c, elf.c, elf32-hppa.c, elf32-mips.c,
elfcode.h, format.c, hash.c, hp300hpux.c, hppabsd-core.c,
i386lynx.c, ieee.c, libbfd.c, libelf.h, linker.c,
lynx-core.c, nlm.c, nlm32-alpha.c, nlm32-i386.c,
nlm32-sparc.c, nlmcode.h, oasys.c, opncls.c, osf-core.c,
ptrace-core.c, reloc16.c, rs6000-core.c, section.c, som.c,
srec.c, sunos.c, syms.c, targets.c, tekhex.c,
trad-core.c: Change callers.

30 years ago* rltty.c: #if out some code if __GO32__.
Per Bothner [Thu, 17 Feb 1994 00:42:25 +0000 (00:42 +0000)]
* rltty.c:  #if out some code if __GO32__.

30 years ago * som.c: Remove FIXMEs for things which have been dealt with.
Jeff Law [Wed, 16 Feb 1994 06:28:25 +0000 (06:28 +0000)]
    * som.c: Remove FIXMEs for things which have been dealt with.

30 years ago * libiberty.h: Don't declare strsignal, to avoid conflicts with
Ian Lance Taylor [Wed, 16 Feb 1994 06:09:08 +0000 (06:09 +0000)]
* libiberty.h: Don't declare strsignal, to avoid conflicts with
Solaris system header files.

30 years ago(1) remove dangling references to old internal sections (pass1, difference)
Roland Pesch [Wed, 16 Feb 1994 01:52:25 +0000 (01:52 +0000)]
(1) remove dangling references to old internal sections  (pass1, difference)
(2) move explanation of new MIPS options from summary section to MIPS-options
    section; add summaries in appropriate spots.
(3) usual minor rephrasing in passing.

30 years ago* configure.in: Support i960-vxworks versions > 5.0 as coff.
Ken Raeburn [Wed, 16 Feb 1994 01:28:59 +0000 (01:28 +0000)]
* configure.in: Support i960-vxworks versions > 5.0 as coff.
Default is still bout if no version is specified.

30 years agoi960-bout linker fixes, install-info bugfix
Ken Raeburn [Wed, 16 Feb 1994 01:20:05 +0000 (01:20 +0000)]
i960-bout linker fixes, install-info bugfix

30 years ago(lang_size_sections): Clear bfd_error before calling bfd_relax_section, in case
Ken Raeburn [Wed, 16 Feb 1994 01:18:32 +0000 (01:18 +0000)]
(lang_size_sections): Clear bfd_error before calling bfd_relax_section, in case
it returns false but doesn't flag an error.  If an error is returned, indicate
which one it is in the error message.

30 years ago(install-info): Depend on ld.info, and use "$<*" so
Ken Raeburn [Wed, 16 Feb 1994 01:17:43 +0000 (01:17 +0000)]
(install-info): Depend on ld.info, and use "$<*" so
it'll get picked up from $(srcdir) if appropriate.

30 years agoi960-bout linker fixes, i960 coff config changes
Ken Raeburn [Wed, 16 Feb 1994 01:00:57 +0000 (01:00 +0000)]
i960-bout linker fixes, i960 coff config changes

30 years agoSupport i960 vxworks versions > 5.0 with coff, not bout. Default with no
Ken Raeburn [Wed, 16 Feb 1994 00:59:39 +0000 (00:59 +0000)]
Support i960 vxworks versions > 5.0 with coff, not bout.  Default with no
version number is still bout.  Support explicit i960-coff target too.

30 years ago(b_out_get_reloc_upper_bound): For BSS section, just return 0.
Ken Raeburn [Wed, 16 Feb 1994 00:59:19 +0000 (00:59 +0000)]
(b_out_get_reloc_upper_bound): For BSS section, just return 0.
(aligncode): When shrinking, the addend should be set to the current offset in
the section plus the number of bytes of padding that will actually be retained.
(b_out_relax_section): If a section contains no relocations, don't bother
processing them.
(b_out_get_relocated_section_contents): Set reloc_done.  Assert that
bfd_get_section_contents returns true.  Check that relocs are properly ordered.
(b_out_get_relocated_section_contents, case ALIGNDONE): Assert that reloc's
addend falls between the current source offset and the raw size of the input
section.

Changed some indentation, deleted trailing whitespace, fixed some comments,
removed some "#if 1" lines.
(output_addr): New macro.
(calljx_callback, callj_callback, get_value, abs32code, aligncode,
b_out_get_relocated_section_contents): Use it for readability.

30 years ago(default_indirect_link_order): In assertion, compare link_order size field
Ken Raeburn [Wed, 16 Feb 1994 00:57:48 +0000 (00:57 +0000)]
(default_indirect_link_order): In assertion, compare link_order size field
against cooked size, not raw size, of input section.