platform/upstream/binutils.git
29 years ago * mips.h (INSN_ISA4): Define.
Ian Lance Taylor [Fri, 3 Mar 1995 21:13:37 +0000 (21:13 +0000)]
* mips.h (INSN_ISA4): Define.

29 years agoSupport saving saved regs with multiple stores in addition to store multiple instruct...
Michael Meissner [Fri, 3 Mar 1995 17:39:37 +0000 (17:39 +0000)]
Support saving saved regs with multiple stores in addition to store multiple instructions in prologue.

29 years ago * sparc-tdep.c (decode_asi): New function.
David Edelsohn [Fri, 3 Mar 1995 09:06:51 +0000 (09:06 +0000)]
* sparc-tdep.c (decode_asi): New function.
(sparc_print_register_hook): Pretty print more v9 registers.

29 years ago * sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.
David Edelsohn [Fri, 3 Mar 1995 08:57:52 +0000 (08:57 +0000)]
* sparc/tm-sp64.h (REGISTER_NAMES): Fix some typos.

29 years ago * dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
David Edelsohn [Fri, 3 Mar 1995 06:26:25 +0000 (06:26 +0000)]
* dwarfread.c (struct dieinfo): Use CORE_ADDR for at_{low,high}_pc.
(target_to_host): Change result type to CORE_ADDR.

29 years agoForgot this one (from sparc64 changes).
David Edelsohn [Thu, 2 Mar 1995 23:18:13 +0000 (23:18 +0000)]
Forgot this one (from sparc64 changes).

29 years ago* rs6000-tdep.c: Fix byte-swapping sins.
Jim Kingdon [Thu, 2 Mar 1995 23:16:05 +0000 (23:16 +0000)]
* rs6000-tdep.c: Fix byte-swapping sins.

29 years ago * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
Jim Kingdon [Thu, 2 Mar 1995 22:24:44 +0000 (22:24 +0000)]
* gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
disassemble 8, not 16, instructions for part 4.

29 years agoMinor code cleanup in rs6000-tdep.c
Michael Meissner [Thu, 2 Mar 1995 21:51:30 +0000 (21:51 +0000)]
Minor code cleanup in rs6000-tdep.c

29 years ago * aoutx.h (NAME(aout,set_section_contents)): Double check that the
Ian Lance Taylor [Thu, 2 Mar 1995 21:00:39 +0000 (21:00 +0000)]
* aoutx.h (NAME(aout,set_section_contents)): Double check that the
caller is writing to a valid section.
PR 5996 cleanup.

29 years agoThu Mar 2 14:37:57 1995 Bryan Ford <baford@cs.utah.edu>
Ian Lance Taylor [Thu, 2 Mar 1995 20:04:07 +0000 (20:04 +0000)]
Thu Mar  2 14:37:57 1995  Bryan Ford  <baford@cs.utah.edu>

* binary.c: Add support for reading binary files.  Loads the raw
contents of the file into a data section and wraps some symbols
around it.  The symbols `_binary_<filename>_start' and
`_binary_<filename>_end' indicate the start and end of the data,
while `_binary_<filename>_size' is an absolute symbol whose value
is the size of the data.  <filename> is the name of the binary
input file, with all non-alphanumeric characters converted to
underscores.

* archures.c (bfd_arch_get_compatible): Assume users knows what
they're doing if one of the architectures is bfd_arch_unknown.

29 years ago Doc note from pierre@phi.la.tce.com (Pierre Willard):
Ian Lance Taylor [Thu, 2 Mar 1995 19:36:10 +0000 (19:36 +0000)]
Doc note from pierre@phi.la.tce.com (Pierre Willard):
* ld.texinfo: -X and -x work even if -s or -S are not specified.
* ld.1: Similar change.

29 years ago * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
Jim Kingdon [Thu, 2 Mar 1995 15:45:02 +0000 (15:45 +0000)]
* config/vx-gdb.exp (gdb_start): Use \030, not \CX.  tcl doesn't
support the latter anymore.

29 years ago * misc.exp: If executable does not exist, issue warning and skip
Jim Kingdon [Thu, 2 Mar 1995 14:23:40 +0000 (14:23 +0000)]
* misc.exp: If executable does not exist, issue warning and skip
remaining tests, like other chill tests.

29 years ago * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
Jim Kingdon [Thu, 2 Mar 1995 14:09:31 +0000 (14:09 +0000)]
* gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
-DNO_PROTOTYPES.
* gdb.base/callfuncs.c: Control use of prototypes based on
NO_PROTOTYPES, not __STDC.
* gdb.base/callfuncs.exp (do_function_calls): xfail one of the
t_float_values2 tests if prototypes in use.

* gdb.base/callfuncs.c (t_float_values, t_float_values2,
t_double_values):  When checking differences against DELTA, check
that difference is within the range (-DELTA,DELTA), not just
(-infinity,DELTA).

29 years agoForgot to check in ChangeLog entry for ch-exp.y (Feb 21).
Per Bothner [Thu, 2 Mar 1995 04:56:01 +0000 (04:56 +0000)]
Forgot to check in ChangeLog entry for ch-exp.y (Feb 21).

29 years ago * misc.ch, misc.exp, Makefile.in: New test case.
Per Bothner [Thu, 2 Mar 1995 04:28:57 +0000 (04:28 +0000)]
* misc.ch, misc.exp, Makefile.in:  New test case.

29 years ago Various changes for sparc64.
David Edelsohn [Thu, 2 Mar 1995 00:18:04 +0000 (00:18 +0000)]
Various changes for sparc64.
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
where appropriate.
(enum branch_type): New value `done_retry'.
(isbranch): Renamed from isannulled.  All callers changed.
Support new sparc64 branch insns.
(single_step): Handle done_retry.
(sparc_extract_struct_value_address): Don't assume 4 byte regs.
(get_saved_register): Likewise.
(sparc_push_dummy_frame): Likewise.
(sparc_frame_find_saved_regs): Likewise.
(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
(sparc64_extract_struct_value_address): New function.
(dump_ccreg, sparc_print_register_hook): Likewise.
* sp64-tdep.c: Deleted.
* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
(CC_HAS_LONG_LONG): Define.
(REGISTER_NAMES): Delete cle/tle and reorganize.
(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
sparc-tdep.c now.
(REGISTER_BYTES): Update.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
(NO_SINGLE_STEP): Likewise.
* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
* sparc/sp64.mt: Move simulator support ...
* sparc/sp64sim.mt: ... to here.

29 years agoMerged into sparc-tdep.c.
David Edelsohn [Thu, 2 Mar 1995 00:13:16 +0000 (00:13 +0000)]
Merged into sparc-tdep.c.

29 years ago * sparc-tdep.c (NUM_SPARC_FPREGS): Define.
David Edelsohn [Thu, 2 Mar 1995 00:11:22 +0000 (00:11 +0000)]
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
where appropriate.
(enum branch_type): New value `done_retry'.
(isbranch): Renamed from isannulled.  All callers changed.
Support new sparc64 branch insns.
(single_step): Handle done_retry.
(sparc_extract_struct_value_address): Don't assume 4 byte regs.
(get_saved_register): Likewise.
(sparc_push_dummy_frame): Likewise.
(sparc_frame_find_saved_regs): Likewise.
(sparc_pop_frame): Likewise.  Don't refer to FPS_REGNUM, CPS_REGNUM,
or PS_REGNUM if not sparc64.  sparc64 has 64 fp regs.
(sparc64_extract_struct_value_address): New function.
(dump_ccreg, sparc_print_register_hook): Likewise.
* sp64-tdep.c: Deleted.
* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
(CC_HAS_LONG_LONG): Define.
(REGISTER_NAMES): Delete cle/tle and reorganize.
(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
sparc-tdep.c now.
(REGISTER_BYTES): Update.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
(EXTRACT_RETURN_VALUE): Delete.  Use definition in tm-sparc.h.
(NO_SINGLE_STEP): Likewise.
* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
* sparc/sp64.mt: Move simulator support ...
* sparc/sp64sim.mt: ... to here.

29 years agoWarn if GOT16 overflows.
Michael Meissner [Wed, 1 Mar 1995 22:34:34 +0000 (22:34 +0000)]
Warn if GOT16 overflows.

29 years ago * config/i960/vxworks960.mt: add remote-vx960.o.
Kung Hsu [Wed, 1 Mar 1995 21:22:37 +0000 (21:22 +0000)]
    * config/i960/vxworks960.mt: add remote-vx960.o.
        * config/m68k/vxworks68.mt: add remote-vx68.o.

29 years ago * config/m68k/vxworks68.mt: add remote-vx68.o.
Kung Hsu [Wed, 1 Mar 1995 21:20:14 +0000 (21:20 +0000)]
    * config/m68k/vxworks68.mt: add remote-vx68.o.

29 years ago * config/i960/vxworks960.mt: add remote-vx960.o.
Kung Hsu [Wed, 1 Mar 1995 21:19:29 +0000 (21:19 +0000)]
    * config/i960/vxworks960.mt: add remote-vx960.o.

29 years ago * remote-vx960.c: new file for target specific register packaging.
Kung Hsu [Wed, 1 Mar 1995 21:16:38 +0000 (21:16 +0000)]
    * remote-vx960.c: new file for target specific register packaging.
        * remote-vx68.c: ditto.

29 years agoWed Mar 1 11:52:55 1995 Jason Molenda <crash@phydeaux.cygnus.com>
Jason Molenda [Wed, 1 Mar 1995 19:55:05 +0000 (19:55 +0000)]
Wed Mar  1 11:52:55 1995  Jason Molenda  <crash@phydeaux.cygnus.com>

        * configure.host: Recognize powerpc-*-aix*.

for sludge.cygnus.com.

29 years agoBuild without warnings under Linux.
Michael Meissner [Wed, 1 Mar 1995 18:58:34 +0000 (18:58 +0000)]
Build without warnings under Linux.

29 years ago * emulparams/gld960coff.sh (COFF_CTORS): Define.
Ian Lance Taylor [Wed, 1 Mar 1995 18:57:24 +0000 (18:57 +0000)]
* emulparams/gld960coff.sh (COFF_CTORS): Define.
* scripttempl/i960.sc: Use COFF_CTORS if CONSTRUCTING.

29 years ago * coff-i960.c (COFF_PAGE_SIZE): Define.
Ian Lance Taylor [Wed, 1 Mar 1995 18:06:13 +0000 (18:06 +0000)]
* coff-i960.c (COFF_PAGE_SIZE): Define.

29 years agoAdd Linux yacc suport.
Michael Meissner [Wed, 1 Mar 1995 17:23:41 +0000 (17:23 +0000)]
Add Linux yacc suport.

29 years ago * configure.in: Rewrite output of TDEFAULTS to avoid relying on
Ian Lance Taylor [Wed, 1 Mar 1995 16:58:57 +0000 (16:58 +0000)]
* configure.in: Rewrite output of TDEFAULTS to avoid relying on
semantics of single quotes in parameter substitution.

29 years ago * hppa-tdep.c (pa_print_registers), monitor.c: Use
Jim Kingdon [Wed, 1 Mar 1995 07:18:04 +0000 (07:18 +0000)]
* hppa-tdep.c (pa_print_registers), monitor.c: Use
extract_unsigned_integer and friends, not SWAP_TARGET_AND_HOST.
* defs.h, findvar.c: Move SWAP_TARGET_AND_HOST back to findvar.c.
Rename it to SWAP_FLOATING to make it clear it is no longer for
integers.

29 years ago * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
Kung Hsu [Wed, 1 Mar 1995 02:13:06 +0000 (02:13 +0000)]
    * defs.h (SWAP_TARGET_AND_HOST): check endianess at runtime not
        compile time.

29 years ago * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
Kung Hsu [Wed, 1 Mar 1995 01:39:12 +0000 (01:39 +0000)]
    * arc-tdep.c (_initialize_arc_tdep): set tm_print_insn according to
        processor.
        * remote-arc.c (arc_wait): when a processor stops, stop other two
        processors too.
        * remote-arc.c (switch_command): switch tm_print_insn.

29 years ago * config/mips-gdb.exp (gdb_load): In every test case, we need to do
Kung Hsu [Wed, 1 Mar 1995 00:35:09 +0000 (00:35 +0000)]
    * config/mips-gdb.exp (gdb_load): In every test case, we need to do
        'file' command firts, then 'target', then 'load', this is due to gdb
        target set up.
        * config/mips-gdb.exp: Fix a couple regular exp bugs.

29 years ago * vx-share/ptrace.h: merge in WRS new ptrace requests.
Kung Hsu [Wed, 1 Mar 1995 00:27:31 +0000 (00:27 +0000)]
    * vx-share/ptrace.h: merge in WRS new ptrace requests.

29 years ago * defs.h: fix a syntax error.
Kung Hsu [Wed, 1 Mar 1995 00:22:46 +0000 (00:22 +0000)]
    * defs.h: fix a syntax error.

29 years ago * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
Kung Hsu [Wed, 1 Mar 1995 00:01:49 +0000 (00:01 +0000)]
    * a29k-tdep.c (get_longjmp_target): add this function, from WRS.
        * remote-vx.c: move read_register and write_register out to
        target specific files.
        * remote-vx29k.c (get_fp_contnets): add this function, from WRS.

29 years agoread.c, tc-* md_operand changes
Ken Raeburn [Tue, 28 Feb 1995 23:38:47 +0000 (23:38 +0000)]
read.c, tc-* md_operand changes

29 years ago(md_operand): Replaced empty function in .c file with empty macro in .h file.
Ken Raeburn [Tue, 28 Feb 1995 23:37:38 +0000 (23:37 +0000)]
(md_operand): Replaced empty function in .c file with empty macro in .h file.

29 years ago * defs.h: define SWAP_TARGET_AND_HOST macro.
Kung Hsu [Tue, 28 Feb 1995 23:08:06 +0000 (23:08 +0000)]
    * defs.h: define SWAP_TARGET_AND_HOST macro.
        * findvar.c, monitor.c, hppa-tdep.c: remove definition of
        SWAP_TARGET_AND_HOST.

29 years ago * configure: If the --cache-file is used, pass it down to
Ian Lance Taylor [Tue, 28 Feb 1995 22:37:42 +0000 (22:37 +0000)]
* configure: If the --cache-file is used, pass it down to
configure in subdirectories.
PR 6389.

29 years agofix configury
Ian Lance Taylor [Tue, 28 Feb 1995 22:34:21 +0000 (22:34 +0000)]
fix configury

29 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
Ian Lance Taylor [Tue, 28 Feb 1995 20:35:41 +0000 (20:35 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust PLT or
GOT relocs either.

29 years ago * elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
Ian Lance Taylor [Tue, 28 Feb 1995 19:33:51 +0000 (19:33 +0000)]
* elfcode.h (elf_sort_hdrs): Sort empty sections before non-empty
sections, if they have the same VMA.

29 years agoSun Feb 26 15:27:24 1995 Steve Chamberlain <sac@cygnus.com>
Ian Lance Taylor [Tue, 28 Feb 1995 19:16:40 +0000 (19:16 +0000)]
Sun Feb 26 15:27:24 1995  Steve Chamberlain  <sac@cygnus.com>

* configure.in: Use ../../bfd/hosts/std-host.h if specific
host unavailable.

29 years ago * config.bfd (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:54:37 +0000 (17:54 +0000)]
* config.bfd (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in (i[345]86-*-linuxelf*): New target. Use i386-lelf.
Ian Lance Taylor [Tue, 28 Feb 1995 17:44:35 +0000 (17:44 +0000)]
* configure.in (i[345]86-*-linuxelf*): New target.  Use i386-lelf.
(i[345]86-*-gnuelf*): New target.  Use i386-gelf.
* config/i386-lelf.mt: New file.
* config/i386-gelf.mt: New file.

29 years ago * configure.in: Match on mips-ecoff, and default to the IDT
Rob Savoye [Tue, 28 Feb 1995 17:29:02 +0000 (17:29 +0000)]
* configure.in: Match on mips-ecoff, and default to the IDT
configuration.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set
Jim Kingdon [Tue, 28 Feb 1995 16:38:26 +0000 (16:38 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set
PROC_LOCALOFF (found_heuristic) if found_heuristic is non-NULL.

29 years ago * alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
Jim Kingdon [Tue, 28 Feb 1995 16:35:11 +0000 (16:35 +0000)]
* alpha-tdep.c (find_proc_desc): Only attempt to set PROC_LOCALOFF
(found_heuristic) if found_heuristic is non-NULL.

29 years ago * configure.in: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 21:05:00 +0000 (21:05 +0000)]
    * configure.in: add a29k-*-vxworks configuration.

29 years ago * config.bfd: add a29k-*-vxworks configuration.
Kung Hsu [Mon, 27 Feb 1995 20:59:54 +0000 (20:59 +0000)]
    * config.bfd: add a29k-*-vxworks configuration.

29 years ago * config.sub: add vxworks29k configuration.
Kung Hsu [Mon, 27 Feb 1995 20:54:49 +0000 (20:54 +0000)]
    * config.sub: add vxworks29k configuration.

29 years ago * monitor.c: General gcc -Wall lint cleanup and reformat.
Stan Shebs [Mon, 27 Feb 1995 20:03:49 +0000 (20:03 +0000)]
* monitor.c: General gcc -Wall lint cleanup and reformat.
(monitor_command): If no args, send an empty command.

29 years agotweak previous patch
Ian Lance Taylor [Fri, 24 Feb 1995 20:25:52 +0000 (20:25 +0000)]
tweak previous patch

29 years ago * config/tc-mips.c (load_register): Correctly handle 32 bit values
Ian Lance Taylor [Fri, 24 Feb 1995 19:42:43 +0000 (19:42 +0000)]
* config/tc-mips.c (load_register): Correctly handle 32 bit values
with the high bit set in 64 bit mode.
PR 6381.

29 years ago * monitor.c (monitor_load_ascii_srec): Add a one second sleep
Stu Grossman [Fri, 24 Feb 1995 05:09:37 +0000 (05:09 +0000)]
* monitor.c (monitor_load_ascii_srec):  Add a one second sleep
after send LOAD_CMD to prevent loss of first S-record.

29 years ago * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
Jeff Law [Fri, 24 Feb 1995 00:47:29 +0000 (00:47 +0000)]
* gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
FP load/store variants.
* gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.

29 years ago * hppa.h (fstwx): Fix single-bit error.
Jeff Law [Fri, 24 Feb 1995 00:34:19 +0000 (00:34 +0000)]
* hppa.h (fstwx): Fix single-bit error.

29 years ago * config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
Jeff Law [Thu, 23 Feb 1995 06:16:35 +0000 (06:16 +0000)]
* config/tc-hppa.c (md_apply_fix): Don't subtract the value of the
add symbol if it's a common symbol (the value of a common symbol
is its size, not a value in the traditional sense).

29 years ago * gdb.base/term.exp: Do not give a warning if not native, it is
Jim Kingdon [Thu, 23 Feb 1995 02:30:57 +0000 (02:30 +0000)]
* gdb.base/term.exp: Do not give a warning if not native, it is
not an abnormal condition.

29 years ago * config/tc-mips.c (append_insn): If listing_prev_line is called,
Ian Lance Taylor [Thu, 23 Feb 1995 02:20:57 +0000 (02:20 +0000)]
* config/tc-mips.c (append_insn): If listing_prev_line is called,
call frag_grow to make sure there is still room for a variant.

29 years ago * ch-exp.y (expression_conversion): Recognize 'ARRAY () TYPE (EXPR)'
Per Bothner [Wed, 22 Feb 1995 07:43:01 +0000 (07:43 +0000)]
    * ch-exp.y (expression_conversion):  Recognize 'ARRAY () TYPE (EXPR)'
        (same as C's '(TYPE[])EXPR')

29 years agoadded regs.exp to Things-to-keep
Angela Marie Thomas [Wed, 22 Feb 1995 04:56:32 +0000 (04:56 +0000)]
added regs.exp to Things-to-keep

29 years ago * bout.c (b_out_slurp_reloc_table): Don't return an error if asked
Ian Lance Taylor [Wed, 22 Feb 1995 02:20:51 +0000 (02:20 +0000)]
* bout.c (b_out_slurp_reloc_table): Don't return an error if asked
for relocations for the .bss section.
PR 6377.

29 years agoAdded arc to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:36:16 +0000 (01:36 +0000)]
Added arc to Things-to-lose

29 years agoAdded remote-mon.c and ser-go32-para.c to Things-to-lose
Angela Marie Thomas [Wed, 22 Feb 1995 01:34:47 +0000 (01:34 +0000)]
Added remote-mon.c and ser-go32-para.c to Things-to-lose

29 years ago * som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
Jeff Law [Tue, 21 Feb 1995 22:15:19 +0000 (22:15 +0000)]
* som.c (som_bfd_ar_write_symbol_stuff): Handle objects with odd
lengths.

29 years ago * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
Jim Kingdon [Tue, 21 Feb 1995 21:09:48 +0000 (21:09 +0000)]
* gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
t_char_array".

29 years ago * top.c (print_gdb_version): Update the year.
Stan Shebs [Tue, 21 Feb 1995 20:27:41 +0000 (20:27 +0000)]
* top.c (print_gdb_version): Update the year.

29 years agoRecognize arm-*-pe* (psion project).
David Edelsohn [Tue, 21 Feb 1995 17:55:04 +0000 (17:55 +0000)]
Recognize arm-*-pe* (psion project).

29 years agoRemove CYG-LOC from lynx.
David Edelsohn [Tue, 21 Feb 1995 17:39:52 +0000 (17:39 +0000)]
Remove CYG-LOC from lynx.

29 years ago * Makefile.in (ALL_MACHINES): Add w65-dis.o.
Peter Schauer [Tue, 21 Feb 1995 07:56:45 +0000 (07:56 +0000)]
* Makefile.in (ALL_MACHINES):  Add w65-dis.o.

29 years agoAdd missing ChangeLog entry.
Jeff Law [Tue, 21 Feb 1995 05:14:22 +0000 (05:14 +0000)]
Add missing ChangeLog entry.

29 years agoAdd missed log entry for som.c.
Jeff Law [Tue, 21 Feb 1995 05:12:58 +0000 (05:12 +0000)]
Add missed log entry for som.c.

29 years ago * pr-5016.exp: Allow builtin types as either case. E.g. (BOOL|bool).
Per Bothner [Tue, 21 Feb 1995 00:29:08 +0000 (00:29 +0000)]
* pr-5016.exp:  Allow builtin types as either case. E.g. (BOOL|bool).

29 years ago * chillvars.ch: Add missing INIT's.
Per Bothner [Tue, 21 Feb 1995 00:20:48 +0000 (00:20 +0000)]
* chillvars.ch:  Add missing INIT's.
* chillvars.exp:  Allow builtin types as either case. E.g. (BOOL|bool).

29 years ago * Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
Jim Kingdon [Sun, 19 Feb 1995 22:36:18 +0000 (22:36 +0000)]
* Makefile.in (CC_FOR_TARGET,CXX_FOR_TARGET): Look for newlib in
`..' not in `../..'.

29 years ago * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
Jim Kingdon [Sun, 19 Feb 1995 21:47:32 +0000 (21:47 +0000)]
* lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
are getting the version number.

29 years ago * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
Jim Kingdon [Sun, 19 Feb 1995 21:12:56 +0000 (21:12 +0000)]
* gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
if not native, it is not an abnormal condition.

29 years agoSun Feb 19 11:05:28 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
Peter Schauer [Sun, 19 Feb 1995 19:08:34 +0000 (19:08 +0000)]
Sun Feb 19 11:05:28 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

* procfs.c (unconditionally_kill_inferior):  Don't issue a PIOCKILL
in addition to a PIOCSSIG to kill the inferior.

29 years ago * gdb.texinfo (Artificial arrays): Note use of coerce-to-array-type.
Per Bothner [Fri, 17 Feb 1995 23:24:22 +0000 (23:24 +0000)]
* gdb.texinfo (Artificial arrays):  Note use of coerce-to-array-type.

29 years ago * parse.c (follow_types): Given (TYPE[]) (i.e. with no length),
Per Bothner [Fri, 17 Feb 1995 23:20:29 +0000 (23:20 +0000)]
* parse.c (follow_types):  Given (TYPE[]) (i.e. with no length),
create a 0-length array type, and set BOUND_CANNOT_BE_DETERMINED.
* valops.c (value_cast):  If a cast like (TYPE[])VALUE (i.e. array
of unknown length) use sizeof(VALUE)/sizeof(TYPE) as the length.
* c-typeprint.c (c_type_print_varspec_suffix):  If array length
is 0, print it, but not if upper_bound is BOUND_CANNOT_BE_DETERMINED.

29 years ago* arc-dis.c (arc_get_disassembler): Change argument to int,
David Edelsohn [Fri, 17 Feb 1995 20:44:32 +0000 (20:44 +0000)]
* arc-dis.c (arc_get_disassembler): Change argument to int,
one of bfd_mach_arc_xxx.  All callers updated.

29 years ago--set-section-flags patch from dje.
Ian Lance Taylor [Fri, 17 Feb 1995 20:42:22 +0000 (20:42 +0000)]
--set-section-flags patch from dje.

29 years ago * dis-asm.h (arc_get_disassembler): Change argument to int.
David Edelsohn [Fri, 17 Feb 1995 20:41:34 +0000 (20:41 +0000)]
* dis-asm.h (arc_get_disassembler): Change argument to int.
All callers updated.

29 years ago * config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
Ian Lance Taylor [Fri, 17 Feb 1995 20:13:41 +0000 (20:13 +0000)]
* config/tc-mips.c (md_pseudo_table): Add 2byte, 4byte and 8byte
if OBJ_ELF.  From gary@Intrepid.COM (Gary Funck).

29 years ago * config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
Ian Lance Taylor [Fri, 17 Feb 1995 19:54:47 +0000 (19:54 +0000)]
* config/obj-elf.c (elf_frob_symbol): Warn if a symbol is both
weak and common.
* config/obj-aout.c (obj_aout_frob_symbol): Likewise.

29 years ago * objcopy.c (struct section_list): Add fields remove, set_flags,
Ian Lance Taylor [Fri, 17 Feb 1995 19:21:24 +0000 (19:21 +0000)]
* objcopy.c (struct section_list): Add fields remove, set_flags,
and flags.  Change adjust from boolean to enum.
(remove_sections): Remove static variable.
(sections_removed): New static variable.
(copy_options): Add --set-section-flags.
(copy_usage): Mention --set-section-flags.
(parse_flags): New static function.
(find_section_list): New static function.
(is_strip_symbol): Change return type from int to boolean.
(is_strip_section): New static function.
(filter_symbols): Call is_strip_section.
(copy_object): When adding sections, check for specified flags or
VMA.  Call filter_symbols if any sections are being removed.
(setup_section): Use find_section_list function rather than
looking through remove_sections and adjust_sections.  Handle
--set-section-flags.
(copy_section): Use find_section_list rather than looking through
remove_sections.
(strip_main): Use find_section_list instead of adding items to
sections_removed.
(copy_main): Use find_section_list instead of adding items to
sections_removed and adjust_sections.  Handle --set-section-flags.
* binutils.texi, objcopy.1: Document --set-section-flags.

29 years ago * hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Ian Lance Taylor [Fri, 17 Feb 1995 18:35:40 +0000 (18:35 +0000)]
* hosts/sysv4.h: Include <unistd.h>, <stdlib.h>, and <time.h>.
Only define SEEK_SET and SEEK_CUR if they are not already defined.
Remove all external function declarations.

29 years agoAdd support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from...
Michael Meissner [Fri, 17 Feb 1995 18:09:23 +0000 (18:09 +0000)]
Add support for .got1 and .got2 sections; Offset _GLOBAL_OFFSET_TABLE_ by 32768 from GOT start.

29 years agoAdd PC relative support to PowerPC ELF assembler.
Michael Meissner [Fri, 17 Feb 1995 17:51:00 +0000 (17:51 +0000)]
Add PC relative support to PowerPC ELF assembler.

29 years agoMake GOT relocs offset by 32768, which allows the table to double in size.
Michael Meissner [Fri, 17 Feb 1995 17:41:08 +0000 (17:41 +0000)]
Make GOT relocs offset by 32768, which allows the table to double in size.

29 years ago * syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.
Ian Lance Taylor [Fri, 17 Feb 1995 17:26:48 +0000 (17:26 +0000)]
* syms.c (bfd_decode_symclass): Return 'W' for a weak symbol.

29 years ago * coffgen.c (coff_real_object_p): Set start address and flags
Ian Lance Taylor [Fri, 17 Feb 1995 16:57:18 +0000 (16:57 +0000)]
* coffgen.c (coff_real_object_p): Set start address and flags
before calling coff_mkobject_hook.  Restore them on failure.
* ecoff.c (_bfd_ecoff_mkobject_hook): If not ECOFF_AOUT_ZMAGIC,
clear D_PAGED.
PR 6341.

29 years ago * coffgen.c: Reindented.
Ian Lance Taylor [Fri, 17 Feb 1995 16:46:52 +0000 (16:46 +0000)]
* coffgen.c: Reindented.

29 years ago* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
J.T. Conklin [Fri, 17 Feb 1995 00:54:00 +0000 (00:54 +0000)]
* config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
  (LDFLAGS): Set to -Xlinker -Ur.

29 years ago * lib/gdb.exp: Just use "file exists", rather than undocumented
Jim Kingdon [Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)]
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".

29 years ago* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
David Edelsohn [Thu, 16 Feb 1995 22:40:19 +0000 (22:40 +0000)]
* reloc.c (bfd_perform_relocation): Don't use bitpos in overflow calculations.
(bfd_install_relocation): Likewise.