Jeff Law [Tue, 2 Nov 1993 06:38:20 +0000 (06:38 +0000)]
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
(pa_callinfo): Insert framesize into the unwind information as
soon as it's available.
(pa_build_unwind_subspace): Do not insert framesize into the unwind
information here.
Jeff Law [Tue, 2 Nov 1993 06:31:36 +0000 (06:31 +0000)]
* Add support for marker type relocations. These mark areas
of interest to the linker. ENTRY/EXIT relocations for SOM are
an example of marker relocations.
* write.c (write_relocs): Instead of assuming size of a relocation
is 4 bytes, pick up the size from relocation itself.
(fixup_segment): Do not complain that a value is too small for
marker relocations.
Jeff Law [Tue, 2 Nov 1993 06:10:52 +0000 (06:10 +0000)]
* struc-symbol.h: Add new "sy_used" field to the symbol structure.
* expr.c (operand): Set sy_used for any symbol used as an operand.
(expr): Likewise for any symbol used in an expression.
* config/tc-hppa.h (tc_frob_symbol): Define. Punt imported
symbols which are never used and absolute symbols which local scope.
Jim Kingdon [Tue, 2 Nov 1993 05:52:14 +0000 (05:52 +0000)]
Remove infrun.hacked.c. I just looked at the diff, and don't see any
interesting ideas there. It is over two years old....
Jeff Law [Tue, 2 Nov 1993 05:37:58 +0000 (05:37 +0000)]
* config/obj-som.h (obj_frob_file): Define.
* config/obj-som.c (obj_som_init_stab_section): Set alignment
of stab sections. Make space for the special stab entry.
(adjust_stab_sections): Adjust the special entry in the
stabs section.
(som_frob_file): New function. Simply calls adjust_stab_sections
for each section.
Stan Shebs [Tue, 2 Nov 1993 02:07:03 +0000 (02:07 +0000)]
Fix a couple typos introduced by recent checkins
Jim Kingdon [Tue, 2 Nov 1993 00:05:34 +0000 (00:05 +0000)]
* symtab.c, symtab.h, source.c: Change find_line_pc_range to take
a struct symtab_and_line argument, rather than a symtab and a line.
Re-write it to be based on the address rather than bogusly adding
one to the line number and hoping that has something to do with the
end of the line.
Ian Lance Taylor [Mon, 1 Nov 1993 23:36:33 +0000 (23:36 +0000)]
* elfcode.h (elf_slurp_reloca_table, elf_slurp_reloc_table):
Handle symbol number of zero.
Ian Lance Taylor [Mon, 1 Nov 1993 23:29:06 +0000 (23:29 +0000)]
* elf32-mips.c (mips_elf_hi16_reloc, mips_elf_lo16_reloc):
Rearrange _gp_disp checks slightly.
Ian Lance Taylor [Mon, 1 Nov 1993 23:27:05 +0000 (23:27 +0000)]
* config/tc-mips.c (PIC_CALL_REG, SP, FP): Define.
(mips_pic, mips_cprestore_offset): New static variables.
(md_pseudo_table): Handle .abicalls, .cpload, and .cprestore.
Ignore .bgnb and .endb.
(gp_reference): _gp_disp is never addressed off GP.
(macro_build): Ignore macros while searching for insn. For cases
i, j, and o, accept the reloc type as an argument rather than
assuming BFD_RELOC_LO16. Don't try to convert BFD_RELOC_LO16 to
BFD_RELOC_MIPS_GPREL. Added new case a.
(set_at, load_register, macro): Changed calls to macro_build to
pass new argument for i, j and o cases.
(macro): Handle M_JAL_1, M_JAL_2 and M_JAL_A. These require
special handling when generating SVR4 PIC code.
(mips_ip, tc_get_register, s_frame): Use macros FP, SP, GP and AT
rather than hard coded constants.
(md_apply_fix): Handle BFD_RELOC_MIPS_LITERAL and
BFD_RELOC_MIPS_CALL16.
(s_option): Set mips_pic based on .option picN.
(s_abicalls): New function; set mips_pic to 2.
(s_cpload): New function; handle .cpload.
(s_cprestore): New function; handle .cprestore.
* config/obj-ecoff.c (obj_pseudo_table): Add entries for .bgnb,
.endb and .verstamp, setting them to s_ignore.
Ian Lance Taylor [Mon, 1 Nov 1993 23:14:23 +0000 (23:14 +0000)]
* mips.h (M_JAL_1, M_JAL_2, M_JAL_A): Added.
Thomas Lord [Mon, 1 Nov 1993 22:25:23 +0000 (22:25 +0000)]
Change the stream argument to _filtered to GDB_FILE *.
Change all references to stdout/stderr to gdb_stdout/gdb_stderr.
Replace all calls to stdio output functions with calls to
corresponding _unfiltered functions (`fprintf_unfiltered')
Replaced calls to fopen for output to gdb_fopen.
Added sufficient goo to utils.c and defs.h to make the above work.
The net effect is that stdio output functions are only directly used
in utils.c. Elsewhere, the _unfiltered and _filtered functions and
GDB_FILE type are used.
In the near future, GDB_FILE will stop being equivalant to FILE.
The semantics of some commands has changed in a very subtle way:
called in the right context, they may cause new occurences of
prompt_for_continue() behavior. The testsuite doesn't notice anything
like this, though.
Please respect this change by not reintroducing stdio output
dependencies in the main body of gdb code. All output from commands
should go to a GDB_FILE.
Target-specific code can still use stdio directly to communicate with
targets.
Ian Lance Taylor [Mon, 1 Nov 1993 21:17:31 +0000 (21:17 +0000)]
* reloc.c (enum bfd_reloc_code_real): Added
BFD_RELOC_MIPS_LITERAL, BFD_RELOC_MIPS_GOT16,
BFD_RELOC_MIPS_CALL16, BFD_RELOC_MIPS_GPREL32.
* bfd-in2.h: Rebuilt.
* coff-mips.c (mips_bfd_reloc_type_lookup): Handle
BFD_RELOC_MIPS_LITERAL.
* elf32-mips.c (mips_reloc_map): Handle new relocs.
Jim Kingdon [Mon, 1 Nov 1993 21:11:12 +0000 (21:11 +0000)]
* config/m88k/m88k.mh (NATDEPFILES): Remove exec.o.
Jim Kingdon [Mon, 1 Nov 1993 20:49:03 +0000 (20:49 +0000)]
* Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
Jim Kingdon [Mon, 1 Nov 1993 20:41:35 +0000 (20:41 +0000)]
* paread.c (pa_symtab_read): Change comments to say ignoring
labels really should be handled by the assembler/compiler.
* Makefile.in: Add -O to CXXFLAGS.
* TODO: Expand comments on fast watchpoints.
Jim Kingdon [Mon, 1 Nov 1993 20:28:46 +0000 (20:28 +0000)]
* mmalloc.texi: Fix typo ("for for" -> "for").
Jim Kingdon [Mon, 1 Nov 1993 20:18:22 +0000 (20:18 +0000)]
* Makefile.in (CXXFLAGS): Add -O.
Jim Kingdon [Mon, 1 Nov 1993 20:08:35 +0000 (20:08 +0000)]
Remove v9-specific entry
Ian Lance Taylor [Mon, 1 Nov 1993 19:43:39 +0000 (19:43 +0000)]
* aout-target.h (MY_bfd_debug_info_start, MY_bfd_debug_info_end,
MY_bfd_debug_info_accumulat [sic]): Remove unused definitions.
(MY_bfd_get_relocated_section_contents, MY_bfd_relax_section,
MY_bfd_seclet_link): Define.
(MY_bfd_reloc_type_lookup): Rename from
MY_reloc_howto_type_lookup.
(MY_bfd_make_debug_symbol): Rename from MY_make_debug_symbol.
(MY(vec)): Use JUMP_TABLE rather than listing functions.
* hp300hpux.c (MY_get_symtab, MY_get_symtab_upper_bound,
MY_canonicalize_reloc, MY_write_object_contents): Don't define in
terms of MY, because that causes a recusive invocation of CAT when
expanded within JUMP_TABLE, and ANSI compilers don't expand
recursive macros.
* mipsbsd.c (MY_bfd_reloc_type_lookup): Rename from
MY_reloc_howto_type_lookup, and don't define in terms of MY.
(MY_canonicalize_reloc): Don't define in terms of MY.
(aout_mips_little_vec, aout_mips_big_vec): Use JUMP_TABLE rather
than listing functions.
Stan Shebs [Mon, 1 Nov 1993 19:27:15 +0000 (19:27 +0000)]
Keep Lynx file
Stan Shebs [Mon, 1 Nov 1993 19:25:39 +0000 (19:25 +0000)]
Keep Sparc file
Stan Shebs [Mon, 1 Nov 1993 19:18:08 +0000 (19:18 +0000)]
Keep Sparc file
Stan Shebs [Mon, 1 Nov 1993 19:15:17 +0000 (19:15 +0000)]
Keep Lynx files
Jim Kingdon [Mon, 1 Nov 1993 15:19:29 +0000 (15:19 +0000)]
* config.bfd: Use m68k-elf for m68*-*-sysv4*.
Jeff Law [Mon, 1 Nov 1993 07:51:03 +0000 (07:51 +0000)]
Fix typo in recent hange from using bfd target name to using the flavour.
Jeff Law [Mon, 1 Nov 1993 03:46:30 +0000 (03:46 +0000)]
* paread.c (pa_symtab_read): Also filter out local symbols starting
with "L$".
Jeff Law [Mon, 1 Nov 1993 03:44:53 +0000 (03:44 +0000)]
* paread.c (pa_symtab_read): Also filter out local symbols starting
with "L$".
Jim Kingdon [Sun, 31 Oct 1993 20:45:41 +0000 (20:45 +0000)]
* values.c (unpack_long, unpack_double, value_from_double),
valarith.c (value_binop), stabsread.c (define_symbol):
Use extract_floating and store_floating instead of
SWAP_TARGET_AND_HOST.
Jim Kingdon [Sun, 31 Oct 1993 20:34:35 +0000 (20:34 +0000)]
* symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c:
Change from using bfd target name to using the flavour.
Jim Kingdon [Sun, 31 Oct 1993 19:51:54 +0000 (19:51 +0000)]
Add missing entry for change by Ian
Jim Kingdon [Sun, 31 Oct 1993 19:36:41 +0000 (19:36 +0000)]
* remote.texi (VxWorks Remote): Clarify that rebuilding VxWorks kernel
is a mandatory step. Make the stuff about that more concise.
Stan Shebs [Sun, 31 Oct 1993 19:35:44 +0000 (19:35 +0000)]
Keep Lynx files
Stan Shebs [Sun, 31 Oct 1993 19:28:03 +0000 (19:28 +0000)]
Keep Lynx files
Jim Kingdon [Sun, 31 Oct 1993 18:59:59 +0000 (18:59 +0000)]
* targets.c: Move enum target_flavour outside of struct and change
the name to enum bfd_flavour. This means bfd clients can use it.
* bfd-in.h: Add macro bfd_get_flavour.
* bfd-in2.h: Rebuilt.
Jim Kingdon [Sun, 31 Oct 1993 18:54:28 +0000 (18:54 +0000)]
* symfile.h (sym_fns), symfile.c (find_sym_fns), xcoffread.c,
coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c:
Change from using bfd target name to using the flavour.
Jeff Law [Sun, 31 Oct 1993 18:49:26 +0000 (18:49 +0000)]
* config/tc-hppa.c (subspace_dictionary_chain): Add new ssd_defined
field. Define SUBSPACE_DEFINED accessor macro.
(pa_subspace): Allow user to override subspace attributes for
built-in subspaces. Set ssd_defined at the end of fcn -- that
way the attributes can only be changed once. Pass newly allocated
name to is_defined_subspace, not a pointer to the input line.
Fix typo in space/subspace rework.
(is_defined_subspace): Delete unused 2nd arg. All callers changed.
* config/tc-hppa.c (pa_import): If currently in the text segment
and a symbol is imported without type information, set BSF_FUNCTION
for the symbol.
Jim Kingdon [Sun, 31 Oct 1993 15:56:44 +0000 (15:56 +0000)]
* paread.c: Remove comment about how we should use an "ordinary"
file format with an hppa suffix. There is nothing ordinary about SOM.
Jim Kingdon [Sun, 31 Oct 1993 15:46:34 +0000 (15:46 +0000)]
* objfiles.h, infcmd.c, symfile.c: Add comments about how various
objfiles get created and when we should blow them away.
Jim Kingdon [Sun, 31 Oct 1993 15:40:58 +0000 (15:40 +0000)]
* som.c: Add comment about how abort() on corrupt executable is evil.
Jeff Law [Sun, 31 Oct 1993 08:06:11 +0000 (08:06 +0000)]
* write.c (relax_and_size_seg): Correct test to determine
if the section's size was rounded up.
Jeff Law [Sun, 31 Oct 1993 07:48:41 +0000 (07:48 +0000)]
* config/obj-som.h (obj_set_symbol_type): Define a hook so GAS
can properly set all the SOM symbol types.
* config/tc-hppa.c (pa_symbol_type): New enum to represent the
symbol types which can be set from an IMPORT/EXPORT statement.
(pa_export_args): Set the pa_symbol_type type based on arguments.
If defined, call obj_set_symbol_type to pass this information on
to the BFD backend.
Jeff Law [Sun, 31 Oct 1993 07:38:33 +0000 (07:38 +0000)]
* read.c (get_stab_string_offset): Set SEC_DEBUGGING for any
stab section we make.
(s_stab_generic): Likewise.
Jeff Law [Sun, 31 Oct 1993 02:19:05 +0000 (02:19 +0000)]
Allow backends to override the value of the "fake" label.
See ChangeLog for the details.
Jeff Law [Sun, 31 Oct 1993 02:18:17 +0000 (02:18 +0000)]
* config/tc-i386.h (DOT_LABEL_PREFIX): Delete.
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
* config/tc-m68k.h (DOT_LABEL_PREFIX): Delete.
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
* config/te-sco386.h (DOT_LABEL_PREFIX): Delete.
(LOCAL_LABEL, FAKE_LABEL_NAME): Define.
Jeff Law [Sun, 31 Oct 1993 02:13:49 +0000 (02:13 +0000)]
* config/tc-hppa.h (FAKE_LABEL_NAME): Define as L$0\001 so it's
known to be a local label.
Jeff Law [Sun, 31 Oct 1993 02:13:34 +0000 (02:13 +0000)]
* expr.c (make_expr_symbol): Delete DOT_LABEL_PREFIX code
and instead simply use the string defined by FAKE_LABEL_NAME.
(operand): Likewise.
* read.c (s_stab_generic): Likewise.
Jeff Law [Sun, 31 Oct 1993 01:54:01 +0000 (01:54 +0000)]
Rework space/subspace handling in PA code to fully support
SOM spaces/subspaces.
* tc-hppa.c (USE_ALIASES): New object-format dependent define
to control the use of space/subspace name aliases.
(update_subspace): Accept space chain entry for containing space
as a new parameter. All callers changed.
(pa_get_label): Use current_space rather than pa_segment_to_space.
(pa_define_label): Likewise.
(pa_undefine_label): Likewise.
(md_begin): Change into the (possibly modified) text_section.
(pa_parse_space_stmt): Create a new segment/space if create_flag
is true, and the space name is not one of the two predefined spaces.
(pa_subspace): Use current_space rather than a lookup via
pa_segment_to_space. Reset BFD section flags as required by
the .subspace directive. Likewise for the section alignment.
Pass the current space to update_subspace and create_new_subspace.
(pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES
is true. When not using aliases, create a BFD section for each
subspace encountered. When not using aliases replace the default
text, data, and bss segments with new ones.
(create_new_subspace): When not using aliases each subspace has a
section/segment and subsegments are not needed, so set the subsegment
to zero.
Jeff Law [Sun, 31 Oct 1993 01:53:01 +0000 (01:53 +0000)]
Rework space/subspace handling in PA code to fully support
SOM spaces/subspaces.
* config/tc-hppa.c (USE_ALIASES): New object-format dependent define
to control the use of space/subspace name aliases.
(update_subspace): Accept space chain entry for containing space
as a new parameter. All callers changed.
(pa_get_label): Use current_space rather than pa_segment_to_space.
(pa_define_label): Likewise.
(pa_undefine_label): Likewise.
(md_begin): Change into the (possibly modified) text_section.
(pa_parse_space_stmt): Create a new segment/space if create_flag
is true, and the space name is not one of the two predefined spaces.
(pa_subspace): Use current_space rather than a lookup via
pa_segment_to_space. Reset BFD section flags as required by
the .subspace directive. Likewise for the section alignment.
Pass the current space to update_subspace and create_new_subspace.
(pa_spaces_begin): Only use space/subspace aliases if USE_ALIASES
is true. When not using aliases, create a BFD section for each
subspace encountered. When not using aliases replace the default
text, data, and bss segments with new ones.
(create_new_subspace): When not using aliases each subspace has a
section/segment and subsegments are not needed, so set the subsegment
to zero.
Jeff Law [Sun, 31 Oct 1993 01:45:52 +0000 (01:45 +0000)]
* gas/hppa/unsorted/unsorted.exp (ss_align): Remove OSF xfail.
* gas/hppa/more.parse/parse.exp: Add new test.
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default
* sections are handled correctly.
Jeff Law [Sun, 31 Oct 1993 01:41:59 +0000 (01:41 +0000)]
* gas/hppa/more.parse/parse.exp: Add new test.
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default
sections are handled correctly.
Jeff Law [Sat, 30 Oct 1993 23:11:31 +0000 (23:11 +0000)]
* config/tc-hppa.c (pa_parse_space_stmt): If needed, call
obj_set_section_attributes to pass space attributes to the
BFD backend.
(create_new_space): Likewise.
(create_new_subspace): Likewise for subspace attributes using
obj_set_subsection_attributes.
(update_subspace): Likewise for subspace attributes using
obj_set_subsection_attributes.
Jeff Law [Sat, 30 Oct 1993 23:00:34 +0000 (23:00 +0000)]
* config/tc-hppa.c (pa_parse_space_stmt): Get segment and sort key
for $TEXT$ and $PRIVATE$ from the default space structure.
Jeff Law [Sat, 30 Oct 1993 22:55:19 +0000 (22:55 +0000)]
* config/tc-hppa.c (pa_export_args): Always set BSF_FUNCTION
as appropriate for the given type.
Jeff Law [Sat, 30 Oct 1993 22:35:49 +0000 (22:35 +0000)]
* config/tc-hppa.c (tc_gen_reloc): Preliminary stab at handling
SOM relocations.
Jeff Law [Sat, 30 Oct 1993 22:02:53 +0000 (22:02 +0000)]
* config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
redefinition.
Jeff Law [Sat, 30 Oct 1993 21:57:16 +0000 (21:57 +0000)]
* config/obj-som.[ch]: New files for SOM support. Note SOM
support is not yet complete in GAS or BFD.
Jeff Law [Sat, 30 Oct 1993 21:55:00 +0000 (21:55 +0000)]
* config/obj-som.[ch]: New files for SOM support in GAS.
Jeff Law [Sat, 30 Oct 1993 21:29:29 +0000 (21:29 +0000)]
* config/ho-hppabsd.h: Delete IO* macros, they are defined in
stdio.h. Delete declaration of free. Include stdlib.h, unistd.h,
and string.h.
Jeff Law [Sat, 30 Oct 1993 21:14:53 +0000 (21:14 +0000)]
* gas/all/gas.exp: Disable (and fail) p1480.s for all PA targets.
Jim Kingdon [Sat, 30 Oct 1993 20:21:19 +0000 (20:21 +0000)]
* symfile.c (reread_symbols): When re-reading symbols, do all the
right operations ourself, rather than calling symbol_file_command.
If we re-read something, call clear_symtab_users not just
breakpoint_re_set.
* objfiles.h, objfiles.c (build_objfile_section_table): No longer
static.
* symfile.c (clear_symtab_users): Call clear_pc_function_cache.
* coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c, paread.c
(*_symfile_offsets): Set objfile->num_sections.
* remote.c (remote_wait), symfile.c (syms_from_objfile):
Don't muck with objfile->num_sections now that all the symbol
readers set it.
* elfread.c: Clean up obsolete comment about handling only DWARF.
* paread.c: Remove comment about how we should use an "ordinary"
file format with an hppa suffix. There is nothing ordinary about SOM.
Jim Kingdon [Sat, 30 Oct 1993 13:42:43 +0000 (13:42 +0000)]
* config/i386/{i386m3.mh,i386mk.mh}, config/mips/mipsm3.mh,
config/ns32k/ns32km3.mh: Change MMALLOC_LIB to MMALLOC.
* TODO: Update Mach stuff.
Jeff Law [Sat, 30 Oct 1993 07:15:46 +0000 (07:15 +0000)]
* config/obj-coffbfd.c (obj_coff_init_stab_section): Append "str"
to stab section name to get the stab string section name. Pass
the full name of the stab string section to get_stab_string_offset.
* config/obj-elf.c (obj_elf_init_stab_section): Likewise.
David MacKenzie [Sat, 30 Oct 1993 02:24:39 +0000 (02:24 +0000)]
put objcopy in alphabetical order
Stan Shebs [Sat, 30 Oct 1993 00:16:25 +0000 (00:16 +0000)]
More LynxOS support
Jeff Law [Fri, 29 Oct 1993 23:34:37 +0000 (23:34 +0000)]
* gas/hppa/more.parse/parse.exp: Fix typos.
Jeff Law [Fri, 29 Oct 1993 23:28:16 +0000 (23:28 +0000)]
* gas/hppa/more.parse/calldatabug.s: Colonize.
David MacKenzie [Fri, 29 Oct 1993 23:13:10 +0000 (23:13 +0000)]
use xmalloc instead of malloc
Jeff Law [Fri, 29 Oct 1993 21:09:43 +0000 (21:09 +0000)]
* config/tc-hppa.c (md_begin): Disable "-R" option to fold
text and data segments. Warn user "-R" is unsupported on the
PA.
Jeff Law [Fri, 29 Oct 1993 21:08:19 +0000 (21:08 +0000)]
Back out of last change. Instead:
* config/tc-hppa.c (md_begin): Disable "-R" option to fold
text and data segments. Warn user "-R" is unsupported on the
PA.
Jeff Law [Fri, 29 Oct 1993 20:36:07 +0000 (20:36 +0000)]
* as.c (main): Disable "-R" option if NO_FOLD_DATA_AND_TEXT
is defined.
* config/tc-hppa.h (NO_FOLD_DATA_AND_TEXT): Define. Folding
of text and data segments fails miserably on the PA.
Jeff Law [Fri, 29 Oct 1993 20:35:44 +0000 (20:35 +0000)]
* config/tc-hppa.h (NO_FOLD_DATA_AND_TEXT): Define. Folding
of text and data segments fails miserably on the PA.
Jeff Law [Fri, 29 Oct 1993 20:35:26 +0000 (20:35 +0000)]
* as.c (main): Disable "-R" option if NO_FOLD_DATA_AND_TEXT
is defined.
Jim Kingdon [Fri, 29 Oct 1993 19:36:32 +0000 (19:36 +0000)]
* TODO: Add idea for "disassemble" with source.
David MacKenzie [Fri, 29 Oct 1993 19:30:11 +0000 (19:30 +0000)]
mach 386 changes
David MacKenzie [Fri, 29 Oct 1993 19:15:57 +0000 (19:15 +0000)]
test
David MacKenzie [Fri, 29 Oct 1993 19:05:11 +0000 (19:05 +0000)]
test
Ian Lance Taylor [Fri, 29 Oct 1993 19:02:26 +0000 (19:02 +0000)]
* ld.h (flag_is_*): Removed macros.
* ldmain.c (enter_global_ref), ldsym.c (write_file_locals):
Consistently check the BFD symbol flags directly, rather than
using file_is_* macros.
Jim Kingdon [Fri, 29 Oct 1993 18:16:33 +0000 (18:16 +0000)]
* defs.h, findvar.c (extract_floating, store_floating): New functions.
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is
now used only by extract_floating and store_floating.
* valprint.c (print_floating): Use unsigned arithmetic. Use
extract_unsigned_integer instead of SWAP_TARGET_AND_HOST.
Change sizeof (float) to 4 and sizeof (double) to 8 (those are always
the relevant sizes for this code, which is in #ifdef IEEE_FLOAT).
* values.c (unpack_long, unpack_double, value_from_double),
valarith.c (value_binop), stabsread.c (define_symbol):
Use extract_floating and store_floating instead of
SWAP_TARGET_AND_HOST.
* config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
Use extract_floating and store_floating.
* config/m88k/tm-m88k.h: Add comments (it should be doing the same).
* i386-tdep.c (i386_extract_return_value),
* remote-nindy.c (nindy_store_registers): Use store_floating.
Stan Shebs [Fri, 29 Oct 1993 18:15:01 +0000 (18:15 +0000)]
Rename a variable that conflicts with Lynx
Ian Lance Taylor [Fri, 29 Oct 1993 18:04:58 +0000 (18:04 +0000)]
* bfd-in.h: Added commands for object file flag values.
* bfd-in2.h: Rebuilt.
* elfcode.h (elf_object_p): If type is ET_DYN, set DYNAMIC flag,
not EXEC_P.
* bout.c, coff-h8300.c, coff-sh.c: Add BFD_IS_RELAXABLE to
object_flags field for target vector.
* aix386-core.c, aout-adobe.c, aout-target.h, bout.c, coff-a29k.c,
coff-alpha.c, coff-apollo.c, coff-h8300.c, coff-h8500.c,
coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c, coff-mips.c,
coff-rs6000.c, coff-sh.c, coff-we32k.c, coff-z8k.c, hpux-core.c,
ieee.c, mipsbsd.c, nlm-target.h, oasys.c, osf-core.c, som.c,
srec.c, tekhex.c, trad-core.c: Remove DYNAMIC from object_flags
field for target vector.
Steve Chamberlain [Fri, 29 Oct 1993 16:35:22 +0000 (16:35 +0000)]
* remote-sim.c (gdbsim_store_register): Change var name so
it compiles with non-ANSI compilers.
David MacKenzie [Fri, 29 Oct 1993 15:28:30 +0000 (15:28 +0000)]
initial mach3 386 support (not working yet)
Jim Kingdon [Fri, 29 Oct 1993 13:16:56 +0000 (13:16 +0000)]
* TODO: Add idea for "disassemble" with source.
Fred Fish [Fri, 29 Oct 1993 07:42:30 +0000 (07:42 +0000)]
* Makefile.in (VERSION): Bump to 4.11.1 after release and cvs
tagging.
Jeff Law [Fri, 29 Oct 1993 05:22:27 +0000 (05:22 +0000)]
* gas/hppa/{basic, more.parse, reloc, unsorted}: New directories.
* gas/hppa/*/*.exp: New test drivers.
* gas/hppa/*/*.s: New test files.
Jeff Law [Fri, 29 Oct 1993 05:21:18 +0000 (05:21 +0000)]
Unsorted PA tests.
Jeff Law [Fri, 29 Oct 1993 05:20:11 +0000 (05:20 +0000)]
Quick description of test directory contents.
Jeff Law [Fri, 29 Oct 1993 05:14:07 +0000 (05:14 +0000)]
Relocation tests for the PA.
Jeff Law [Fri, 29 Oct 1993 05:06:18 +0000 (05:06 +0000)]
Additional parsing tests for PA gas.
Jeff Law [Fri, 29 Oct 1993 04:58:03 +0000 (04:58 +0000)]
* gas/hppa/basic: New directory.
* gas/hppa/basic/basic.exp: New test driver.
* gas/hppa/basic/*.s: New test files.
Jeff Law [Fri, 29 Oct 1993 04:56:45 +0000 (04:56 +0000)]
Keep hppa test directory.
Jeff Law [Fri, 29 Oct 1993 04:55:51 +0000 (04:55 +0000)]
Basic hppa GAS testsuite.
Jeff Law [Fri, 29 Oct 1993 04:54:51 +0000 (04:54 +0000)]
Add new hppa directory.
Stan Shebs [Fri, 29 Oct 1993 02:48:19 +0000 (02:48 +0000)]
* ar.c (main): Always create the archive when quick appending,
even if no input files have been given.
Stan Shebs [Fri, 29 Oct 1993 02:39:41 +0000 (02:39 +0000)]
Sparc COFF support
Stan Shebs [Fri, 29 Oct 1993 02:39:07 +0000 (02:39 +0000)]
Sparc Lynx support
Stan Shebs [Fri, 29 Oct 1993 02:03:32 +0000 (02:03 +0000)]
Minor changes, plus definitions for Sparc Lynx host.
Stan Shebs [Fri, 29 Oct 1993 02:01:43 +0000 (02:01 +0000)]
A number of minor Lynx-related changes, plus basic Sparc Lynx support.
Jim Kingdon [Fri, 29 Oct 1993 01:29:21 +0000 (01:29 +0000)]
* TODO: Add section on Mach. Stop calling it a "bug list".
Remove John's name and email address. Remove item on "always"
("hook-stop" takes care of this). Remove item on executables with
no symbols (this works on some machines, at least). Remove item
about calling error() during symbol reading (I think all the important
ones have been cleaned up). Revise items about signals and remote
systems. Remove section on ^Z requiring several continues to make
it go (this now works. Perhaps the item is based on confusion over
programs (like GDB itself) which catch SIGTSTP and then re-send
themselves the signal. PR 2575 might contain relevant info).