binutils-gdb.git
29 years ago * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
Stan Shebs [Fri, 16 Jun 1995 22:08:26 +0000 (22:08 +0000)]
* bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
define.
* bfd-in2.h: Rebuilt.
* bfd.c (NT_subsystem, NT_stack_heap): Define.

29 years agouse changequote around []
Ken Raeburn [Fri, 16 Jun 1995 19:30:48 +0000 (19:30 +0000)]
use changequote around []

29 years ago * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
Jeff Law [Fri, 16 Jun 1995 06:09:07 +0000 (06:09 +0000)]
* elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
type field (there are two!) when checking to see if $global$ is
defined.

29 years ago * mpw-config.in: Add sh and i386 configs, remove sparc config.
Stan Shebs [Fri, 16 Jun 1995 00:45:31 +0000 (00:45 +0000)]
* mpw-config.in: Add sh and i386 configs, remove sparc config.
* sh-opc.h: Add copyright.

29 years ago * config/obj-coff.c: Don't use "bfd/" when including libbfd.h
Stan Shebs [Fri, 16 Jun 1995 00:07:45 +0000 (00:07 +0000)]
* config/obj-coff.c: Don't use "bfd/" when including libbfd.h
and libcoff.h.
(fill_section): Call PROGRESS.
* Makefile.in (INCLUDES): Add bfd srcdir.

* mpw-config.in: Add bfd_gas flag and set for each config.
(i386-unknown-go32, m68k-unknown-coff): Recognize.
* mpw-make.in (HACK_O_RAMA, OBJ_COFF_OMIT_TIMESTAMP): Add to
config.h.

29 years ago * array-rom.c: Remove, no longer used.
Stan Shebs [Thu, 15 Jun 1995 22:10:27 +0000 (22:10 +0000)]
* array-rom.c: Remove, no longer used.

* remote-hms.c (hms_open): Make static.

* mpw-config.in (MacSerial.h): Copy from version in {CIncludes},
not {MPW}Interfaces:CIncludes.
* ser-mac.c (mac_baud_rate_table): Fix value for 38400 baud.

29 years ago * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
Stan Shebs [Thu, 15 Jun 1995 21:18:17 +0000 (21:18 +0000)]
* bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
to bfd_tttrue, bfd_fffalse so as not to conflict with functions.
* coffswap.h (coff_swap_scnhdr_out): Remove version that was
hacked for MPW C.
* mpw-config.in: Set shell vars instead of pasting to makefile
for each configuration, edit coffswap.h to make MPW C not choke.
(i386-unknown-coff, sh-hitachi-hms): Recognize.
* mpw-make.in (BFD_LIBS): Add versados.c.o.

* versados.c (versados_scan): Properly cast results from bfd_alloc.

29 years ago * config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
David Edelsohn [Thu, 15 Jun 1995 17:06:20 +0000 (17:06 +0000)]
* config/tc-arm.h (LOCAL_LABEL): Prepend '.' if not OBJ_AOUT.
(FAKE_LABEL_NAME): Likewise.

29 years ago * scripttempl/armpe.sc: Add constructor support.
Steve Chamberlain [Thu, 15 Jun 1995 15:48:35 +0000 (15:48 +0000)]
* scripttempl/armpe.sc: Add constructor support.

29 years ago * cofflink.c (process_embedded_commands): New function
Steve Chamberlain [Wed, 14 Jun 1995 22:29:47 +0000 (22:29 +0000)]
* cofflink.c (process_embedded_commands): New function
reads and handles .drectve sections for PE.
(coff_link_input_bfd): Call new function if PE.

29 years ago * ch-exp.y: Remove lots of unsupported productions and names.
Per Bothner [Wed, 14 Jun 1995 21:30:58 +0000 (21:30 +0000)]
* ch-exp.y:  Remove lots of unsupported productions and names.
Add support for IF-expressions, ORIF, ANDID, NUM, and ADDR.
This makes progress for PR 5826.

29 years agodlltool.c: Support for internal names too.
Steve Chamberlain [Wed, 14 Jun 1995 21:00:27 +0000 (21:00 +0000)]
dlltool.c: Support for internal names too.

29 years agoCopyright update in tm-est.h, and minor formatting cleanup.
Stu Grossman [Wed, 14 Jun 1995 20:31:58 +0000 (20:31 +0000)]
Copyright update in tm-est.h, and minor formatting cleanup.
Add remote-est.o to TDEPFILES in monitor.mt.

29 years agoWed Jun 14 13:27:22 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 14 Jun 1995 20:28:36 +0000 (20:28 +0000)]
Wed Jun 14 13:27:22 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* deflex.l, defparse.y, dlltool.c: New files.
* Makefile.in, configure.in: Support for them.

Mon Jun 12 11:27:54 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* sysdump.c: Include sysdep.h
(main): Open input with FOPEN_RB.  binutils/7137

29 years ago * chillvars.exp, string.exp: New tests for LOWER/UPPER/LENGTH
Per Bothner [Wed, 14 Jun 1995 20:05:59 +0000 (20:05 +0000)]
* chillvars.exp, string.exp:  New tests for LOWER/UPPER/LENGTH

29 years ago * parser-defs.h (enum precedence): Added PREC_BUILTIN_FUNCTION.
Per Bothner [Wed, 14 Jun 1995 19:59:35 +0000 (19:59 +0000)]
* parser-defs.h (enum precedence):  Added PREC_BUILTIN_FUNCTION.
* expression.h (enum exp_opcode):  Added UNOP_LOWER, UNOP_UPPER,
UNUP_LENGTH.
* expprint.c (dump_expression):  Handle the new exp_opcodes.
(print_subexp):  Handle PREC_BUILTIN_FUNCTION.
(print_simple_m2_func):  Removed.
(print_subexp):  Remove support for Modula2 builtin functions.
* m2-lang.c (m2_op_print_tab):  Add support for builtin functions.
* ch-exp.y:  Parse LOWER, UPPER, and LENGTH builtins.
(write_lower_upper_value):  Convenience function for LOWER and UPPER.
(upper_lower_argument, length_argument):  Removed non-terminals.
* ch-lang.c (chill_op_print_tab):  Entries for UPPER, LOWER, LENGTH.
(type_lower_upper):  New function.  Calculate LOWER/UPPER of type.
(value_chill_length):  New function.  Calcalate LENGTH of ARRAY/STRING.
(evaluate_subexp_chill):  Handle UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
This fixes PR 5015 (and 5826 which is a duplicate).

29 years agowhitespace & date-format cleanup
Ken Raeburn [Tue, 13 Jun 1995 23:13:28 +0000 (23:13 +0000)]
whitespace & date-format cleanup

29 years ago * armos.c (ARMul_OSHandleSWI): New version to work with
Steve Chamberlain [Tue, 13 Jun 1995 17:57:26 +0000 (17:57 +0000)]
* armos.c (ARMul_OSHandleSWI): New version to work with
newlib simply.

29 years ago * ldlang.c (lang_size_sections): Any section with a DATA
Steve Chamberlain [Tue, 13 Jun 1995 16:12:04 +0000 (16:12 +0000)]
* ldlang.c (lang_size_sections):  Any section with a DATA
statement has contents.

29 years ago * config/tc-hppa.c (pa_ip): Check for invalid register in single
Jeff Law [Tue, 13 Jun 1995 04:29:41 +0000 (04:29 +0000)]
    * config/tc-hppa.c (pa_ip): Check for invalid register in single
        precision fmpyadd and fmpysub instructions.

29 years ago * gas/hppa/parse/badfmpyadd.s: New test.
Jeff Law [Tue, 13 Jun 1995 04:28:17 +0000 (04:28 +0000)]
* gas/hppa/parse/badfmpyadd.s: New test.
* gas/hppa/parse/parse.exp: Run it.

29 years ago Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
Stan Shebs [Mon, 12 Jun 1995 20:07:45 +0000 (20:07 +0000)]
Windows support bits from Steve Chamberlain <sac@slash.cygnus.com>.
* defs.h: Don't declare strchr and friends if WIN32.
(DIRNAME_SEPARATOR): Move here from source.c.
(SLASH_P, SLASH_CHAR, SLASH_STRING, ROOTED_P): New macros,
symbolic definitions for filename bits.
* top.c (cd_command): Use these.
* source.c (mod_path, openp): Ditto.
* terminal.h: Disable termio/sgtty definitions if WIN32.
* findvar.c (registers_changed): Call registers_changed_hook
if it is defined.

29 years ago* Makefile.in (distclean, realclean): Remove config.cache and
J.T. Conklin [Mon, 12 Jun 1995 19:33:08 +0000 (19:33 +0000)]
* Makefile.in (distclean, realclean): Remove config.cache and
  config.log.

29 years ago* Makefile.in (distclean, realclean): Remove config.cache and
J.T. Conklin [Mon, 12 Jun 1995 19:15:58 +0000 (19:15 +0000)]
* Makefile.in (distclean, realclean): Remove config.cache and
  config.log.

29 years ago * bfd-in.h (bfd_set_section_vma): Case true to a boolean.
Jeff Law [Mon, 12 Jun 1995 18:12:00 +0000 (18:12 +0000)]
* bfd-in.h (bfd_set_section_vma): Case true to a boolean.
(bfd_set_cacheable): Likewise.
* bfd-in2.h: Rebuilt.

29 years agoZap static data problem off the TODO list.
Jeff Law [Mon, 12 Jun 1995 06:27:26 +0000 (06:27 +0000)]
Zap static data problem off the TODO list.

29 years ago * somsolib.c: Include gdb-stabs.h.
Jeff Law [Mon, 12 Jun 1995 06:24:20 +0000 (06:24 +0000)]
* somsolib.c: Include gdb-stabs.h.
(som_solib_section_offsets): Use SECT_OFF_XXX rather than 0, 1,
etc.  Initialize offsets for RODATA & BSS too.
Remainder of mentor-6302.

29 years agom68k elf linker fixes from Andreas Schwab
Ken Raeburn [Sun, 11 Jun 1995 19:30:02 +0000 (19:30 +0000)]
m68k elf linker fixes from Andreas Schwab

29 years ago * hppa-tdep.c (frame_chain): Try to compensate for incomplete
Jeff Law [Sun, 11 Jun 1995 00:03:02 +0000 (00:03 +0000)]
* hppa-tdep.c (frame_chain): Try to compensate for incomplete
register information in core files when backtracing.

29 years ago * targets.c: Add copy_private_symbol_data and link_split_section
Jeff Law [Sat, 10 Jun 1995 00:05:51 +0000 (00:05 +0000)]
* targets.c: Add copy_private_symbol_data and link_split_section
to the target vector.
* libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define.
(_bfd_nolink_bfd_link_split_section): Likewise.
(bfd_generic_link_split_section): Declare.
* syms.c (bfd_copy_private_symbol_data): Define.
* linker.c (bf_link_split_section): Likewise.
* som.c (som_bfd_copy_private_symbol_data): New function
(som_bfd_link_split_section): Likewise.
* All other targets updated with default versions of new routines.

* Take out my braindamaged bfd_true/bfd_false changes from earlier
today.  Replace with just:
* bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
compiling with g++-2.6 or later.
* bfd-in2.h: Rebuilt.

29 years ago * remote-nrom.c: Remove everything but download code. More
Stu Grossman [Fri, 9 Jun 1995 21:53:55 +0000 (21:53 +0000)]
* remote-nrom.c:  Remove everything but download code.  More
cleanups.

29 years agoPR 7046: use unsigned compares in looking up items in the sorted symbol list, not...
Michael Meissner [Fri, 9 Jun 1995 21:42:47 +0000 (21:42 +0000)]
PR 7046: use unsigned compares in looking up items in the sorted symbol list, not signed; Also add --wide to print on wide columns

29 years agovms cleanup, fixes from Pat Rankin
Ken Raeburn [Fri, 9 Jun 1995 21:16:07 +0000 (21:16 +0000)]
vms cleanup, fixes from Pat Rankin

29 years ago * bfd-in.h (bfd_true, bfd_false): Define these to true and false
Jeff Law [Fri, 9 Jun 1995 19:40:00 +0000 (19:40 +0000)]
    * bfd-in.h (bfd_true, bfd_false): Define these to true and false
        if TRUE_FALSE_ALREADY_DEFINED is not defined.
        * bfd-in2.h: Rebuilt.

29 years ago * elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.
Steve Chamberlain [Fri, 9 Jun 1995 19:21:47 +0000 (19:21 +0000)]
* elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.

29 years ago * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
Jeff Law [Fri, 9 Jun 1995 19:16:33 +0000 (19:16 +0000)]
    * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
        compiling with g++-2.6 or later.
        (bfd_set_section_vma): Use bfd_true and bfd_false rather than
        true and false.
        (bfd_set_section_alignment): Likewise.
        (bfd_set_section_userdata): Likewise.
        (bfd_set_cacheable): Likewise.
        * bfd-in2.h: Rebuilt.

29 years ago * versados.c (struct esd, get_4): Lint; use unsigned chars.
Steve Chamberlain [Fri, 9 Jun 1995 15:24:09 +0000 (15:24 +0000)]
* versados.c (struct esd, get_4): Lint; use unsigned chars.

29 years ago * coff-i960.c (coff_i960_relocate): Compare output section names
Steve Chamberlain [Fri, 9 Jun 1995 14:57:17 +0000 (14:57 +0000)]
* coff-i960.c (coff_i960_relocate):  Compare output section names
when converting for vxworks.

29 years agotypo in tcp_open
Stu Grossman [Thu, 8 Jun 1995 22:45:47 +0000 (22:45 +0000)]
typo in tcp_open

29 years ago * defs.h maint.c monitor.c remote-mips.c remote.c: Add support
Stu Grossman [Thu, 8 Jun 1995 22:42:36 +0000 (22:42 +0000)]
* defs.h maint.c monitor.c remote-mips.c remote.c:  Add support
for `watchdog' variable.  This allows the user to put an upper
limit on the amount of time that GDB will wait for the target to
return from a step or continue operation.  This will primarily be
used for the testsuite, where it is difficult to come up with a
reasonable timeout for things like function calls, which can take
as long as three minutes under some circumstances.  If the
watchdog timer expires, GDB will generate an error that looks like
`Watchdog has expired.', and will detach from the target.

* remote-mips.c (mips_open):  Setup initial frame from target.
Print it out so that user is told where the program is stopped
when they attach.

* remote-nrom.c:  Loads of cleanups.  Use serial code to open
network connections.  Use expect() to wait for response to
download command.

* ser-tcp.c (tcp_open):  Retry connection if we get ECONNREFUSED.

* serial.c serial.h (serial_open serial_fdopen serial_close):
Allow users to open the same device multiple times.  They all get
to share the same serial_t.  This is about the only way to have
multiple active targets use the same device (for download and
debug).

* sparcl-tdep.c:  Keep #include <unistd.h> away from GO32.

* target.c:  Add `targetdebug' variable.  If this is non-zero,
then a special target is put at the top of the target stack which
will cause all calls through the target vector to have their args
and results printed out.

29 years agouse -fpic instead of -fPIC
Jason Merrill [Thu, 8 Jun 1995 22:31:51 +0000 (22:31 +0000)]
use -fpic instead of -fPIC

29 years ago * run.c (main): Grab return value from right register.
Steve Chamberlain [Thu, 8 Jun 1995 21:37:35 +0000 (21:37 +0000)]
* run.c (main): Grab return value from right register.

29 years ago * emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.
Steve Chamberlain [Thu, 8 Jun 1995 21:19:31 +0000 (21:19 +0000)]
* emulparams/armpe.sh, scriptempl/armpe.sc: Add end and stack.

29 years ago* elfcode.h (elf_fake_sections): Permit .scommon or COMMON sections as random
Ken Raeburn [Thu, 8 Jun 1995 20:12:25 +0000 (20:12 +0000)]
* elfcode.h (elf_fake_sections): Permit .scommon or COMMON sections as random
SHT_NOBITS sections, in case a linker script is strange.

29 years ago * config/tc-arc.h (MD_APPLY_FIX3): Define.
David Edelsohn [Thu, 8 Jun 1995 18:45:33 +0000 (18:45 +0000)]
* config/tc-arc.h (MD_APPLY_FIX3): Define.
* config/tc-arc.c (md_apply_fix3): Renamed from md_apply_fix.
Undo effects of md_pcrel_from if symbol is in another section.

29 years ago * chillvars.ch (xptr): Declare new variable.
Per Bothner [Thu, 8 Jun 1995 00:52:06 +0000 (00:52 +0000)]
* chillvars.ch (xptr):  Declare new variable.
* chillvars.exp (test_ptr):  New function to test EXPR->MODENAME.
This is to test PR chill/6932.

29 years ago * ch-exp.y: Handle <primitive_value> "->" <modename>.
Per Bothner [Thu, 8 Jun 1995 00:49:10 +0000 (00:49 +0000)]
* ch-exp.y: Handle <primitive_value> "->" <modename>.
This fixes PR chill/6932.

29 years agoDo not redefine {BIG,LITTLE}_BREAKPOINT if already defined.
Michael Meissner [Wed, 7 Jun 1995 22:04:10 +0000 (22:04 +0000)]
Do not redefine {BIG,LITTLE}_BREAKPOINT if already defined.

29 years agoDefine BREAKPOINT as either {BIG,LITTLE}_BREAKPOINT, depending on target byte order.
Michael Meissner [Wed, 7 Jun 1995 21:48:28 +0000 (21:48 +0000)]
Define BREAKPOINT as either {BIG,LITTLE}_BREAKPOINT, depending on target byte order.

29 years ago * somsolib.c (som_solib_section_offsets): Handle relative pathnames.
Jeff Law [Wed, 7 Jun 1995 18:48:00 +0000 (18:48 +0000)]
* somsolib.c (som_solib_section_offsets): Handle relative pathnames.
Part of mentor-6302.

29 years ago * hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
Jeff Law [Wed, 7 Jun 1995 18:43:58 +0000 (18:43 +0000)]
* hppa-tdep.c (frame_saved_pc): Handle backtracing through signal
handler in dynamically linked executables.
mentor-7139

29 years ago* config/obj-vms.c (vms_write_object_file, case N_DATA): Use strcmp against
Ken Raeburn [Tue, 6 Jun 1995 17:59:06 +0000 (17:59 +0000)]
* config/obj-vms.c (vms_write_object_file, case N_DATA): Use strcmp against
FAKE_LABEL_NAME instead of checking third character.  (Suggested by Pat Rankin.)

Mon  5 Jun 20:10:46 1995  Pat Rankin  (rankin@eql.caltech.edu)

Add support for N_ABS and N_ABS|N_EXT type symbols.

* config/obj-vms.h (LSY_S_M_{DEF,REL}, ENV_S_M_{DEF,NESTED}): New macros for
local symbols (from <lsydef.h> and <envdef.h>).
* config/obj-vms.c (Current_Environment): New file-scope variable.
(VMS_Local_Environment_Setup): New routine.
(GBLSYM_LCL): New macro.
(VMS_Global_Symbol_Spec): Handle local symbols too.
(VMS_Psect_Spec): Set GLOBALVALUE_BIT for absolute symbols.
(VMS_Emit_Globalvalues): Handle local and global absolute symbols.
(VMS_Store_PIC_Symbol_Reference): Ditto.
(vms_write_object_file: GSD symbol loop): Ditto.

29 years agoFix some little endian problems
Michael Meissner [Tue, 6 Jun 1995 14:49:32 +0000 (14:49 +0000)]
Fix some little endian problems

29 years agoMon Jun 5 18:26:36 1995 Jason Merrill <jason@phydeaux.cygnus.com>
Jason Merrill [Tue, 6 Jun 1995 01:34:52 +0000 (01:34 +0000)]
Mon Jun  5 18:26:36 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

* Makefile.in (PICFLAG, PICFLAG_FOR_TARGET): New macros.
(FLAGS_TO_PASS): Pass them.
(EXTRA_TARGET_FLAGS): Ditto.

* config/m?-*pic: Define PICFLAG* instead of LIB*FLAGS*.

Support building both shared and archive libraries.

29 years ago * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
Steve Chamberlain [Mon, 5 Jun 1995 16:11:26 +0000 (16:11 +0000)]
* coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
macro. (pr ld/7127)

29 years agoLinker support for m68k-elf from Andreas Schwab
Ken Raeburn [Mon, 5 Jun 1995 07:04:51 +0000 (07:04 +0000)]
Linker support for m68k-elf from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>:

* elfcode.h (elf_link_add_object_symbols): Check for NULL when looping through
the symbol hashes.
(elf_bfd_final_link): When looking for _init and _fini don't use the symbol if
it is imported from another object.

* elf32-m68k.c: Relocation type changed from REL to RELA.  Regular and dynamic
linking support functions added, similar to other elf targets.

29 years agochange i386-gnu to elf
Ken Raeburn [Mon, 5 Jun 1995 06:36:11 +0000 (06:36 +0000)]
change i386-gnu to elf

29 years ago*** empty log message ***
Steve Chamberlain [Sat, 3 Jun 1995 02:26:19 +0000 (02:26 +0000)]
*** empty log message ***

29 years ago * arc-tdep.c (arc_bfd_mach_type): New static global.
David Edelsohn [Fri, 2 Jun 1995 18:29:46 +0000 (18:29 +0000)]
* arc-tdep.c (arc_bfd_mach_type): New static global.
(codestream_fill): Handle byte order differences.
(setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N".
(arc_get_frame_setup): Read it here.
(arc_frame_saved_pc): And here.
(arc_print_insn): New function.
(arc_set_cpu_type): Set arc_bfd_mach_type.  Don't set tm_print_insn.
(_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.

29 years agoarm config fix from Richard Earnshaw
Ken Raeburn [Thu, 1 Jun 1995 22:28:54 +0000 (22:28 +0000)]
arm config fix from Richard Earnshaw

29 years agoThu Jun 1 13:51:49 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Thu, 1 Jun 1995 22:20:30 +0000 (22:20 +0000)]
Thu Jun  1 13:51:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* coffcode.h (sec_to_styp_flags, styp_to_sec_flags,
coff_new_section_hook):  Any section that starts ".stab"
is now marked as debugging.

29 years agovms fixes from Pat Rankin
Ken Raeburn [Thu, 1 Jun 1995 22:12:20 +0000 (22:12 +0000)]
vms fixes from Pat Rankin

29 years ago* archive.c (_bfd_write_archive_contents): Disable extended name table until it
Ken Raeburn [Thu, 1 Jun 1995 20:22:53 +0000 (20:22 +0000)]
* archive.c (_bfd_write_archive_contents): Disable extended name table until it
can be made optional, so that native AR has half a chance on SunOS and HP/UX.
[PR binutils/6888]

29 years ago* linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): Add
Ken Raeburn [Thu, 1 Jun 1995 20:17:12 +0000 (20:17 +0000)]
* linker.c (_bfd_generic_link_output_symbols, case bfd_link_hash_indirect): Add
cast to correct pointer types.

29 years ago* nlm/{configure.in, Makefile.in}: Converted to use autoconf.
J.T. Conklin [Wed, 31 May 1995 22:21:32 +0000 (22:21 +0000)]
* nlm/{configure.in, Makefile.in}: Converted to use autoconf.
* nlm/configure: New file, generated with autoconf 2.3.

29 years ago* nlm/configure.in: Use sed instead of awk to get the value of
J.T. Conklin [Wed, 31 May 1995 19:31:20 +0000 (19:31 +0000)]
* nlm/configure.in: Use sed instead of awk to get the value of
  cpufile.  Awk is not a utility required by the GNU coding
  standards.  This change also fixes the rigid whitespace
  requirements that were required for awk.

29 years ago* sparclite/aload.c: Use a file descriptor instead of a stdio
J.T. Conklin [Wed, 31 May 1995 19:13:06 +0000 (19:13 +0000)]
* sparclite/aload.c: Use a file descriptor instead of a stdio
  stream for i/o with target board.
  Use #error if HAVE_TERMIOS is not defined.

* sparclite/{Makefile.in, configure.in}: Converted to use
  autoconf.
* sparclite/configure: New file, generated with autoconf 2.3.

29 years ago* Makefile.in: Delete lines with lots of #### because four or more indicate a
Ken Raeburn [Tue, 30 May 1995 18:28:52 +0000 (18:28 +0000)]
* Makefile.in: Delete lines with lots of #### because four or more indicate a
point for makefile fragment substitution.

29 years ago(grump. thought i checked this in last week.)
Ken Raeburn [Tue, 30 May 1995 16:39:06 +0000 (16:39 +0000)]
(grump.  thought i checked this in last week.)
Check explicitly for undefined local dollar and f/b labels, and print a useful
message if any are found, instead of generating obscure undefined symbol table
entries.

29 years agoRemove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk.
Stan Shebs [Mon, 29 May 1995 20:52:31 +0000 (20:52 +0000)]
Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk.

29 years ago * defs.h: Include either varargs.h or stdarg.h (for va_list).
Jeff Law [Mon, 29 May 1995 05:26:27 +0000 (05:26 +0000)]
* defs.h: Include either varargs.h or stdarg.h (for va_list).
Fix stupid thinko in last change ("..." -> "va_list").

29 years ago * defs.h (vprintf_filtered declaration): Add PARAMS prototype;
Jeff Law [Mon, 29 May 1995 05:15:18 +0000 (05:15 +0000)]
* defs.h (vprintf_filtered declaration): Add PARAMS prototype;
gcc-2.5 chokes on format attributes for unprototyped functions.
(vfprintf_filtered declaration): Likewise.
(vprintf_unfiltered declaration): Likewise.
(vfprintf_unfiltered). Likewise.

29 years ago* configure.in: Use sed instead of awk to get the values of
J.T. Conklin [Sun, 28 May 1995 07:07:21 +0000 (07:07 +0000)]
* configure.in: Use sed instead of awk to get the values of
  hostfile, targetfile and nativefile.  Awk is not a utility
  required by the GNU coding standards.  This change also
  fixes the rigid whitespace requirements that were required
  for awk.
* configure: regenerated.

29 years ago* config/te-dpx2.h: Include obj-format.h.
J.T. Conklin [Sun, 28 May 1995 04:36:45 +0000 (04:36 +0000)]
* config/te-dpx2.h: Include obj-format.h.
(COFF_MAGIC): Renamed from FILE_HEADER_MAGIC.

29 years agoSat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>
Angela Marie Thomas [Sat, 27 May 1995 23:32:22 +0000 (23:32 +0000)]
Sat May 27 16:24:04 1995  Angela Marie Thomas  <angela@cirdan.cygnus.com>

        * sparclite/{Makefile,configure}.in: Add hooks for building with
        -lsocket & -lnsl for solaris2.  Don't build aload/eload for DOS.

29 years ago* configure.in (noconfigdirs): Enable all packages for
J.T. Conklin [Fri, 26 May 1995 05:50:06 +0000 (05:50 +0000)]
* configure.in (noconfigdirs): Enable all packages for
  i386-unknown-netbsd.

29 years agoUpdate gdbtk keep/lose to match main GDB sanitize
Stan Shebs [Thu, 25 May 1995 01:30:34 +0000 (01:30 +0000)]
Update gdbtk keep/lose to match main GDB sanitize

29 years ago * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
Steve Chamberlain [Thu, 25 May 1995 01:05:35 +0000 (01:05 +0000)]
* arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_arm
now.

29 years agoNew file.
Steve Chamberlain [Thu, 25 May 1995 00:11:15 +0000 (00:11 +0000)]
New file.

29 years agoUnsanitize SH3 support.
Jim Wilson [Thu, 25 May 1995 00:00:03 +0000 (00:00 +0000)]
Unsanitize SH3 support.

29 years agoWed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 23:56:24 +0000 (23:56 +0000)]
Wed May 24 15:49:47 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* arm-tdep.c (convert_from_extended, convert_to_extended):
New.
* coffread.c (enter_linenos): Return if linetab 0.
* config/arm/arm.mt (TDEPFILES): Add simulator support.
* config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.

29 years agoCorrect typo in all simulator configure.in files other than SH: ../bfd
Jim Wilson [Wed, 24 May 1995 23:38:06 +0000 (23:38 +0000)]
Correct typo in all simulator configure.in files other than SH: ../bfd
should be ../../bfd.

29 years agoWed May 24 14:48:46 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:49:24 +0000 (21:49 +0000)]
Wed May 24 14:48:46 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* Makefile.in: Support ARM.
* configure.in: Ditto.

29 years agoWed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:45:01 +0000 (21:45 +0000)]
Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* New.

29 years agoWed May 24 14:16:08 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:16:02 +0000 (21:16 +0000)]
Wed May 24 14:16:08 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* sh-opc.h: Added bsrf and braf.

29 years agoWed May 24 14:07:11 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 21:14:40 +0000 (21:14 +0000)]
Wed May 24 14:07:11 1995  Steve Chamberlain  <sac@slash.cygnus.com>

* gencode.c (tab): Add bsrf and braf.

29 years ago Add support for ARM-PE.
Steve Chamberlain [Wed, 24 May 1995 18:26:23 +0000 (18:26 +0000)]
Add support for ARM-PE.
* Makefile.in (ALL_EMULATIONS): Add armpe.o
* configure.in: Recognize armpe.
* config/arm-pe.mt: New file.
* emulparams/armpe.sh: New file.
* scripttempl/armpe.sc: New file.

29 years agoWed May 24 10:52:01 1995 Steve Chamberlain <sac@slash.cygnus.com>
Steve Chamberlain [Wed, 24 May 1995 18:14:23 +0000 (18:14 +0000)]
Wed May 24 10:52:01 1995  Steve Chamberlain  <sac@slash.cygnus.com>

pr ld/6997

* elf32-i386.c (elf_i386_relocate_section): Give error
message when linking to a shared reloc which isn't there.

Wed May 24 10:40:00 1995  Steve Chamberlain  <sac@slash.cygnus.com>

Support for ARM-PE.

* Makefile.in, coffcode.h, config.bfd, configure.in, pe-arm.c,
 pei-arm.c, reloc.c, targets.c, config/arm-pe.mt:
 Support for ARM COFF/PE.

29 years ago * lib/gdb.exp: Fix comment which erroneously identified
Jim Kingdon [Wed, 24 May 1995 15:12:13 +0000 (15:12 +0000)]
* lib/gdb.exp: Fix comment which erroneously identified
gdb_file_cmd as gdb_load (the 19 May change was in fact to
gdb_file_cmd not gdb_load).
* config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".

29 years ago * gdb.base/setvar.exp: Make test names consistent between pass and
Jim Kingdon [Wed, 24 May 1995 14:16:12 +0000 (14:16 +0000)]
* gdb.base/setvar.exp: Make test names consistent between pass and
fail cases.  Use gdb_test more.

29 years ago * config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
David Edelsohn [Wed, 24 May 1995 00:04:19 +0000 (00:04 +0000)]
* config/tc-sparc.c (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP16
and BFD_RELOC_SPARC_WDISP19.

29 years agoMake linking mips-elf and mips-ecoff work. At least, better than it did.
Ken Raeburn [Tue, 23 May 1995 23:30:33 +0000 (23:30 +0000)]
Make linking mips-elf and mips-ecoff work.  At least, better than it did.

* bfd.c (bfd_get_relocated_section_contents): Now a function, tries calling
routine from input bfd target vector for bfd_indirect_link_order.  Put a
declaration into the header file.
* bfd-in2.h: Regenerated.
* elf32-mips.c (gprel16_with_gp): New function, split out from
mips_elf_gprel16_reloc.
(mips_elf_gprel16_reloc): Call it.  If output bfd target vector isn't elf
flavoured, abort, since it's assumed to be elf in some of this code, including
the code that looks up the gp value.
(elf32_mips_get_relocated_section_contents): New function, modified from
bfd_generic_get_relocated_section_contents to deal with passing gp to
gprel16_with_gp.
(bfd_elf32_bfd_get_relocated_section_contents): New macro.
* elf32-target.h (bfd_elf32_bfd_get_relocated_section_contents): Don't define
if already defined.

29 years agofix emulation code so configurations not supporting it still build
Ken Raeburn [Tue, 23 May 1995 23:20:52 +0000 (23:20 +0000)]
fix emulation code so configurations not supporting it still build

29 years ago * Makefile.in: Install bfdlink.h too.
Jeff Law [Tue, 23 May 1995 22:01:20 +0000 (22:01 +0000)]
* Makefile.in: Install bfdlink.h too.

29 years agofix up stab handling
Ken Raeburn [Tue, 23 May 1995 01:45:12 +0000 (01:45 +0000)]
fix up stab handling

29 years ago * config/idt.mt: replace monitor and array-rom with the new
Rob Savoye [Tue, 23 May 1995 01:39:54 +0000 (01:39 +0000)]
* config/idt.mt: replace monitor and array-rom with the new
remote-array.

29 years ago* lib/ld.exp (default_ld_compile): If cc argument is multiple words, use only
Ken Raeburn [Tue, 23 May 1995 00:20:44 +0000 (00:20 +0000)]
* lib/ld.exp (default_ld_compile): If cc argument is multiple words, use only
the first when trying to verify the availability of the compiler.

29 years agomore emulation fixes
Ken Raeburn [Tue, 23 May 1995 00:09:34 +0000 (00:09 +0000)]
more emulation fixes

29 years ago * remote-nindy.c: Install Kung patch for PR 6820. I have no idea
Stu Grossman [Tue, 23 May 1995 00:01:17 +0000 (00:01 +0000)]
* remote-nindy.c:  Install Kung patch for PR 6820.  I have no idea
what this does...

29 years ago * config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols.
David Edelsohn [Mon, 22 May 1995 23:58:52 +0000 (23:58 +0000)]
* config/tc-arc.c (md_pcrel_from): Return 0 for undefined symbols.