Jim Kingdon [Sat, 19 Mar 1994 06:36:47 +0000 (06:36 +0000)]
* bfd.c (struct _bfd): Add cisco_core_struct to tdata union.
* libbfd.c (bfd_read, bfd_seek): Add comments regarding errors.
* cisco-core.c: New file.
* Makfile.in: Change accordingly.
* bfd-in2.h: Rebuilt.
Jim Kingdon [Sat, 19 Mar 1994 06:36:18 +0000 (06:36 +0000)]
* utils.c (prompt_for_continue): Call readline, not gdb_readline.
Jim Kingdon [Sat, 19 Mar 1994 06:17:08 +0000 (06:17 +0000)]
* trad-core.c (trad_unix_core_file_p): Call bfd_zmalloc not
bfd_zalloc for rawptr, because later on we may call free, not
bfd_release, on it.
* bfd.c (struct _bfd): Add cisco_core_struct to tdata union.
* libbfd.c (bfd_read, bfd_seek): Add comments regarding errors.
* cisco-core.c: New file.
* Makfile.in: Change accordingly.
* bfd-in2.h: Rebuilt.
Jeff Law [Sat, 19 Mar 1994 05:06:54 +0000 (05:06 +0000)]
* som.h (struct som_exec_data): New structure to hold exec
info that must be preserved when running objcopy/strip.
(struct somdata): Add new "exec_data" field and accessor
macro. Add some comments on how the various fields are used.
(som_section_data_struct): Make is_space and is_subspace bitfields.
Delete unused subspace_index. All references now use the
target_index field within the section structure itself.
* som.c (make_unique_section): Delete unused declaration.
(som_bfd_copy_private_bfd_data): New function.
(som_object_setup): Allocate space for and save exec information
that needs to be copied during objcopy/strip.
(som_mkobject): Do not allocate space for a file header here.
It is not used when only reading SOM objects.
(som_prep_headers): Allocate space for and attach a file header
to the output bfd. For executables, use the saved system_id
value rather than trying to guess the right value. Do not abort
wwhen setting file_hdr->entry* for executables.
(som_begin_writing): For executables, set the exec_entry and
exec_flags fields.
(som_copy_private_backend_section_data): Always return a value.
Jeff Law [Sat, 19 Mar 1994 03:54:49 +0000 (03:54 +0000)]
* libhppa.h (PA_PAGESIZE): Define.
* som.c (SOM_ALIGN): Define.
(som_begin_writing): If writing an executable, initialize all
fields in the exec header to zero. Update fields in the exec
header as sizes of loadable subspaces are computed. Carefully
preserve alignments when building executables. Actually write the
exec after all the fields are filled in.
Steve Chamberlain [Sat, 19 Mar 1994 03:16:10 +0000 (03:16 +0000)]
* utils.c (prompt_for_continue): Call readline, not gdb_readline.
Ken Raeburn [Sat, 19 Mar 1994 02:36:09 +0000 (02:36 +0000)]
* write.c (symbol_table_frozen): New variable, to be set after bfd_set_symtab
is called.
(dump_section_relocs): Note whether a symbol is a section symbol or not.
(adjust_reloc_syms): For now, always supply an absolute symbol for fixups
without symbols but not yet `done'. Use section_symbol to get the symbol,
instead of going directly for abs_symbol.
(write_relocs) [DEBUG4]: Abort if any symbol referred to by a reloc is not a
section symbol and is not in the symbol table.
(set_symtab): New function, broken out from write_object_file. Counts symbol
table instead of relying on an earlier count.
(write_object_file): Call set_symtab, but do it after potentially invoking the
*_frob_file macros. Don't bother counting symbols. Call symbol_remove,
instead of expanding it in place. Moved the conditionalized `object_file_size'
declaration down to conditionalized block where it's used. When using the
absolute symbol for a fixup without a symbol, set sy_used_in_reloc.
(write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get the correct
symbol for the absolute section.
Jeff Law [Sat, 19 Mar 1994 02:17:15 +0000 (02:17 +0000)]
* Better long-filename handling. Reads SOM ABI compliant extended
names, but doesn't quite write compliant extended names yet.
* som.c (som_slurp_extended_name_table): Delete function. The
generic code will handle things correctly.
(som_slurp_armap): Seek to the beginning of the next member.
(normalize): New function.
(som_bfd_ar_write_symbol_stuff): Take the size of the extended
name table into account when computing the file offsets in the
SOM dictionary. Make sure to align to an even boundary.
(som_write_armap): Initialize the checksum to zero.
(ar_maxchars): Fix. Opps.
Jim Kingdon [Sat, 19 Mar 1994 02:12:30 +0000 (02:12 +0000)]
new for cisco crash dumps
Ken Raeburn [Sat, 19 Mar 1994 02:02:23 +0000 (02:02 +0000)]
sparc *13 relocs, obj_sec_sym_ok_for_reloc stuff
Jim Kingdon [Sat, 19 Mar 1994 01:41:51 +0000 (01:41 +0000)]
* dstread.c (record_minimal_symbol): New arg objfile. Pass it to
prim_record_minimal_symbol.
Callers: Pass it.
Ken Raeburn [Sat, 19 Mar 1994 01:39:36 +0000 (01:39 +0000)]
* aoutx.h (reloc_type_lookup): Handle BFD_RELOC_CTOR on a 64-bit
machine. Handle BFD_RELOC_SPARC13 and BFD_RELOC_SPARC_BASE13.
Ken Raeburn [Sat, 19 Mar 1994 01:29:36 +0000 (01:29 +0000)]
ic960coff.mt typo fix
Ken Raeburn [Sat, 19 Mar 1994 01:26:55 +0000 (01:26 +0000)]
(TDEFINES): Fixed typo (MANY_SECTIONS, not MANY_SEGMENTS).
Ken Raeburn [Sat, 19 Mar 1994 01:24:19 +0000 (01:24 +0000)]
* configure.in: Eliminated all targets using obj-coff but not defining
BFD_ASSEMBLER; I think all such targets that are supported will be matched by
real CPU-OS combinations earlier in the case statement.
(targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted. Made some
comments about the dpx2 configuration, but left it disabled, since it couldn't
be reached before.
(target a29k-amd-ebmonold): Deleted.
Jason Merrill [Sat, 19 Mar 1994 00:43:06 +0000 (00:43 +0000)]
Fri Mar 18 16:42:32 1994 Jason Merrill (jason@deneb.cygnus.com)
* Makefile.in (CXXFLAGS): Add -fexternal-templates.
So that libio will be built properly.
Jim Kingdon [Fri, 18 Mar 1994 18:34:36 +0000 (18:34 +0000)]
* regex.c (EXTEND_BUFFER): Adjust pointers within buffer by
computing their offset from the start of the old buffer and adding
to the new buffer, rather than by assuming we can add the
difference between the old buffer and the new buffer (it might not
fit in an int). Merge in cosmetic differences from emacs regex.c
version of this macro.
Ian Lance Taylor [Fri, 18 Mar 1994 15:55:27 +0000 (15:55 +0000)]
* ar.c (write_archive): Allocate space for the null byte. From
Robert Lipe <robertl@arnet.com>.
Ken Raeburn [Thu, 17 Mar 1994 23:47:00 +0000 (23:47 +0000)]
* bfd-in.h (BFD_VERSION): Use @VERSION@.
* Makefile.in (bfd.h): Replace it with contents of VERSION file.
* bfd-in2.h: Regenerated.
Ken Raeburn [Thu, 17 Mar 1994 23:38:36 +0000 (23:38 +0000)]
(trad_unix_bfd_is_local_label): Fixed typo where
this was also named trad_unix_bfd_copy_private_bfd_data.
Ian Lance Taylor [Thu, 17 Mar 1994 23:26:03 +0000 (23:26 +0000)]
* osf-core.c (osf_core_bfd_copy_private_bfd_data): Remove
duplicate definition.
(osf_core_bfd_is_local_label): Define.
Stan Shebs [Thu, 17 Mar 1994 23:08:36 +0000 (23:08 +0000)]
Don't need mpw-xconfig.in anymore.
Stan Shebs [Thu, 17 Mar 1994 23:02:58 +0000 (23:02 +0000)]
Thu Mar 17 12:55:51 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-configure: Conditionalize more Makefile insertions,
set MAYBE_TARGET_DEFAULT for gcc, set NATDEPFILES for gdb,
delete Makefile.tem, compute target_{cpu,vendor,os}.
* mpw-config.in: Forward-include most .h files in include into
extra-include.
(readline): Don't build.
mpw-build.in (install): Install GDB.
mpw-README: Update/add helpful comments.
Stan Shebs [Thu, 17 Mar 1994 23:01:44 +0000 (23:01 +0000)]
Various changes.
Roland Pesch [Thu, 17 Mar 1994 22:46:08 +0000 (22:46 +0000)]
More widely useable INFO-DIR entries.
Roland Pesch [Thu, 17 Mar 1994 22:43:04 +0000 (22:43 +0000)]
Minor update to list of programs for dir.info entry.
Roland Pesch [Thu, 17 Mar 1994 22:34:07 +0000 (22:34 +0000)]
More widely useful INFO-DIR fragment.
Jeff Law [Thu, 17 Mar 1994 21:40:06 +0000 (21:40 +0000)]
* gas/hppa/unsorted/importbug.s: New test.
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Thu, 17 Mar 1994 21:37:42 +0000 (21:37 +0000)]
* config/tc-hppa.c (pa_import): Correctly handle importing of an
already defined symbol.
Ian Lance Taylor [Thu, 17 Mar 1994 21:22:30 +0000 (21:22 +0000)]
* Makefile.in: Built nm.new and strip.new to avoid problems with
collect when . is in PATH.
(STRIP_PROG): Change from strip to strip.new.
(NM_PROG): Change from nm to nm.new.
(install): Remove the .new when installing.
Jim Kingdon [Thu, 17 Mar 1994 18:54:48 +0000 (18:54 +0000)]
* aoutx.h, elfcode.h, coff-alpha.c, bout.c, ecoff.c, ecofflink.c,
elf32-hppa.c, elf32-mips.c, linker.c, som.c, sunos.c: If malloc(0)
returns NULL, it is not an error. It's possible that some of
these checks are not necessary (because the size can never be
zero), but putting in the checks is the conservative thing to do
in light of the fact that some of these malloc calls replaced
unchecked alloca calls, in which a zero argument would work fine.
Kung Hsu [Thu, 17 Mar 1994 17:42:23 +0000 (17:42 +0000)]
Modified Files:
.Sanitize
* i386os9k.mt: add to things to keep.
* tm-i386os9k.h: add to things to keep.
Ian Lance Taylor [Thu, 17 Mar 1994 17:29:15 +0000 (17:29 +0000)]
* reloc.c (bfd_generic_get_relocated_section_contents): Don't fail
if malloc (0) fails. bfd_canonicalize_reloc returning 0 is not a
failure indication, it merely means there are no relocs.
Ian Lance Taylor [Thu, 17 Mar 1994 16:47:01 +0000 (16:47 +0000)]
* elfcode.h (NAME(bfd_elf,write_object_contents)): Don't use space
after NAME, since SunOS /bin/cc can't handle it.
Jim Kingdon [Thu, 17 Mar 1994 04:09:23 +0000 (04:09 +0000)]
Fix typo.
Jeff Law [Thu, 17 Mar 1994 00:50:41 +0000 (00:50 +0000)]
* gas/hppa/more.parse/regpopbug.s: Add trivial .equ test.
Jeff Law [Thu, 17 Mar 1994 00:49:30 +0000 (00:49 +0000)]
* config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
David MacKenzie [Thu, 17 Mar 1994 00:45:26 +0000 (00:45 +0000)]
* netbsd386.c (N_SET_FLAGS): Don't nuke the machine id field.
From sukes@glue.umd.edu (Tasuki Hirata).
Ian Lance Taylor [Wed, 16 Mar 1994 23:49:55 +0000 (23:49 +0000)]
* config/tc-mips.c (mips_ip): Only accept overly large values for
the 'j' operand if there are no further alternatives for this
instruction.
Jeff Law [Wed, 16 Mar 1994 23:24:53 +0000 (23:24 +0000)]
* gas/hppa/unsorted/globalbug.s: New test (expected to fail).
* gas/hppa/unsorted/unsorted.exp: Run it.
Jeff Law [Wed, 16 Mar 1994 22:44:14 +0000 (22:44 +0000)]
* gas/hppa/more.parse/callinfobug.s: New test.
* gas/hppa/omre.parse/parse.exp: Run it.
Jeff Law [Wed, 16 Mar 1994 22:42:51 +0000 (22:42 +0000)]
* config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
argument to a .callinfo directive. Don't loop forever on errors.
Ian Lance Taylor [Wed, 16 Mar 1994 22:22:17 +0000 (22:22 +0000)]
* config/obj-coffbfd.c (adjust_stab_section): Initialize
stabstrseg to SEG_UNKNOWN, not -1. After loop, check whether it
is not SEG_UNKNOWN rather than checking whether it is >= 0.
Ian Lance Taylor [Wed, 16 Mar 1994 22:16:02 +0000 (22:16 +0000)]
* config/tc-mips.c (mips_align): Take new argument, label, and use
it instead of global insn_label.
(s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
call to mips_emit_delay and pass it to mips_align.
Jim Kingdon [Wed, 16 Mar 1994 20:09:55 +0000 (20:09 +0000)]
* printcmd.c: Remove "set print fast-symbolic-addr off" command.
The which it worked around was fixed on 25 Feb 94 in coffread.c,
so I'm nuking the command.
* symtab.c (find_addr_symbol): Comment out, no longer used.
Jim Kingdon [Wed, 16 Mar 1994 20:04:14 +0000 (20:04 +0000)]
* gdb.texinfo (Print Settings): Don't document "set print
fast-symbolic-addr off". The bug which it worked around was fixed
on 25 Feb 94 in coffread.c, so I'm nuking the command.
Jeff Law [Wed, 16 Mar 1994 19:58:31 +0000 (19:58 +0000)]
* gas/hppa/more.parse/regpopbug.s: New test.
* gas/hppa/more.parse/parse.exp: Run it.
Jim Kingdon [Wed, 16 Mar 1994 18:52:45 +0000 (18:52 +0000)]
* stabs.texinfo (Alternate Entry Points): New node, rewritten from
N_ENTRY node.
* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.
Jim Kingdon [Wed, 16 Mar 1994 18:05:57 +0000 (18:05 +0000)]
* main.c (main): Don't init_source_path for the -cd argument. Now
that source_path doesn't contain the current_directory from when
GDB started up, init_source_path is no longer useful (and is
harmful because it clobbers a source_path set in $HOME/.gdbinit).
Jim Kingdon [Wed, 16 Mar 1994 16:57:39 +0000 (16:57 +0000)]
* lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
(default_gdb_exit): Replace all the hair with sending "quit" to
the process with a simple close.
Jim Kingdon [Wed, 16 Mar 1994 16:21:17 +0000 (16:21 +0000)]
* stabs.texinfo (Type Descriptors): Add 'Y' type descriptor.
Jim Kingdon [Wed, 16 Mar 1994 15:30:12 +0000 (15:30 +0000)]
* TODO: Remove item about line numbers being off. It is useless
and confusing without a reproducible test case (it mentions
proceed(), but I was able to step through proceed without trouble).
Jeff Law [Wed, 16 Mar 1994 08:03:46 +0000 (08:03 +0000)]
* som.c (som_prep_for_fixups): Detect section symbols based
on either the lack of private data or the symbol flags. Do not
munge section symbol names anymore -- they no longer confuse GDB.
(som_begin_writing): Leave space for an exec header if writing
an executable.
(som_slurp_symbol_table): Recognize both forms of section symbol
names "L$0\002" and "$<FOO>$". Change the name of "L$0\002"
section symbols to be the name of the section they represent.
Debugging symbols begin with "L$0\001", not just "L$".
Jeff Law [Wed, 16 Mar 1994 07:04:42 +0000 (07:04 +0000)]
* objcopy.c (filter_symbols): Use bfd_is_local_label to determine
if a symbol represents a compiler-generated local label.
(copy_object): Give the BFD backends a chance to copy any private
bfd data from the input BFD to the output BFD.
(setup_section): Give the BFD backends a chance to copy any private
section data from the input section to the output section.
Jeff Law [Wed, 16 Mar 1994 07:02:05 +0000 (07:02 +0000)]
* bfd-in2.h, libbfd.h, libcoff.h: Rebuilt.
* bfd-in.h (JUMP_TABLE): Add new entries to the jump table
for bfd_copy_private_section_data, bfd_copy_private_bfd_data,
and bfd_is_local_label.
* targets.c: Add new entries to the bfd_target structure.
* bfd.c (bfd_copy_private_bfd_data): New definition.
* section.c (bfd_copy_private_section_data): New definition.
* syms.c (bfd_is_local_label): New definition.
* libbfd-in.h (bfd_generic_is_local_label): Declare.
* libbfd.c (bfd_generic_is_local_label): New function.
* *-core.c: Provide default definitions for new functions in
the target vector which all point to bfd_false.
* aout-target.h, coffcode.h, elf32-target.h elf64-target.h, ieee.c
libaout.h, libecoff.h, nlm-target.h, oasys.c, srec.c, tekhex.c
Default new vectors for copying private backend data to bfd_true.
Default new vector for determining if a symbol is a local label
to bfd_generic_is_local_label.
* som.c (som_bfd_copy_private_section_data): New function.
(som_bfd_is_local_label): New function.
(som_bfd_copy_private_bfd_data): For now default to bfd_true.
* elf32-hppa.c (hppa_elf_is_local_label): New function.
Ian Lance Taylor [Wed, 16 Mar 1994 04:57:11 +0000 (04:57 +0000)]
* cf-m68klynx.c (CALC_ADDEND): Use _bfd_m68klynx_howto_table.
Peter Schauer [Tue, 15 Mar 1994 21:47:34 +0000 (21:47 +0000)]
* config/i386/tm-i386bsd.h: Give just macro name, not args, to #undef.
Peter Schauer [Tue, 15 Mar 1994 21:46:32 +0000 (21:46 +0000)]
For Sunos 4.x targets, enable gdb to set breakpoints in shared
library functions before the executable is run. Retrieve dynamic
symbols from stripped executables.
* symtab.h (minimal_symbol_type): Add mst_solib_trampoline type.
* parse.c (write_exp_msymbol), symmisc.c (dump_msymbols),
symtab.c (list_symbols): Handle mst_solib_trampoline.
* minsyms.c (lookup_minimal_symbol): Handle mst_solib_trampoline
for all targets, remove IBM6000_TARGET dependencies.
* dbxread.c (read_dbx_dynamic_symtab): New function.
* dbxread.c (dbx_symfile_read): Use it.
* dbxread.c (SET_NAMESTRING): Set namestring to
"<bad string table index>" instead of "foo" if the string index is
corrupt.
* xcoffread.c (read_xcoff_symtab): Use mst_solib_trampoline instead
of mst_unknown.
* symtab.c (list_symbols): Take from_tty as parameter and pass it
to break_command. Handle mst_file_* minimal symbol types.
Ken Raeburn [Tue, 15 Mar 1994 20:39:26 +0000 (20:39 +0000)]
version 2.0 -> 2.2.1
Kung Hsu [Tue, 15 Mar 1994 19:45:04 +0000 (19:45 +0000)]
Modified Files:
ChangeLog c-exp.y
* c-exp.y(yylex): fix potential memory overflow.
Per Bothner [Tue, 15 Mar 1994 18:56:22 +0000 (18:56 +0000)]
* config.guess: about target *-hitachi-hiuxwe2, fixed
machine guessing order. [Hitachi's CPU_IS_HP_MC68K
macro is incorrect.]
Jim Kingdon [Tue, 15 Mar 1994 18:40:51 +0000 (18:40 +0000)]
* environ.c (set_in_environ): Eliminate special handling of PATH and
GNUTARGET.
* putenv.c: Removed, conflicts with system declaration of
putenv on RS/6000 running AIX 3.2.5, and above change makes it
unnecessary.
* Makefile.in: Change accordingly.
* procfs.c (procfs_create_inferior): Change comment accordingly.
Jim Kingdon [Tue, 15 Mar 1994 18:07:30 +0000 (18:07 +0000)]
* rs6000-tdep.c: Change value to value_ptr.
Jim Kingdon [Tue, 15 Mar 1994 16:46:13 +0000 (16:46 +0000)]
* TODO: Add suggestions for shared library tests.
Jim Kingdon [Tue, 15 Mar 1994 16:43:45 +0000 (16:43 +0000)]
* gdbint.texinfo (Host Conditionals, Target Conditionals): Remove
references to ieee-float.c.
Jim Kingdon [Tue, 15 Mar 1994 16:20:51 +0000 (16:20 +0000)]
* i386os9k.c : new file to handle os9k format bfd.
David MacKenzie [Tue, 15 Mar 1994 15:13:13 +0000 (15:13 +0000)]
* Most files:
Replace DEFUN and DEFUN_VOID with K&R-style function definition.
Indent some of them to GNU standards.
* aout32.c, archures.c, core.c, cpu-h8300.c, cpu-i960.c,
cpu-m68k.c, cpu-m88k.c, cpu-mips.c, cpu-vax.c, ctor.c, demo64.c,
elf32-hppa.h, gen-aout.c, host-aout.c, init.c, libhppa.h,
libieee.h, liboasys.h, newsos3.c, som.h, stab-syms.c, sunos.c:
Update copyright years.
Jeff Law [Tue, 15 Mar 1994 05:21:51 +0000 (05:21 +0000)]
* som.c (som_prep_for_fixups): A relocation involving the section
symbol for the *ABS* section is really a relocation involving
no symbol.
(som_slurp_symbol_table): Do not set BSF_GLOBAL or BSF_EXPORT for
undefined symbols. Correctly distinguish between debugger symbols
and section symbols.
Jeff Law [Tue, 15 Mar 1994 04:40:51 +0000 (04:40 +0000)]
* som (setup_sections): Set SEC_DEBUGGING and the section attributes
for spaces and subspaces.
Ken Raeburn [Tue, 15 Mar 1994 03:36:27 +0000 (03:36 +0000)]
keep ic960coff.mt
Ken Raeburn [Tue, 15 Mar 1994 03:35:59 +0000 (03:35 +0000)]
keep vmsconf.sh
Ken Raeburn [Tue, 15 Mar 1994 03:08:40 +0000 (03:08 +0000)]
today's changes for vms, misc bugs
Ken Raeburn [Tue, 15 Mar 1994 03:05:24 +0000 (03:05 +0000)]
(VMS_Initialized_Data_Size): Cache symbol values to reduce number of lookups
with S_GET_VALUE. Skip debug symbols to avoid "a really nasty bug". (From
Holger Teutsch, holger@botbso.rhein-main.de.)
(VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER field. (Also
from Holger Teutsch.) Watch for a would-be register mask that spans frags.
Ken Raeburn [Tue, 15 Mar 1994 03:02:17 +0000 (03:02 +0000)]
(obj_coff_line): Set symbol lnno field with this_base, not line_base. (Patch
from Andreas Arens, ari@obelix.av.rwth-aachen.de.)
Ken Raeburn [Tue, 15 Mar 1994 02:10:32 +0000 (02:10 +0000)]
Scan Makefile.in, not version.c, for current version number. Delete all
versions of temp files when finished with them. Create config.h.
Not yet tested.
Jeff Law [Mon, 14 Mar 1994 21:53:29 +0000 (21:53 +0000)]
* som.c (som_bfd_count_ar_symbols): Fix typo.
Ian Lance Taylor [Mon, 14 Mar 1994 20:28:30 +0000 (20:28 +0000)]
* ieee-float.h: Removed; no longer used.
Ian Lance Taylor [Mon, 14 Mar 1994 20:23:05 +0000 (20:23 +0000)]
* m68881-ext.c: Removed; no longer used.
* Makefile.in: Changed accordingly.
Ken Raeburn [Mon, 14 Mar 1994 20:20:00 +0000 (20:20 +0000)]
various configuration changes, obj-coff change
Ian Lance Taylor [Mon, 14 Mar 1994 20:18:51 +0000 (20:18 +0000)]
Don't include "ieee-float.h". I'm not sure I know where ChangeLog
entries should go for this file, but I don't think it's a big deal for
this change.
Ian Lance Taylor [Mon, 14 Mar 1994 20:00:34 +0000 (20:00 +0000)]
* m68k-dis.c (ext_format_68881): Don't declare.
(print_insn_m68k): If an instruction uses place 'i', it uses at
least four fixed bytes.
(print_insn_arg): Don't bump p by 2 for case 'I', place 'i'. For
extended float, convert to double using floatformat_to_double, not
ieee_extended_to_double, and fetch the data before converting it.
Ken Raeburn [Mon, 14 Mar 1994 19:56:47 +0000 (19:56 +0000)]
rewritten, untested
Ken Raeburn [Mon, 14 Mar 1994 19:50:00 +0000 (19:50 +0000)]
new script, for regenerating make-gas.com
Jeff Law [Mon, 14 Mar 1994 19:43:01 +0000 (19:43 +0000)]
* som.c (som_object_setup): Set EXEC_P, D_PAGED, WP_TEXT, and
HAS_RELOC based on the object's magic number.
(make_unique_section): Delete function. BFD and its users are
prepared to handle multiple sections with the same name.
(setup_sections): Allocate space on the BFD's obstack to hold
section names. Use bfd_make_setion_anyway rather than the
obsolete make_unique_section.
(som_prep_headers): Choose the correct SOM magic number based
on the BFD's flags.
(som_bfd_fill_in_ar_symbols): Return false, not NULL on error.
Jeff Law [Mon, 14 Mar 1994 19:36:15 +0000 (19:36 +0000)]
* objcopy.c (mangle_section): Delete unused function.
(setup_section): Set osection here instead of calling
mangle section to do it.
Ian Lance Taylor [Mon, 14 Mar 1994 17:14:08 +0000 (17:14 +0000)]
* ar.c (write_archive): Close inarch before unlinking it.
Jim Kingdon [Sun, 13 Mar 1994 20:17:39 +0000 (20:17 +0000)]
* i386m3-nat.c: Include floatformat.h.
(get_i387_state): Use memset not bzero.
Jim Kingdon [Sun, 13 Mar 1994 18:50:26 +0000 (18:50 +0000)]
* Version 4.12.3.
* Makefile.in: Enable commented out getopt_h, bfd_h, etc. Change
ieee-float.h to floatformat.h.
Jim Kingdon [Sun, 13 Mar 1994 18:46:42 +0000 (18:46 +0000)]
* TODO: Add suggestions for x/s tests.
Jim Kingdon [Sun, 13 Mar 1994 18:37:27 +0000 (18:37 +0000)]
* valprint.c (val_print_string): Ignore error if the error
happened after a terminating '\0'.
* c-valprint.c (c_val_print): Never add 1 to return value from
val_print_string; just return what it returns.
Jim Kingdon [Sun, 13 Mar 1994 17:47:15 +0000 (17:47 +0000)]
* target.h (enum target_signal): Add TARGET_SIGNAL_FIRST, for
looping through all of the enums.
* infrun.c (signals_info): Use it.
Jim Kingdon [Sun, 13 Mar 1994 17:31:41 +0000 (17:31 +0000)]
* Makefile.in: Add TAGS target.
Jim Kingdon [Sun, 13 Mar 1994 17:30:36 +0000 (17:30 +0000)]
* Makefile.in (TAGS): Just build TAGS in each subdirectory, rather
than the "make ls" stuff which used to be here.
Ian Lance Taylor [Sat, 12 Mar 1994 17:48:16 +0000 (17:48 +0000)]
* elf32-ppc.c: Renamed from elf32-powerpc.c.
start-sanitize-powerpc-netware
* nlm32-ppc.c: Renamed from nlm32-powerpc.c.
end-sanitize-powerpc-netware
* Makefile.in, configure.in: Corresponding changes.
Mark Eichin [Sat, 12 Mar 1994 05:37:38 +0000 (05:37 +0000)]
Changes to 68k-lynx to make it handle symbols in common sections "properly",
ie. the way "real" 68k coff implementations seem to do it, rather than like
the way it's traditionally done. Fixes lifted from the i386-coff version.
Ian Lance Taylor [Sat, 12 Mar 1994 03:30:52 +0000 (03:30 +0000)]
* elf32-powerpc.c: Extensive changes to update to preliminary ABI.
Many changes to nlm32-powerpc.c as well, but I'm not bothering to make
a ChangeLog entry to avoid sanitization headaches.
Ian Lance Taylor [Sat, 12 Mar 1994 03:28:13 +0000 (03:28 +0000)]
* config/tc-ppc.c (md_pcrel_from): Return 0 for undefined ELF
symbols.
(ppc_is_toc_sym): Change .toc to .got.
(md_apply_fix): Change handling of ELF relocs.
(tc_gen_reloc): Likewise.
Ian Lance Taylor [Sat, 12 Mar 1994 03:26:12 +0000 (03:26 +0000)]
* nlmconv.c (main): For PowerPC, call powerpc_build_stubs and
powerpc_resolve_stubs. Use __GOT0, not __toc_start. Handle it if
the start and end symbols are not in the text section.
(struct powerpc_stub): New struct definition.
(powerpc_stubs, powerpc_stub_insns): New static variables.
(powerpc_initial_got_size): New static variable.
(powerpc_build_stubs): New function.
(powerpc_resolve_stubs): New function.
(powerpc_mangle_relocs): Clear extraneous data in .got section.
Rearrange reloc handling to handle ELF relocs that are not
partial_inplace. Resolve PC relative relocs.
Ian Lance Taylor [Sat, 12 Mar 1994 03:19:27 +0000 (03:19 +0000)]
Remove ppc.em; do it all in nlmconv instead.
Ken Raeburn [Fri, 11 Mar 1994 23:13:37 +0000 (23:13 +0000)]
Some alpha-ecoff and vax-vms related changes.