binutils-gdb.git
30 years ago * config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.
Jeff Law [Sat, 26 Feb 1994 04:57:57 +0000 (04:57 +0000)]
    * config/tc-hppa.c (hppa_tc_symbol): Call PA ELF BFD version.
        (hppa_tc_make_sections): Likewise.
        (pa_build_symextn_section): Delete unused function.
        (hppa_tc_make_symextn_section): Likewise.
        (pa_export): Delete call to pa_build_symextn_section.

        * config/tc-hppa.h (hppa_tc_symbol): Add extern decl.
        (elf_hppa_final_processing): Delete extern decl.
        (hppa_tc_symbol): Delete extern decl.

30 years ago * format.c (bfd_check_format_matches): Initialize matching_vector
Jeff Law [Sat, 26 Feb 1994 03:41:36 +0000 (03:41 +0000)]
    * format.c (bfd_check_format_matches): Initialize matching_vector
        to keep gcc -Wall quiet.

        * elfcode.h (elf_slurp_reloca_table): Fix typo.

30 years ago * ldgram.y: Move include of ldlex.h back with other includes.
Ian Lance Taylor [Sat, 26 Feb 1994 03:22:26 +0000 (03:22 +0000)]
* ldgram.y: Move include of ldlex.h back with other includes.
* ldlex.h (input_type): Don't initialize enum constants to
particular values.
* ldlex.l: Use a switch to return the right token based on
input_type, rather than knowing that input_type has a value based
on a token type.

30 years ago * ldgram.y (dirlist_ptr): Removed; not used.
Ian Lance Taylor [Sat, 26 Feb 1994 03:17:02 +0000 (03:17 +0000)]
* ldgram.y (dirlist_ptr): Removed; not used.
* lexsup.c: Include ldver.h.
* Makefile.in: Rebuilt dependencies.

30 years agoFri Feb 25 18:55:54 1994 Ted Lemon (mellon@pepper.ncd.com)
Ian Lance Taylor [Sat, 26 Feb 1994 03:11:21 +0000 (03:11 +0000)]
Fri Feb 25 18:55:54 1994  Ted Lemon  (mellon@pepper.ncd.com)

* ldlang.c (lookup_name): don't call bfd_set_gp_size.
(ldlang_add_file): call it here instead.

30 years ago * ldgram.y: Include ldlex.h after %token decls, for byacc.
David MacKenzie [Sat, 26 Feb 1994 02:14:30 +0000 (02:14 +0000)]
* ldgram.y: Include ldlex.h after %token decls, for byacc.

30 years ago * remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
Jim Kingdon [Sat, 26 Feb 1994 01:52:39 +0000 (01:52 +0000)]
* remote.c, remote-mon.c, remote-utils.c, remote-utils.h,
target.h, remote-es.c, remote-nindy.c: Don't set baud rate if
baud_rate is -1.  Remove sr_get_baud_rate and sr_set_baud_rate;
just use the global variable itself.  When printing baud rate,
don't print a baud rate if baud_rate is -1.

30 years ago * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)"
Jeff Law [Sat, 26 Feb 1994 00:39:03 +0000 (00:39 +0000)]
    * som.c (som_get_symtab_upper_bound): Use "sizeof (asymbol *)"
        not "sizeof (som_symbol_type *)".

        * elfcode.h (elf_get_symtab_upper_bound): Use "sizeof (asymbol *)"
        not "sizeof (asymbol").  Opps.

30 years ago * emultempl/hppaelf.em: First attempt to clean this file up.
Jeff Law [Sat, 26 Feb 1994 00:33:30 +0000 (00:33 +0000)]
    * emultempl/hppaelf.em: First attempt to clean this file up.
        Add comments in several functions as to their purpose and
        how they function (or my current best guess).  Clean up horrible
        spacing and indention that never should have been accepted in the
        first place.  Add FIXMEs for issues which need to be resolved.
        Disable linker-stub generation until it gets fixed.  This allows
        the linker to at least work on simple code for testing purposes.

30 years ago * bfd.c (bfd_get_gp_size): Can't return gp value on an archive.
Ian Lance Taylor [Fri, 25 Feb 1994 21:20:18 +0000 (21:20 +0000)]
* bfd.c (bfd_get_gp_size): Can't return gp value on an archive.
(bfd_set_gp_size):  Can't set gp value on an archive.

30 years ago * config/obj-coffbfd.c (fill_section): Correct test for whether to
Ian Lance Taylor [Fri, 25 Feb 1994 21:16:56 +0000 (21:16 +0000)]
* config/obj-coffbfd.c (fill_section): Correct test for whether to
fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).

30 years ago * srec.c (pass_over): Don't skip too many characters when
Steve Chamberlain [Fri, 25 Feb 1994 21:09:09 +0000 (21:09 +0000)]
* srec.c (pass_over): Don't skip too many characters when
end of line seen.

30 years agoFix last patch.
Ian Lance Taylor [Fri, 25 Feb 1994 21:05:49 +0000 (21:05 +0000)]
Fix last patch.

30 years ago * ecoff.c (ecoff_sizeof_headers): Align result to 16 byte
Ian Lance Taylor [Fri, 25 Feb 1994 19:42:43 +0000 (19:42 +0000)]
* ecoff.c (ecoff_sizeof_headers): Align result to 16 byte
boundary.

30 years ago * ldlang.c (lang_size_sections): No longer static (PA ELF calls
Jeff Law [Fri, 25 Feb 1994 18:51:35 +0000 (18:51 +0000)]
    * ldlang.c (lang_size_sections): No longer static (PA ELF calls
        it via hppaelf_finish).  Prototype moved into ldlang.h.
        (lang_process): Move problematic extra call to lang_size_sections
        into the PA ELF specific code.
        * emultempl/hppaelf.em (hppaelf_finish): Extra call to
        lang_size_sections moved here.

30 years ago * coffread.c (read_coff_symtab): Pass mst_file_* to
Jim Kingdon [Fri, 25 Feb 1994 17:45:38 +0000 (17:45 +0000)]
* coffread.c (read_coff_symtab): Pass mst_file_* to
record_minimal_symbol for C_STAT symbols.  Put C_EXT and C_STAT
symbols in the minimal symbols regardless of SDB_TYPE.

30 years ago * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
Jim Kingdon [Fri, 25 Feb 1994 09:13:10 +0000 (09:13 +0000)]
* gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
next over recursive call.  Revise the tests from that point on
(which had been skipped) to match GDB's actual (correct) output.

* gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
with next over a breakpoint whose condition is false.

30 years ago * breakpoint.h (enum bptype): New type bp_through_sigtramp.
Jim Kingdon [Fri, 25 Feb 1994 09:12:29 +0000 (09:12 +0000)]
* breakpoint.h (enum bptype): New type bp_through_sigtramp.
(bpstat_what_main_action): New code BPSTAT_WHAT_THROUGH_SIGTRAMP.
* breakpoint.c (bpstat_what): Return BPSTAT_WHAT_THROUGH_SIGTRAMP
if we hit a bp_through_sigtramp breakpoint.  Remove kludge which
ignored bs->stop for a bp_step_resume breakpoint.
* infrun.c (wait_for_inferior): Make a through_sigtramp_breakpoint
which performs one (the check_sigtramp2 one) of the functions
which had been handled by the step_resume_breakpoint.  For each
use of the step_resume_breakpoint, make it still use the
step_resume_breakpoint, use the through_sigtramp_breakpoint, or
operate on both.
Deal with BPSTAT_WHAT_THROUGH_SIGTRAMP return from bpstat_what.
When setting the frame address of the step resume breakpoint, set
it to the address for frame *before* the call instruction is
executed, not after.

30 years ago * mips-tdep.c (mips_print_register): Print integers using
Jim Kingdon [Fri, 25 Feb 1994 04:23:19 +0000 (04:23 +0000)]
* mips-tdep.c (mips_print_register): Print integers using
print_scalar_formatted rather than duplicating all the
CC_HAS_LONG_LONG and so on.
(mips_push_dummy_frame): Use read_register_gen rather than using
read_register and then putting it back in target format with
store_unsigned_integer.  If registers are more than 4 bytes, give
an error rather than have some registers overwrite other
registers.
#if 0 unused include of opcode/mips.h.

30 years agoAdd missing newline in einfo message.
David MacKenzie [Fri, 25 Feb 1994 04:12:50 +0000 (04:12 +0000)]
Add missing newline in einfo message.

30 years ago * lexsup.c (parse_args): Use symbolic numbers for long options.
David MacKenzie [Fri, 25 Feb 1994 04:08:55 +0000 (04:08 +0000)]
* lexsup.c (parse_args): Use symbolic numbers for long options.
Fix misunderstanding in -Y and -call_shared et al.

30 years agoFor some reason this directory was missing a .Sanitize file.
Ian Lance Taylor [Fri, 25 Feb 1994 03:59:10 +0000 (03:59 +0000)]
For some reason this directory was missing a .Sanitize file.

30 years agoMake correspond to djm's last change.
Ian Lance Taylor [Fri, 25 Feb 1994 03:39:17 +0000 (03:39 +0000)]
Make correspond to djm's last change.

30 years ago * configure.in (powerpc-*-elf*): New target; use ppc-elf32.
Ian Lance Taylor [Fri, 25 Feb 1994 03:32:08 +0000 (03:32 +0000)]
* configure.in (powerpc-*-elf*): New target; use ppc-elf32.
* config/ppc-elf32.mt: New file.
* emulparams/elf32ppc.sh: New file.
* emultempl/ppc.em: New file.
* Makefile.in (ALL_EMULATIONS): Added em_elf32ppc.o.
(em_elf32ppc.c): New target; uses elf32ppc.sh, ppc.em and elf.sc.
(EMULATION_OFILES): Added dependencies on ldexp.h and ldlang.h.

30 years ago Use getopt instead of lex and yacc to parse the command line.
David MacKenzie [Fri, 25 Feb 1994 03:26:25 +0000 (03:26 +0000)]
Use getopt instead of lex and yacc to parse the command line.

* ld.texinfo (Options): Document changes to option syntax.
* Makefile.in: Update dependencies.
* ldver.c (help): Tweak dashes in usage message.
* ldgram.y (%union): Remove unused members.
Remove %tokens for command line options; add ones for input types.
(command_line): Rules removed.
(file): Instead of command line, recognize an
input type indicator, then use the nonterminal for that type.
(defsym_expr): New nonterminal from code formerly in command_line.
* ldlex.h: Declare parser input type enum and variable.
Don't declare parse_line.
* ldlex.l: Remove unused variables.  Make some used ones static
and comment them.
(COMMAND): Start state and its rules removed.
At start of yylex, return input state token if at start of input.
(lex_redirect): Don't need to set yyout.
(ldlex_command): Function removed.
* ldmain.c (main): Instead of calling parse_line, set up the
redirections and call yyparse directly.
* ldmisc.c (vfinfo): If there's no input filename, print nothing, not
"command line".
* lexsup.c: Remove #if 0'd code.
(parse_line): Function removed.
(parse_args): Rewrite to use getopt_long_only.
(set_default_dirlist): New function from code formerly in
ldgram.y:command_line.
(set_section_start): New function.
* emultempl/generic.em, emultempl/gld960.em, emultempl/hppaelf.em,
emultempl/lnk960.em, emultempl/m88kbcs.em: Don't enclose
compiled-in link scripts in "{" and "}", as the grammar no longer
wants them to be.

30 years ago * gdb.t00/help.exp: Comment out "help set print" tests just like
Jim Kingdon [Fri, 25 Feb 1994 03:03:29 +0000 (03:03 +0000)]
* gdb.t00/help.exp: Comment out "help set print" tests just like
(and for same reason as) "help set" test.

30 years agoH8/500 bits.
Steve Chamberlain [Thu, 24 Feb 1994 17:15:46 +0000 (17:15 +0000)]
H8/500 bits.

30 years agoVarious H8/500 bits.
Steve Chamberlain [Thu, 24 Feb 1994 17:14:06 +0000 (17:14 +0000)]
Various H8/500 bits.

30 years ago* defs.h: Revert Kung change regarding FORCE_LONG_LONG.
Jim Kingdon [Thu, 24 Feb 1994 16:54:03 +0000 (16:54 +0000)]
* defs.h: Revert Kung change regarding FORCE_LONG_LONG.

30 years agokeep coff_sparc.sh
Ken Raeburn [Thu, 24 Feb 1994 16:50:12 +0000 (16:50 +0000)]
keep coff_sparc.sh

30 years agokeep coff-sparc.mt
Ken Raeburn [Thu, 24 Feb 1994 16:49:21 +0000 (16:49 +0000)]
keep coff-sparc.mt

30 years ago* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler", which is
Ken Raeburn [Thu, 24 Feb 1994 16:38:42 +0000 (16:38 +0000)]
* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler", which is
ignored by gas, but will cause other assemblers to choke.  Intended for use by
gcc ports that require gas instead of native assemblers.

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.