Ian Lance Taylor [Sat, 5 Feb 1994 05:29:42 +0000 (05:29 +0000)]
Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
* subsegs.h (struct frchain): If BFD_ASSEMBLER, added new fields
fix_root and fix_tail.
(segment_info_type): If BFD_ASSEMBLER, don't define fix_tail
field.
* write.c (fix_new_internal): If BFD_ASSEMBLER, set fix_rootP and
fix_tailP based on frchain_now, not seg_info (now_seg).
(chain_frchains_together_1): Chain the subsegment relocs together.
* subsegs.c (subseg_change): Don't clear fix_tail field.
(subseg_get): Likewise.
* literal.c (add_to_literal_pool): Look through the relocs via
frchain_now, not seginfo.
* write.c (write_object_file): Simplified usage of obj_frob_symbol
and tc_frob_symbol. Always call both if the symbol is going to be
output.
* write.c (relax_segment): Use %ld rather than %d when printing
fragP->fr_var, and cast it to long.
Ian Lance Taylor [Sat, 5 Feb 1994 05:13:59 +0000 (05:13 +0000)]
* reloc.c (bfd_perform_relocation): Work around one gross hack
with another: actually look at the target name to avoid the broken
COFF check.
(bfd_reloc_code_real_type): Add BFD_RELOC_PPC_B26,
BFD_RELOC_PPC_BA26 and BFD_RELOC_PPC_TOC16.
* bfd-in2.h: Rebuilt.
Ian Lance Taylor [Sat, 5 Feb 1994 05:11:46 +0000 (05:11 +0000)]
* coffcode.h (combined_entry_type): Changed fix_tag and fix_end
fields to bitfields. Added fields fix_value and fix_scnlen.
(sec_to_styp_flags): If STYP_DEBUG is defined, use it rather than
STYP_INFO for the type of a section named .debug.
(coff_add_missing_symbols): Don't define if RS6000COFF_C.
(coff_write_object_contents): If RS6000COFF_C, don't call
coff_add_missing_symbols.
(coff_slurp_symbol_table): If RS6000COFF_C, then if the last aux
entry has type STY_LD change the x_scnlen into a pointer to a
symbol and set fix_scnlen. Also, for a C_BSTAT symbol, change the
value into a pointer to a symbol and set fix_value.
* libcoff.h: Rebuilt.
* coffgen.c (coff_mangle_symbols): Reindent. If fix_value is set,
get the symbol offset. Likewise for fix_scnlen.
(string_size): Change type to bfd_size_type.
(debug_string_size, debug_string_section): New static variables.
(coff_fix_symbol_name): If bfd_coff_symname_in_debug returns true,
write the symbol name into the .debug section; assume that the
section has already been created with the right size.
(coff_write_symbols): Initialize debug_string_size to 0. If
bfd_coff_symname_in_debug returns true, don't put symbol name in
usual string table. After writing out all symbols, if
debug_string_size is not 0, check that it matches the size of the
.debug section.
(coff_get_normalized_symtab): Clear new fix_value and fix_scnlen
fields. If the string offset is 0, always use an empty string as
the name.
(coff_make_empty_symbol): Zero out the symbol structure.
Ian Lance Taylor [Sat, 5 Feb 1994 04:46:34 +0000 (04:46 +0000)]
* ppc-opc.c (powerpc_operands): New operand type MBE to handle a
single number giving a bitmask for the MB and ME fields of an M
form instruction. Change NB to accept 32, and turn it into 0;
also turn 0 into 32 when disassembling. Seperated SH from NB.
(insert_mbe, extract_mbe): New functions.
(insert_nb, extract_nb): New functions.
(SC_MASK): Mask out SA and LK bits.
(powerpc_opcodes): Change "cal" to use RT, D, RA rather than RT,
RA, SI. Change "liu" and "cau" to use UI rather than SI. Mark
"bctr" and "bctrl" as accepted by POWER. Change "rlwimi",
"rlimi", "rlwimi.", "rlimi.", "rlwinm", "rlinm", "rlwinm.",
"rlinm.", "rlmi", "rlmi.", "rlwnm", "rlnm", "rlwnm.", "rlnm." to
use MBE rather than MB. Add "mfmq" and "mtmq" POWER instructions.
(powerpc_macros): Define table of macro definitions.
(powerpc_num_macros): Define.
Ian Lance Taylor [Sat, 5 Feb 1994 04:45:24 +0000 (04:45 +0000)]
* ppc-dis.c (print_insn_powerpc): Don't skip optional operands
if PPC_OPERAND_NEXT is set.
Ian Lance Taylor [Sat, 5 Feb 1994 04:38:05 +0000 (04:38 +0000)]
* ppc.h (PPC_OPERAND_NEXT): Define.
(PPC_OPERAND_NEGATIVE): Change value to make room for above.
(struct powerpc_macro): Define.
(powerpc_macros, powerpc_num_macros): Declare.
David MacKenzie [Sat, 5 Feb 1994 03:02:32 +0000 (03:02 +0000)]
Eliminate arg from bfd_xmalloc_by_size_t macro, allowing
undoing of obstack parts of last change.
David MacKenzie [Sat, 5 Feb 1994 02:46:12 +0000 (02:46 +0000)]
* libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.
(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted.
* libbfd-in.h: Define them as macros calling xmalloc and declare
xmalloc.
* libbfd.h: Rebuilt.
* ecofflink.c hash.c ieee.c opncls.c (obstack_chunk_alloc): Define
to be xmalloc, not bfd_xmalloc_by_size_t.
David MacKenzie [Sat, 5 Feb 1994 01:14:56 +0000 (01:14 +0000)]
* ldmisc.c (ldmalloc, xmalloc, ldrealloc, xrealloc): Functions
deleted; will use libiberty versions instead.
* ldctor.c ldfile.c ldlang.c ldmain.c ldmisc.c ldmisc.h lexsup.c
mri.c Makefile.in: Change callers.
* ldmisc.c (vfinfo): Remove cleanup code.
* ldmain.c (remove_output): Put it here (new function).
(preserve_output): New function.
(main): Register remove_output and preserve_output with atexit.
* ldmain.c ldgram.y: Call xexit instead of exit.
* ldmisc.h: Declare xexit.
Steve Chamberlain [Sat, 5 Feb 1994 01:07:48 +0000 (01:07 +0000)]
REGISTER_TYPE is obsolete.
Steve Chamberlain [Sat, 5 Feb 1994 01:06:21 +0000 (01:06 +0000)]
(hms_fetch_register): Take out REGISTER_TYPE.
Steve Chamberlain [Sat, 5 Feb 1994 00:39:09 +0000 (00:39 +0000)]
Fix REGISTER_TYPE and order of register names.
Steve Chamberlain [Sat, 5 Feb 1994 00:38:29 +0000 (00:38 +0000)]
Fix REGISTER_TYPE.
Steve Chamberlain [Sat, 5 Feb 1994 00:36:32 +0000 (00:36 +0000)]
Get REGISTER_TYPE right.
Steve Chamberlain [Sat, 5 Feb 1994 00:22:08 +0000 (00:22 +0000)]
Fri Feb 4 15:53:18 1994 Steve Chamberlain (sac@cygnus.com)
* h8500-tdep.c (saved_pc_after_call): The size of the
pc is memory model dependent. (segmented_command,
unsegmented_command, _initialize_h8500_tdep): New commands to
change memory model.
* remote-7000.c (initialize_remote_e7000): Change name of snoop
command.
* remote-hms.c (hms_load): Remove breakpoints when loaded.
(hms_wait): Use new status structure
(hms_open): Push the target here. (hms_before_main_loop): Not
here. (supply_val, hms_fetch_register, hms_store_register): Cope
with H8/500 names too.
* sh-tdep.c (show_regs, initialize_sh_tdep): New command to print
all registers in a compact way.
Steve Chamberlain [Fri, 4 Feb 1994 23:19:33 +0000 (23:19 +0000)]
* Makefile.in: Lots of new H8/500 memory models.
Steve Chamberlain [Fri, 4 Feb 1994 23:18:19 +0000 (23:18 +0000)]
New memory model.
Steve Chamberlain [Fri, 4 Feb 1994 23:08:00 +0000 (23:08 +0000)]
More sicko segmentation support.
Steve Chamberlain [Fri, 4 Feb 1994 22:57:26 +0000 (22:57 +0000)]
Support for various sicko segmented memory models.
Ken Raeburn [Fri, 4 Feb 1994 22:19:31 +0000 (22:19 +0000)]
* lib/gas-defs.exp (regexp_diff): New procedure, vaguely based on
"simple_diff" from linker test suite.
* gas/sun4/addend.exp: Use it.
* gas/sun4/addend.d: New file.
David MacKenzie [Fri, 4 Feb 1994 18:47:33 +0000 (18:47 +0000)]
* objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we
can do arithmetic on it.
Jim Kingdon [Fri, 4 Feb 1994 18:45:39 +0000 (18:45 +0000)]
* gdb.t24/demangle.exp: Remove a bunch more tests which differ
only in the names (I probably got most of them). I was even
generous with some which differed in underscores in names, and
probably missed a few, and I *still* was able to remove almost a
third of the file with almost no impact on testsuite coverage.
Jim Kingdon [Fri, 4 Feb 1994 15:55:04 +0000 (15:55 +0000)]
* config/rs6000/tm-rs6000.h: Declare rs6000_struct_return_address
as CORE_ADDR to match definition in rs6000-tdep.c.
Jim Kingdon [Fri, 4 Feb 1994 14:40:56 +0000 (14:40 +0000)]
* gdb.texinfo (Continuing and Stepping): When talking about "step"
versus functions without line numbers, also mention stepping into
them as well as "step" when you are in them. Tell the user how to
deal with the situation. Add comment about "debugging information".
Peter Schauer [Fri, 4 Feb 1994 09:19:35 +0000 (09:19 +0000)]
* dwarfread.c (process_dies): Skip nested TAG_compile_unit DIEs.
* dwarfread.c (add_partial_symbol): Do not enter opaque aggregate
definitions into the psymtab.
Ian Lance Taylor [Fri, 4 Feb 1994 04:18:28 +0000 (04:18 +0000)]
* ecofflink.c (bfd_ecoff_debug_externals): If a small undefined
symbol has a value in the ECOFF symbol but not in the BFD symbol,
keep the value in the ECOFF symbol. This helps gas.
Ian Lance Taylor [Fri, 4 Feb 1994 04:14:24 +0000 (04:14 +0000)]
* ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, not
ecoff_undefined.
(ecoff_frob_symbol): Don't check ecoff_undefined.
(ecoff_build_symbols): Get size of an undefined symbol from
sym->ecoff_extern_size, not S_GET_VALUE (sym).
Ian Lance Taylor [Fri, 4 Feb 1994 03:17:30 +0000 (03:17 +0000)]
Revert last change.
Ian Lance Taylor [Fri, 4 Feb 1994 02:32:54 +0000 (02:32 +0000)]
* config/tc-mips.c (md_apply_fix): If this is an undefined symbol,
subtract the value from fx_addnumber to since
bfd_perform_relocation is going to add it in.
Jim Kingdon [Fri, 4 Feb 1994 02:25:33 +0000 (02:25 +0000)]
* gdb.t00/default.exp: Match udi_attach error message as well as
the one from child_attach.
* gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
Jim Kingdon [Fri, 4 Feb 1994 02:22:53 +0000 (02:22 +0000)]
* remote-udi.c (udi_attach): If no arguments, print error.
Fred Fish [Fri, 4 Feb 1994 01:37:20 +0000 (01:37 +0000)]
* Makefile.in (VERSION): Bump to 4.12.1
* NEWS, README: Update to match 4.12 release.
Ian Lance Taylor [Thu, 3 Feb 1994 23:01:49 +0000 (23:01 +0000)]
* linker.c (_bfd_generic_link_output_symbols,
_bfd_generic_link_write_global_symbol): Don't require that all
references to a common symbol be themselves common symbols.
David MacKenzie [Thu, 3 Feb 1994 22:21:28 +0000 (22:21 +0000)]
* objdump.c (dump_section_stabs, read_section_stabs,
print_section_stabs): Functions broken out of dump_stabs_1.
Free the stabs and strings when done with them.
Ian Lance Taylor [Thu, 3 Feb 1994 21:52:06 +0000 (21:52 +0000)]
* aoutx.h (aout_reloc_index_to_section): Handle N_UNDF.
Jim Kingdon [Thu, 3 Feb 1994 19:39:47 +0000 (19:39 +0000)]
* command.c (empty_sfunc): New function.
(add_set_cmd): Use it instead of not_just_help_class_command.
(not_just_help_class_command): Change calling convention back to
what it was before yesterday's change.
Jim Kingdon [Thu, 3 Feb 1994 19:28:30 +0000 (19:28 +0000)]
* stabsread.c (read_sun_builtin_type): Skip the semicolon at the end
of the type if present.
Jim Kingdon [Thu, 3 Feb 1994 17:25:43 +0000 (17:25 +0000)]
* Move test with enums and partial symbols back to
gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
Reverts the change of 26 May 93. Per today's change to
stabs.texinfo, the behavior that weird.exp was expecting was
unreasonable; what is important is that the compiler+gdb get
things right, which happens with a recent gcc. Also fix the test
to deal with native compilers which put out the stab gdb can't
deal with.
Jim Kingdon [Thu, 3 Feb 1994 16:44:13 +0000 (16:44 +0000)]
* stabs.texinfo (Enumerations): Document restriction on where
enumeration types can appear and still win with GDB.
David MacKenzie [Thu, 3 Feb 1994 13:08:29 +0000 (13:08 +0000)]
More changes to print ambiguous matches and use the
abstracting macros.
Roland Pesch [Thu, 3 Feb 1994 04:38:58 +0000 (04:38 +0000)]
Formatting adjustments, for better smallbook formatting
and to agree better w/FSF (RMS) indentation conventions.
Roland Pesch [Thu, 3 Feb 1994 04:18:11 +0000 (04:18 +0000)]
Describe -retain-symbols-file.
Jim Kingdon [Thu, 3 Feb 1994 04:03:11 +0000 (04:03 +0000)]
* bfd-in2.h: Rebuilt.
Jim Kingdon [Thu, 3 Feb 1994 03:58:26 +0000 (03:58 +0000)]
* valarith.c (value_binop): Figure out type ourself based on
sizeof (LONGEST) rather than relying on BUILTIN_TYPE_LONGEST. The
point is that we don't depend on CC_HAS_LONG_LONG anymore.
Jim Kingdon [Thu, 3 Feb 1994 03:44:15 +0000 (03:44 +0000)]
* language.h, c-lang.c, ch-lang.c, m2-lang.c, language.c: Remove
longest_int and longest_unsigned_int.
Jim Kingdon [Thu, 3 Feb 1994 03:33:20 +0000 (03:33 +0000)]
* bfd-in2.h: Rebuilt.
Jim Kingdon [Thu, 3 Feb 1994 03:31:22 +0000 (03:31 +0000)]
* libbfd.c, bfd-in.h, hosts/alphaosf.h, hosts/sparc-ll.h, aoutf1.h,
sparclynx.c, Makefile.in: Change HOST_64_BIT to BFD_HOST_64_BIT.
Jim Kingdon [Thu, 3 Feb 1994 03:18:58 +0000 (03:18 +0000)]
* printcmd.c (decode_format): Don't blithely set the size for
an address to 'w'. Make it 'g' or 'h', depending on TARGET_PTR_BIT.
* defs.h: Just typedef CORE_ADDR to bfd_vma. Include bfd.h.
If BFD64, make a LONGEST a BFD_HOST_64_BIT.
* defs.h (longest_to_int): Don't depend on CC_HAS_LONG_LONG; instead
always just check against INT_MIN and INT_MAX (this also fixes things
if sizeof (long) > sizeof (int), e.g. Alpha).
* config/pa/tm-hppa.h, config/i386/sun386.h, config/rs6000/tm-rs6000.h:
Don't define LONGEST or BUILTIN_TYPE_LONGEST.
* gdbtypes.h: Remove BUILTIN_TYPE_LONGEST and
BUILTIN_TYPE_UNSIGNED_LONGEST.
* language.h, c-lang.c, ch-lang.c, m2-lang.c: Remove longest_int
and longest_unsigned_int.
* value.h (struct value): Just align to LONGEST, rather than worrying
about CC_HAS_LONG_LONG.
* valarith.c (value_binop, _initialize_valarith): Figure out type
ourself based on sizeof (LONGEST) rather than relying on
BUILTIN_TYPE_LONGEST. The point is that we don't depend on
CC_HAS_LONG_LONG anymore.
* valprint.c (val_print_type_code_int): Just call
extract_unsigned_integer directly, rather than going through
unpack_long.
* printcmd.c (decode_format): Remove code which would sometimes
change 'g' size to 'w' for integers. print_scalar_formatted handles
printing huge integers well enough, thank you.
Roland Pesch [Thu, 3 Feb 1994 03:12:38 +0000 (03:12 +0000)]
misc updates:
(1) show `-y SYMBOL' with space
(2) weaken multi-target stuff, to avoid false expectations now that
linker now often config'd with only one target
(3) describe -relax support on i960
(4) correct description of hyphen chars in symbols
(5) describe CONSTRUCTORS linker script cmd
David MacKenzie [Thu, 3 Feb 1994 01:39:10 +0000 (01:39 +0000)]
* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
* ar.c (print_contents, extract_file), size.c
(print_berkeley_format): Use bfd_get_filename and
bfd_my_archive instead of dereferencing the structs directly.
David MacKenzie [Thu, 3 Feb 1994 00:42:37 +0000 (00:42 +0000)]
* ar.c: Use bfd_fatal and bfd_nonfatal instead of bfd_perror and exit.
Indent. Remove DEFUNs.
David MacKenzie [Thu, 3 Feb 1994 00:25:30 +0000 (00:25 +0000)]
* nlmconv.c (main), objcopy.c (copy_file): Print matching formats
if ambiguous match.
* nm.c (display_file), size.c (display_bfd): Eliminate gotos.
Print matching formats if there is an ambiguous match. Use
bfd_nonfatal instead of hardcoded error message if nothing matches.
* arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of
abfd->filename.
* nm.c (display_archive): New function, from code in display_file.
(display_rel_file): Renamed from do_one_rel_file.
* size.c: Indent.
(display_archive): New function from code in display_file.
(display_file): Check bfd_close error return.
* strings.c (strings_object_file): Check bfd_check_format
error return.
* strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror.
* bucomm.c: Delete references to exit_handler. It wasn't set
anywhere, and now that we're using the libiberty xmalloc, it
wouldn't always get called before exiting.
(list_matching_formats): Function moved from objdump.c.
* bucomm.h: Declare it.
* objdump.c (disassemble_data): Move some variable decls closer to
their use. Add some comments. Replace a nested block with a
return.
Jeff Law [Wed, 2 Feb 1994 21:58:54 +0000 (21:58 +0000)]
* Makefile.in: Avoid bug in losing hpux sed.
Jim Kingdon [Wed, 2 Feb 1994 20:20:59 +0000 (20:20 +0000)]
* command.c (add_set_cmd, no_just_help_class_command): Change
to make this the sfunc, not cfunc, since that is how we call it.
* command.h: Comment difference between sfunc and cfunc.
* demangle.c (set_demangling_command): Add third arg since that
is how it is called.
(_initialize_demangler): Use sfunc, not cfunc, for
set_demangling_command, since that is how it is called.
Remove show_demangling_command; it has no effect.
Jim Kingdon [Wed, 2 Feb 1994 19:58:31 +0000 (19:58 +0000)]
* command.c (shell_escape): Report errors correctly (with error
message from strerror).
Jim Kingdon [Wed, 2 Feb 1994 19:56:10 +0000 (19:56 +0000)]
* Makefile.in, test-build.mk: Remove MUNCH_NM; it was only needed
for GDB and GDB has been fixed to not need it.
Ian Lance Taylor [Wed, 2 Feb 1994 19:37:52 +0000 (19:37 +0000)]
* xcoffread.c (read_xcoff_symtab): Change CSECT_LEN to use
x_scnlen.l rather than x_scnlen to match corresponding change in
coff/internal.h.
Ian Lance Taylor [Wed, 2 Feb 1994 19:35:14 +0000 (19:35 +0000)]
* coffswap.h (coff_swap_reloc_out): If RS6000COFF_C, handle type
and size correctly.
(coff_swap_aux_in): If RS6000COFF_C, change x_csect.x_scnlen to
x_csect.x_scnlen.l to match change in coff/internal.h.
(coff_swap_aux_out): Likewise.
Ian Lance Taylor [Wed, 2 Feb 1994 19:33:19 +0000 (19:33 +0000)]
* internal.h (union internal_auxent): Change x_csect.x_scnlen into
a union of a long and a pointer to a symbol. XCOFF sometimes uses
this field as a symbol index.
Jim Kingdon [Wed, 2 Feb 1994 19:21:25 +0000 (19:21 +0000)]
* common.h: Add comments regarding value of EM_HPPA and how to
pick an unofficial value.
Ian Lance Taylor [Wed, 2 Feb 1994 17:40:46 +0000 (17:40 +0000)]
* coff-mips.c (mips_ecoff_backend_data), coff-alpha.c
(alpha_ecoff_backend_data): Change casts of aux_in and aux_out
fields to match yesterday's changes.
Ian Lance Taylor [Wed, 2 Feb 1994 17:36:17 +0000 (17:36 +0000)]
* coffcode.h (coff_write_relocs): If SELECT_RELOC is defined, pass
in the internal_reloc itself, not the type.
* coff-apollo.c, coff-h8300.c, coff-h8500.c, coff-i386.c,
coff-m68k.c, coff-sh.c, coff-we32k.c, coff-z8k.c: Changed
definition of SELECT_RELOC accordingly.
Jim Kingdon [Wed, 2 Feb 1994 17:20:45 +0000 (17:20 +0000)]
* gdbtypes.h, ch-typeprint.c, ch-valprint.c:
Change comments regarding TYPE_CODE_BOOL.
* language.c (boolean_type): Always return 1 for TYPE_CODE_BOOL,
regardless of the language.
(value_true): Just call value_logical_not regardless of language.
* coffread.c (coff_read_enum_type), stabsread.c (read_enum_type):
Remove #if 0'd code which makes some enums TYPE_CODE_BOOL.
* language.h: Improve comment for la_builtin_type_vector.
* m2-lang.c (_initialize_m2_language): Don't add any fields to
builtin_type_m2_bool.
Ian Lance Taylor [Wed, 2 Feb 1994 17:06:24 +0000 (17:06 +0000)]
* config/tc-mips.c (file_mips_isa): New static variable.
(md_begin): Set it.
(s_mipsset): Add support for .set mipN to set the ISA level.
Ian Lance Taylor [Wed, 2 Feb 1994 16:43:00 +0000 (16:43 +0000)]
* gasp.c (kinfo): Fully bracket initializer.
Jim Kingdon [Wed, 2 Feb 1994 16:33:09 +0000 (16:33 +0000)]
* stabs.texinfo (Negative Type Numbers): Document format for type
-16.
Roland Pesch [Wed, 2 Feb 1994 03:44:39 +0000 (03:44 +0000)]
Stop claiming MIPS li.d and li.s insns are not supported, now that they are.
Roland Pesch [Wed, 2 Feb 1994 03:32:31 +0000 (03:32 +0000)]
Three scattered fixes (nearly lost!) from early suggestions by Jeff Law.
Roland Pesch [Wed, 2 Feb 1994 02:27:55 +0000 (02:27 +0000)]
Describe AT option of SECTIONS command, at long last.
Roland Pesch [Wed, 2 Feb 1994 01:43:26 +0000 (01:43 +0000)]
Better organization, indexing, for MIPS-dep section.
Ken Raeburn [Wed, 2 Feb 1994 00:40:29 +0000 (00:40 +0000)]
gasp.c, atof-ieee.c, ho-i386aix.h changes
Ken Raeburn [Wed, 2 Feb 1994 00:35:37 +0000 (00:35 +0000)]
* gasp.c (malloc): Don't declare, since host.h or system header files may
declare it differently.
(Actually, the only use is in xmalloc; if xmalloc didn't also zero out the
region of memory, I'd delete the function altogether and use the libiberty
version...)
Ken Raeburn [Wed, 2 Feb 1994 00:32:10 +0000 (00:32 +0000)]
* config/ho-i386aix.h: Include sys/types.h and stdlib.h, not ho-sysv.h. Based
loosely on a patch from Minh Tran-Le.
Roland Pesch [Wed, 2 Feb 1994 00:01:44 +0000 (00:01 +0000)]
(1) use new flag SMALL to control whether or not insn tables appear
where avail (see comments in src)
(2) minor proofreading improvements to HPPA sec, and page break
improvement (for Cygnus format) to M68K sec
Ian Lance Taylor [Tue, 1 Feb 1994 23:10:05 +0000 (23:10 +0000)]
* config/tc-mips.c (mips_ip): Make an unsupported instruction a
warning, not an error.
Jim Kingdon [Tue, 1 Feb 1994 22:17:29 +0000 (22:17 +0000)]
* config/m88k/{tm-delta88.h,tm-delta88v4.h}, m88k-tdep.c:
Define IN_SIGTRAMP and backtrace correctly through signal handlers.
Jim Kingdon [Tue, 1 Feb 1994 21:46:17 +0000 (21:46 +0000)]
Tue Feb 1 22:13:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* procfs.c (wait_fd): Handle EINTR error return from PIOCWSTOP ioctl
by restarting the ioctl.
Jim Kingdon [Tue, 1 Feb 1994 21:19:48 +0000 (21:19 +0000)]
* target.h (target_wait): Add comment about calling
return_to_top_level.
Steve Chamberlain [Tue, 1 Feb 1994 18:58:32 +0000 (18:58 +0000)]
* gasp.c: Include host.h.
Ian Lance Taylor [Tue, 1 Feb 1994 17:26:01 +0000 (17:26 +0000)]
* coffread.c (read_one_sym): bfd_coff_swap_aux_in now takes
additional arguments.
* xcoffread.c (read_xcoff_symtab, read_symbol_lineno): Likewise.
Ian Lance Taylor [Tue, 1 Feb 1994 17:19:54 +0000 (17:19 +0000)]
obj-coff, obj-coffbfd changes.
Ian Lance Taylor [Tue, 1 Feb 1994 17:18:42 +0000 (17:18 +0000)]
* config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
now takes more arguments.
Ian Lance Taylor [Tue, 1 Feb 1994 17:17:52 +0000 (17:17 +0000)]
* config/obj-coff.c (dot_text_symbol, dot_data_symbol,
dot_bss_symbol): Don't define if BFD_ASSEMBLER.
(obj_symbol_to_chars): bfd_coff_swap_aux_out now takes more
arguments.
(coff_line_base): Renamed from line_base. Changed all uses.
(coff_add_linesym): Renamed from add_line_sym. Made non-static.
Changed all uses.
* config/obj-coff.h: If TC_PPC, include coff/rs6000.h.
(S_SET_STORAGE_CLASS, S_GET_STORAGE_CLASS): Declare if
BFD_ASSEMBLER.
(coff_line_base): Declare.
(coff_add_linesym): Declare if BFD_ASSEMBLER.
Ian Lance Taylor [Tue, 1 Feb 1994 17:11:56 +0000 (17:11 +0000)]
* coffcode.h (bfd_coff_backend_data): Added new arguments to
_bfd_coff_swap_aux_in and _bfd_coff_swap_aux_out: aux index number
and number of aux entries.
(bfd_coff_swap_aux_in, bfd_coff_swap_aux_out): Changed
accordingly.
* libcoff.h: Rebuilt.
* coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Accept new
arguments. If RS6000COFF_C, only treat C_EXT and C_HIDEXT
specially if this is the last aux entry.
* coffgen.c (coff_write_symbol, coff_get_normalized_symtab): Pass
new arguments to swap_aux functions.
Roland Pesch [Tue, 1 Feb 1994 05:27:07 +0000 (05:27 +0000)]
Revisions from Jeff Law to HPPA-directives section.
This version formats cleanly under makeinfo, and in Cygnus format.
Default FSF format works without error, but tables of machine
instructions for some machines have stupid page boundaries (FSF
version uses larger page size).
Roland Pesch [Tue, 1 Feb 1994 04:36:50 +0000 (04:36 +0000)]
(1) eliminate GPL and refs thereto, as authorized by RMS
(2) enable MIPS-specific docn (cf PR 4434)
Stan Shebs [Tue, 1 Feb 1994 03:48:54 +0000 (03:48 +0000)]
Keep or lose MPW subdir
Roland Pesch [Tue, 1 Feb 1994 03:48:35 +0000 (03:48 +0000)]
(1) summary descriptions of HPPA-specific directives
(2) leading comments for future updates, about places to check for new
directives
(3) doc for new portable ".string" directive
(4) minor updates to dates etc.
Stan Shebs [Tue, 1 Feb 1994 03:23:19 +0000 (03:23 +0000)]
Mon Jan 31 18:52:47 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-build.in: Add install action.
* mpw-make.in (cplusfilt): Renamed from c++filt.
(INCLUDES): Add more paths.
Stan Shebs [Tue, 1 Feb 1994 02:52:22 +0000 (02:52 +0000)]
Mon Jan 31 18:50:41 1994 Stan Shebs (shebs@andros.cygnus.com)
* objdump.c (display_target_list, display_info_table): Check that
the bfd of the dummy output file is not null.
Stu Grossman [Tue, 1 Feb 1994 02:43:21 +0000 (02:43 +0000)]
* config/mh-lynxosrs6k: Account for lack of ranlib!
Stan Shebs [Tue, 1 Feb 1994 02:09:26 +0000 (02:09 +0000)]
Mon Jan 31 18:08:16 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-xconfig.in: Get opcode/mips.h from the right place.
Stan Shebs [Tue, 1 Feb 1994 02:07:53 +0000 (02:07 +0000)]
Mon Jan 31 18:06:41 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in (CFLAGS): Add more include paths.
Stan Shebs [Tue, 1 Feb 1994 02:03:06 +0000 (02:03 +0000)]
Mon Jan 31 17:55:14 1994 Stan Shebs (shebs@andros.cygnus.com)
* as.c (statistics_flag): Renamed from quiet_flag.
(main): Get statistics with --statistics instead of -noquiet.
Roland Pesch [Tue, 1 Feb 1994 00:36:50 +0000 (00:36 +0000)]
correct typo in as cmdline synopsis (-w for -W);
describe --statistics (nee -noquiet);
describe -Z
Stan Shebs [Tue, 1 Feb 1994 00:13:48 +0000 (00:13 +0000)]
Mon Jan 31 16:11:52 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-mh-mpw (CFLAGS): Add -b option to put strings at the ends of
functions.
Stu Grossman [Tue, 1 Feb 1994 00:12:20 +0000 (00:12 +0000)]
* sparc-stub.c: Remove unnecessary #include of memory.h.
Stan Shebs [Tue, 1 Feb 1994 00:10:32 +0000 (00:10 +0000)]
Mon Jan 31 16:07:58 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-configure: Add definition of EMUL to makefiles.
* mpw-config.in: Use forward-include to create include files.
Jim Kingdon [Mon, 31 Jan 1994 21:22:44 +0000 (21:22 +0000)]
* mips-tdep.c: Remove code which sets saved_regs from
init_extra_frame_info and put it in new function mips_find_saved_regs.
(READ_FRAME_REG): Remove macro and replace uses with the expansion.
* mips-tdep.c, config/mips/tm-mips.h: When examining ->saved_regs,
check if it is NULL and call mips_find_saved_regs if so.
Jim Kingdon [Mon, 31 Jan 1994 21:15:53 +0000 (21:15 +0000)]
* gdb.t24/demangle.exp: Remove a bunch of tests which differ only
in the names. The main thing these accomplish is to slow things down.
Many more such duplicates surely remain.