Jeff Law [Fri, 5 Apr 1996 17:40:10 +0000 (17:40 +0000)]
Fix typo in last change.
Ian Lance Taylor [Fri, 5 Apr 1996 17:29:06 +0000 (17:29 +0000)]
* sysdep.h: Use #ifdef, not #if.
Ian Lance Taylor [Fri, 5 Apr 1996 17:25:03 +0000 (17:25 +0000)]
* sysdep.h: Use #ifdef,not #if.
Jackie Smith Cashion [Fri, 5 Apr 1996 17:17:06 +0000 (17:17 +0000)]
Fri Apr 5 18:11:25 1996 James G. Smith <jsmith@cygnus.co.uk>
* emulparams/elf32{b,l}4300.sh (MACHINE): Add explicit
architecture number.
* scripttempl/elf.sc: Use $MACHINE definition if present.
* configure.tgt (targ_extra_emuls): Force 4100 build to use same
template as 4300.
Jeff Law [Fri, 5 Apr 1996 17:13:28 +0000 (17:13 +0000)]
* gas/h8300/{addsub.s,bitops1.s,bitops2.s}: New h8300 tests.
* gas/h8300/{bitops3.s,bitops4.s,branches.s}: New h8300 tests.
* gas/h8300/{cbranch.s,compare.s,decimal.s}: New h8300 tests.
* gas/h8300/{divmul.s,incdec.s,logical.s}: New h8300 tests.
* gas/h8300/{misc.s,movb.s,movw.s}: New h8300 tests.
* gas/h8300/{pushpop.s,rotshift.s}: New h8300 tests.
* gas/h8300/h8300.exp: Run them.
To keep me from screwing up the assembler...
Jason Molenda [Fri, 5 Apr 1996 16:32:37 +0000 (16:32 +0000)]
* configure.in (host==solaris): Pass only the first word of $CC
to /usr/bin/which when checking if we're using /usr/ccs/bin/cc.
/usr/ucb/which on Solaris barfs out an error if $CC is set to
seomthing like "cc -xcg92" or "gcc -mv8". It is harmless, but it looks
bad.
Jason Molenda [Fri, 5 Apr 1996 11:18:57 +0000 (11:18 +0000)]
* Makefile.in (BASE_FLAGS_TO_PASS): pass down $(MAKE).
w/o this, if you use GNU make on a Solaris platform (eg), but you don't
have GNU make at the front of your path, when the make/ subdir cds down
into make/glob and does a make there, you will end up picking up the
first make that is in your path no matter what you do.
No PR, I just noticed this while I was working on something else.
Ian Lance Taylor [Fri, 5 Apr 1996 04:32:47 +0000 (04:32 +0000)]
* config.in: Rebuild.
Stan Shebs [Fri, 5 Apr 1996 04:32:27 +0000 (04:32 +0000)]
* arm-xdep.c: Move native-specific code to here from arm-tdep.c.
* arm-tdep.c (arm_apcs_32): New global.
(arm_addr_bits_remove, arm_saved_pc_after_call,
arm_push_dummy_frame, arm_pop_frame): New functions.
(arm_skip_prologue): Updated version from Richard Earnshaw.
(_initialize_arm_tdep): Add set/show "apcs32".
* config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
arm_addr_bits_remove.
(SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
(frame_find_saved_regs): Declare properly.
(PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
(POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
explicit mask.
* config/arm/nm-arm.h: New file.
* config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
Move definitions to nm-arm.h.
* config/arm/arm.mh (NAT_FILE): Define.
Stan Shebs [Fri, 5 Apr 1996 04:31:19 +0000 (04:31 +0000)]
Always keep nm-arm.h
Fred Fish [Fri, 5 Apr 1996 04:22:08 +0000 (04:22 +0000)]
* configure.in: Check for setpgid function.
* config.in: Regenerate with autoheader.
* configure: Regenerate with autoconf.
* inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
if it is actually defined.
(gdb_setpgid): Use HAVE_SETPGID.
* ch-exp.c: Change include of <string.h> to "gdb_string.h".
* c-exp.y: Ditto.
* f-exp.y: Ditto.
* m2-exp.y: Ditto.
* c-exp.y: Include <ctype.h>.
* serial.c: Ditto.
* config/m68k/nm-news.h: Add typedef for pid_t which is
apparently missing from <sys/types.h>. Enclose entire
file in NM_NEWS_H ifndef and define when included.
* config/mips/nm-news-mips.h: Ditto.
* config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
Fred Fish [Fri, 5 Apr 1996 04:14:36 +0000 (04:14 +0000)]
* configure.in (mips-sony-bsd*): Fix typo in AC_DEFINE.
(AC_CHECK_HEADERS): Check for sys/time.h
(AC_HEADER_TIME): Add macro.
* configure: Rebuild.
* sysdep.h: Use TIME_WITH_SYS_TIME and HAVE_SYS_TIME_H
to control what combination of <time> and <sys/time.h>
get included.
Stan Shebs [Fri, 5 Apr 1996 04:14:11 +0000 (04:14 +0000)]
* arm-xdep.c: Move native-specific code to here from arm-tdep.c.
* arm-tdep.c (arm_apcs_32): New global.
(arm_addr_bits_remove, arm_saved_pc_after_call,
arm_push_dummy_frame, arm_pop_frame): New functions.
(arm_skip_prologue): Updated version from Richard Earnshaw.
(_initialize_arm_tdep): Add set/show "apcs32".
* config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
arm_addr_bits_remove.
(SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
(frame_find_saved_regs): Declare properly.
(PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
(POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
explicit mask.
* config/arm/nm-arm.h: New file.
* config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
Move definitions to nm-arm.h.
* config/arm/arm.mh (NAT_FILE): Define.
PR 8941
Stan Shebs [Fri, 5 Apr 1996 03:07:54 +0000 (03:07 +0000)]
* symfile.c (generic_load): Initialize data_count properly.
Fred Fish [Fri, 5 Apr 1996 01:39:40 +0000 (01:39 +0000)]
* symmisc.c (print_objfile_statistics): Print memory used by
psymbol cache obstack.
Stan Shebs [Thu, 4 Apr 1996 23:57:02 +0000 (23:57 +0000)]
* symfile.c (report_transfer_performance): New function.
(generic_load): Call it to report transfer rate.
* remote-e7000.c (e7000_load): Ditto.
PR 9353
Michael Meissner [Thu, 4 Apr 1996 20:19:28 +0000 (20:19 +0000)]
fix long lines
Michael Meissner [Thu, 4 Apr 1996 20:03:33 +0000 (20:03 +0000)]
Doc fixes from Andrew
Michael Meissner [Thu, 4 Apr 1996 18:48:51 +0000 (18:48 +0000)]
Add dependency
David Edelsohn [Wed, 3 Apr 1996 18:59:08 +0000 (18:59 +0000)]
* config/tc-sparc.c (sparc_md_end): Set bfd machine number to
bfd_mach_sparc_sparclet if current_architecture is sparclet.
David Edelsohn [Wed, 3 Apr 1996 18:54:49 +0000 (18:54 +0000)]
* sparc-dis.c (opcodes_initialized): Move inside print_insn_sparc.
(current_arch_mask): New static global.
(compute_arch_mask): New static function.
(print_insn_sparc): Delete sparc_v9_p. New static local
current_mach. Resort opcode table if current_mach changes.
Generalize "insn not supported" test.
(compare_opcodes): Prefer supported opcodes to nonsupported ones.
Delete test for v9/!v9.
* sparc-opc.c (MASK_*): Use SPARC_OPCODE_ARCH_MASK.
(v6notlet): Define.
(brfc): Split into CBR and FBR for coprocessor/fp branches.
(brfcx): Renamed to FBRX.
(condfc): Renamed to CONDFC. Pass v6notlet to CBR (standard
coprocessor mnemonics are not supported on the sparclet).
(condf): Renamed to CONDF.
(SLCBCC2): Delete F_ALIAS flag.
David Edelsohn [Tue, 2 Apr 1996 21:28:33 +0000 (21:28 +0000)]
* aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET.
(aout_32_sunos4_write_object_contents): Likewise.
* aoutx.h (NAME(aout,machine_type)): Handle
bfd_mach_sparc_{sparclet,sparclite}.
* archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define.
(bfd_mach_sparc_v9_p): Update.
* cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite.
* libaout.h (enum machine_type): Add M_SPARCLET.
* sunos.c (MACHTYPE_OK): Define.
* bfd-in2.h: Regenerated.
Ian Lance Taylor [Tue, 2 Apr 1996 19:57:33 +0000 (19:57 +0000)]
* elf-bfd.h (struct elf_link_hash_table): Add hgot field.
* elf.c (_bfd_elf_link_hash_table_init): Initialize hgot field.
* elflink.c (_bfd_elf_create_got_section): Store the
_GLOBAL_OFFSET_TABLE_ hash table entry in the hgot field.
* elf32-sparc.c (elf32_sparc_check_relocs): If the size of the
global offset table goes over 0x1000, set the value of
_GLOBAL_OFFSET_TABLE_ to 0x1000 into the section.
(elf32_sparc_relocate_section): Subtract the offset of
_GLOBAL_OFFSET_TABLE_ when handling GOT relocations.
PR 9323.
Ian Lance Taylor [Tue, 2 Apr 1996 05:36:45 +0000 (05:36 +0000)]
* elfcode.h: Don't include <string.h>.
Stan Shebs [Tue, 2 Apr 1996 00:35:28 +0000 (00:35 +0000)]
* mpw-make.sed: Change references to config.h to be in objdir,
edit out rules to rebuild config.h.
Ian Lance Taylor [Mon, 1 Apr 1996 22:51:35 +0000 (22:51 +0000)]
* ldlang.c (lang_size_sections): Change region check to handle
regions which end at the highest possible address correctly.
From Roland Weber <roweber@ira.uka.de>.
Ian Lance Taylor [Mon, 1 Apr 1996 22:33:05 +0000 (22:33 +0000)]
* aoutx.h (aout_link_input_section_std): When reporting an
overflow error, use the name of the symbol in the hash table if
available.
(aout_link_input_section_ext): Likewise.
Ian Lance Taylor [Mon, 1 Apr 1996 22:03:07 +0000 (22:03 +0000)]
* read.c (get_line_sb): Bump line counters based on
input_line_pointer[-1], not *input_line_pointer. Don't bother to
call LISTING_NEWLINE.
(s_macro): Don't call demand_empty_rest_of_line.
* app.c (do_scrub_chars): When handling C style comments, unget
ch2 rather than ch.
Jeff Law [Mon, 1 Apr 1996 17:50:13 +0000 (17:50 +0000)]
* linker.c (_bfd_generic_link_hash_newfunc): Renamed from
generic_link_hash_newfunc. All references changed.
* genlink.h (_bfd_generic_link_hash_newfunc): Declaration
moved here from libbfd-in.h.
* libbfd-in.h: Corresponding changes.
* libbfd.h: Regenerated.
Minor changes suggested by Ian.
Ian Lance Taylor [Mon, 1 Apr 1996 17:42:59 +0000 (17:42 +0000)]
* elflink.h (elf_adjust_dynamic_symbol): If a common symbol got
defined in a regular file, set ELF_LINK_HASH_DEF_REGULAR.
Fred Fish [Mon, 1 Apr 1996 17:21:32 +0000 (17:21 +0000)]
* hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
proceeding.
Ian Lance Taylor [Mon, 1 Apr 1996 16:52:17 +0000 (16:52 +0000)]
* ldlang.c (section_already_linked): New static function.
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
relocateable link. Don't worry about section being NULL, since it
never should be. Don't call init_os unless the section is going
to be added.
(ldlang_add_file): Call section_already_linked for each section.
* ldmain.c (multiple_definition): Don't warn about multiple
definitions in sections which are being discarded.
Fred Fish [Mon, 1 Apr 1996 01:25:44 +0000 (01:25 +0000)]
* hppah-nat.c (store_inferior_registers, store_inferior_registers,
fetch_register, child_xfer_memory): Use call_ptrace function supplied
by infptrace.c rather than calling ptrace directly.
Stan Shebs [Mon, 1 Apr 1996 00:44:19 +0000 (00:44 +0000)]
* mon960-rom.c: Cleanups and elimination of unused code,
clarify documentation string.
(mon960_serial, mon960_ttyname): Remove.
* config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
David Edelsohn [Sun, 31 Mar 1996 21:32:00 +0000 (21:32 +0000)]
* sparc.h (SPARC_OPCODE_ARCH_MASK): New macro.
Steve Chamberlain [Sun, 31 Mar 1996 10:01:29 +0000 (10:01 +0000)]
* peicode.h (coff_swap_aouthdr_out): Delete test for .junk.
* coffcode.h (coff_compute_section_file_positions): Likewise.
(coff_write_object_contents): Likewise.
Steve Chamberlain [Sun, 31 Mar 1996 08:39:06 +0000 (08:39 +0000)]
* scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
* emultempl/pe.em (init): Remove special case PPC code.
Steve Chamberlain [Sun, 31 Mar 1996 08:37:51 +0000 (08:37 +0000)]
* scripttempl/{ppcpe.sc, pe.sc} (.junk): Remove and use /DISCARD/.
David Edelsohn [Sun, 31 Mar 1996 06:15:40 +0000 (06:15 +0000)]
(COMMUTEOP,SLCBCC,SLCBCC2 macros): Make uppercase.
David Edelsohn [Sun, 31 Mar 1996 05:52:03 +0000 (05:52 +0000)]
* sparc-opc.c (sparc_opcodes): rd must be 0 for
mov foo,{%y,%psr,%wim,%tbr}. Support mov foo,%asrX.
Fred Fish [Sun, 31 Mar 1996 01:04:37 +0000 (01:04 +0000)]
* configure.in: Check whether printf family supports printing
long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
* acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
* configure: Regenerate.
* valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
* c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
* configure.in: Fix have_gregset and have_fpregset autoconf
variable names so that they match the pattern required to
cache them.
Fred Fish [Sat, 30 Mar 1996 05:46:57 +0000 (05:46 +0000)]
* mmalloc.h (mmtrace): Add prototype.
Fred Fish [Sat, 30 Mar 1996 05:45:10 +0000 (05:45 +0000)]
* core-aout.c (fetch_core_registers): Cast core_reg_size to int
before testing against reg_ptr.
* eval.c (evaluate_subexp_standard): Cast type of
TYPE_FN_FIELD_VOFFSET to int.
* findvar.c (extract_signed_integer, extract_unsigned_integer,
extract_long_unsigned_integer): Cast type of sizeof to int.
* values.c (unpack_field_as_long, modify_field): Ditto.
* valops.c (value_assign, call_function_by_hand): Ditto.
* infcmd.c (do_registers_info): Ditto.
* ser-tcp.c (tcp_open): Ditto
* remote.c (putpkt): Ditto.
* dcache.c (dcache_peek): Ditto.
* dcache.c (dcache_poke): Ditto.
* m2-exp.y (yylex): Ditto.
* gnu-regex.c (re_match_2): Ditto.
* f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
out unused macro definition and variables.
* inftarg.c (proc_wait): Move from main.c to here, and make static.
* valprint.c (val_print_string): Change bufsize from int to unsigned.
* main.c (wait.h): Include
* top.c (command_line_input): Remove unused variable "c".
* f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
value TYPE_CODE_TYPEDEF to switch statement.
(f_type_print_varspec_suffix): Add missing enum value
TYPE_CODE_TYPEDEF to switch statement.
* ch-exp.c (parse_primval): Add remaining enumeration values to
switch statement, with no specific action.
(ch_lex): Add LOC_UNRESOLVED in switch statement.
(pushback_token): Ifdef out, since code using it is ifdef'd out.
* stabsread.c (cleanup_undefined_types): Remove unused label
"badtype".
* objfiles.h (print_symbol_bcache_statistics): Add prototype.
* maint.c (objfiles.h): Include.
(maintenance_print_statistics): Remove unused variable "temp".
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
unused variable "found_file_symbol".
* m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
* language.c (lang_bool_type): Use existing function local type
variable rather than create block local variables.
* solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
* infptrace.c (wait.h, command.h): Include.
* ser-tcp.c (gdb_string.h): Include
* i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
(i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
* command.c (complete_on_enum): Make assignment used as truth value
explictly check against NULL.
(wait.h): Include.
* infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
that uses it is ifdef'd out.
* parser-defs.h: Add prototype for write_dollar_variable.
* infrun.c: Add prototype for write_pc_pid.
* breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
* symmisc.c (bcache.h): Include.
* bcache.h: Add prototype for print_bcache_statistics.
* symfile.c: Include <time.h>.
* printcmd.c (print_scalar_formatted): Change len to unsigned int.
* valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
* valarith.c (value_binop): Change result_len, promoted_len1,
and promoted_len2 to unsigned int.
* valarith.c (value_subscripted_rvalue): Change elt_offs and
elt_size to unsigned int.
* valops.c (value_array): Change typelength to unsigned int.
(destructor_name_p): Change len to unsigned int.
* scm-lang.h (scm_parse): Add prototype for scm_unpack.
* symfile.c (decrement_reading_symtab): Change return type to void.
* valarith.c (value_subscript): Remove unused variable "word".
(value_subscript): Remove unused variable "tint".
* valops.c (auto_abandon): Ifdef out, since code using it is also
ifdef'd out.
* eval.c (init_array_element): Remove unused variable "val".
* Makefile.in (values.o): Depends on scm-lang.h.
(command.o): Depends upon wait_h.
(ser-tcp.o): Depends upon gdb_string.h.
(infptrace.o): Depends upon wait_h and command_h.
(maint.o): Depends on objfiles.h and symfile.h.
* values.c (allocate_repeat_value): Remove unused variable
"element_type".
(scm-lang.h): Include.
* breakpoint.c (create_longjmp_breakpoint): Enclose in
GET_LONGJMP_TARGET define, unused otherwise.
* config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
i386_remove_watchpoint and i386_stopped_by_watchpoint.
Fred Fish [Fri, 29 Mar 1996 22:07:42 +0000 (22:07 +0000)]
Regenerate with hacked Cygnus autoconf 2.8 rather than FSF autoconf 2.8,
otherwise configure fails.
Ian Lance Taylor [Fri, 29 Mar 1996 21:35:44 +0000 (21:35 +0000)]
* read.h (enum linkonce_type): Define.
(s_linkonce): Declare.
* read.c (potable): Add "linkonce".
(s_linkonce): New function.
* subsegs.h (segment_info_type): Add linkonce field to
MANY_SEGMENTS && ! BFD_ASSEMBLER section.
* config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
(obj_coff_pe_handle_link_once): Declare if TE_PE.
* config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
"coff/pe.h".
(obj_coff_pe_handle_link_once): New function, defined if TE_PE.
(c_section_symbol): If TE_PE, set the x_comdat field in the aux
entry based on the linkonce field in segment_info.
* doc/as.texinfo: Document .linkonce.
Ian Lance Taylor [Fri, 29 Mar 1996 21:34:34 +0000 (21:34 +0000)]
* objdump.c (dump_section_header): Print the SEC_LINK_ONCE flag
and the SEC_LINK_DUPLICATES field.
Ian Lance Taylor [Fri, 29 Mar 1996 21:33:59 +0000 (21:33 +0000)]
* section.c (SEC_LINK_ONCE): Define.
(SEC_LINK_DUPLICATES): Define.
(SEC_LINK_DUPLICATES_DISCARD): Define.
(SEC_LINK_DUPLICATES_ONE_ONLY): Define.
(SEC_LINK_DUPLICATES_SAME_SIZE): Define.
(SEC_LINK_DUPLICATES_SAME_CONTENTS): Define.
* bfd-in2.h: Rebuild.
* coffcode.h (sec_to_styp_flags): If COFF_WITH_PE, turn
SEC_LINK_ONCE into IMAGE_SCN_LNK_COMDAT.
(styp_to_sec_flags): If COFF_WITH_PE, turn IMAGE_SCN_LNK_REMOVE
into SEC_EXCLUDE. If IMAGE_SCN_LNK_COMDAT is set, set
SEC_LINK_ONCE, and look through the symbol table for the setting
for SEC_LINK_DUPLICATES.
(coff_write_object_contents): If COFF_WITH_PE, if SEC_LINK_ONCE is
set for a section, find the section symbol in the symbol table,
and set the aux entry based on SEC_LINK_DUPLICATES.
* coffgen.c (coff_print_symbol): Add a space before "checksum".
* coff-arm.c (armcoff_big_vec): If COFF_WITH_PE is defined, add
SEC_LINK_ONCE and SEC_LINK_DUPLICATES to section_flags.
* coff-i386.c (i386coff_vec): Likewise.
* coff-ppc.c (TARGET_LITTLE_SYM, TARGET_BIG_SYM): Likewise.
J.T. Conklin [Fri, 29 Mar 1996 19:36:44 +0000 (19:36 +0000)]
* nlmconv.1: Changed to be recognized by catman -w on Solaris.
J.T. Conklin [Fri, 29 Mar 1996 19:33:43 +0000 (19:33 +0000)]
* doc/as.1: Changed to be recognized by catman -w on Solaris.
Tom Tromey [Fri, 29 Mar 1996 19:02:30 +0000 (19:02 +0000)]
* Makefile.in (ALL_MODULES): Include all-perl.
(CROSS_CHECK_MODULES): Include check-perl.
(INSTALL_MODULES): Include install-perl.
(ALL_X11_MODULES): Include all-guile.
(CHECK_X11_MODULES): Include check-guile.
(INSTALL_X11_MODULES): Include install-guile.
(all-perl): New target.
(all-guile): New target.
* configure.in (host_tools): Include perl and guile.
(native_only): Include perl and guile.
(noconfigdirs): Don't build guile and perl; no ports have been
done.
Ian Lance Taylor [Fri, 29 Mar 1996 18:11:21 +0000 (18:11 +0000)]
* Makefile.in (config.status): Depend upon BFD VERSION file, so
that the shared library version number is set correctly.
Ian Lance Taylor [Fri, 29 Mar 1996 18:09:06 +0000 (18:09 +0000)]
* VERSION: Bump to 2.6.1.
* Makefile.in (stamp-h): Depend upon VERSION.
Michael Meissner [Fri, 29 Mar 1996 18:06:42 +0000 (18:06 +0000)]
Print WITH_STDIO if -t options
Michael Meissner [Fri, 29 Mar 1996 17:33:56 +0000 (17:33 +0000)]
Add --enable-sim-stdio to make console I/O use stdio, not printf_filtered and polling input
Jeff Law [Fri, 29 Mar 1996 07:01:22 +0000 (07:01 +0000)]
* scripttempl/h8300.sc: Make vectors section 0xc4 bytes long
so as not to overwrite the magic syscall entry at 0xc4.
* scripttempl/h8300h.sc: Likewise.
hmse.
Jeff Law [Fri, 29 Mar 1996 06:56:50 +0000 (06:56 +0000)]
opps. forgot to commit the changelog entries for the function
vector changes.
Jeff Law [Fri, 29 Mar 1996 06:56:02 +0000 (06:56 +0000)]
* libbfd-in.h (generic_link_hash_newfunc): Add declaration.
* libbfd.h: Rebuilt.
* linker.c (generic_link_hash_newfunc): No longer static.
* coffcode.h (coff_bfd_link_hash_create): Allow specific targets
to override.
* coff-h8300.c: Add two derived hash tables and their associated
funtions and #defines for use by the h8300 linker.
(h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in
the function vector as needed. Place the address of the function
vector entry in the location specified by the R_MEM_INDIRECT reloc.
Rewrite the vectors section contents as necessary.
(h8300_bfd_link_add_symbols): New function for the h8300 linker.
(coff_bfd_link_add_symbols): Define to use h8300 specific version.
(coff_bfd_link_hash_table_create): Likewise.
Linker changes for function vectors. HMSE.
Ian Lance Taylor [Thu, 28 Mar 1996 23:13:30 +0000 (23:13 +0000)]
* stabs.c (s_stab_generic): Call the listing functions before
doing the rest of the processing, which may involve freeing the
string. Pass string, not string + stroff, to OBJ_PROCESS_STAB in
SEPARATE_STAB_SECTIONS case.
Ian Lance Taylor [Thu, 28 Mar 1996 22:49:45 +0000 (22:49 +0000)]
* config/tc-hppa.c: Remove nested comment.
(tc_gen_reloc): Move label done inside the ifdef in which it is
used.
(md_apply_fix): Pass pointers to correct types to libhppa.h
functions. Always return a value.
Ian Lance Taylor [Thu, 28 Mar 1996 22:46:06 +0000 (22:46 +0000)]
* libhppa.h: If gcc 2.7 or higher, declare all the functions with
__attribute__ ((__unused__)) so that -Wall doesn't warn about
them.
(hppa_rebuild_insn): Pass pointer to correct type to
low_sign_unext and dis_assemble_21.
Michael Meissner [Thu, 28 Mar 1996 21:59:26 +0000 (21:59 +0000)]
Patch from Andrew Cagney to handle quoted option lists with embedded spaces
David Edelsohn [Thu, 28 Mar 1996 20:54:27 +0000 (20:54 +0000)]
* configure.in (sparc64-*-solaris2*): Delete.
Stick with sparc-*-solaris2*.
* configure: Regenerated.
Ian Lance Taylor [Thu, 28 Mar 1996 20:37:02 +0000 (20:37 +0000)]
* config/tc-mips.h (tc_frob_file): Define.
(mips_frob_file): Declare.
* config/tc-mips.c (struct mips_hi_fixup): Define.
(mips_hi_fixup_list): New static variable.
(imm_unmatched_hi): New static variable.
(md_assemble): Clear imm_reloc, imm_unmatched_hi, and
offset_reloc. Pass imm_unmatched_hi to append_insn.
(append_insn): Add unmatched_hi parameter. If it is set, add the
new fixup to mips_hi_fixup_list. Change all callers.
(mips_ip): Set imm_unmatched_hi when appropriate.
(mips_frob_file): New function.
David Edelsohn [Thu, 28 Mar 1996 19:49:54 +0000 (19:49 +0000)]
* configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
* configure: Regenerated.
Ian Lance Taylor [Thu, 28 Mar 1996 19:25:17 +0000 (19:25 +0000)]
* wrstabs.c (stab_enum_type): Set buf before using it.
Ian Lance Taylor [Thu, 28 Mar 1996 19:18:09 +0000 (19:18 +0000)]
revert yesterdays change
David Edelsohn [Thu, 28 Mar 1996 19:06:49 +0000 (19:06 +0000)]
* configure.tgt (sparc64-*-solaris2*): Delete.
Stick with sparc-*-solaris2*.
David Edelsohn [Thu, 28 Mar 1996 19:02:45 +0000 (19:02 +0000)]
* config.bfd (sparc64-{sysv4*,solaris2*}): Delete.
Stick with sparc-*-{sysv4*,solaris2*}.
Fred Fish [Thu, 28 Mar 1996 15:03:16 +0000 (15:03 +0000)]
* valops.c (value_assign): Make copy of internal variable value
before returning it as a new value, since it is owned by the
internal variable and will be freed along with it.
Jackie Smith Cashion [Thu, 28 Mar 1996 14:08:51 +0000 (14:08 +0000)]
Thu Mar 28 13:50:51 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c (Convert): Provide round-to-nearest and round-to-zero
support for Sun hosts.
* Makefile.in (gencode): Ensure the host compiler and libraries
used for cross-hosted build.
Allow a DOS hosted version of the simulator to be built. NOTE: The FP
is still not complete, since round-to-nearest and round-to-zero have
not been implemented generically.
David Edelsohn [Thu, 28 Mar 1996 03:34:05 +0000 (03:34 +0000)]
* coffgen.c (coff_bfd_make_debug_symbol): Improve comment.
* coffcode.h (coff_new_section_hook): Ditto.
Fred Fish [Thu, 28 Mar 1996 00:27:33 +0000 (00:27 +0000)]
Note that failures under linux for backtrace through signal handler
are not consistent among different systems, or even the same system.
Ian Lance Taylor [Wed, 27 Mar 1996 23:04:01 +0000 (23:04 +0000)]
update copyrights
Ian Lance Taylor [Wed, 27 Mar 1996 22:53:16 +0000 (22:53 +0000)]
* peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields.
(coff_swap_aux_out): Swap out extra PE x_scn fields.
* coffswap.h (coff_swap_aux_in): Zero out extra PE x_scn fields.
* coffgen.c (coff_print_symbol): If any of the extra PE x_scn
fields is non-zero, print them.
Ian Lance Taylor [Wed, 27 Mar 1996 22:39:40 +0000 (22:39 +0000)]
* arm.h (union external_auxent): Add x_checksum, x_associated, and
x_comdat fields to x_scn struct.
* i386.h (union external_auxent): Likewise.
* powerpc.h (union external_auxent): Likewise.
* internal.h (union internal_auxent): Likewise.
Ian Lance Taylor [Wed, 27 Mar 1996 22:23:18 +0000 (22:23 +0000)]
Remove SEC_LINKER_MARK, and add a linker_mark bitfield to the asection
structure instead.
Ian Lance Taylor [Wed, 27 Mar 1996 20:50:53 +0000 (20:50 +0000)]
* coff-ppc.c (ppc_record_toc_entry): Put inside COFF_IMAGE_WITH_PE
ifdef. Remove unused variables.
(ppc_record_data_in_toc_entry): Ifdef out. Removed unused
variables.
(ppc_mark_symbol_as_glue): Put inside COFF_IMAGE_WITH_PE ifdef.
(get_symbol_value): Ifdef out.
(pe_ppc_reloc): Ifdef out. Remove unused variables.
(coff_ppc_relocate_section): Remove unused variables. Make
fprintf strings and argument types correspond. Put before_addr in
DEBUG_RELOC ifdef.
(ppc_reflo_reloc): Ifdef out.
(ppc_addr32nb_reloc): Ifdef out.
(ppc_coff_rtype2howto): Make fprintf strings and argument types
correspond.
(coff_ppc_rtype_to_howto): Likewise.
(ppc_coff_swap_sym_in_hook): Remove unused variables.
Ian Lance Taylor [Wed, 27 Mar 1996 20:29:15 +0000 (20:29 +0000)]
* peicode.h (pe_print_idata): Move otherwise unused variables into
the #ifdef where they are used. Always return a value.
(pe_print_edata): Change fprintf strings and add cast to make
fprintf strings correspond to actual types. Always return a
value.
(pe_print_pdata): Removed unused variable addr_value. Always
return a value.
(pe_print_reloc): Remove unused variable onaline. Make fprintf
strings and arguments correspond. Always return a value.
Ian Lance Taylor [Wed, 27 Mar 1996 20:08:04 +0000 (20:08 +0000)]
* libhppa.h: Define HINLINE rather than INLINE. Define it to
extern inline if using gcc and to static INLINE otherwise. Change
all functions from static INLINE to HINLINE.
Ian Lance Taylor [Wed, 27 Mar 1996 19:57:34 +0000 (19:57 +0000)]
* ns32k.h: New file.
* cpu-ns32k.h: Include ns32k.h. Rename externally visible
functions to start with _bfd_.
* aout-ns32k.c: Include ns32k.h. Change references to renamed
functions in cpu-ns32k.h.
* Makefile.in: Rebuild dependencies.
(HFILES): Add ns32k.h.
Ian Lance Taylor [Wed, 27 Mar 1996 19:21:19 +0000 (19:21 +0000)]
* section.c (SEC_LINKER_MARK): Define.
* bfd-in2.h: Rebuild.
* aoutx.h (NAME(aout,final_link)): Mark sections included in the
link.
(aout_link_input_bfd): Don't link unmarked sections.
* cofflink.c (_bfd_coff_final_link): Mark sections included in the
link.
(_bfd_coff_link_input_bfd): Don't link unmarked sections.
* coff-ppc.c (ppc_bfd_coff_final_link): Mark sections included in
the link.
* elflink.h (elf_bfd_final_link): Mark sections included in the
link.
(elf_link_input_bfd): Don't link unmarked sections.
* xcofflink.c (_bfd_xcoff_bfd_final_link): Mark sections included
in the link.
(xcoff_link_input_bfd): Don't link unmarked sections.
Ian Lance Taylor [Wed, 27 Mar 1996 18:17:28 +0000 (18:17 +0000)]
* ld.h (DISCARD_SECTION_NAME): Define to "/DISCARD/".
* ldlang.c (init_os): Fail on an attempt to initialize any section
named DISCARD_SECTION_NAME.
(wild_doit): Discard input sections assigned to an output section
named DISCARD_SECTION_NAME.
* ld.texinfo: Document use of /DISCARD/.
Ian Lance Taylor [Wed, 27 Mar 1996 17:34:15 +0000 (17:34 +0000)]
* ldlang.c: Fix some indentation and comments.
Ian Lance Taylor [Wed, 27 Mar 1996 15:44:18 +0000 (15:44 +0000)]
* coffswap.h (coff_swap_scnhdr_out): Include section name in
overflow error messages.
Jeff Law [Wed, 27 Mar 1996 15:35:16 +0000 (15:35 +0000)]
* From Peter Schauer.
* breakpoint.c (breakpoint_re_set_one): Keep temporary
breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
and bp_step_resume in case breakpoint_re_set_one is called due
to a step over a dlopen call.
* infrun.c (wait_for_inferior): Always remove breakpoints from
inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
Jackie Smith Cashion [Wed, 27 Mar 1996 14:46:27 +0000 (14:46 +0000)]
Wed Mar 27 14:42:12 1996 James G. Smith <jsmith@cygnus.co.uk>
* interp.c, gencode.c: Some more (TODO) tidying.
Fred Fish [Wed, 27 Mar 1996 00:21:02 +0000 (00:21 +0000)]
* config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
non-prototyped case over prototyped case for C.
* config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
Ian Lance Taylor [Tue, 26 Mar 1996 23:20:22 +0000 (23:20 +0000)]
* as.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:16:01 +0000 (23:16 +0000)]
* ldmain.c (main): Call bfd_set_error_program_name.
Ian Lance Taylor [Tue, 26 Mar 1996 23:00:56 +0000 (23:00 +0000)]
* bfd.c (_bfd_default_error_handler): If _bfd_error_program_name
is not set, print "BFD: " before the error message.
Michael Meissner [Tue, 26 Mar 1996 21:20:54 +0000 (21:20 +0000)]
Fix typo that clobbered the stack and rewrite 2/26 change
Ian Lance Taylor [Tue, 26 Mar 1996 21:12:59 +0000 (21:12 +0000)]
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.
Ian Lance Taylor [Tue, 26 Mar 1996 20:47:22 +0000 (20:47 +0000)]
* configure.in: Use AC_CHECK_TOOL to find ar and ranlib. From
Miles Bader <miles@gnu.ai.mit.edu>.
* configure: Rebuild.
Ian Lance Taylor [Tue, 26 Mar 1996 19:12:19 +0000 (19:12 +0000)]
* mh-go32 (CFLAGS): Define.
Fred Fish [Mon, 25 Mar 1996 04:09:45 +0000 (04:09 +0000)]
Revert use of autoconf 2.9, it was causing too many regressions.
Fred Fish [Sun, 24 Mar 1996 02:59:18 +0000 (02:59 +0000)]
Tweak to match output of autoconf 2.9 with same cygnus local patch as
current autoconf 2.8.
Fred Fish [Sun, 24 Mar 1996 00:22:50 +0000 (00:22 +0000)]
* os9kread.c (os9k_process_one_symbol): Note nonportable
assumption that an int can hold a char *.
* bcache.h (struct hashlink): Wrap data[] inside union with
double to force longest alignment.
(BCACHE_DATA): New macro to access data[].
(BCACHE_ALIGNMENT): New macro to get offset to data[].
* bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
address of cached data. Use BCACHE_ALIGNMENT to compute
amount of space to allocate for each hashlink struct.
Fred Fish [Sun, 24 Mar 1996 00:19:59 +0000 (00:19 +0000)]
* configure, testsuite/configure, testsuite/gdb.base/configure,
testsuite/gdb.c++/configure, testsuite/gdb.chill/configure,
testsuite/gdb.disasm/configure, testsuite/gdb.stabs/configure:
Regenerated with autoconf 2.9.
Fred Fish [Sat, 23 Mar 1996 19:52:50 +0000 (19:52 +0000)]
* ch-lang.c (evaluate_subexp_chill): Fix typo.
Michael Meissner [Sat, 23 Mar 1996 15:02:42 +0000 (15:02 +0000)]
update from andrew