abs_output_section is what is required.
* ldwrite.c (ldwrite): use malloc to allocate the largest space
used, and pass that down.
* relax.c,relax.h (write_relaxnorel): use the passed malloc area rather
than alloca.
follow the consistent pattern of struct work_stuff pointer first,
followed by pointer into string being demangled, followed by
pointer to the string where the result is being stored, followed
by other args. Also generally replace most variables of name
"type" with "mangled" for consistency. They all pointed to the
same string but half were one name and half the other.
* cplus-dem.c (LONGERNAMES): Remove #ifndef's.
* cplus-dem.c (demangle_qualified): Rewrite to clean up and allow
use whenever a qualified name is being demangled.
* cplus-dem.c (do_type): Qualified names are treated similarly
to fundamental types, not as modifiers of fundamental types.
data, so that "bc" is available to 68040 cache instructions. Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
line number correctly in "internal error" messages. Don't print
architecture-mismatch message for operand errors.
From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
data, so that "bc" is available to 68040 cache instructions. Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes. Pass
line number correctly in "internal error" messages. Don't print
architecture-mismatch message for operand errors.
From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
(m68k_opcodes): New type characters "3" for 68030 MMU regs and "t" for
immediate 0-7 added. Set up some opcodes (ptest, bkpt) to use them.
Tightened description of "fmovex" to distinguish it from some "pmove"
encodings. Added "pmove" for 68030 MMU regs, cleaned up descriptions that
claimed versions were available for chips not supporting them. Added
"pmovefd".
sparc.h: Fixed up some comments.
WARNING: (1) this has not yet been proofread as a printout---just eliminated
problems that TeX complained about.
(2) extraneous line breaks introduced in some examples, sometimes
in ridiculously long strings; this may falsify examples. Places
where I did this are marked by FIXME comments.
1) use makeinfo node defaulting
2) correct bad xref
3) use @display, @exdent, etc. as first approximation to Julia's
clever typewriter markup; **THIS WILL NEED STUDY AND REVISION**
4) introduce many nodes rather than ---- in "detailed reference" appendix
Mon Aug 24 14:05:14 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: don't create all directories for ``make install'';
let the subdirectories create the ones they need.
* tc-m68k.c: use TARGET_CPU to choose default cpu type.
* te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
so that we can assemble hand-written libgcc code.
from a coff file (csym is null), dont deref them
* ieee.c (parse_expression): get the answer right when adding an
abs+(sec+off), (ieee_generic_stat_arch_elt): call ieee_object_p
on elts so that filename is filled in.
numbers, signal number ranges, and to recognize "all" to mean all
signals except those used by the debugger.
* infrun.c (SET_SIGS, UNSET_SIGS): Macros used in handle_command
to set or reset actions for specific signals.
types.
* stabsread.c (read_array_type, read_range_type, define_symbol):
Call alloc_type to alloc new types.
* stabsread.c (define_symbol): Move dbl_valu symbol field data
from type_obstack to symbol_obstack.
* stabsread.c (define_symbol): Move typedef_sym from type_obstack
to symbol_obstack.
* gdbtypes.h (TYPE_ALLOC): New macro to allocate space for data
associated with a type, using the same mechanism as was used to
allocate space for the type structure itself.
* coffread.c (patch_type, coff_read_struct_type,
coff_read_enum_type): Use TYPE_ALLOC.
* dwarfread.c (struct_type): Use TYPE_ALLOC.
* gdbtypes.c (create_array_type, check_stub_method,
allocate_cplus_struct_type): Use TYPE_ALLOC.
* mipsread.c (parse_symbol, parse_type): Use TYPE_ALLOC.
* stabsread.c (read_struct_type, read_array_type, read_enum_type,
read_range_type): Use TYPE_ALLOC.
symtab if one is not currently selected.
* utils.c (query): Call wrap_here before building the output
query string, to turn off wrapping and flush any buffered output.
Otherwise our query may end up in the wrap buffer and never be
seen by the user.
* eval.c (evaluate_subexp): Report error when attempting to
evaluate subscript for types without a target type, rather
than dumping core by using the NULL pointer.
* symfile.c (symbol_file_command): Forget current_source_symtab
and current_source_line when discarding symbol table.
work. (remote_wait): Change 'T' message parser to deal with new
improved format which allows stub to send an arbitrary bunch of
registers.
* sparc-stub.c: General cleanups. (trap_low, handle_exception):
make all this re-entrant by storing all state on the stack. Clean
up memory error trapping. (computeSignal, set_debug_traps):
make it all table driven. Make a start at a baud rate setting command.
* messages.c (as_warn): Use fputs, not fprintf, with a buffer that
has already been formatted (but may still contain %-characters).
(as_bad): Likewise.
Wed Aug 19 11:20:59 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
written with indirection on the last two operands, which can be
either data or address registers. Added a new operand type 'r'
which accepts either register type. Added '(' to notend stuff in
tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
* remote-vx.c: redefine malloc to avoid buggy declaration on
RS/6000 <rpc/types.h>.
xm-rs6000.h: include <sys/select.h> to define fd_set for
<rpc/svc.h> on RS/6000.