binutils-gdb.git
28 years ago * config/tc-alpha.c (tc_gen_reloc): Output a sensible error
Ian Lance Taylor [Wed, 19 Jun 1996 17:01:22 +0000 (17:01 +0000)]
* config/tc-alpha.c (tc_gen_reloc): Output a sensible error
  message if bfd_reloc_type_lookup fails, rather than calling
  assert.

28 years ago * elf.c (map_sections_to_segments): Fix up the test for -Ttext to
Ian Lance Taylor [Wed, 19 Jun 1996 16:30:27 +0000 (16:30 +0000)]
* elf.c (map_sections_to_segments): Fix up the test for -Ttext to
approximate the correct answer if SIZEOF_HEADERS was not used.

28 years agoUpdated documentation for lose-inet -> keep-inet change
Tom Tromey [Wed, 19 Jun 1996 15:40:45 +0000 (15:40 +0000)]
Updated documentation for lose-inet -> keep-inet change

28 years ago * binary.c (binary_set_section_contents): Set section file
Ian Lance Taylor [Wed, 19 Jun 1996 15:39:08 +0000 (15:39 +0000)]
* binary.c (binary_set_section_contents): Set section file
position based on LMA rather than VMA.

28 years ago * config/tc-alpha.c (alpha_force_relocation): Add
Ian Lance Taylor [Wed, 19 Jun 1996 15:33:44 +0000 (15:33 +0000)]
* config/tc-alpha.c (alpha_force_relocation): Add
BFD_RELOC_12_PCREL to switch.

28 years agoWed Jun 19 11:19:25 1996 Manfred Hollstein KS/EIC5 60/3/142 #40283 <manfred@lts...
Ian Lance Taylor [Wed, 19 Jun 1996 15:23:21 +0000 (15:23 +0000)]
Wed Jun 19 11:19:25 1996  Manfred Hollstein KS/EIC5 60/3/142 #40283  <manfred@lts.sel.alcatel.de>

* linker.c (_bfd_generic_link_output_symbols): Don't output any
symbols if info->strip == strip_all.

28 years agoMon Jun 17 16:34:46 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Wed, 19 Jun 1996 01:28:24 +0000 (01:28 +0000)]
Mon Jun 17 16:34:46 1996  Jason Merrill  <jason@yorick.cygnus.com>

* Makefile.in (taz): texinfo/tex3patch no longer exists.

28 years ago * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
Jeff Law [Tue, 18 Jun 1996 23:33:49 +0000 (23:33 +0000)]
    * compile.c (sim_load): Treat the H8/S like the H8/300H for now.
        * run.c (main): Treat the H8/S like the H8/300H for now.

More sanitize H8/S stuff.

28 years ago * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
Jeff Law [Tue, 18 Jun 1996 23:29:39 +0000 (23:29 +0000)]
    * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
        (h8300_command): Likewise.
        (set_machine): Likewise.
        (set_machine_hook): Likewise.
        (_initialize_h8300m): Likewise.

        * config/h8300/tm-h8300.h (h8300smode): Declare.

More sanitized H8/S work.

28 years ago * dis-asm.h (print_insn_h8300s): Declare.
Jeff Law [Tue, 18 Jun 1996 23:20:37 +0000 (23:20 +0000)]
    * dis-asm.h (print_insn_h8300s): Declare.

end-sanitize-h8s
More H8/S stuff.

28 years ago * h8300.h (H8300SMAGIC): Define.
Jeff Law [Tue, 18 Jun 1996 23:20:15 +0000 (23:20 +0000)]
    * h8300.h (H8300SMAGIC): Define.
        (H8300SBADMAG): Define.

end-sanitize-h8s
H8/S stuff

28 years ago * h8300.h: Reorder various #defines for readability.
Jeff Law [Tue, 18 Jun 1996 23:19:44 +0000 (23:19 +0000)]
    * h8300.h: Reorder various #defines for readability.
        (ABS32SRC, ABS32DST, DSP32LIST, ABS32LIST, A32LIST): Define.
        (BITOP): Accept additional (unused) argument.  All callers changed.
        (EBITOP): Likewise.
        (O_LAST): Bump.
        (ldc, stc, movb, movw, movl): Use 32bit offsets and absolutes.

start-sanitize-h8s
        * h8300.h (EXR, SHIFT_2, MACREG, SHIFT_IMM, RDINC): Define.
        (O_TAS, O_CLRMAC, O_LDMAC, O_MAC, O_LDM, O_STM): Define.
        (BITOP, EBITOP): Handle new H8/S addressing modes for
        bit insns.
        (UNOP3): Handle new shift/rotate insns on the H8/S.
        (insns using exr): New instructions.
        (tas, mac, ldmac, clrmac, ldm, stm): New instructions.

end-sanitize-h8s
You guessed it.  More H8/S junk.

28 years ago * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
Jeff Law [Tue, 18 Jun 1996 23:00:38 +0000 (23:00 +0000)]
    * h8300-dis.c (bfd_h8_disassemble): Rename "hmode" argument
        to just "mode".

start-sanitize-h8s
        * disassemble.c (disassembler): Handle H8/S.
        * h8300-dis.c (print_insn_h8300s): New function for H8/S.
end-sanitize-h8s

Even more H8/S goo.

28 years ago * scripttempl/h8300s.sc: New file for H8/S.
Jeff Law [Tue, 18 Jun 1996 22:55:30 +0000 (22:55 +0000)]
    * scripttempl/h8300s.sc: New file for H8/S.
        * emulpararms/h8300s.sh: New file for H8/S.
        * Makefile.in (ALL_EMULATIONS): Add H8/S.
        (e_h8300s.c): Add dependencies.
        * configure.tgt: Add H8/S to targ_extra_emuls.
H8/S linker stuff.  Sanitized until status of this code is known.

28 years ago * coff-h8300.c: Remove #if 0 code.
Jeff Law [Tue, 18 Jun 1996 22:26:09 +0000 (22:26 +0000)]
    * coff-h8300.c: Remove #if 0 code.
        (compatable): Don't allow mixing/matching of different architectures.
Just stuff I noticed.

start-sanitize-h8s
        * archures.c (bfd_mach_h8300s): Add.
        * bfd-in2.h: Rebuilt.
        * coff-h8300.c (funcvec_hash_newfunc): Handle H8/S too.
        (BADMAG): Likewise.
        (h8300_reloc16_estimate): Likewise.
        (h8300_reloc16_extra_cases): Likewise.
        (h8300_bfd_link_add_symbols): Likewise.
        * coffcode.h (coff_set_arch_mach_hook): Likewise.
        (coff_set_flags): Likewise.
        * cpu-h8300.c (h8300_scan): Likewise.
        Add H8/S to bfd_h8300_arch list.
end-sanitize-h8s
H8/S support.  Sanitized away until we know its official status.

28 years ago * read.c (s_fill): Don't warn about a zero repeat count.
Ian Lance Taylor [Tue, 18 Jun 1996 22:17:40 +0000 (22:17 +0000)]
* read.c (s_fill): Don't warn about a zero repeat count.

28 years ago * ppc-opc.c: Fix fcmpo opcode. From Sergei Steshenko
Ian Lance Taylor [Tue, 18 Jun 1996 22:08:44 +0000 (22:08 +0000)]
* ppc-opc.c: Fix fcmpo opcode.  From Sergei Steshenko
<sergei@msil.sps.mot.com>.

28 years ago * configure.tgt (i[345]86*-*-isc*): New target. From
Ian Lance Taylor [Tue, 18 Jun 1996 21:58:52 +0000 (21:58 +0000)]
* configure.tgt (i[345]86*-*-isc*): New target.  From
<uddeborg@carmen.se>.

28 years ago * config/tc-mips.c (mips_ip): Don't warn about using AT as a
Ian Lance Taylor [Tue, 18 Jun 1996 21:57:56 +0000 (21:57 +0000)]
* config/tc-mips.c (mips_ip): Don't warn about using AT as a
coprocessor register.

28 years ago * core.c (core_create_line_syms): Use xstrdup rather than strdup.
Ian Lance Taylor [Tue, 18 Jun 1996 21:37:38 +0000 (21:37 +0000)]
* core.c (core_create_line_syms): Use xstrdup rather than strdup.
* source.c (source_file_lookup_path): Likewise.

28 years ago * config/tc-i386.c (md_assemble): When checking the size of a
Ian Lance Taylor [Tue, 18 Jun 1996 21:15:35 +0000 (21:15 +0000)]
* config/tc-i386.c (md_assemble): When checking the size of a
register to set the size of an instruction, do a bitwise and with
Reg8 and Reg16 rather than requiring the type to be exactly Reg8
or Reg16.

28 years ago * config/tc-h8300.c (parse_reg): Tweak error messages.
Jeff Law [Tue, 18 Jun 1996 20:28:20 +0000 (20:28 +0000)]
    * config/tc-h8300.c (parse_reg): Tweak error messages.
        (build_bytes): Likewise.
        (skip_colonthing): Handle :32 suffix.
        (get_specific): Promote L_24 to L_32 if it makes a match.
        Don't always promote L_8 to L_16.
        (do_a_fix_imm): Clean up L_32 and L_24 handling.
H8/S related stuff that doesn't need to be sanitized.

start-sanitize-h8s
        * config/tc-h8300.c (Smode): New variable.
        (h8300hmode): Turn off Hmode.
        (h8300smode): New function.  Turn on Smode and Hmode.
        (md_pseudo_table): New ".h8300s" pseudo-op.
        (parse_reg): Handle "exr" register.
        (get_operand): Handle bizarre syntax for "stm.l" and "ldm.l".
        Handle "mach" and "machl" operands for ldmac.
        (get_specific): Handle "stm.l" and "ldm.l".
        (build_bytes): Handle "stm.l" and "ldm.l"; handle MACREG operands.
        * config/tc-h8300.h (COFF_MAGIC): Handle H8/S magic number.
        (Smode): Declare.
end-sanitize-h8s
Sanitized H8/S stuff until we know its status.

28 years agoTweak.
Jeff Law [Tue, 18 Jun 1996 20:02:10 +0000 (20:02 +0000)]
Tweak.

28 years ago * gas/h8300/cbranchh.s: Switch into h8300h mode.
Jeff Law [Tue, 18 Jun 1996 19:50:54 +0000 (19:50 +0000)]
    * gas/h8300/cbranchh.s: Switch into h8300h mode.
        * gas/h8300/h8300.exp (H8/300H misc tests): Fix test names.
Just something I noticed.

        * gas/h8300/{addsubs.s,bitops1s.s,bitops2s.s}: New tests for the
        H8/S.
        * gas/h8300/{bitops3.s,bitops4.s,cbranchs.s,logicals.s}: Likewise.
        * gas/h8300/{branchess.s,compares.s,macs.s,decimals.s}: Likewise.
        * gas/h8300/{incdecs.s,divmuls.s,miscs.s,multiples.s}: Likewise.
        * gas/h8300/{movbs.s,movws.s,movls.s,pushpops.s}: Likewise.
        * gas/h8300/{rotshifts.s,extends.s}: Likewise.
        * gas/h8300/h8300.exp: Run them.
Sanitized away until status is clarified.

28 years ago * gas/h8300/cbranchh.s: Switch into h8300h mode.
Jeff Law [Tue, 18 Jun 1996 19:40:18 +0000 (19:40 +0000)]
* gas/h8300/cbranchh.s: Switch into h8300h mode.
Just something I noticed.

28 years agoTue Jun 18 15:11:33 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 18 Jun 1996 19:14:57 +0000 (19:14 +0000)]
Tue Jun 18 15:11:33 1996  Klaus Kaempf  <kkaempf@progis.de>

* fopen-vms.h: New file.

28 years agoTue Jun 18 15:08:54 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 18 Jun 1996 19:10:42 +0000 (19:10 +0000)]
Tue Jun 18 15:08:54 1996  Klaus Kaempf  <kkaempf@progis.de>

* makefile.vms: New file.

* alpha-dis.c (print_insn_alpha): Print lda ra,lit(rz) as mov.

28 years agoTue Jun 18 15:03:44 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 18 Jun 1996 19:10:39 +0000 (19:10 +0000)]
Tue Jun 18 15:03:44 1996  Klaus Kaempf  <kkaempf@progis.de>

* config.h-vms, makefile.vms: New files.

28 years agoTue Jun 18 14:42:58 1996 Klaus Kaempf <kkaempf@progis.de>
Ian Lance Taylor [Tue, 18 Jun 1996 19:07:51 +0000 (19:07 +0000)]
Tue Jun 18 14:42:58 1996  Klaus Kaempf  <kkaempf@progis.de>

Added support for Alpha OpenVMS:
* evax.h, evax-alpha.c, evax-egsd.c, evax-emh.c: New files.
* evax-etir.c, evax-misc.c, hosts/alphavms.h: New files.
* config.h-vms, makefile.vms: New files.
* config.bfd (alpha-*-*vms*): New target.
* configure.in (evax_alpha_vec): New target vector.
* configure: Rebuild.
* reloc.c (BFD_RELOC_SWREL32, BFD_RELOC_SWREL64): Define.
(BFD_RELOC_ALPHA_LINKAGE, BFD_RELOC_ALPHA_BASEREG): Define.
* targets.c (bfd_target_evax_flavour): Define.
(evax_alpha_vec): Declare.
(bfd_target_vector): Add ecoffalpha_little_vec and evax_alpha_vec
if BFD64 is defined.
* bfd-in2.h, libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD64_BACKENDS): Add evax-alpha.o, evax-egsd.o, evax-etir.o,
evax-emh.o, and evax-misc.o.
(BFD64_BACKENDS_CFILES): Add evax-alpha.c, evax-egsd.c,
evax-etir.c, evax-emh.c, and evax-misc.c.
(HFILES): Add evax.h.

28 years agoTue Jun 18 14:24:12 1996 Klaus Kaempf (kkaempf@progis.de)
Ian Lance Taylor [Tue, 18 Jun 1996 18:51:14 +0000 (18:51 +0000)]
Tue Jun 18 14:24:12 1996  Klaus Kaempf  (kkaempf@progis.de)

* config.sub: Recognize -openvms.
* configure.in (alpha*-*-*vms*): Set noconfigdirs.
* make-all.com, setup.com: New files.

28 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Make name a const
Ian Lance Taylor [Tue, 18 Jun 1996 17:56:53 +0000 (17:56 +0000)]
* coff-h8300.c (h8300_reloc16_extra_cases): Make name a const
pointer.
(h8300_bfd_link_add_symbols): Likewise.

28 years ago* doc/as.texinfo: Reorder chapter of machine dependent options so
J.T. Conklin [Mon, 17 Jun 1996 22:55:02 +0000 (22:55 +0000)]
* doc/as.texinfo: Reorder chapter of machine dependent options so
that it is sorted by chip name.

* doc/as.texinfo: Use consistant spelling of Vax.
* doc/c-vax.texi: Likewise.

28 years ago * Makefile.in (DVIPS): New define, set to dvips.
Fred Fish [Mon, 17 Jun 1996 22:37:34 +0000 (22:37 +0000)]
* Makefile.in (DVIPS): New define, set to dvips.
(dvi): Add stabs.dvi.
(ps): New target.
(all-doc): Depend on info, dvi, and ps targets.
(STAGESTUFF): Add *.ps and *.dvi files.
(clean-info, clean-dvi): Remove.
(mostlyclean): Does not depend upon clean-info or clean-dvi,
rules completely rewritten.
(maintainer-clean): Remove clean-info and clean-dvi
dependencies and put their actions in the rules.
(gdb.ps): New target
(gdb.dvi, gdbgui.dvi, gdbint.dvi, stabs.dvi): Remove
intermediate TeX files, whether they have 2 or 3 character
extensions.
(gdbint.ps): Add target and rules.
(gdb-internals): Delete unused target.
(Makefile): Depends upon config.status also.

28 years ago * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
Jeff Law [Mon, 17 Jun 1996 18:31:51 +0000 (18:31 +0000)]
    * config/tc-hppa.c (md_pseudo_table): Add ".begin_try" and ".end_try"
        pseudo ops.
        (tc_gen_reloc, SOM version): Handle R_BEGIN_TRY and R_END_TRY.
        (md_apply_fix): Likewise.
        (pa_try): New function.
        (hppa_force_relocation): Force relocs for BEGIN_TRY and END_TRY.
More PA exception handling crud.

28 years ago * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define.
Jeff Law [Mon, 17 Jun 1996 18:25:09 +0000 (18:25 +0000)]
    * som.h (R_HPPA_BEGIN_TRY, R_HPPA_END_TRY): Define.
        * som.c (som_write_fixups): Handle R_BEGIN_TRY and R_END_TRY.
gunk for EH on the PA.

28 years ago * elf32-mips.c (mips_elf_relocate_section): Don't create a reloc
Ian Lance Taylor [Mon, 17 Jun 1996 16:54:39 +0000 (16:54 +0000)]
* elf32-mips.c (mips_elf_relocate_section): Don't create a reloc
for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were
created.
(mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and
R_MIPS_32 relocs if creating a shared library.

28 years ago * dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
Ian Lance Taylor [Mon, 17 Jun 1996 16:48:48 +0000 (16:48 +0000)]
* dlltool.c (make_one_lib_file): Use BFD_RELOC_RVA rather than
BFD_RELOC_32 in IDATA7.
PR 9877.

28 years ago * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
Jeff Law [Mon, 17 Jun 1996 05:59:01 +0000 (05:59 +0000)]
    * config/tc-hppa.c (md_pseudo_table): Add ".level" pseudo op.
        (pa_level): New function.
hpux10 gunk.

28 years ago * somsolib.c (som_solib_create_inferior_hook): Handle tracking
Jeff Law [Sun, 16 Jun 1996 22:22:51 +0000 (22:22 +0000)]
    * somsolib.c (som_solib_create_inferior_hook): Handle tracking
        of shl_load calls for hpux10.
Just something that needed fixing.

28 years agocygwin32 changes
Geoffrey Noer [Sun, 16 Jun 1996 01:39:26 +0000 (01:39 +0000)]
cygwin32 changes

28 years agoenable_gdbtk=no for cygwin32-hosted toolchains
Geoffrey Noer [Sun, 16 Jun 1996 00:18:38 +0000 (00:18 +0000)]
enable_gdbtk=no for cygwin32-hosted toolchains

28 years ago * listing.c (listing_newline): Don't do anything if listing is 0.
Ian Lance Taylor [Sat, 15 Jun 1996 03:07:16 +0000 (03:07 +0000)]
* listing.c (listing_newline): Don't do anything if listing is 0.

28 years ago * config.in: Regenerated.
Tom Tromey [Thu, 13 Jun 1996 18:44:33 +0000 (18:44 +0000)]
* config.in: Regenerated.
* acconfig.h (HAVE_THREAD_DB_LIB): Added entry.

* configure: Regenerated.
* aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
avoid name clashes with SunOS headers.

28 years ago * cofflink.c (_bfd_coff_final_link): Handle long section names.
Ian Lance Taylor [Thu, 13 Jun 1996 18:07:39 +0000 (18:07 +0000)]
* cofflink.c (_bfd_coff_final_link): Handle long section names.
* coffcode.h (coff_write_object_contents): If there are long
section names, always set the f_symptr field, even if there are no
symbols.
* peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field
if there are no symbols.

28 years ago * coffgen.c (make_a_section_from_file): Check return value of
Ian Lance Taylor [Thu, 13 Jun 1996 17:40:58 +0000 (17:40 +0000)]
* coffgen.c (make_a_section_from_file): Check return value of
_bfd_coff_read_string_table.
(coff_real_object_p): Check return value of
make_a_section_from_file.
(_bfd_coff_read_string_table): Check that there are some symbols
before trying to read the string table size.

28 years ago * write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
Ian Lance Taylor [Thu, 13 Jun 1996 01:10:46 +0000 (01:10 +0000)]
* write.c (adjust_reloc_syms): Don't set sy_used_in_reloc for an
absolute symbol unless TC_FORCE_RELOCATION returns true.

28 years ago * xcofflink.c (xcoff_link_add_symbols): When considering whether
Ian Lance Taylor [Thu, 13 Jun 1996 00:16:39 +0000 (00:16 +0000)]
* xcofflink.c (xcoff_link_add_symbols): When considering whether
to replace a symbol in a dynamic object with a symbol from another
dynamic object, do the replacement if the existing symbol is
global linkage code.
PR 9860.
Also fix a couple of comment typos and indentation problems.

28 years ago * xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly
Ian Lance Taylor [Wed, 12 Jun 1996 22:05:32 +0000 (22:05 +0000)]
* xcofflink.c (_bfd_ppc_xcoff_relocate_section): Check explicitly
for _ptrgl, and treat it as global linkage code.
PR 9860.

28 years ago * nm.c (struct get_relocs_info): Define.
Ian Lance Taylor [Wed, 12 Jun 1996 18:59:47 +0000 (18:59 +0000)]
* nm.c (struct get_relocs_info): Define.
(line_numbers): New static variable.
(long_options): Add "line-numbers".
(usage): Mention -l and --line-numbers.
(main): Handle -l.
(print_symbol): Print line numbers if requested.
(get_relocs): New static function.
* binutils.texi, nm.1: Document -l/--line-numbers.

28 years ago * aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a
Ian Lance Taylor [Wed, 12 Jun 1996 18:18:23 +0000 (18:18 +0000)]
* aoutx.h (NAME(aout,find_nearest_line)): Notice if we find a
filename or N_SO symbol past the offset, and use it to indicate
that there is no line number or function when appropriate.

28 years ago * objdump.c (dump_reloc_set): Add sec parameter. Change all
Ian Lance Taylor [Wed, 12 Jun 1996 03:14:14 +0000 (03:14 +0000)]
* objdump.c (dump_reloc_set): Add sec parameter.  Change all
callers.  If with_line_numbers is set, display line numbers of
relocation entries.
* binutils.texi, objdump.1: Document -l with -r.

28 years ago From Michael Snyder <Michael_Snyder@next.com>:
Fred Fish [Wed, 12 Jun 1996 03:10:51 +0000 (03:10 +0000)]
From Michael Snyder <Michael_Snyder@next.com>:
* bcache.c (print_bcache_statistics): Avoid divide-by-zero
exception if one or more objfile has no symbols, such as when
a dynamic library has been stripped.

28 years ago * xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a
Ian Lance Taylor [Tue, 11 Jun 1996 22:25:55 +0000 (22:25 +0000)]
* xcofflink.c (xcoff_build_ldsyms): Set XCOFF_DEF_REGULAR for a
common symbol defined by the linker.  Don't export function code
even if export_defineds is set.
PR 9856.

28 years ago * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
Stu Grossman [Tue, 11 Jun 1996 19:21:42 +0000 (19:21 +0000)]
* Makefile.in (INTERNAL_LDFLAGS):  Add in flags from configure.
* configure configure.in:  Only make sol-thread.o for native.
Also, switch to dlopened libthread_db.so.1.
* sol-thread.c:  Switch to using dlopen to get the thread_db
library.

28 years ago * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
Fred Fish [Tue, 11 Jun 1996 00:35:19 +0000 (00:35 +0000)]
* config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
  Change from 0xE0000000 to 0xC0000000.
PR 9792

28 years ago * config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
Ian Lance Taylor [Mon, 10 Jun 1996 23:32:34 +0000 (23:32 +0000)]
* config/tc-m68k.c (m68k_ip): Accept ABSL for 'O', so that `bfextu
d0{24:1},d0' works without an immediate prefix on the bit numbers.
(md_begin): Add digits to alt_notend_table.
(md_parse_option): Make s a const pointer.

28 years ago * config/tc-sparc.c (md_pseudo_table): Add "empty".
Ian Lance Taylor [Mon, 10 Jun 1996 21:07:57 +0000 (21:07 +0000)]
* config/tc-sparc.c (md_pseudo_table): Add "empty".
(s_empty): New static function.

28 years ago * gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag
Ian Lance Taylor [Mon, 10 Jun 1996 19:29:51 +0000 (19:29 +0000)]
* gas/all/cofftag.s, gas/all/cofftag.d: New test for COFF enum tag
with the same name as a global variable.
* gas/all/gas.exp: Run cofftag test for any COFF target.

28 years ago * config/obj-coff.c (struct filename_list): Only define if not
Ian Lance Taylor [Mon, 10 Jun 1996 19:29:25 +0000 (19:29 +0000)]
* config/obj-coff.c (struct filename_list): Only define if not
BFD_ASSEMBLER.
(filename_list_head, filename_list_tail): Likewise.
(c_section_symbol): Remove unused BFD_ASSEMBLER version.
(obj_coff_endef, BFD_ASSEMBLER version): Don't set the debugging
flag for C_MOS, C_MOE, C_MOU, or C_EOS symbols, since they should
have a section of N_ABS rather than N_DEBUG.  If we do a merge,
remove the new symbol from the list.
  (obj_coff_endef, both versions): Call tag_insert even if there is
an old symbol with the same name, if the old symbol does not
happen to be a tag.
(coff_frob_symbol): Check SF_GET_TAG, C_EOF, and C_FILE outside of
the SF_GET_DEBUG condition.  Don't call SA_SET_SYM_ENDNDX with a
symbol that will be moved to the end of the symbol list.
(coff_adjust_section_syms): Always call section_symbol for .text,
.data, and .bss.
(coff_frob_section): Likewise.  Also, remove unused variable
strname.

28 years agoAdd .lcomm directive
Michael Meissner [Mon, 10 Jun 1996 18:54:38 +0000 (18:54 +0000)]
Add .lcomm directive

28 years ago * config/tc-ns32k.c (convert_iif): Call frag_grow rather than
Ian Lance Taylor [Mon, 10 Jun 1996 16:29:54 +0000 (16:29 +0000)]
* config/tc-ns32k.c (convert_iif): Call frag_grow rather than
manipulating frags directly.
(md_number_to_field): Adjust mem_ptr correctly if ENDIAN is
defined.

28 years ago * app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
Ian Lance Taylor [Mon, 10 Jun 1996 16:15:05 +0000 (16:15 +0000)]
* app.c (do_scrub_chars): If '/' is LINE_COMMENT_START, check
  whether the next character is '*' before checking whether we are
at the start of a line.  Permit LINE_COMMENT_START to start a
comment in state 1 (seen some whitespace) as well, to match the
documentation.

28 years ago * gasp.c (do_align): Permit a fill value for .align.
Ian Lance Taylor [Mon, 10 Jun 1996 15:51:26 +0000 (15:51 +0000)]
* gasp.c (do_align): Permit a fill value for .align.

28 years agoOpps.
Jeff Law [Sun, 9 Jun 1996 22:40:13 +0000 (22:40 +0000)]
Opps.

28 years ago * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing
Jeff Law [Sun, 9 Jun 1996 22:38:09 +0000 (22:38 +0000)]
    * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacing
        problems.
        (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot"
        correctly for the two variants.  Allow relaxing if the target
        is 128 bytes away since after relaxation it'll be 126 bytes away.
        (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust
        "dot" and "value".  Allow relaxing if the target is 128 bytes
        away since after relaxation it'll be 126 bytes away.
        * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing
        the given section until nothing changes.
Improving corner case relaxing for jmp:16->bra:8, jmp:24->bra:8 and
bCC:16->bCC:8.

Re-relax a section if something changes; more relaxing opportunities
may be available.

28 years agoKill r16/rce/acp stuff.
Jim Wilson [Sat, 8 Jun 1996 03:52:13 +0000 (03:52 +0000)]
Kill r16/rce/acp stuff.

28 years agoKill r16/rce/acp stuff.
Jim Wilson [Sat, 8 Jun 1996 03:45:18 +0000 (03:45 +0000)]
Kill r16/rce/acp stuff.

28 years agoKill r16/rce/acp stuff.
Jim Wilson [Sat, 8 Jun 1996 03:18:15 +0000 (03:18 +0000)]
Kill r16/rce/acp stuff.

28 years agoKill r16/rce/acp stuff.
Jim Wilson [Sat, 8 Jun 1996 03:06:36 +0000 (03:06 +0000)]
Kill r16/rce/acp stuff.

28 years ago * config.guess (i?86-ncr-sysv*): Emit minor release numbers.
Per Bothner [Sat, 8 Jun 1996 01:26:46 +0000 (01:26 +0000)]
* config.guess (i?86-ncr-sysv*):  Emit minor release numbers.
Recognize the NCR 4850 machine and NCR Pentium-based platforms.

28 years ago * config.guess: Combine mips-mips-riscos cases, and use cpp to
Per Bothner [Sat, 8 Jun 1996 01:13:04 +0000 (01:13 +0000)]
* config.guess:  Combine mips-mips-riscos cases, and use cpp to
distinguish sysv/svr4/bsd variants.
Based on a patch from Harlan Stenn <harlan@clark.net>.

28 years ago * configure.in: Added copyright notice.
Tom Tromey [Fri, 7 Jun 1996 21:30:04 +0000 (21:30 +0000)]
    * configure.in: Added copyright notice.
        * move-if-change: Added copyright notice.

28 years ago * emultempl/sunos.em: Include libiberty.h.
Ian Lance Taylor [Fri, 7 Jun 1996 15:29:36 +0000 (15:29 +0000)]
* emultempl/sunos.em: Include libiberty.h.
(gld${EMULATION_NAME}_set_symbols): New static function to add
LD_LIBRARY_PATH to the list of search directories.
(ld_${EMULATION_NAME}_emulation): Add new set_symbols routine.

28 years ago * ieee.c (ieee_write_object_contents): Put a timestamp in the file
Ian Lance Taylor [Thu, 6 Jun 1996 23:57:18 +0000 (23:57 +0000)]
* ieee.c (ieee_write_object_contents): Put a timestamp in the file
to keep the HP emulator database happy.
PR 9493.

28 years agodo not build tk under Solaris Powerpc
Michael Meissner [Thu, 6 Jun 1996 23:30:06 +0000 (23:30 +0000)]
do not build tk under Solaris Powerpc

28 years agoAdd missing file for solaris on powerpc
Michael Meissner [Thu, 6 Jun 1996 21:11:52 +0000 (21:11 +0000)]
Add missing file for solaris on powerpc

28 years agoDo not build pieces needing shared libs on PPC Solaris
Michael Meissner [Thu, 6 Jun 1996 20:45:30 +0000 (20:45 +0000)]
Do not build pieces needing shared libs on PPC Solaris

28 years agoThu Jun 6 15:24:45 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Thu, 6 Jun 1996 19:51:04 +0000 (19:51 +0000)]
Thu Jun  6 15:24:45 1996  Richard Henderson  <rth@tamu.edu>

* ecoff.c (_bfd_ecoff_new_section_hook): Remove the _PDATA
  alignment hack--we can get the lnnoptr info another way without
  suddenly increasing the alignment requirements.  Set the flags for
the _PDATA section.
(ecoff_compute_section_file_positions): Do so.

28 years ago * README: Add notes on how to build if you don't have ar.
Ian Lance Taylor [Thu, 6 Jun 1996 19:14:16 +0000 (19:14 +0000)]
* README: Add notes on how to build if you don't have ar.

28 years ago.Sanitize cleanups for IDK
Tom Tromey [Thu, 6 Jun 1996 16:34:49 +0000 (16:34 +0000)]
.Sanitize cleanups for IDK

28 years ago * gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
Ian Lance Taylor [Thu, 6 Jun 1996 16:31:03 +0000 (16:31 +0000)]
* gas/m68k/all.exp: Pass -m68020 when assembling the disperr.s
test.

28 years ago * emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
Ian Lance Taylor [Thu, 6 Jun 1996 16:23:04 +0000 (16:23 +0000)]
* emulparams/elf32bmip.sh (OTHER_GOT_SYMBOLS): Use ALIGN(16)
rather than . when computing _gp value.  From Per Fogelstrom.
* emulparams/elf32lmip.sh (OTHER_GOT_SYMBOLS): Likewise.

28 years ago * ldmain.c (main): Don't close and unlink the file on error, since
Ian Lance Taylor [Thu, 6 Jun 1996 16:07:23 +0000 (16:07 +0000)]
* ldmain.c (main): Don't close and unlink the file on error, since
remove_output will do it anyhow.
* ldlang.c (open_output): Set boolean variable to true, not 1.

28 years ago * config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
Ian Lance Taylor [Thu, 6 Jun 1996 15:30:28 +0000 (15:30 +0000)]
* config.bfd: Recognize powerpc-*-linux* and powerpcle-*-linux*.
From Kevin Buettner <kev@primenet.com>.

28 years agoRemove cygnus local comments from install-sh and install.sh.
Gordon Irlam [Wed, 5 Jun 1996 19:38:35 +0000 (19:38 +0000)]
Remove cygnus local comments from install-sh and install.sh.

28 years agoLatest changes from Andrew
Michael Meissner [Wed, 5 Jun 1996 16:02:54 +0000 (16:02 +0000)]
Latest changes from Andrew

28 years agoWed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 5 Jun 1996 15:11:10 +0000 (15:11 +0000)]
Wed Jun  5 01:52:57 1996  James G. Smith  <jsmith@cygnus.co.uk>

  * configure.in (configdirs): Force 4100 builds to use 4300 GDB
   target.
* configure: Rebuild.

* config/mips/vr4300el.mt (SIM_OBS): Include simulator in
  little-endian builds.

28 years agoWed Jun 5 08:28:13 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Wed, 5 Jun 1996 08:16:16 +0000 (08:16 +0000)]
Wed Jun  5 08:28:13 1996  James G. Smith  <jsmith@cygnus.co.uk>

* configure.in: Define @SIMCONF@ depending on mips target.
* configure: Rebuild.
* Makefile.in (run): Add @SIMCONF@ to control simulator
  construction.
* gencode.c: Change LOADDRMASK to 64bit memory model only.
* interp.c: Remove some debugging, provide more detailed error
  messages, update memory accesses to use LOADDRMASK.

28 years ago * config.guess: Merge with FSF:
Per Bothner [Wed, 5 Jun 1996 03:48:09 +0000 (03:48 +0000)]
* config.guess:  Merge with FSF:

Mon Jun  3 08:49:14 1996  Karl Heuer  <kwzh@gnu.ai.mit.edu>
* config.guess (*:Linux:*:*): Add guess for sparc-unknown-linux.

Fri May 24 18:34:53 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
* config.guess (AViiON:dgux:*:*): Fix typo in recognizing mc88110.

Fri Apr 12 20:03:59 1996  Per Bothner  <bothner@spiff.gnu.ai.mit.edu>
* config.guess:  Combine two OSF1 rules.
Also recognize field test versions.  From mjr@zk3.dec.com.
* config.guess (dgux):  Use /usr/bin/uname rather than uname,
because GNU uname does not support -p.  From pmr@pajato.com.

28 years agoAdd install.sh copyright terms from X11R5.
Gordon Irlam [Wed, 5 Jun 1996 01:24:52 +0000 (01:24 +0000)]
Add install.sh copyright terms from X11R5.

28 years ago * ldcref.c: New file.
Ian Lance Taylor [Tue, 4 Jun 1996 23:37:13 +0000 (23:37 +0000)]
* ldcref.c: New file.
* ld.h (add_cref, output_cref): Declare.
* ldmain.c (main): Initialize notice_all field.  If it is set at
end of link, call output_cref.
(notice): Rename from notice_ysym.  Check notice_all.
* ldmisc.c (finfo): Make globally visible.
* ldmisc.h (finfo): Declare.
* lexsup.c (OPTION_CREF): Define.
(ld_options): Add "cref".
(parse_args): Handle OPTION_CREF.
* Makefile.in: Rebuild dependencies.
(CFILES): Add ldcref.c.
(OFILES): Add ldcref.o.
* ld.texinfo, ld.1: Document --cref.

28 years ago * linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
Ian Lance Taylor [Tue, 4 Jun 1996 23:11:00 +0000 (23:11 +0000)]
* linker.c (_bfd_generic_link_add_one_symbol): If notice_all is
set, always call the notice callback.

* VERSION: Increment for bfdlink.h change.

28 years ago * Makefile.in (install): Don't check to see if tooldir exists.
Tom Tromey [Tue, 4 Jun 1996 22:16:01 +0000 (22:16 +0000)]
    * Makefile.in (install): Don't check to see if tooldir exists.
        Make $(tooldir) and $(tooldir)/bin.

28 years ago * Makefile.in (MAKEDIRS): Removed $(tooldir).
Tom Tromey [Tue, 4 Jun 1996 21:35:58 +0000 (21:35 +0000)]
    * Makefile.in (MAKEDIRS): Removed $(tooldir).

28 years agoDo not turn on -mregnames by default
Michael Meissner [Tue, 4 Jun 1996 15:02:47 +0000 (15:02 +0000)]
Do not turn on -mregnames by default

28 years agoBuild psim on ppc SVR4, Solaris, and Elf targets.
Michael Meissner [Tue, 4 Jun 1996 13:27:31 +0000 (13:27 +0000)]
Build psim on ppc SVR4, Solaris, and Elf targets.

28 years agoMake main an int function, not void
Michael Meissner [Mon, 3 Jun 1996 21:40:45 +0000 (21:40 +0000)]
Make main an int function, not void

28 years ago * coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
Ian Lance Taylor [Mon, 3 Jun 1996 21:13:41 +0000 (21:13 +0000)]
* coff-sh.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set to 4.
(sh_relax_delete_bytes): Correct handling of differently sized
trailing alignment reloc.

28 years agoAbort if we find the program has an .interp section
Michael Meissner [Mon, 3 Jun 1996 20:26:09 +0000 (20:26 +0000)]
Abort if we find the program has an .interp section

28 years ago * bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.
Ian Lance Taylor [Mon, 3 Jun 1996 20:20:11 +0000 (20:20 +0000)]
* bfd-in.h: Use #error if BFD_HOST_64_BIT can not be defined.
* bfd-in2.h: Rebuild.
* configure.in: Warn if there is no known 64 bit type.
* configure: Rebuild.