platform/upstream/binutils.git
29 years ago * arc.h (ARC_OPERAND_LIMM): New flag.
David Edelsohn [Mon, 13 Feb 1995 19:07:55 +0000 (19:07 +0000)]
* arc.h (ARC_OPERAND_LIMM): New flag.

29 years agoRevert this patch, since it breaks linking PIC code with no dynamic
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.

29 years ago * remote-e7000.c: Comprehensive cleanup; removal of dead code,
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.

29 years ago * irix5-nat.c (string.h): Include near beginning of file.
Stan Shebs [Sun, 12 Feb 1995 22:59:44 +0000 (22:59 +0000)]
* irix5-nat.c (string.h): Include near beginning of file.

29 years ago * valops.c (value_arg_coerce): Use VALUE_TYPE not SYMBOL_TYPE on
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.

29 years ago * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
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.

29 years ago * pr-6292.ch, pr-6292.exp, Makefile.in: New test case.
Per Bothner [Sun, 12 Feb 1995 19:47:48 +0000 (19:47 +0000)]
* pr-6292.ch, pr-6292.exp, Makefile.in:  New test case.

29 years ago * language.h (struct language_defn): New field evaluate_exp.
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.

29 years ago * ch-exp.y (maybe_expression_list): New non-terminal.
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.

29 years ago * symtab.c (add_param_to_type): Remove (commented-out) function,
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.

29 years ago * valops.c (value_arg_coerce): Now takes param_type argument.
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.

29 years ago * buildsym.c (finish_block): If finishing a function without known
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.

29 years ago * gdb.base/langs.exp, gdb.base/langs*: New test.
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.

29 years ago* buildsym.c (start_subfile): Set language for f2c like for cfront.
Jim Kingdon [Sun, 12 Feb 1995 17:53:34 +0000 (17:53 +0000)]
* buildsym.c (start_subfile): Set language for f2c like for cfront.

29 years ago * gdb.texinfo (Setting): Talk about the language of a source file
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.

29 years ago * config/tc-i386.c (tc_i386_fix_adjustable): Use S_IS_EXTERN
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....

29 years agoE_ARC_CPU_XXX renamed to E_ARC_MACH_XXX for consistency with rest of BFD.
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.

29 years ago(arc_get_disassembler): Renamed from arc_disassembler.
David Edelsohn [Fri, 10 Feb 1995 03:55:34 +0000 (03:55 +0000)]
(arc_get_disassembler): Renamed from arc_disassembler.

29 years ago * dis-asm.h (print_insn_arc): Deleted.
David Edelsohn [Fri, 10 Feb 1995 03:48:27 +0000 (03:48 +0000)]
* dis-asm.h (print_insn_arc): Deleted.
(arc_get_disassembler): Declare.

29 years ago * disassemble.c (disassembler, case bfd_arch_arc): Call
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.

29 years agoLotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 03:38:14 +0000 (03:38 +0000)]
Lotsa arc stuff.

29 years ago * arc-opc.c (MULTSHIFT operand): Delete.
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.

29 years ago * arc-dis.c (print_insn_arc): Rename to print_insn and make static.
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.

29 years ago * op50n-rom.c: Add the control registers.
Rob Savoye [Fri, 10 Feb 1995 03:21:55 +0000 (03:21 +0000)]
* op50n-rom.c: Add the control registers.

29 years ago * arc.h (ARC_MACH_{BASE,HOST,GRAPHICS,AUDIO}): Define.
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.

29 years ago * config/tc-arc.c (md_pseudo_table): Add .cpu.
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.

29 years ago * config/tc-arc.h (LOCAL_LABEL): Delete "_.L_", gcc works around
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.

29 years agoLotsa arc stuff.
David Edelsohn [Fri, 10 Feb 1995 02:00:13 +0000 (02:00 +0000)]
Lotsa arc stuff.

29 years agoRegenerated.
David Edelsohn [Fri, 10 Feb 1995 01:41:57 +0000 (01:41 +0000)]
Regenerated.

29 years ago * archures (bfd_mach_arc_base): #define.
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.

29 years ago* Makefile.in (BFD32_BACKENDS): Add i386msdos.o.
Ken Raeburn [Fri, 10 Feb 1995 00:17:32 +0000 (00:17 +0000)]
* Makefile.in (BFD32_BACKENDS): Add i386msdos.o.

29 years ago * Makefile.in (CLIBS): Add $(LIBIBERTY) before, in addition to
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.

29 years agokeep tm-pro.h
Stan Shebs [Thu, 9 Feb 1995 23:38:29 +0000 (23:38 +0000)]
keep tm-pro.h

29 years agokeep est.mt
Stan Shebs [Thu, 9 Feb 1995 23:37:11 +0000 (23:37 +0000)]
keep est.mt

29 years ago* Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory.
Ken Raeburn [Thu, 9 Feb 1995 23:33:41 +0000 (23:33 +0000)]
* Makefile.in (distclean): Do recursive deletion, since ldscripts is a directory.

29 years ago * config/tc-i386.c (md_assemble): Adjust conditions for changing
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.

29 years ago * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
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.

29 years ago * i960-dis.c (struct tabent, struct sparse_tabent): Change the
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.

29 years ago* gdb.base/signals.exp: Rename a bunch of tests to give unique names.
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.

29 years ago * ldmain.c (main): If trace_file_tries is true, and we are using
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.

29 years ago * objcopy.c (copy_usage): Rename parameter to avoid shadowing.
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.

29 years ago * gdb.base/corefile.exp: Give backtrace test unique name. xfail
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.

29 years ago* gdb.base/interrupt.exp: Also xfail hpux (for hp300).
Jim Kingdon [Thu, 9 Feb 1995 20:51:13 +0000 (20:51 +0000)]
* gdb.base/interrupt.exp: Also xfail hpux (for hp300).

29 years ago* gdb.base/a1-selftest.exp: Don't run on hp300.
Jim Kingdon [Thu, 9 Feb 1995 20:46:53 +0000 (20:46 +0000)]
* gdb.base/a1-selftest.exp: Don't run on hp300.

29 years ago * config/sparc/tm-sun4sol2.h: Define STATIC_TRANSFORM_NAME.
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.

29 years ago * libiberty.h (basename): Change argument to be const.
Ian Lance Taylor [Thu, 9 Feb 1995 19:21:01 +0000 (19:21 +0000)]
* libiberty.h (basename): Change argument to be const.

29 years ago * somread.c (som_symtab_read): Handle dynamic relocation for both
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.

29 years ago * gas/hppa/reloc/applybug.s: New test.
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.

29 years ago * config/tc-hppa.c (md_apply_fix): In some cases subtract the
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.

29 years agoupdate dependencies
Ian Lance Taylor [Thu, 9 Feb 1995 17:34:44 +0000 (17:34 +0000)]
update dependencies

29 years ago * i386linux.c (NEEDS_SHRLIB): Define.
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).

29 years ago * elfcode.h (elf_bfd_final_link): Add assertion to make sure that
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.

29 years ago * lexsup.c (parse_args): For -V, call ldversion with 1, not 0.
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.

29 years agofix comments
Ian Lance Taylor [Thu, 9 Feb 1995 16:31:54 +0000 (16:31 +0000)]
fix comments

29 years ago * mh-linux (SYSV): Don't define.
Ian Lance Taylor [Thu, 9 Feb 1995 16:05:25 +0000 (16:05 +0000)]
* mh-linux (SYSV): Don't define.
(RANLIB): Don't define.

29 years ago * config/sparc/tm-sun4sol2.h, dbxread.c: Rename
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.

29 years ago * monitor.c: Fix so all the output shows up in the GUI command
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.

29 years ago * i960-dis.c (struct tabent, struct sparse_tabent): Declare the
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.

29 years ago* messages.c (as_abort): New function.
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.

29 years agoThu Jan 19 18:10:05 1995 Pat Rankin (rankin@eql.caltech.edu)
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.

29 years ago * linker.c (generic_link_check_archive_element): Allocate common
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.

29 years ago * ldlang.c (lang_one_common): Adjust references to common symbol
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.

29 years agokeep utils.{c,h}
Ken Raeburn [Wed, 8 Feb 1995 22:55:11 +0000 (22:55 +0000)]
keep utils.{c,h}

29 years ago * bfdlink.h (struct bfd_link_hash_entry): Change format of common
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.

29 years agoelfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
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.

29 years agoran "indent -gnu"; have not fixed block comment style
Ken Raeburn [Wed, 8 Feb 1995 02:35:44 +0000 (02:35 +0000)]
ran "indent -gnu"; have not fixed block comment style

29 years ago * som.c (som_bfd_find_nearest_line): Just return false, don't
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.

29 years agoupdated for added/removed files
Ken Raeburn [Tue, 7 Feb 1995 22:59:13 +0000 (22:59 +0000)]
updated for added/removed files

29 years agoLots of changes from David Mosberger-Tang; see ChangeLog and NOTES for details:
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.

29 years agoclean up mechanics of mosberger-tang's changes
Ken Raeburn [Tue, 7 Feb 1995 20:06:28 +0000 (20:06 +0000)]
clean up mechanics of mosberger-tang's changes

29 years ago * ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
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.

29 years agokeep new msdos files
Ken Raeburn [Tue, 7 Feb 1995 19:14:32 +0000 (19:14 +0000)]
keep new msdos files

29 years agoAdd support for powerpc-*-eabi in configure.in, rebuild configure.
Michael Meissner [Tue, 7 Feb 1995 18:42:04 +0000 (18:42 +0000)]
Add support for powerpc-*-eabi in configure.in, rebuild configure.

29 years agoApparently I forgot to commit this change:
Jeff Law [Tue, 7 Feb 1995 18:20:57 +0000 (18:20 +0000)]
Apparently I forgot to commit this change:
        * config/tc-hppa.c (md_apply_fix): Go ahead and call
        hppa_field_adjust to get a new value for R_DATA_ONE_SYMBOL
        relocations in SOM.
        (hppa_fix_adjustable): Refine somewhat.

29 years agoFix it so whitespace works out right even with sanitization
Jim Kingdon [Tue, 7 Feb 1995 04:46:18 +0000 (04:46 +0000)]
Fix it so whitespace works out right even with sanitization

29 years ago * i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
Stan Shebs [Tue, 7 Feb 1995 03:01:16 +0000 (03:01 +0000)]
* i386-tdep.c (_initialize_i386_tdep): Put void decl on separate
        line, so init.c generation works correctly.
start-sanitize-arc
* arc-tdep.c (_initialize_arc_tdep): Ditto.
end-sanitize-arc

29 years agovarious ChangeLog housekeeping, and
Stan Shebs [Tue, 7 Feb 1995 02:44:25 +0000 (02:44 +0000)]
various ChangeLog housekeeping, and

Sat Feb  4 13:29:52 1995  Stan Shebs  <shebs@andros.cygnus.com>

* config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o.

29 years agoecoff gprof related fixes & improvements from David Mosberger-Tang
Ken Raeburn [Tue, 7 Feb 1995 01:06:25 +0000 (01:06 +0000)]
ecoff gprof related fixes & improvements from David Mosberger-Tang

29 years ago * ldmain.c (undefined_symbol): Handle section being NULL.
Ian Lance Taylor [Mon, 6 Feb 1995 23:24:20 +0000 (23:24 +0000)]
* ldmain.c (undefined_symbol): Handle section being NULL.

29 years ago * libelf.h (struct elf_link_hash_table): Add saw_needed field.
Ian Lance Taylor [Mon, 6 Feb 1995 23:23:37 +0000 (23:23 +0000)]
* libelf.h (struct elf_link_hash_table): Add saw_needed field.
* elfcode.h (elf_link_add_object_symbols): Set saw_needed if
DT_NEEDED seen in .dynamic section.
(elf_link_output_extsym): Warn if an undefined symbol is
only referenced from a dynamic object, and not making a shared
object, and saw_needed is false.
* elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.

29 years agoupdate comment
Ian Lance Taylor [Mon, 6 Feb 1995 23:19:34 +0000 (23:19 +0000)]
update comment

29 years agoFix string signifing the right target name.
Rob Savoye [Mon, 6 Feb 1995 22:09:35 +0000 (22:09 +0000)]
Fix string signifing the right target name.

29 years ago * config/mips/idt.mt: Add support for the lsi33k target.
Rob Savoye [Mon, 6 Feb 1995 22:00:10 +0000 (22:00 +0000)]
* config/mips/idt.mt: Add support for the lsi33k target.
* config/sparc/sun4sol2.mh: Add support for ser-tcp.

29 years ago * config/mips/idt.mt: Add support for ser-tcp and the lsi33k
Rob Savoye [Mon, 6 Feb 1995 21:48:44 +0000 (21:48 +0000)]
* config/mips/idt.mt: Add support for ser-tcp and the lsi33k
target.
* array-rom.c: Finish the rest of the support commands needed by
GDB.
* mips-tdep.c: Add LSI33k register names and processor type.

29 years agoAdd the rest of the commands needed by GDB.
Rob Savoye [Mon, 6 Feb 1995 21:43:21 +0000 (21:43 +0000)]
Add the rest of the commands needed by GDB.

29 years agoAdd support for ser-tcp and the Array lsi33k target.
Rob Savoye [Mon, 6 Feb 1995 21:41:28 +0000 (21:41 +0000)]
Add support for ser-tcp and the Array lsi33k target.

29 years ago * libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
Ian Lance Taylor [Mon, 6 Feb 1995 21:34:44 +0000 (21:34 +0000)]
* libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
* elfcode.h (elf_link_add_object_symbols): Don't clear or set
ELF_LINK_HASH_DEFINED_WEAK.
(elf_link_output_extsym): Don't check ELF_LINK_HASH_DEFINED_WEAK.

29 years agotipo
Ian Lance Taylor [Mon, 6 Feb 1995 20:12:54 +0000 (20:12 +0000)]
tipo

29 years ago * ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.
Ian Lance Taylor [Mon, 6 Feb 1995 20:01:38 +0000 (20:01 +0000)]
* ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.
* ldexp.c (fold_name): Likewise.
* ldlang.c (print_one_symbol): Likewise.
(lang_finish): Likewise.
* ldmain.c (multiple_common): Likewise.
* ldwrite.c (print_symbol): Likewise.  Also, bfd_link_hash_weak
renamed to bfd_link_hash_undefweak.

29 years ago Distinguish a weak defined symbol from a regular defined symbol.
Ian Lance Taylor [Mon, 6 Feb 1995 20:01:08 +0000 (20:01 +0000)]
Distinguish a weak defined symbol from a regular defined symbol.
* linker.c (enum link_action): Add DEFW.
(link_action): Add bfd_link_hash_defweak column.
(_bfd_generic_link_add_one_symbol): Add DEFW case.  Handle
bfd_link_hash_defweak in a few other cases.
* Many files (bfd_link_hash_undefweak): Renamed from
bfd_link_hash_weak.
* aoutx.h (aout_link_write_symbols): Handle bfd_link_hash_defweak.
(aout_link_write_other_symbol): Likewise.
(aout_link_input_section_std): Likewise.
(aout_link_input_section_ext): Likewise.
* bout.c (get_value): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_convert_external_reloc): Likewise.
(alpha_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
(mips_relax_section): Likewise.
(bfd_mips_ecoff_create_embedded_relocs): Likewise.
* cofflink.c (coff_write_global_sym): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_link_add_externals): Likewise.
(ecoff_link_write_external): LIkewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
(elf32_hppa_size_stubs): Likewise.
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_finish_dynamic_symbol): Likewise.
* elf32-mips.c (mips_elf_output_extsym): Likewise.
(mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
(elf32_sparc_relocate_section): Likewise.
* elfcode.h (elf_link_add_object_symbols): Likewise.
(elf_adjust_dynamic_symbol): Likewise.
(elf_bfd_final_link): Likewise.
(elf_link_output_extsym): Likewise.
* i386linux.c (linux_add_one_symbol): Likewise.
(linux_tally_symbols): Likewise.
(linux_finish_dynamic_link): Likewise.
* linker.c (_bfd_generic_link_output_symbols): Likewise.
(set_symbol_from_hash): Likewise.
* reloc16.c (bfd_coff_reloc16_get_value): Likewise.
(bfd_perform_slip): Likewise.
* sunos.c (sunos_add_one_symbol): Likewise.
(sunos_scan_std_relocs): Likewise.
(sunos_scan_ext_relocs): Likewise.
(sunos_scan_dynamic_symbol): Likewise.
(sunos_write_dynamic_symbol): Likewise.

29 years ago * bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak
Ian Lance Taylor [Mon, 6 Feb 1995 19:56:27 +0000 (19:56 +0000)]
* bfdlink.h (enum bfd_link_hash_type): Rename bfd_link_hash_weak
to bfd_link_hash_undefweak.  Add bfd_link_hash_defweak.

29 years ago* i386.h: added cpuid instruction , and dr[0-7] aliases for the
J.T. Conklin [Mon, 6 Feb 1995 19:00:40 +0000 (19:00 +0000)]
* i386.h: added cpuid instruction , and dr[0-7] aliases for the
  debug registers.  From Charles Hannum (mycroft@netbsd.org).

29 years ago* i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
J.T. Conklin [Mon, 6 Feb 1995 18:56:53 +0000 (18:56 +0000)]
* i386-dis.c (dis386_twobyte): Add cpuid, From Charles Hannum
  (mycroft@netbsd.org).

29 years ago * scripttempl/alpha.sc: Set address of .data section correctly
Ian Lance Taylor [Mon, 6 Feb 1995 17:18:57 +0000 (17:18 +0000)]
* scripttempl/alpha.sc: Set address of .data section correctly
when -n or -N is used.  Patch from Chris G Demetriou
<Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>.

29 years agoBryan Ford's changes for 16-bit i386 support, and i386-msdos support.
Ken Raeburn [Mon, 6 Feb 1995 08:53:05 +0000 (08:53 +0000)]
Bryan Ford's changes for 16-bit i386 support, and i386-msdos support.

29 years agoi386 16-bit mode support from bryan ford
Ken Raeburn [Mon, 6 Feb 1995 08:38:27 +0000 (08:38 +0000)]
i386 16-bit mode support from bryan ford

29 years agomsdos .exe file support from bryan ford
Ken Raeburn [Mon, 6 Feb 1995 08:31:27 +0000 (08:31 +0000)]
msdos .exe file support from bryan ford

29 years ago * gdbtk.c (gdb_disassemble): Deference pointer to function before
Jim Kingdon [Mon, 6 Feb 1995 04:39:14 +0000 (04:39 +0000)]
* gdbtk.c (gdb_disassemble): Deference pointer to function before
calling it (pre-ANSI compilers generally require this).

29 years ago * Makefile.in (site.exp): Set host_alias and target_alias as well
Jim Kingdon [Sun, 5 Feb 1995 01:02:40 +0000 (01:02 +0000)]
* Makefile.in (site.exp): Set host_alias and target_alias as well
as host_triplet and target_triplet.

29 years ago * config.guess (IRIX): Sed - to _.
Jim Wilson [Sat, 4 Feb 1995 20:12:40 +0000 (20:12 +0000)]
* config.guess (IRIX): Sed - to _.