Ian Lance Taylor [Mon, 22 Jan 1996 18:00:01 +0000 (18:00 +0000)]
* symbols.c (resolve_symbol_value): If a symbol is equated to an
undefined symbol, preserve the X_op of O_symbol.
(S_GET_VALUE): Fix check to permit this case.
* write.c (write_relocs): If a reloc is against an undefined
symbol equated to another symbol, change the reloc to be against
the latter symbol.
* config/obj-coff.c (do_relocs_for): Likewise.
If the MRI assembler sees
foo EQU bar
call foo
where bar is not defined, it generates a reloc against bar rather than
against foo. Since the gas documentation does not define this case,
this change makes gas compatible.
David Edelsohn [Mon, 22 Jan 1996 17:53:34 +0000 (17:53 +0000)]
* config/tc-sparc.h (TARGET_FORMAT): Use #ifdef SPARC_ARCH64 instead of
#ifdef sparcv9 when choosing value.
(ENV64): Delete.
(md_end): Define.
(sparc_md_end): Declare.
* config/tc-sparc.c (SPARC_V9): Renamed from sparcv9.
(initial_architecture): New static local.
(can_bump_v9_p): Likewise.
(NO_V9): Delete all occurrences.
(sparc_md_end): New function.
(sparc_ip): New local v9_arg_p. Rework fp reg number test.
Don't bump architecture to v9 unless can_bump_v9_p set.
(md_parse_option): -A<arch> passed, set can_bump_v9_p accordingly.
* configure.in (sparc64 target cpu): Don't set obj_format here.
(SPARC_V9): Renamed from sparcv9.
(sparc64-*-elf*): Define SPARC_ARCH64.
* configure: Regenerated.
* acconfig.h (SPARC_V9): Renamed from sparcv9.
(SPARC_ARCH64): Add.
* config/vmsconf.h: Update.
Jackie Smith Cashion [Mon, 22 Jan 1996 17:30:23 +0000 (17:30 +0000)]
Mon Jan 22 17:24:47 1996 James G. Smith <jsmith@cygnus.co.uk>
* config/tc-mips.c (load_register): Optimise "dli" loads.
(md_show_usage): add "-mcpu=vr4100" to help text.
Provide code to check for either the hi32, or lo32 bits of a 64bit
"dli" constant being 0xffffffff. Also for bit15 of a 16bit constant
being set, so that sign-extension can be used to fill the higher order
bits if required.
Ian Lance Taylor [Mon, 22 Jan 1996 17:23:09 +0000 (17:23 +0000)]
update copyright
David Edelsohn [Mon, 22 Jan 1996 17:18:05 +0000 (17:18 +0000)]
* elf64-sparc.c (sparc64_elf_object_p): bfd_mach_sparc64 renamed to
bfd_mach_sparc_v9.
David Edelsohn [Mon, 22 Jan 1996 17:15:49 +0000 (17:15 +0000)]
* archures.c (bfd_mach_sparc_v9): Renamed from bfd_mach_sparc64.
start-sanitize-v8plus
(bfd_mach_sparc_{v8plus,v8plusa}): Define.
end-sanitize-v8plus
(bfd_mach_sparc_v9a): Define.
* bfd-in2.h: Regenerated.
* aoutx.h (aout,machine_type): bfd_mach_sparc64 renamed to
bfd_mach_sparc_v9.
* config.bfd (sparc64-*-sysv4*,sparc64-*-solaris2*): Set targ_defvec
to bfd_elf32_sparc_vec.
* cpu-sparc.c (arch_info_struct): Renamed from sparc_arch_info.
start-sanitize-v8plus
Add v8plus{,a} support.
end-sanitize-v8plus
Add v9a support.
start-sanitize-v8plus
* elf32-sparc.h: #include "elf/sparc.h".
(elf32_sparc_set_private_flags, elf32_sparc_copy_private_bfd_data,
elf32_sparc_merge_private_bfd_data, elf32_sparc_object_p,
elf32_sparc_final_write_processing): New functions.
(bfd_elf32_bfd_set_private_flags, bfd_elf32_bfd_copy_private_bfd_data,
bfd_elf32_bfd_merge_private_bfd_data, elf_backend_object_p,
elf_backend_final_write_processing): Define.
end-sanitize-v8plus
Ian Lance Taylor [Mon, 22 Jan 1996 16:53:42 +0000 (16:53 +0000)]
* config/tc-ppc.c (ppc_csect): An unnamed csect is storage class
XMC_PR.
Michael Meissner [Mon, 22 Jan 1996 16:43:35 +0000 (16:43 +0000)]
snapshot of eabi relocation support.
David Edelsohn [Mon, 22 Jan 1996 16:41:31 +0000 (16:41 +0000)]
(ARCHITECTURES_CONFLICT_P): Add ChangeLog entry for v9a addition and fix typo
in macro.
David Edelsohn [Mon, 22 Jan 1996 16:34:01 +0000 (16:34 +0000)]
* sparc-opc.c (architecture_pname): Add v9a.
The actual insns haven't been added yet.
David Edelsohn [Mon, 22 Jan 1996 16:25:54 +0000 (16:25 +0000)]
* sparc.h (enum sparc_architecture): Add v9a.
Michael Meissner [Mon, 22 Jan 1996 16:05:26 +0000 (16:05 +0000)]
Refine eabi support
Michael Meissner [Mon, 22 Jan 1996 16:02:29 +0000 (16:02 +0000)]
Add support for eabi relocations and sections
Michael Meissner [Mon, 22 Jan 1996 15:56:15 +0000 (15:56 +0000)]
Latest changes from Andrew
David Edelsohn [Sat, 20 Jan 1996 17:35:22 +0000 (17:35 +0000)]
Update copyright.
David Edelsohn [Sat, 20 Jan 1996 17:17:53 +0000 (17:17 +0000)]
Update copyright.
David Edelsohn [Sat, 20 Jan 1996 17:05:56 +0000 (17:05 +0000)]
Oops. Forgot sanitization.
David Edelsohn [Sat, 20 Jan 1996 16:53:44 +0000 (16:53 +0000)]
* elf32-sparc.c (ELF_MACHINE_ALT1): Define.
Stan Shebs [Fri, 19 Jan 1996 21:44:26 +0000 (21:44 +0000)]
SCO OpenServer 5 changes from Robert Lipe <robertl@dgii.com>:
* configure.in (i[345]86-*-sco3.2v5*): Use mh-sysv instead of
mh-sco, since old workarounds no longer needed, and don't
build ld, since libraries have weak symbols in COFF.
Ian Lance Taylor [Fri, 19 Jan 1996 19:44:00 +0000 (19:44 +0000)]
* debug.h (struct debug_write_fns): Remove ellipsis_type. Add int
and boolean parameters to function_type. Add boolean parameter to
method_type.
(debug_make_ellipsis_type): Don't declare.
(debug_make_function_type): Add debug_type * and boolean
parameters. Change all callers.
(debug_make_method_type): Add boolean parameter. Change all
callers.
(debug_get_parameter_types): Add boolean * parameter. Change all
callers.
(debug_get_target_type): Declare.
* debug.c (struct debug_function_type): Add fields arg_types and
varargs.
(struct debug_method_type): Add field varargs.
(debug_ellipsis_type, ELLIPSIS_P): Remove.
(debug_make_ellipsis_type): Remove.
(debug_make_function_type): Add arg_types and varargs parameters.
(debug_make_method_type): Add varargs parameter.
(debug_get_parameter_types): Add pvarargs parameter.
(debug_get_target_type): New function.
(debug_write_type): In case DEBUG_KIND_FUNCTION, push argument
types and pass count to function_type. In DEBUG_KIND_METHOD, use
a signed int for the count, don't call ellipsis_type, and pass
varargs to method_type.
* stabs.c (struct stab_demangle_info): Add varargs field.
(stab_demangle_argtypes): Add pvarargs parameter. Change all
callers.
(stab_demangle_args): Likewise.
(stab_demangle_type): In case 'F', pick up argument types.
* prdbg.c (pr_ellipsis_type): Remove.
(pr_function_type): Add argcount and varargs parameters.
(pr_method_type): Add varargs parameter.
* ieee.c (ieee_ellipsis_type): Remove.
(ieee_function_type): Add argcount and varargs parameters.
(ieee_method_type): Add varargs parameter. Remove most of
function body, and just call ieee_function_type.
Ian Lance Taylor [Fri, 19 Jan 1996 18:06:59 +0000 (18:06 +0000)]
* stabs.c: Include "demangle.h". Added several new static
functions not listed below to demangle argument types; they are
all called via stab_demangle_argtypes.
(finish_stab): If the kind of an undefined tag is
DEBUG_KIND_ILLEGAL, use DEBUG_KIND_STRUCT instead. Warn if there
are any pending variable.
(parse_stab): Don't close the function when the block depth goes
to zero. Pass value to debug_end_function.
(parse_stab_string): In case 'T', pass the name to
parse_stab_type.
(parse_stab_type): In case 'x', use stab_find_tagged_type. In
case '#', handle functions with variable numbers of arguments.
(parse_stab_struct_type): Add tagname parameter. Change all
callers.
(parse_stab_members): Add tagname and typenums parameters. Change
all callers. If the type of a method is a stub, call
parse_stab_argtypes to demangle the argument types and get the
physical name of the function.
(parse_stab_argtypes): New static function.
(stab_record_variable): For a DEBUG_GLOBAL or DEBUG_STATIC
variable, call debug_record_variable immediately.
(stab_find_tagged_type): New static function.
Ian Lance Taylor [Fri, 19 Jan 1996 18:03:04 +0000 (18:03 +0000)]
* debug.h (enum debug_type_kind): Add DEBUG_KIND_ILLEGAL.
(struct debug_write_fns): Add field ellipsis_type. Add id
parameter to start_struct_type, start_class_type, and tag_type.
(debug_make_ellipsis_type): Declare.
(debug_find_named_type): Declare.
(debug_get_type_kind): Declare.
(debug_get_return_type): Declare.
(debug_get_parameter_types): Declare.
(debug_get_fields): Declare.
(debug_get_field_type): Declare.
* debug.c (struct debug_handle): Add fields class_id and base_id.
(struct debug_class_type): Add field id.
(struct debug_method_variant): Rename argtypes to physname.
Change all uses.
(debug_ellipsis_type): New static variable.
(ELLIPSIS_P): New macro.
(debug_make_ellipsis_type): New function.
(debug_make_method_variant): Rename argtypes to physname.
(debug_make_static_method_variant): Likewise.
(debug_name_type): Always put types in the global namespace.
(debug_find_named_type): New function.
(debug_find_tagged_type): Treat DEBUG_KIND_ILLEGAL specially,
rather than DEBUG_KIND_VOID.
(debug_get_real_type): New static function.
(debug_get_type_kind): New function.
(debug_get_return_type): New function.
(debug_get_parameter_types): New function.
(debug_get_fields): New function.
(debug_get_field_type): New function.
(debug_write): Initialize base_id.
(debug_write_type): Pass new id argument to tag_type. Handle
DEBUG_KIND_ILLEGAL. Use id for DEBUG_KIND_STRUCT and
DEBUG_KIND_UNION. Handle ellipsis for method arguments.
(debug_write_class_type): Don't dereference kclass if it is NULL.
Use id.
* prdbg.c (pr_fns): Add pr_ellipsis_type.
(pr_ellipsis_type): New static function.
(pr_pointer_type): If this is a pointer to an array, parenthesize
it correctly.
(pr_start_struct_type): Add id parameter.
(pr_start_class_type): Likewise.
(pr_tag_type): Likewise.
(pr_fix_visibility): Add the visibility to the top of the stack,
not the second element on the stack.
(pr_struct_field): Pop the stack before calling pr_fix_visibility.
(pr_class_static_member): Likewise.
(pr_class_start_method): Don't push a type, just set the method
name in the type on the top of the stack.
(pr_class_end_method): Don't pop the stack.
(pr_class_method_variant): Rename argtypes parameter to physname.
Append const and volatile rather than prepending them. Add a
space after the physname.
(pr_class_static_method_variant): Likewise.
* ieee.c (ieee_fns): Add ieee_ellipsis_type.
(ieee_define_named_type): Use DEBUG_KIND_ILLEGAL rather than
DEBUG_KIND_VOID.
(write_ieee_debugging_info): Likewise.
(ieee_typdef): Likewise.
(ieee_ellipsis_type): New static function.
(ieee_start_struct_type): Add id parameter.
(ieee_start_class_type): Likewise.
(ieee_tag_type): Likewise.
(ieee_class_method_variant): Rename name to physname.
(ieee_class_static_method_variant): Likewise.
Fred Fish [Fri, 19 Jan 1996 15:36:24 +0000 (15:36 +0000)]
* hp300ux-nat.c (getpagesize): Remove unused function
fetch_core_registers.
(hp300ux_core_fns): Remove, is unused.
(_initialize_core_hp300ux): Remove, is unused.
(gdbcore.h): Remove #include, no longer needed.
Jeff Law [Fri, 19 Jan 1996 08:00:39 +0000 (08:00 +0000)]
* rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
ptrace bug in aix4.1.3 on the rs6000.
Fixes inferior function call problem on rs6000-ibm-aix4.
Kim Knuttila [Fri, 19 Jan 1996 00:16:31 +0000 (00:16 +0000)]
Numerous PowerPC PE fixes
Kim Knuttila [Thu, 18 Jan 1996 23:03:48 +0000 (23:03 +0000)]
Changed alignment on .pdata and .reldata
Kim Knuttila [Thu, 18 Jan 1996 22:48:53 +0000 (22:48 +0000)]
Changed section orders for alignment purposes
Ian Lance Taylor [Thu, 18 Jan 1996 22:42:41 +0000 (22:42 +0000)]
* elfcore.h: Include <signal.h> before <sys/procfs.h>.
PR 8807.
Ian Lance Taylor [Thu, 18 Jan 1996 16:33:36 +0000 (16:33 +0000)]
* demangle.h (cplus_demangle_opname): Change opname parameter to
const char *.
(cplus_mangle_opname): Change return type and opname parameter to
const char *.
Fred Fish [Wed, 17 Jan 1996 22:29:53 +0000 (22:29 +0000)]
Fix typo in comment.
J.T. Conklin [Wed, 17 Jan 1996 22:27:12 +0000 (22:27 +0000)]
* srconv.c (wr_du): Set du.stackfrmt to 0.
(wr_un, wr_sc): Emit all sections, even those with 0 size.
Stan Shebs [Wed, 17 Jan 1996 21:26:28 +0000 (21:26 +0000)]
* remote-hms.c (hms_ops): Add value for to_thread_alive.
* remote-nindy.c (nindy_ops): Ditto.
* remote-udi.c (udi_ops): Ditto.
PR 8839.
Jeff Law [Wed, 17 Jan 1996 21:16:59 +0000 (21:16 +0000)]
Remove temporary file when finished.
David Edelsohn [Wed, 17 Jan 1996 20:50:32 +0000 (20:50 +0000)]
There's some question as to whether this stuff is NDA'd in the Ultrasparc
Early Access Program agreement. Sanitize v8plus stuff out for now.
Ian Lance Taylor [Wed, 17 Jan 1996 17:48:30 +0000 (17:48 +0000)]
* cpu-powerpc.c (arch_info_struct): Change last entry to not point
back to first.
(bfd_powerpc_arch): Point at first entry in arch_info_struct.
David Edelsohn [Wed, 17 Jan 1996 17:13:25 +0000 (17:13 +0000)]
(EM_SPARC32PLUS): Define.
I have a question outstanding to Sun regarding EM_SPARC64.
David Edelsohn [Wed, 17 Jan 1996 17:10:32 +0000 (17:10 +0000)]
New file.
(Also delete arc.h ChangeLog entry, it's still sanitized).
J.T. Conklin [Wed, 17 Jan 1996 00:17:13 +0000 (00:17 +0000)]
* srconv.c (wr_hd): Space size within segment was being
stored in segment identifier field.
Jim Wilson [Tue, 16 Jan 1996 22:40:45 +0000 (22:40 +0000)]
Fix sanitize problems with new file ChangeLog-95.
Ian Lance Taylor [Tue, 16 Jan 1996 20:53:04 +0000 (20:53 +0000)]
* elf.c (assign_file_positions_for_segments): Don't increment file
offset for a segment which contains no loadable sections.
Ian Lance Taylor [Tue, 16 Jan 1996 20:51:22 +0000 (20:51 +0000)]
* ldgram.y (%union): Add phdr field.
(phdr): Use phdr_qualifiers rather than opt_hdrs and opt_at.
(phdr_qualifiers): New nonterminal. Add support for FLAGS.
(opt_hdrs, hdr): Remove.
(phdr_val): New nonterminal.
* ldlang.c (lang_new_phdr): Replace hdrs parameter with filehdr
and phdrs parameters. Add flags parameter.
(lang_record_phdrs): Update for changes to lang_phdr. Pass flags
to bfd_record_phdr.
* ldlang.h (struct lang_phdr): Replace hdrs field with filehdr and
phdrs fields. Add flags field.
(LANG_PHDR_FILEHDR, LANG_PHDR_PHDRS): Remove.
(lang_new_phdr): Update declaration.
* ld.texinfo: Document FLAGS.
Jim Wilson [Tue, 16 Jan 1996 20:18:32 +0000 (20:18 +0000)]
Remove SH3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 20:16:41 +0000 (20:16 +0000)]
Remove sh3e sanitization. Keep sh3e files.
Jim Wilson [Tue, 16 Jan 1996 20:13:27 +0000 (20:13 +0000)]
Remove SH3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 20:12:24 +0000 (20:12 +0000)]
Keep SH3e testsuite.
Stan Shebs [Tue, 16 Jan 1996 20:12:17 +0000 (20:12 +0000)]
* mpw-config.in (BUILD_NLMCONV, BUILD_SRCONV, SYSINFO_PROG,
BUILD_DLLTOOL): Put definitions for these into makefile when
configuring, instead of always clearing in mpw-make.sed.
* mpw-make.sed: Edit out any host_alias or target_alias settings,
fix pathname to BFD internal include files, remove dependency
calculation rules.
Jim Wilson [Tue, 16 Jan 1996 19:59:48 +0000 (19:59 +0000)]
Remove sh3e sanitization.
Jim Wilson [Tue, 16 Jan 1996 19:55:27 +0000 (19:55 +0000)]
Delete obsolete SH3e sanitization.
Stu Grossman [Tue, 16 Jan 1996 19:53:13 +0000 (19:53 +0000)]
* Makefile.in (CLIBS): Add LIBS to allow libraries to be
specified on the make command line (via make LIBS=xxx).
start-sanitize-gm
* configure.in (enable-gm): magic.o -> gmagic.o.
end-sanitize-gm
Jackie Smith Cashion [Tue, 16 Jan 1996 18:24:44 +0000 (18:24 +0000)]
Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
* remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
pmon_checkset, pmon_make_fastrec, pmon_check_ack,
pmon_load_fast): New functions. Support for the PMON monitor world.
(common_open): New function to merge support for different monitors.
(mips_open): Use common_open().
(mips_send_command): New function.
(mips_send_packet): Scan out-of-sequence packets.
(mips_enter_debug, mips_exit_debug): New functions.
(pmon_ops): New target definition structure.
These changes provide the initial support for the PMON (3.0.83)
monitor that appears on the Cogent (CMA101) Vr4300 development
board. The changes do not affect the IDT monitor support, other than
in the area of dealing with out-of-sequence packets.
Michael Meissner [Tue, 16 Jan 1996 16:21:17 +0000 (16:21 +0000)]
Make {add to,subtract from} minus one; Make -t alu work better
Ian Lance Taylor [Mon, 15 Jan 1996 23:14:52 +0000 (23:14 +0000)]
* binutils-all/objcopy.exp: Use the lma, not the vma, when testing
address adjustments.
Michael Meissner [Mon, 15 Jan 1996 22:50:07 +0000 (22:50 +0000)]
Add new PPC relocations
Michael Meissner [Mon, 15 Jan 1996 22:46:10 +0000 (22:46 +0000)]
Add more relocation suffixes
Ian Lance Taylor [Mon, 15 Jan 1996 22:38:22 +0000 (22:38 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation):
Don't make a shared library because of an undefined reference to
__GLOBAL_OFFSET_TABLE_.
Ian Lance Taylor [Mon, 15 Jan 1996 22:37:16 +0000 (22:37 +0000)]
* aoutx.h (howto_table_ext): Fix RELOC_BASE10 and RELOC_BASE22
entries.
Ian Lance Taylor [Mon, 15 Jan 1996 22:00:38 +0000 (22:00 +0000)]
* sunos.c (sunos_scan_ext_relocs): Don't fail assert if
info->shared.
Ian Lance Taylor [Mon, 15 Jan 1996 21:06:31 +0000 (21:06 +0000)]
update copyrights
Ian Lance Taylor [Mon, 15 Jan 1996 20:47:32 +0000 (20:47 +0000)]
* coffgen.c (coff_find_nearest_line): Don't try to cache
information in sections that are not owned by a BFD. From Richard
Henderson <richard@atheist.tamu.edu>.
Ian Lance Taylor [Mon, 15 Jan 1996 20:25:53 +0000 (20:25 +0000)]
* elf32-mips.c: Numerous changes to dynamic linking code, mostly
from Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>.
* elflink.h (elf_link_output_extsym): Remove special check for
_rld_new_interface.
Ian Lance Taylor [Mon, 15 Jan 1996 20:13:04 +0000 (20:13 +0000)]
Add some Irix 5 support, mostly from Kazumoto Kojima
<kkojima@info.kanagawa-u.ac.jp>:
* emulparams/elf32bmip.sh (SCRIPT_NAME): Change to elfmips.
(SHLIB_TEXT_START_ADDR): Define.
(OTHER_GOT_SYMBOLS): Define.
(OTHER_READWRITE_SECTIONS): Remove initialization of _gp.
(EXECUTABLE_SYMBOLS): Don't define.
(DYNAMIC_LINK): Don't define.
* emulparams/elf32lmip.sh: Same changes as elf32bmip.sh.
* scripttempl/elfmips.sc: New file.
* configure.host (mips*-dec-bsd*): Change mips to mips*.
(mips*-sgi-irix4*): Likewise.
(mips*-sgi-irix5*): New entry.
* Makefile.in (eelf32bmip.c): Depend upon elfmips.sc rather than
elf.sc.
(eelf32lmip.c): Likewise.
Ian Lance Taylor [Mon, 15 Jan 1996 20:06:43 +0000 (20:06 +0000)]
* ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5*
when doing the --static test.
* ld-shared/shared.exp: Run tests on mips*-*-irix5*.
Ian Lance Taylor [Mon, 15 Jan 1996 19:32:08 +0000 (19:32 +0000)]
* ecoffswap.h: Add prototypes for static functions.
Fred Fish [Mon, 15 Jan 1996 18:34:28 +0000 (18:34 +0000)]
* gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
[] tests with "test" and enclose string in quotes.
* gdb.stabs/configure: Rebuild
Fred Fish [Mon, 15 Jan 1996 17:35:05 +0000 (17:35 +0000)]
* gdb.stabs/configure (alpha-*-*,mips-*-*): Add missing
"test" and enclose string in quotes.
Fred Fish [Mon, 15 Jan 1996 07:04:36 +0000 (07:04 +0000)]
* Makefile.in (CONFIGURE_TARGET_MODULES): Add missing ';'.
Michael Meissner [Mon, 15 Jan 1996 02:41:58 +0000 (02:41 +0000)]
Redo unknown reloc support. Do not allow symbols in .sdata/.sbss to satify a TOC16 relocation. Begin support R_PPC_SDA{2,}REL relocation.
Michael Meissner [Mon, 15 Jan 1996 02:34:07 +0000 (02:34 +0000)]
Allow .gcc_except_table to have unfixed pointers with -mrelocatable
Michael Meissner [Sat, 13 Jan 1996 16:10:33 +0000 (16:10 +0000)]
Make elf section functions ELF specific
Michael Meissner [Sat, 13 Jan 1996 14:44:48 +0000 (14:44 +0000)]
Add .rela.got.neg section; remove .rel.* sections
Michael Meissner [Sat, 13 Jan 1996 14:40:50 +0000 (14:40 +0000)]
Warn about relocations we do not yet support
Jeff Law [Sat, 13 Jan 1996 04:43:38 +0000 (04:43 +0000)]
* symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
is set but there are no psymtabs.
Steve Chamberlain [Sat, 13 Jan 1996 00:21:55 +0000 (00:21 +0000)]
* dsrec.c (load_srec): Remove unused variable.
monitor.c (monitor_expect): Don't expect a ^C to echo.
* serial.c (serial_open): Add parallel interface.
* sh3-rom.c (parallel, parallel_in_use): New.
(sh3_load): If parallel_in_use, download though the
parallel port.
(sh3_open): Open parallel port if specified.
(sh3_close): New function.
(_inititalize_sh3): Add sh3_close hook and documentation.
* monitor.c (monitor_close): Export.
* monitor.h (monitor_close): Add prototype.
Ian Lance Taylor [Fri, 12 Jan 1996 23:43:24 +0000 (23:43 +0000)]
* scripttempl/sh.sc: Only build constructors when CONSTRUCTING.
Stan Shebs [Fri, 12 Jan 1996 23:31:13 +0000 (23:31 +0000)]
From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
* remote.c (remotetimeout): New GDB variable, use to set the
remote timeout for reading.
PR 8791.
Ian Lance Taylor [Fri, 12 Jan 1996 22:47:04 +0000 (22:47 +0000)]
* elf.c (assign_file_positions_for_segments): If a segment
contains no sections, don't mark it as readable.
Ian Lance Taylor [Fri, 12 Jan 1996 21:11:43 +0000 (21:11 +0000)]
* subsegs.c (section_symbol): Don't try to look up the section
symbol in the hash table. It should be possible to have a symbol
with the same name as a section, but no connection to it.
Ian Lance Taylor [Fri, 12 Jan 1996 20:48:14 +0000 (20:48 +0000)]
* elf-bfd.h (_bfd_elf_section_from_bfd_section): Declare.
* elfcode.h (_bfd_elf_section_from_bfd_section): Don't declare.
Ian Lance Taylor [Fri, 12 Jan 1996 20:46:22 +0000 (20:46 +0000)]
tweak last change
Michael Meissner [Fri, 12 Jan 1996 20:35:38 +0000 (20:35 +0000)]
Add support for exclude section flag and ordered section type
Michael Meissner [Fri, 12 Jan 1996 20:31:05 +0000 (20:31 +0000)]
Add PowerPC support for SHF_EXCLUDE, SHT_ORDERED
Ian Lance Taylor [Fri, 12 Jan 1996 20:26:05 +0000 (20:26 +0000)]
* configure.in: Make sure that ${CC} can be used to compile an
executable.
Ian Lance Taylor [Fri, 12 Jan 1996 20:01:17 +0000 (20:01 +0000)]
* ldmisc.c: Include <stdarg.h> rather than <varargs.h> if
ANSI_PROTOTYPES is defined. Remove special handling of
WINDOWS_NT. Various indendation fixes.
(vfinfo): Change fmt parameter to const char *.
(info_msg): Write <stdarg.h> version.
(einfo, minfo, finfo): Likewise.
(info_assert): Change file parameter to const char *.
* ldmisc.h (einfo, minfo, info_msg): If ANSI_PROTOTYPES is
defined, use a real prototype.
(info_assert): Change first parameter to be const char *.
Ian Lance Taylor [Fri, 12 Jan 1996 19:37:58 +0000 (19:37 +0000)]
Fri Jan 12 14:35:58 1996 David Mosberger-Tang <davidm@AZStarNet.com>
* alpha-opc.h (alpha_insn_set): VAX floating point opcode was
incorrectly defined as 0x16 when it should be 0x15.
(FLOAT_FORMAT_MASK): function code is 11 bits, not just 7 bits!
(alpha_insn_set): added cvtst and cvttq float ops. Also added
excb (exception barrier) which is defined in the Alpha
Architecture Handbook version 2.
* alpha-dis.c (print_insn_alpha): Fixed special-case decoding for
OPERATE_FORMAT_CODE type instructions. The bug caused mulq to be
disassembled as or, for example.
Ian Lance Taylor [Fri, 12 Jan 1996 19:13:49 +0000 (19:13 +0000)]
* elf.c (_bfd_elf_print_private_bfd_data): Dump contents of
dynamic section, if there is one.
* elf-bfd.h (struct elf_size_info): Add swap_dyn_in field.
(bfd_elf32_swap_dyn_in): Change type of second parameter to PTR.
(bfd_elf64_swap_dyn_in): Likewise.
* elfcode.h (elf_swap_dyn_in): Change type of second parameter to
PTR.
(NAME(_bfd_elf,size_info)): Initialize swap_dyn_in field.
Ian Lance Taylor [Fri, 12 Jan 1996 19:00:18 +0000 (19:00 +0000)]
* elf32-i386.c (elf_i386_size_dynamic_sections): Don't create a
DT_TEXTREL entry because of .rel.plt. From Martin Pirker
<pirker@eiunix.tuwien.ac.at>.
Michael Meissner [Fri, 12 Jan 1996 18:37:47 +0000 (18:37 +0000)]
Add support for .sdata2/.sbss2 and old 2.7.2 compiler; Make text start at 64k; make data follow on next 64k page after text
Ian Lance Taylor [Fri, 12 Jan 1996 17:10:24 +0000 (17:10 +0000)]
* read.c (cons_worker): Only call mri_comment_end from flag_mri.
From James Carlson <carlson@xylogics.com>.
Ian Lance Taylor [Fri, 12 Jan 1996 17:07:04 +0000 (17:07 +0000)]
* expr.c (operand): Skip whitespace after a close parenthesis.
From James Carlson <carlson@xylogics.com>.
Fred Fish [Fri, 12 Jan 1996 16:01:29 +0000 (16:01 +0000)]
* lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
to get "struct core_fns" defined.
* Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
Are dependant upon gdbcore_h.
Per Bothner [Fri, 12 Jan 1996 07:16:20 +0000 (07:16 +0000)]
* symfile.c (decrement_reading_symtab): New function.
* symfile.c, symtab.h (currently_reading_symtab): New variable.
* symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
* gdbtypes.c (check_typedef): Don't call lookup_symbol if
currently_reading_symtab (since that could infinitely recurse).
This fixes PR chill/8793.
Per Bothner [Fri, 12 Jan 1996 07:12:42 +0000 (07:12 +0000)]
* stabsread.c (read_struct_type): Trivial simplification.
* valops.c (call_function_by_hand): Use invisible references
for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
Ian Lance Taylor [Fri, 12 Jan 1996 04:29:59 +0000 (04:29 +0000)]
* xcofflink.c (xcoff_link_add_symbols): Create the special
sections if we see a DYNAMIC object, in case that is the only
XCOFF input object we see.
PR 8788.
Per Bothner [Fri, 12 Jan 1996 01:37:28 +0000 (01:37 +0000)]
* Makefile.in (PROGS): Removed.
(clean mostlyclean): Remove *.exe rather than ${PROGS}.
Per Bothner [Fri, 12 Jan 1996 01:35:30 +0000 (01:35 +0000)]
* pr-8742.ch, pr-8742.exp: New test case.
Per Bothner [Fri, 12 Jan 1996 01:31:37 +0000 (01:31 +0000)]
* stabsread.c (define-symbol): Use invisible references
for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
* eval.c (evaluate_subexp_standard): When known, use the formal
parameter type as the expected type when evaluating arg expressions.
* ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
This (with a fix to gcc/config/sparc/sparc.h) fixes PR chill/8742.
Michael Meissner [Thu, 11 Jan 1996 22:50:52 +0000 (22:50 +0000)]
update copyright
Michael Meissner [Thu, 11 Jan 1996 22:47:04 +0000 (22:47 +0000)]
Add support for SHT_ORDERED and SHF_EXCLUDE
Ian Lance Taylor [Thu, 11 Jan 1996 21:42:22 +0000 (21:42 +0000)]
fix crinfo swapping
Michael Meissner [Thu, 11 Jan 1996 21:41:01 +0000 (21:41 +0000)]
Add new V.4 flags