J.T. Conklin [Thu, 16 Feb 1995 00:35:53 +0000 (00:35 +0000)]
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
executable is not in the tree and host != target, use sed and
program_transform_name to determine the gdb name used by the
target.
Stan Shebs [Wed, 15 Feb 1995 23:19:55 +0000 (23:19 +0000)]
keep Windows GDB, believe it or not
Michael Meissner [Wed, 15 Feb 1995 22:59:36 +0000 (22:59 +0000)]
Declare insque/remque as int funcs if not Linux.
Michael Meissner [Wed, 15 Feb 1995 22:57:53 +0000 (22:57 +0000)]
Only protect insque/remque on Linux.
J.T. Conklin [Wed, 15 Feb 1995 22:28:51 +0000 (22:28 +0000)]
* configure.in, gdb.{base,c++,chill}/configure.in: changed so
*-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
J.T. Conklin [Wed, 15 Feb 1995 22:01:50 +0000 (22:01 +0000)]
* all-cfg.texi: New flag, GDBSERVE, for NetWare's gdbserve.nlm.
* remote.texi (NetWare): New node, how to use gdbserve.nlm on
NetWare targets. Mostly stolen from the Server node.
Ian Lance Taylor [Wed, 15 Feb 1995 21:11:10 +0000 (21:11 +0000)]
Wed Feb 15 16:08:47 1995 Jason Molenda <crash@cygnus.com>
* config/tc-h8500.c (tc_coff_symbol_emit_hook): Add ignored
parameter, to match prototype.
Ian Lance Taylor [Wed, 15 Feb 1995 21:08:05 +0000 (21:08 +0000)]
* config/tc-mips.c (md_apply_fix): Accept BFD_RELOC_16, for
DWARF. From gary@Intrepid.COM (Gary Funck).
Ian Lance Taylor [Wed, 15 Feb 1995 20:47:31 +0000 (20:47 +0000)]
* mips-opc.c: Add uld and usd macros for unaligned double load and
store.
Ian Lance Taylor [Wed, 15 Feb 1995 20:45:35 +0000 (20:45 +0000)]
* gas/mips/uld.d: New file.
* gas/mips/uld.s: New file.
* gas/mips/usd.d: New file.
* gas/mips/usd.s: New file.
* gas/mips/mips.exp: Run new tests.
Ian Lance Taylor [Wed, 15 Feb 1995 20:43:57 +0000 (20:43 +0000)]
* config/tc-mips.c (macro): Handle M_U{L,S}D[_A] (unaligned double
loads and stores).
Ian Lance Taylor [Wed, 15 Feb 1995 20:34:32 +0000 (20:34 +0000)]
Gas reloc handling reeks.
PR 6343.
Michael Meissner [Wed, 15 Feb 1995 20:15:07 +0000 (20:15 +0000)]
All ELF relocs.
Michael Meissner [Wed, 15 Feb 1995 19:57:56 +0000 (19:57 +0000)]
Fix powerpc PC relative reloc & add some 16 bit relocs.
Michael Meissner [Wed, 15 Feb 1995 18:51:31 +0000 (18:51 +0000)]
Define TEXT_SEGMENT_BASE as 1 for ppc-eabi; Make dcache.c compilable on Linux.
Ian Lance Taylor [Wed, 15 Feb 1995 17:20:35 +0000 (17:20 +0000)]
* mips.h (M_ULD, M_ULD_A, M_USD, M_USD_A): Define.
Ian Lance Taylor [Wed, 15 Feb 1995 16:48:18 +0000 (16:48 +0000)]
* config/tc-mips.c (macro): Don't use the target register as a
base register when building the address for M_L{W,D}{L,R}_AB.
Ian Lance Taylor [Wed, 15 Feb 1995 05:19:44 +0000 (05:19 +0000)]
x
Stu Grossman [Wed, 15 Feb 1995 01:45:39 +0000 (01:45 +0000)]
* annotate.c, breakpoint.c, defs.h, gdbtk.c, top.c: Replace
enable/disable_breakpoint_hook with modify_breakpoint_hook.
* gdbtk.c: General cleanups, get rid of unused variables. Redo
handling of stdout/stderr to just return output as the result of
the tcl command that caused the output. Cleanup -Wall stuff.
* (breakpoint_notify): Now returns just action and breakpoint
number.
* (gdb_get_breakpoint_list): New routine. Does the obvious.
* (gdb_get_breakpoint_info): Mostly derived from the old
breakpoint_notify, but returns lots more info.
* (dsprintf_append_element): Helper routine, works like printf,
but appends a tcl element onto the specified DString. Good for
building up lists as return values.
* (gdbtk_enable/disable_breakpoint): Go away. Replaced with
gdbtk_modify_breakpoint.
* (*many routines*): Use new result protocol.
* (call_wrapper): Make sure that recursive calls don't trash results.
* gdbtk.tcl: New windows, autocmd, and breakpoints.
* (gdbtk_tcl_fputs): Don't use $current_output_win redirection
anymore. It's not needed (in fact, this routine may not be needed
anymore).
* (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
notification protocol.
* (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
catches.
* (interactive_cmd): Use this wrapper around button invocations
of many commands. This will catch errors and put the results into
the command window. It also updates all the other windows.
* Also, change reliefs of most things to sunken. This actually
looks better.
* (create_file_win): Fix margin binding to allow breakpoints to
work again.
* (create_asm_win): Use return value of gdb_disassemble instead
of implicit I/O to the command window.
* (create_command_window): Use new result protocol to get output
from commands.
Ian Lance Taylor [Tue, 14 Feb 1995 23:07:21 +0000 (23:07 +0000)]
* objdump.c (with_source_code): New global variable.
(usage): Mention -S/--source.
(long_options): Add --source.
(prev_functionname, prev_line): New static variables.
(struct print_file_list): Define.
(print_files): New static variable.
(skip_to_line, show_line): New static functions.
(disassemble_data): Call show_line to handle -l and -S.
(main): Handle -S.
* binutils.texi, objdump.1: Document -S/--source.
Ian Lance Taylor [Tue, 14 Feb 1995 23:03:45 +0000 (23:03 +0000)]
* elf32-mips.c (struct mips_elf_find_line): Define.
(mips_elf_find_nearest_line): New static function.
(bfd_elf32_find_nearest_line): Define.
* libelf.h (struct elf_obj_tdata): Add find_line_info field.
* ecoff.c (_bfd_ecoff_swap_tir_in): Move to ecofflink.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise.
(mk_fdrtab): Likewise.
(lookup): Likewise.
(_bfd_ecoff_find_nearest_line): Just call _bfd_ecoff_locate_line
to do most of the work. Allocate find_line_info if necessary.
* ecofflink.c: Include "aout/stab_gnu.h".
(_bfd_ecoff_swap_tir_in): Move in from ecoff.c.
(_bfd_ecoff_swap_tir_out): Likewise.
(_bfd_ecoff_swap_rndx_in): Likewise.
(_bfd_ecoff_swap_rndx_out): Likewise.
(cmp_fdrtab_entry): Likewise. Use PTR instead of void *.
(mk_fdrtab): Move in from ecoff.c. Add debug_info, debug_swap,
and line_info arguments, and use them instead of ecoff_data.
(fdrtab_lookup): Move in from lookup in ecoff.c. Remove abfd
argument, add line_info argument. Use it instead of ecoff_data.
(_bfd_ecoff_locate_line): New function, mostly from the old
_bfd_ecoff_find_nearest_line in ecoff.c.
* libecoff.h (ecoff_data_type): Remove find_buffer, fdrtab_len and
fdrtab fields, replacing them find_line_info field.
(_bfd_ecoff_swap_tir_in): Declare.
(_bfd_ecoff_swap_tir_out): Declare.
(_bfd_ecoff_swap_rndx_in): Declare.
(_bfd_ecoff_swap_rndx_out): Declare.
* libbfd-in.h (_bfd_ecoff_locate_line): Declare.
* libbfd.h: Rebuild.
* configure.in: Don't use ecoff.o for bfd_elf32_bigmips_vec or
bfd_elf32_littlemips_vec.
* Makefile.in: Rebuild dependencies.
Jim Kingdon [Tue, 14 Feb 1995 22:02:49 +0000 (22:02 +0000)]
* expression.h: Move declaration of evaluate_subexp_with_coercion
from here...
* value.h: ...to here.
* expression.h: Don't include value.h
Jim Kingdon [Tue, 14 Feb 1995 20:01:30 +0000 (20:01 +0000)]
* expression.h: Move include of value.h until after declaration of
enum exp_opcode.
Michael Meissner [Tue, 14 Feb 1995 19:20:16 +0000 (19:20 +0000)]
Reconize old versions of the PowerPC machine code (EM_PPC_OLD and EM_CYGNUS_POWERPC).
Ian Lance Taylor [Tue, 14 Feb 1995 17:49:30 +0000 (17:49 +0000)]
* aoutf1.h (MACHTYPE_OK): Don't define if already defined. Don't
accept M_SPARC if bfd_arch_sparc is not in the list of supported
architectures, and don't accept a 680x0 machine type if
bfd_arch_m68k is not in the list of supported architectures.
* aout0.c (MACHTYPE_OK): Define.
Ian Lance Taylor [Tue, 14 Feb 1995 04:27:39 +0000 (04:27 +0000)]
* aoutx.h (NAME(aout,swap_ext_reloc_in)): Don't return a pointer
to garbage if the symbol index is out of range.
(NAME(aout,swap_std_reloc_in)): Likewise.
Ian Lance Taylor [Mon, 13 Feb 1995 21:18:22 +0000 (21:18 +0000)]
* config/tc-sparc.h (tc_fix_adjustable): Define if OBJ_ELF.
* config/tc-sparc.c (md_apply_fix): If OBJ_ELF, subtract out the
value of a defined symbol; the value was added in by
fixup_segment. This was previously corrected, if the reloc was
changed to be against a section symbol, in tc_gen_reloc.
David Edelsohn [Mon, 13 Feb 1995 19:07:55 +0000 (19:07 +0000)]
* arc.h (ARC_OPERAND_LIMM): New flag.
Ian Lance Taylor [Mon, 13 Feb 1995 19:04:05 +0000 (19:04 +0000)]
Revert this patch, since it breaks linking PIC code with no dynamic
objects:
* elfcode.h (elf_bfd_final_link): Add assertion to make sure that
dynamic and dynobj are in synch.
Stan Shebs [Mon, 13 Feb 1995 00:26:39 +0000 (00:26 +0000)]
* remote-e7000.c: Comprehensive cleanup; removal of dead code,
simplify code, declare things, format to standards.
(inferior.h, value.h, command.h, remote-utils.h): Include.
(e7000_login): Rename to e7000_login_command.
(e7000_ftp): Rename to e7000_ftp_command.
(e7000_drain): Rename to e7000_drain_command.
Stan Shebs [Sun, 12 Feb 1995 22:59:44 +0000 (22:59 +0000)]
* irix5-nat.c (string.h): Include near beginning of file.
Jim Kingdon [Sun, 12 Feb 1995 21:54:20 +0000 (21:54 +0000)]
* valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
arg, it is a value not a symbol.
gcc -Wall lint:
* eval.c: Move declaration of evaluate_subexp_with_coercion from here..
* expression.h: ..to here.
* expression.h: Include value.h.
* ch-lang.c (evaluate_subexp_chill): Add default case in switch.
Jim Kingdon [Sun, 12 Feb 1995 21:34:19 +0000 (21:34 +0000)]
* gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
floats, chars, and shorts where there are ANSI-style function
definitions.
Per Bothner [Sun, 12 Feb 1995 19:47:48 +0000 (19:47 +0000)]
* pr-6292.ch, pr-6292.exp, Makefile.in: New test case.
Per Bothner [Sun, 12 Feb 1995 19:21:04 +0000 (19:21 +0000)]
* language.h (struct language_defn): New field evaluate_exp.
* c-lang.c (c_language_defn, cplus_language_defn, asm_langauge_defn),
f-lang.c (f_language_defn), language.c (unknown_language_defn,
auto_language_defn, local_language_defn), m2-lang.c (m2_language_defn):
Set evaluate_exp to evaluate_subexp_standard.
* ch-lang.c (evaluate_subexp_chill): New function. Chill-specific
support for MULTI_SUBSCRIPT.
(chill_language_defn): Set evaluate_exp to evaluate_subexp_chill.
* eval.c (enum noside): Move from here ....
* expression.h (enum noside): ... to here.
(evaluate_subexp_standard): New prototype.
* eval.c (evaluate_subexp): Renamed to evaluate_subexp_standard.
Removed lo-longer-needed test for chill_varying_type.
(evaluate_subexp): New. Calls exp->language_defn->evaluate_exp.
Per Bothner [Sun, 12 Feb 1995 19:18:00 +0000 (19:18 +0000)]
* ch-exp.y (maybe_expression_list): New non-terminal.
(primitive_value): Allow empty parameter list.
Per Bothner [Sun, 12 Feb 1995 18:54:50 +0000 (18:54 +0000)]
* symtab.c (add_param_to_type): Remove (commented-out) function,
since that functionality has been re-written.
* coffread.c: Remove commented-out add_param_to_type support.
* mdebugread.c (parse_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
Per Bothner [Sun, 12 Feb 1995 18:51:42 +0000 (18:51 +0000)]
* valops.c (value_arg_coerce): Now takes param_type argument.
(call_function_by_hand): Convert arguments with value_arg_coerce
early, and overwrite original args with converted args.
No longer need multiple calls to value_arg_coerce.
(value_arg_push): Removed.
* hppa-tdep.c (hppa_push_arguments): No longer call value_arg_coerce.
* mips-tdep.c (mips_push_arguments): Likewise.
* alpha-tdep.c (alpha_push_arguments): Likewise.
* rs6000-tdep.c (push_arguments, ran_out_of_registers_for_arguments):
Likewise.
* value.h (value_arg_coerce): Remove declaration. (It's now static.)
* valops.c (value_cast): Do COERCE_VARYING_ARRAY after COERCE_REF.
Per Bothner [Sun, 12 Feb 1995 18:46:45 +0000 (18:46 +0000)]
* buildsym.c (finish_block): If finishing a function without known
parameter type info, set that from parameter symbols.
* c-typeprint.c (c_type_print_varspec_suffix): For TYPE_CODE_FUNC,
print parameter types, if available.
* ch-typeprint.c (chill_type_print_base): Likewise.
* gdbtypes.h (struct type): Remove function type field.
(TYPE_FUNCTION_TYPE): Remove macro. We can't as simply re-use
function types now that we're also storing parameter types.
And the payoff is much less.
* gdbtypes.c (make_function_type): Don't use/set TYPE_FUNCTION_TYPE.
(recursive_dump_type): Don't print TYPE_FUNCTION_TYPE.
* dwarfread.c (read_subroutine_type): Don't set TYPE_FUNCTION_TYPE.
Jim Kingdon [Sun, 12 Feb 1995 17:55:09 +0000 (17:55 +0000)]
* gdb.base/langs.exp, gdb.base/langs*: New test.
* gdb.base/Makefile.in: Build it.
* TODO: Remove item about checking that C names don't get C++
demangling applied; this test tests it.
Jim Kingdon [Sun, 12 Feb 1995 17:53:34 +0000 (17:53 +0000)]
* buildsym.c (start_subfile): Set language for f2c like for cfront.
Jim Kingdon [Sat, 11 Feb 1995 04:24:21 +0000 (04:24 +0000)]
* gdb.texinfo (Setting): Talk about the language of a source file
versus the working language. The old documentation did not match
what GDB did.
Ian Lance Taylor [Fri, 10 Feb 1995 19:05:43 +0000 (19:05 +0000)]
* config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
rather than !S_IS_LOCAL.
You might think they would be equivalent, but....
David Edelsohn [Fri, 10 Feb 1995 04:34:36 +0000 (04:34 +0000)]
E_ARC_CPU_XXX renamed to E_ARC_MACH_XXX for consistency with rest of BFD.
David Edelsohn [Fri, 10 Feb 1995 03:55:34 +0000 (03:55 +0000)]
(arc_get_disassembler): Renamed from arc_disassembler.
David Edelsohn [Fri, 10 Feb 1995 03:48:27 +0000 (03:48 +0000)]
* dis-asm.h (print_insn_arc): Deleted.
(arc_get_disassembler): Declare.
David Edelsohn [Fri, 10 Feb 1995 03:42:43 +0000 (03:42 +0000)]
* disassemble.c (disassembler, case bfd_arch_arc): Call
arc_disassembler to get disassembler routine.
David Edelsohn [Fri, 10 Feb 1995 03:38:14 +0000 (03:38 +0000)]
Lotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 03:37:57 +0000 (03:37 +0000)]
* arc-opc.c (MULTSHIFT operand): Delete.
(UNSIGNED, SATURATION): New operands.
(mac, mul, mul64, mulu64): New insns.
(ext. asl, asr, lsr, ror): Only available on host and graphics cpus.
(padc, padd, pmov, pand, psbc, psub, swap): New insns.
(host,graphics,audio extended and auxiliary regs): Define.
(ss, sc, mh, ml): New suffixes.
(arc_opcode_supported, arc_opval_supported): New functions.
(insert_multshift, extract_multshift): Deleted.
David Edelsohn [Fri, 10 Feb 1995 03:23:16 +0000 (03:23 +0000)]
* arc-dis.c (print_insn_arc): Rename to print_insn and make static.
New argument `cpu', pass it to arc_opcode_init_tables.
Document byte order dependencies. Ignore unsupported insns.
(arc_disassembler): New function.
(print_insn_arc_base, print_insn_arc_host, print_insn_arc_graphics,
print_insn_arc_audio): New functions.
Rob Savoye [Fri, 10 Feb 1995 03:21:55 +0000 (03:21 +0000)]
* op50n-rom.c: Add the control registers.
David Edelsohn [Fri, 10 Feb 1995 03:02:09 +0000 (03:02 +0000)]
* arc.h (ARC_MACH_{BASE,HOST,GRAPHICS,AUDIO}): Define.
(ARC_MACH_MASK, ARC_OPCODE_MACH, ARC_OPVAL_MACH): Define.
(ARC_HAVE_MULT_SHIFT): Delete.
(ARC_HAVE_MACH): Define.
(struct arc_opcode): New field `flags'.
(struct arc_operand_value): Ditto.
(arc_opcode_supported): New function.
(arc_opval_supported): Ditto.
David Edelsohn [Fri, 10 Feb 1995 02:01:01 +0000 (02:01 +0000)]
* config/tc-arc.c (md_pseudo_table): Add .cpu.
(comment_chars): Add ';'.
(arc_mach_type, mach_type_specified, cpu_tables_init_p): New globals.
(md_parse_option): Delete support for -mmult. Add -mcpu=xxx.
(md_begin): Current ARCs are little endian.
Call bfd_set_arch_mach to set the cpu type.
(init_opcode_tables): New function.
(md_begin): Ignore suffixes and registers not supported by cpu.
(md_assemble): Initialize opcode tables here.
Ignore opcodes not supported by selected cpu.
Always ask for more memory in one piece.
(arc_cpu): New function.
(md_numbers_to_chars): Support both endians (will probably be needed
eventually anyway).
(md_apply_fix): Likewise.
David Edelsohn [Fri, 10 Feb 1995 02:00:43 +0000 (02:00 +0000)]
* config/tc-arc.h (LOCAL_LABEL): Delete "_.L_", gcc works around
dwarfout.c quirk.
David Edelsohn [Fri, 10 Feb 1995 02:00:13 +0000 (02:00 +0000)]
Lotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 01:41:57 +0000 (01:41 +0000)]
Regenerated.
David Edelsohn [Fri, 10 Feb 1995 01:40:36 +0000 (01:40 +0000)]
* archures (bfd_mach_arc_base): #define.
(bfd_mach_arc_host, bfd_mach_arc_graphics, bfd_mach_arc_audio): Ditto.
* cpu-arc.c (arch_info_struct): Define entries for each cpu variant.
(bfd_arc_arch): Link each one in.
(arc_get_mach): New function.
* elf32-arc.c (arc_info_to_howto_rel): Renamed from arc_info_to_howto.
(elf_info_to_howto_rel): Update.
(arc_elf_object_p, arc_elf_final_write_processing): New functions.
(elf_backend_object_p): Define.
(elf_backend_final_write_processing): Define.
(USE_REL): Define.
Ken Raeburn [Fri, 10 Feb 1995 00:17:32 +0000 (00:17 +0000)]
* Makefile.in (BFD32_BACKENDS): Add i386msdos.o.
Stan Shebs [Fri, 10 Feb 1995 00:02:15 +0000 (00:02 +0000)]
* Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
after, any host/target/native libraries.
* dcache.c (insque, remque): Remove declarations.
* gdbtypes.h (type_code): Remove trailing comma.
From Peter Schauer:
* xcoffread.c (read_xcoff_symtab) [C_HIDEXT]: Move #ifdef
STATIC_NODEBUG_VARS inside case.
Stan Shebs [Thu, 9 Feb 1995 23:38:29 +0000 (23:38 +0000)]
keep tm-pro.h
Stan Shebs [Thu, 9 Feb 1995 23:37:11 +0000 (23:37 +0000)]
keep est.mt
Ken Raeburn [Thu, 9 Feb 1995 23:33:41 +0000 (23:33 +0000)]
* Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory.
Ian Lance Taylor [Thu, 9 Feb 1995 23:19:27 +0000 (23:19 +0000)]
* config/tc-i386.c (md_assemble): Adjust conditions for changing
BFD_RELOC_32 to BFD_RELOC_386_GOTPC to handle a switch in frags.
Patch originally from Rob Ryan <robr@cmu.edu>.
* config/tc-i386.c: Include subsegs.h.
(tc_i386_fix_adjustable): Declare return value.
(i386_operand): Don't use an assignment directly as a condition.
Jim Kingdon [Thu, 9 Feb 1995 22:49:51 +0000 (22:49 +0000)]
* gdb.stabs/weird.exp: Remove "Haven't examined" comment which
went with the const70 xfail. The xfail went away a year ago.
Stan Shebs [Thu, 9 Feb 1995 22:46:54 +0000 (22:46 +0000)]
* i960-dis.c (struct tabent, struct sparse_tabent): Change the
signed char fields to shorts, more portable.
Jim Kingdon [Thu, 9 Feb 1995 22:45:51 +0000 (22:45 +0000)]
* gdb.base/signals.exp: Rename a bunch of tests to give unique names.
Ian Lance Taylor [Thu, 9 Feb 1995 21:57:55 +0000 (21:57 +0000)]
* ldmain.c (main): If trace_file_tries is true, and we are using
an internal linker script, print out the script.
* ldfile.c (try_open): Reindent function. Make the messages about
opening script files more informative.
PR 6309.
Ian Lance Taylor [Thu, 9 Feb 1995 21:18:01 +0000 (21:18 +0000)]
* objcopy.c (copy_usage): Rename parameter to avoid shadowing.
(strip_usage): Likewise.
* objcopy.c (struct section_add): Define.
(add_sections): New static variable.
(copy_options): Accept --add-section.
(copy_usage): Mention --add-section.
(copy_object): Add sections from the add_sections list.
(copy_main): Handle --add-section.
* binutils.texi, objcopy.1: Document --add-section.
Jim Kingdon [Thu, 9 Feb 1995 20:55:02 +0000 (20:55 +0000)]
* gdb.base/corefile.exp: Give backtrace test unique name. xfail
for hp300.
Jim Kingdon [Thu, 9 Feb 1995 20:51:13 +0000 (20:51 +0000)]
* gdb.base/interrupt.exp: Also xfail hpux (for hp300).
Jim Kingdon [Thu, 9 Feb 1995 20:46:53 +0000 (20:46 +0000)]
* gdb.base/a1-selftest.exp: Don't run on hp300.
Jim Kingdon [Thu, 9 Feb 1995 20:21:46 +0000 (20:21 +0000)]
* config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
* partial-stab.h: Call it.
* stabsread.c (define_symbol) [STATIC_TRANSFORM_NAME]: Call
STATIC_TRANSFORM_NAME to get the name and use minimal symbols to
get the address.
* sparc-tdep.c (solaris_static_transform_name): New function.
Ian Lance Taylor [Thu, 9 Feb 1995 19:21:01 +0000 (19:21 +0000)]
* libiberty.h (basename): Change argument to be const.
Jeff Law [Thu, 9 Feb 1995 19:16:47 +0000 (19:16 +0000)]
* somread.c (som_symtab_read): Handle dynamic relocation for both
text and data symbols.
(som_symfile_offsets): If objfile is a shared library, then get
text and data offsets from the shared library structures.
* somsolib.c (som_solib_add): Copy the bfd pointer from the
objfile rather than reopening the file again.
(som_solib_section_offsets): New function.
* somsolib.h (som_solib_section_offsets): Declare.
Jeff Law [Thu, 9 Feb 1995 17:58:59 +0000 (17:58 +0000)]
* gas/hppa/reloc/applybug.s: New test.
* gas/hppa/reloc/reloc.exp (do_applybug_test): Run it.
Jeff Law [Thu, 9 Feb 1995 17:44:30 +0000 (17:44 +0000)]
* config/tc-hppa.c (md_apply_fix): In some cases subtract the
value of the add symbol from valp. Offsets braindamage in the
"machine independent" fixup_segment.
Ian Lance Taylor [Thu, 9 Feb 1995 17:34:44 +0000 (17:34 +0000)]
update dependencies
Ian Lance Taylor [Thu, 9 Feb 1995 17:19:53 +0000 (17:19 +0000)]
* i386linux.c (NEEDS_SHRLIB): Define.
(linux_tally_symbols): Crash if a NEEDS_SHRLIB symbol is
undefined. From hjl@nynexst.com (H.J. Lu).
Ian Lance Taylor [Thu, 9 Feb 1995 17:03:47 +0000 (17:03 +0000)]
* elfcode.h (elf_bfd_final_link): Add assertion to make sure that
dynamic and dynobj are in synch.
Ian Lance Taylor [Thu, 9 Feb 1995 16:41:28 +0000 (16:41 +0000)]
* lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
* ld.texinfo, ld.1: Update accordingly.
Ian Lance Taylor [Thu, 9 Feb 1995 16:31:54 +0000 (16:31 +0000)]
fix comments
Ian Lance Taylor [Thu, 9 Feb 1995 16:05:25 +0000 (16:05 +0000)]
* mh-linux (SYSV): Don't define.
(RANLIB): Don't define.
Jim Kingdon [Thu, 9 Feb 1995 07:00:45 +0000 (07:00 +0000)]
* config/sparc/tm-sun4sol2.h, dbxread.c: Rename
N_SO_ADDRESS_MAYBE_MISSING to SOFUN_ADDRESS_MAYBE_MISSING.
* symtab.h (minimal_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]: Add
filename field.
* elfread.c (record_minimal_symbol_and_info),
minsyms.c, symtab.h (prim_record_minimal_symbol_and_info): Return
newly created symbol.
* elfread.c (elf_symtab_read) [SOFUN_ADDRESS_MAYBE_MISSING]:
Set filename field of minimal symbol.
* symmisc.c (dump_msymbols) [SOFUN_ADDRESS_MAYBE_MISSING]:
Print filename field.
* minsyms.c, symtab.h (lookup_minimal_symbol): New arg sfile.
* symm-tdep.c, somsolib.c, hppa-tdep.c, c-exp.y, f-exp.y,
m2-exp.y, nindy-tdep.c, m3-nat.c, irix5-nat.c, hpread.c,
os9kread.c, breakpoint.c, alpha-tdep.c, valops.c, symtab.c,
printcmd.c, dbxread.c: Change callers to pass NULL for sfile.
* dbxread.c (process_one_symbol) [SOFUN_ADDRESS_MAYBE_MISSING]:
Find address of function from minimal symbols.
* partial-stab.h, case 'f', 'F': Call find_stab_function_addr
instead of getting pst->textlow from the stab.
* minsyms.c (find_stab_function_addr): New function.
Rob Savoye [Thu, 9 Feb 1995 02:21:40 +0000 (02:21 +0000)]
* monitor.c: Fix so all the output shows up in the GUI command
window.
Stan Shebs [Thu, 9 Feb 1995 01:32:35 +0000 (01:32 +0000)]
* i960-dis.c (struct tabent, struct sparse_tabent): Declare the
char fields as signed chars, since they may have negative values.
Fixes PR 6290.
Ken Raeburn [Wed, 8 Feb 1995 23:57:26 +0000 (23:57 +0000)]
* messages.c (as_abort): New function.
* as.h (as_abort): Declare it.
(abort): New macro.
Ken Raeburn [Wed, 8 Feb 1995 23:52:51 +0000 (23:52 +0000)]
Thu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
* config/vms-conf.h (HAVE_UNISTD_H): define it unconditionally.
* config-gas.com: test for availability of <unistd.h>; create a rudimentary
one if necessary.
Ian Lance Taylor [Wed, 8 Feb 1995 22:57:48 +0000 (22:57 +0000)]
* linker.c (generic_link_check_archive_element): Allocate common
symbol information structure. Don't bother to check for common
symbol size overflow.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
* linker.c (generic_link_check_archive_element): Adjust references
to common symbol information for new structure.
(_bfd_generic_link_add_one_symbol): Likewise.
* aoutx.h (aout_link_check_ar_symbols): Likewise.
(aout_link_add_symbols): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_link_output_extsym): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
Ian Lance Taylor [Wed, 8 Feb 1995 22:56:15 +0000 (22:56 +0000)]
* ldlang.c (lang_one_common): Adjust references to common symbol
information for new structure.
Ken Raeburn [Wed, 8 Feb 1995 22:55:11 +0000 (22:55 +0000)]
keep utils.{c,h}
Ian Lance Taylor [Wed, 8 Feb 1995 22:53:50 +0000 (22:53 +0000)]
* bfdlink.h (struct bfd_link_hash_entry): Change format of common
symbol information, to remove restrictions on maximum size and
alignment power, by using a pointer to a structure instead.
David Edelsohn [Wed, 8 Feb 1995 20:58:01 +0000 (20:58 +0000)]
elfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
Ken Raeburn [Wed, 8 Feb 1995 02:35:44 +0000 (02:35 +0000)]
ran "indent -gnu"; have not fixed block comment style
Jeff Law [Tue, 7 Feb 1995 23:29:08 +0000 (23:29 +0000)]
* som.c (som_bfd_find_nearest_line): Just return false, don't
abort.
Ken Raeburn [Tue, 7 Feb 1995 22:59:13 +0000 (22:59 +0000)]
updated for added/removed files
Ken Raeburn [Tue, 7 Feb 1995 22:34:18 +0000 (22:34 +0000)]
Lots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
Alpha support.
Long options.
New file format to support more information; backwards compatibility.
Line-level profiling, on systems where bfd_find_nearest_line works.
Selective display of data.
Ken Raeburn [Tue, 7 Feb 1995 20:06:28 +0000 (20:06 +0000)]
clean up mechanics of mosberger-tang's changes
Ian Lance Taylor [Tue, 7 Feb 1995 19:22:43 +0000 (19:22 +0000)]
* ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
any of the fields.
Ken Raeburn [Tue, 7 Feb 1995 19:14:32 +0000 (19:14 +0000)]
keep new msdos files
Michael Meissner [Tue, 7 Feb 1995 18:42:04 +0000 (18:42 +0000)]
Add support for powerpc-*-eabi in configure.in, rebuild configure.