platform/upstream/binutils.git
27 years ago * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
Jeff Law [Tue, 9 Jul 1996 21:53:47 +0000 (21:53 +0000)]
    * coff-h8300.c (h8300_reloc16_extra_cases): Use the correct
        value for R_RELBYTE.
Something -Wall caught.

        * reloc16.c (bfd_coff_reloc16_relax_section): Only "shrinks"
        array if one was allocated.
Something I ran into today.

28 years agoForgot to commit .Sanitize after last checkin
Michael Meissner [Tue, 9 Jul 1996 17:43:08 +0000 (17:43 +0000)]
Forgot to commit .Sanitize after last checkin

28 years ago From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
Ian Lance Taylor [Tue, 9 Jul 1996 16:28:04 +0000 (16:28 +0000)]
From Kazumoto Kojima <kkojima@kk.info.kanagawa-u.ac.jp>:
* elf32-mips.c (struct mips_elf_link_hash_table): Add new fields
use_rld_obj_head and rld_value.
(mips_elf_link_hash_table_create): Initialize new fields.
(mips_elf_add_symbol_hook): Mark __rld_obj_head symbol as
dynamic.
(mips_elf_create_dynamic_sections): Create .rld_map section.  If
__rld_obj_head symbol not seen, create an __rld_map symbol.
(mips_elf_size_dynamic_sections): Make space in .rld_map section.
Create a DT_MIPS_RLD_MAP entry rather than a DT_DEBUG entry.
(mips_elf_finish_dynamic_symbol): Save value of __rld_map or
__rld_obj_head symbol.
(mips_elf_finish_dynamic_sections): Handle DT_MIPS_RLD_MAP.

28 years ago * configure.tgt (mips*el-*-elf*): Use elf32elmip.
Ian Lance Taylor [Tue, 9 Jul 1996 16:13:56 +0000 (16:13 +0000)]
* configure.tgt (mips*el-*-elf*): Use elf32elmip.
(mips*-*-elf*): Use elf32ebmip.
* emulparams/elf32bmip.sh (EMBEDDED): Don't define.
* emulparams/elf32lmip.sh (EMBEDDED): Don't define.
* emulparams/elf32elmip.sh: New file; copy of elf32lmip.sh with
EMBEDDED defined.
* emulparams/elf32ebmip.sh: New file; copy of elf32bmip.sh with
EMBEDDED defined.
* emulparams/elf32b4300.sh (EMBEDDED): Define.
* emulparams/elf32l4300.sh (EMBEDDED): Define.
* Makefile.in (ALL_EMULATIONS): Add eelf32ebmip.o eelf32elmip.o.
(eelf32ebmip.c, eelf32elmip.c): New targets.
Irix 5 is not an embedded system.

28 years ago * alpha-opc.c: Add new case of "mov". From Klaus Kaempf
Ian Lance Taylor [Tue, 9 Jul 1996 14:57:34 +0000 (14:57 +0000)]
* alpha-opc.c: Add new case of "mov".  From Klaus Kaempf
<kkaempf@progis.ac-net.de>.

28 years ago * configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5.
Jim Wilson [Tue, 9 Jul 1996 00:34:43 +0000 (00:34 +0000)]
* configure.in (mips-sgi-irix6*): Use mh-irix6 instead of mh-irix5.

28 years agoAdd new config file for Irix 6.
Jim Wilson [Tue, 9 Jul 1996 00:32:21 +0000 (00:32 +0000)]
Add new config file for Irix 6.

28 years agoMon Jul 8 15:15:37 1996 Jason Merrill <jason@yorick.cygnus.com>
Jason Merrill [Mon, 8 Jul 1996 23:41:08 +0000 (23:41 +0000)]
Mon Jul  8 15:15:37 1996  Jason Merrill  <jason@yorick.cygnus.com>

* mt-sparcpic (PICFLAG_FOR_TARGET): Use -fPIC.

For consistency with mh-sparcpic and libgcc.a; SunOS 4 apparently doesn't
allow mixing of pic and PIC.

28 years ago * elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry.
Ian Lance Taylor [Mon, 8 Jul 1996 23:29:26 +0000 (23:29 +0000)]
* elf32-mips.c (mips_reloc_map): Remove BFD_RELOC_32_PCREL entry.

28 years ago * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
Ian Lance Taylor [Mon, 8 Jul 1996 23:16:00 +0000 (23:16 +0000)]
* config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF or
  OBJ_MAYBE_ELF.
(tc_gen_reloc): If fixup was changed to be PC relative, change
  reloc type accordingly.  Use name of reloc in error message.

28 years ago * as.h: Don't define const or volatile.
Ian Lance Taylor [Mon, 8 Jul 1996 21:57:07 +0000 (21:57 +0000)]
* as.h: Don't define const or volatile.
* flonum.h: Don't define const.

28 years agoImprove SCO ELF comment
Ian Lance Taylor [Mon, 8 Jul 1996 21:43:26 +0000 (21:43 +0000)]
Improve SCO ELF comment

28 years ago * elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use
Ian Lance Taylor [Mon, 8 Jul 1996 21:38:59 +0000 (21:38 +0000)]
* elf32-ppc.c (ppc_elf_howto_raw): For R_PPC_ADDR16_HA, use
ppc_elf_addr16_ha_reloc.
(ppc_elf_addr16_ha_reloc): New static function.
PR 10036.

28 years ago * coff-mips.c (struct mips_hi): Define.
Ian Lance Taylor [Mon, 8 Jul 1996 20:25:54 +0000 (20:25 +0000)]
* coff-mips.c (struct mips_hi): Define.
(mips_refhi_list): New static variable.
  (mips_refhi_addr, mips_refhi_addend): Remove.
(mips_refhi_reloc): Maintain a list of unmatched REFHI relocs.
(mips_reflo_reloc): Process mips_refhi_list.
(mips_relhi_list): New static variable.
(mips_relhi_addr, mips_relhi_addend): Remove.
(mips_relhi_reloc): Maintain a list of unmatched RELHI relocs.
(mips_rello_reloc): Process mips_relhi_list.
(mips_relocate_section): Permit an arbitrary number of REFHI or
RELHI relocs before the associated REFLO or RELLO reloc.
PR 10050.

28 years ago * ar.c (open_inarch): Add file parameter. Change all callers. If
Ian Lance Taylor [Mon, 8 Jul 1996 19:34:09 +0000 (19:34 +0000)]
* ar.c (open_inarch): Add file parameter.  Change all callers.  If
this is a newly created archive, set the target based on the
file.
* arsup.h (open_inarch): Update declaration.

28 years agoAt the request of Andreas Schwab:
Ian Lance Taylor [Mon, 8 Jul 1996 18:37:30 +0000 (18:37 +0000)]
At the request of Andreas Schwab:
* gas/m68k/pcrel.d: Rename from schwab.d.
* gas/m68k/pcrel.s: Rename from schwab.s.

28 years agoMon Jul 8 14:23:26 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Ian Lance Taylor [Mon, 8 Jul 1996 18:25:53 +0000 (18:25 +0000)]
Mon Jul  8 14:23:26 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

* gas/m68k/schwab.d: Correct for ELF format.
* gas/m68k/all.exp: Run "schwab" test for all targets.

28 years ago * config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
Ian Lance Taylor [Mon, 8 Jul 1996 18:15:15 +0000 (18:15 +0000)]
* config/tc-m68k.c (tc_gen_reloc): Change the code appropriately
if fx_pcrel is set.  Correct setting the addend case in the
OBJ_ELF case (from Andreas Schwab
<schwab@issan.informatik.uni-dortmund.de>).
(md_show_usage): Correct -mfc5200 to -m5200.

28 years ago * mon960-rom.c (mon960_open): Add floating point detection to
Mark Alexander [Mon, 8 Jul 1996 15:53:36 +0000 (15:53 +0000)]
* mon960-rom.c (mon960_open): Add floating point detection to
prevent hang on non-FPU processors (PR 9775).
(mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
setting breakpoints and improve loading speed.

28 years ago(laying some groundwork for a fix for PR 8443)
Fred Fish [Mon, 8 Jul 1996 09:05:18 +0000 (09:05 +0000)]
(laying some groundwork for a fix for PR 8443)

* coffread.c (record_minimal_symbol): Don't presave name string
on symbol_obstack before passing to prim_record_minimal_symbol.
It now handles saving the string itself.
* dbxread.c (read_dbx_dynamic_symtab): Ditto.
* mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
* os9kread.c (record_minimal_symbol): Ditto.
* solib.c (solib_add_common_symbols): Ditto.

* coffread.c (coff_symtab_read): Don't presave name string on
symbol_obstack before passing to prim_record_minimal_symbol_and_info.
It now handles saving the string itself.
* dbxread.c (record_minimal_symbol): Ditto.
* elfread.c (record_minimal_symbol_and_info): Ditto.

* dstread.c (record_minimal_symbol): Remove static function that just
called prim_record_minimal_symbol with the same args (after change to
  prim_record_minimal_symbol to do it's own name string saves).
* nlmread.c (record_minimal_symbol): Ditto.
* somread.c (record_minimal_symbol): Ditto.

* hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
(hpread_read_function_type): Ditto.
(hpread_process_one_debug_symbol): Ditto.
* mdebugread.c (parse_symbol): Ditto.
(new_symbol): Ditto.
* minsyms.c (prim_record_minimal_symbol_and_info): Ditto.

* coffread.c (process_coff_symbol): Use obsavestring to save
SYMBOL_NAME, rather than obstack_copy0.
* dstread.c (create_new_symbol): Ditto
* symfile.c (obconcat): Ditto.
* stabsread.c (patch_block_stabs): Ditto.
* xcoffread.c (SYMNAME_ALLOC): Ditto.

* symfile.c (obsavestring): Update comments
* solib.c (solib_add_common_symbols): Remove local var origname.

28 years agoAdd linux.mh and xm-linux.h.
Mark Alexander [Sun, 7 Jul 1996 04:19:55 +0000 (04:19 +0000)]
Add linux.mh and xm-linux.h.

28 years ago * aout-target.h (MY(callback)): Set reloc_count fields.
Ian Lance Taylor [Fri, 5 Jul 1996 23:30:05 +0000 (23:30 +0000)]
* aout-target.h (MY(callback)): Set reloc_count fields.

28 years agoNo longer need to sanitize away h8s stuff.
Jeff Law [Fri, 5 Jul 1996 19:05:26 +0000 (19:05 +0000)]
No longer need to sanitize away h8s stuff.

28 years agoNo longer need to sanitize away h8s stuff.
Jeff Law [Fri, 5 Jul 1996 18:59:31 +0000 (18:59 +0000)]
No longer need to sanitize away h8s stuff.

28 years agoNo longer sanitize away h8s stuff.
Jeff Law [Fri, 5 Jul 1996 18:54:28 +0000 (18:54 +0000)]
No longer sanitize away h8s stuff.

28 years agoNo longer need to sanitize away h8s stuff.
Jeff Law [Fri, 5 Jul 1996 18:46:54 +0000 (18:46 +0000)]
No longer need to sanitize away h8s stuff.

28 years agoNo longer need to sanitize away h8s.
Jeff Law [Fri, 5 Jul 1996 18:43:31 +0000 (18:43 +0000)]
No longer need to sanitize away h8s.

28 years agoNo longer sanitize away h8s stuff
Jeff Law [Fri, 5 Jul 1996 18:39:32 +0000 (18:39 +0000)]
No longer sanitize away h8s stuff

28 years agoNo longer need to sanitize away h8/s stuff.
Jeff Law [Fri, 5 Jul 1996 18:30:03 +0000 (18:30 +0000)]
No longer need to sanitize away h8/s stuff.

28 years ago* doc/c-m68k.texi: Document -m5200 flag.
J.T. Conklin [Fri, 5 Jul 1996 17:47:22 +0000 (17:47 +0000)]
* doc/c-m68k.texi: Document -m5200 flag.
* doc/as.texinfo: Likewise.

28 years ago* config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
J.T. Conklin [Fri, 5 Jul 1996 17:35:32 +0000 (17:35 +0000)]
* config/tc-m68k.c (m68k_ip): The coldfire does not support 8x
scale factor.

28 years ago * mh-irix4 (RANLIB): Don't define; Irix 4 does have ranlib.
Ian Lance Taylor [Fri, 5 Jul 1996 15:50:04 +0000 (15:50 +0000)]
* mh-irix4 (RANLIB): Don't define; Irix 4 does have ranlib.

28 years ago * symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
Ian Lance Taylor [Fri, 5 Jul 1996 15:23:59 +0000 (15:23 +0000)]
* symbols.c (S_SET_EXTERNAL): Change as_warn to as_bad.
(S_CLEAR_EXTERNAL, S_SET_WEAK): Likewise.

28 years agofix screwed up sanitization
Ian Lance Taylor [Fri, 5 Jul 1996 15:19:30 +0000 (15:19 +0000)]
fix screwed up sanitization

28 years agofix screwed up sanitization
Ian Lance Taylor [Fri, 5 Jul 1996 14:50:28 +0000 (14:50 +0000)]
fix screwed up sanitization

28 years ago * rdcoff.c (parse_coff): Get address to pass to debug_end_function
Ian Lance Taylor [Thu, 4 Jul 1996 22:34:20 +0000 (22:34 +0000)]
* rdcoff.c (parse_coff): Get address to pass to debug_end_function
from function size, not value of .ef symbol.  From Ning
Mosberger-Tang <ning@AZStarNet.com>.

28 years ago * sunos.c (sunos_add_dynamic_symbols): Don't create dynamic
Ian Lance Taylor [Thu, 4 Jul 1996 22:25:50 +0000 (22:25 +0000)]
* sunos.c (sunos_add_dynamic_symbols): Don't create dynamic
sections unless this is a SunOS link.
PR 10039.

28 years ago * ldver.c (ldversion): Set version to cygnus-2.7.1.
Ian Lance Taylor [Thu, 4 Jul 1996 19:40:37 +0000 (19:40 +0000)]
* ldver.c (ldversion): Set version to cygnus-2.7.1.

28 years ago * gprof.c (VERSION): Define as "2.7.1".
Ian Lance Taylor [Thu, 4 Jul 1996 19:39:24 +0000 (19:39 +0000)]
* gprof.c (VERSION): Define as "2.7.1".

28 years ago * Makefile.in (VERSION): Set to cygnus-2.7.1.
Ian Lance Taylor [Thu, 4 Jul 1996 19:38:41 +0000 (19:38 +0000)]
* Makefile.in (VERSION): Set to cygnus-2.7.1.

28 years ago * VERSION: Set to 2.7.1.
Ian Lance Taylor [Thu, 4 Jul 1996 19:35:51 +0000 (19:35 +0000)]
* VERSION: Set to 2.7.1.

28 years agokeep sh3e tests
Ian Lance Taylor [Thu, 4 Jul 1996 19:14:54 +0000 (19:14 +0000)]
keep sh3e tests

28 years ago * emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
Ian Lance Taylor [Thu, 4 Jul 1996 18:50:13 +0000 (18:50 +0000)]
* emulparams/pc532macha.sh: Rename from pc532machaout.sh to avoid
System V file name limitations.
* configure.tgt (nc32k-pc532-mach*, ns32k-pc532-ux*): Use
pc532macha rather than pc532machaout.
* Makefile.in (ALL_EMULATIONS): Change epc532machaout.o to
epc532macha.o.
(epc532macha.c): Rename target from epc532machaout.c.

28 years ago * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
Ian Lance Taylor [Thu, 4 Jul 1996 18:40:07 +0000 (18:40 +0000)]
* bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
stored on a System V file system.
VS: ----------------------------------------------------------------------

28 years ago * bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
Ian Lance Taylor [Thu, 4 Jul 1996 18:35:44 +0000 (18:35 +0000)]
* bb_exit_func.c: Rename from __bb_exit_func.c, so that it can be
stored on a System V file system.

28 years ago Avoid DOS file naming problems:
Ian Lance Taylor [Thu, 4 Jul 1996 18:26:59 +0000 (18:26 +0000)]
Avoid DOS file naming problems:
* gas/h8300/branch.s: Rename from branches.s.
* gas/h8300/branchh.s: Rename from branchesh.s.
start-sanitize-h8s
* gas/h8300/branchs.s: Rename from branchess.s.
end-sanitize-h8s
* gas/h8300/rotsh.s: Rename from rotshift.s.
* gas/h8300/rotshh.s: Rename from rotshifth.s.
start-sanitize-h8s
* gas/h8300/rotshs.s: Rename from rotshifts.s.
end-sanitize-h8s
* gas/h8300/h8300.exp: Corresponding changes.

28 years agosanitize binutils 2.7 branch
Ian Lance Taylor [Thu, 4 Jul 1996 17:57:28 +0000 (17:57 +0000)]
sanitize binutils 2.7 branch

28 years agotipo
Ian Lance Taylor [Thu, 4 Jul 1996 16:34:53 +0000 (16:34 +0000)]
tipo

28 years agox
Ian Lance Taylor [Thu, 4 Jul 1996 16:03:09 +0000 (16:03 +0000)]
x

28 years ago * alpha-opc.c: Correct second case of "mov" to use OPRL.
Ian Lance Taylor [Thu, 4 Jul 1996 15:43:31 +0000 (15:43 +0000)]
* alpha-opc.c: Correct second case of "mov" to use OPRL.

28 years agoAdded "keep" entries for div-ilocks.d and mul-ilocks.d
Jackie Smith Cashion [Thu, 4 Jul 1996 15:23:57 +0000 (15:23 +0000)]
Added "keep" entries for div-ilocks.d and mul-ilocks.d

28 years agoThu Jul 4 10:11:33 1996 James G. Smith <jsmith@cygnus.co.uk>
Jackie Smith Cashion [Thu, 4 Jul 1996 09:14:55 +0000 (09:14 +0000)]
Thu Jul  4 10:11:33 1996  James G. Smith  <jsmith@cygnus.co.uk>

* config/tc-mips.c (mips_ip): Only perform range check when
  dealing with O_constant expressions.

Problem noticed by QMS, where "%lo(SYM + LARGEOFFSET)" would complain
about the OFFSET being greater than 16bits or not absolute, when it
should really just be taking the lo-16bits of the final address value.

28 years ago * read.h (is_it_end_of_statement): Declare.
Ian Lance Taylor [Thu, 4 Jul 1996 01:37:00 +0000 (01:37 +0000)]
* read.h (is_it_end_of_statement): Declare.
* read.c (is_it_end_of_statement): Remove declaration.

28 years ago * configure: Re-build with autoconf-2.10.
Stu Grossman [Thu, 4 Jul 1996 01:17:14 +0000 (01:17 +0000)]
* configure:  Re-build with autoconf-2.10.

28 years ago * erc32.c (mec_reset mec_read mec_write memory_read memory_write),
Stu Grossman [Thu, 4 Jul 1996 00:51:22 +0000 (00:51 +0000)]
* erc32.c (mec_reset mec_read mec_write memory_read memory_write),
sis.h:  Get rid of all uses of long long's.
* (close_port read_uart write_uart uarta_tx):  Don't seg fault
when can't open pty's.
* exec.c:  Add two new instructions: smul, and divscc.
* interf.c (flush_windows):  New routine to flush the register
windows out to the stack just before returning to GDB.  Makes
backtraces work much better.

28 years ago * sparc-dis.c (print_insn_sparclite): New routine to print
Stu Grossman [Thu, 4 Jul 1996 00:50:29 +0000 (00:50 +0000)]
* sparc-dis.c (print_insn_sparclite):  New routine to print
sparclite instructions.

28 years ago * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
Stu Grossman [Thu, 4 Jul 1996 00:49:25 +0000 (00:49 +0000)]
* sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
config/sparc/tm-sparclite.h:  Initialize tm_print_insn from
TM_PRINT_INSN, which comes from the tm file.

* 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.

* configure, configure.in:  Change test for libthread_db to only
work for configs where build/host/target are the same.

28 years ago* m68k-parse.h (m68k_register): Add new coldfile control
J.T. Conklin [Wed, 3 Jul 1996 22:20:42 +0000 (22:20 +0000)]
* m68k-parse.h (m68k_register): Add new coldfile control
registers.

* config/tc-m68k.c (mcf5200_control_regs): New variable,
array of control registers for the coldfire.
(cpu_of_arch): Added mcf5200.
(archs): Added mcf5200.
(init_table): Add new control registers.
(m68k_ip): Added support for new control registers.
(m68k_init_after_args): Likewise.

* config/tc-m68k.c (md_show_usage): Add -m5200 to usage text.

28 years ago* m68k-opc.c (m68k_opcodes): Add coldfire support.
J.T. Conklin [Wed, 3 Jul 1996 21:28:05 +0000 (21:28 +0000)]
* m68k-opc.c (m68k_opcodes): Add coldfire support.

28 years agofixup
Ian Lance Taylor [Wed, 3 Jul 1996 21:07:53 +0000 (21:07 +0000)]
fixup

28 years ago * config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.
Ian Lance Taylor [Wed, 3 Jul 1996 21:01:25 +0000 (21:01 +0000)]
* config/tc-i386.h (AOUT_MACHTYPE): Define as 0 if TE_386BSD.

28 years ago * i386aout.c: Include "aout/aout64.h".
Ian Lance Taylor [Wed, 3 Jul 1996 20:50:56 +0000 (20:50 +0000)]
* i386aout.c: Include "aout/aout64.h".
  (i386aout_write_object_contents): New static function.
(MY_write_object_contents): Define.

28 years ago Based on patches from Tom Quiggle <quiggle@sgi.com>:
Ian Lance Taylor [Wed, 3 Jul 1996 20:15:38 +0000 (20:15 +0000)]
Based on patches from Tom Quiggle <quiggle@sgi.com>:
* ecoff.c (last_lineno): New static variable.
(add_procedure): Set last_lineno.
(ecoff_directive_loc): Likewise.
(ecoff_generate_asm_lineno): Likewise.
(ecoff_fix_loc): New function.
* ecoff.h (ecoff_fix_loc): Declare.
* config/tc-mips.c (append_insn): When inserting nops, and using
ECOFF debugging, call ecoff_fix_loc.

28 years ago * netbsd.h (MY(write_object_contents)): Make sure that
Ian Lance Taylor [Wed, 3 Jul 1996 19:01:14 +0000 (19:01 +0000)]
* netbsd.h (MY(write_object_contents)): Make sure that
adjust_sizes_and_vmas is called before fiddling with the magic
number.

28 years ago * gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests
Ian Lance Taylor [Wed, 3 Jul 1996 18:23:06 +0000 (18:23 +0000)]
* gas/all/gas.exp: Remove setup_xfail for h8300*-*-* for two tests
which now pass.
* gas/h8300/h8300.exp: Fix regexp of mov32bug test to work on a 64
bit host.

28 years ago * ldlang.c (print_padding_statement): Use %u, not %x, to print
Ian Lance Taylor [Wed, 3 Jul 1996 15:46:26 +0000 (15:46 +0000)]
* ldlang.c (print_padding_statement): Use %u, not %x, to print
fill value.

28 years ago * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
Mark Alexander [Wed, 3 Jul 1996 05:11:40 +0000 (05:11 +0000)]
* coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
os9kread.c: Replace identical sym_offsets functions with
default_symfile_offsets.
* somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
macro to allocate section_offsets.
* symfile.c (default_symfile_offsets): New function.
* symfile.h: Declare default_symfile_offsets.
* symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
simplify allocation of section_offsets.

28 years ago * run.c (main): Don't "load" sections which don't have
Jeff Law [Wed, 3 Jul 1996 05:10:47 +0000 (05:10 +0000)]
    * run.c (main): Don't "load" sections which don't have
        SEC_LOAD set.
        * compile.c (sim_resume, case "O_NOT"): Use ONOT instead
        of OSHIFTS.
        (ONOT): Define.
        (sim_resume, shift/rotate cases): Add support for shift/rotate
        by two bits.
        (OSHIFTS): Corresponding changes.
Handling more H8/S ops.

28 years ago * h8300.h (SRC_IN_DST): Define.
Jeff Law [Wed, 3 Jul 1996 05:07:07 +0000 (05:07 +0000)]
    * h8300.h (SRC_IN_DST): Define.

        * h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
        (SHIFT_2, SHIFT_IMM): Remove.  Eliminate all references.
        (UNOP3): Change SHIFT_IMM to IMM for H8/S bitops.  Mark
        register operand with SRC_IN_DST.
More hackery for new shift ops on the H8/S.

28 years ago * config/tc-h8300.c (build_bytes): If an operand type is
Jeff Law [Wed, 3 Jul 1996 05:03:54 +0000 (05:03 +0000)]
    * config/tc-h8300.c (build_bytes): If an operand type is
        marked as SRC_IN_DST retrieve it from the "destination" op.
Disgusting hack for shal #2,er0.  HMSE

28 years ago * stabs.c (_bfd_link_section_stabs): Fix casts of psinfo.
Ian Lance Taylor [Wed, 3 Jul 1996 03:32:48 +0000 (03:32 +0000)]
* stabs.c (_bfd_link_section_stabs): Fix casts of psinfo.

28 years ago * h8300.h (UNOP3): Mark the register operand in this insn
Jeff Law [Tue, 2 Jul 1996 19:20:37 +0000 (19:20 +0000)]
    * h8300.h (UNOP3): Mark the register operand in this insn
        as a source operand, not a destination operand.
So the simulator can handle shal #2,er0 correctly.

28 years agoAdd stub support for Linux on PowerPC
Michael Meissner [Tue, 2 Jul 1996 19:09:59 +0000 (19:09 +0000)]
Add stub support for Linux on PowerPC

28 years ago * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
Jeff Law [Tue, 2 Jul 1996 07:37:50 +0000 (07:37 +0000)]
    * compile.c (sim_resume): Handle "ldm.l" and "stm.l".
HMSE H8/S.

28 years ago From Raymond Jou <rjou@mexican.cygnus.com>:
Stan Shebs [Mon, 1 Jul 1996 21:40:02 +0000 (21:40 +0000)]
From Raymond Jou  <rjou@mexican.cygnus.com>:
        * mpw-make.sed: Add lines to whack out autoconf hook
        @CONFIG_LDFLAGS@.

28 years ago * remote-e7000.c (e7000_stop): New function.
Mark Alexander [Mon, 1 Jul 1996 18:11:07 +0000 (18:11 +0000)]
* remote-e7000.c (e7000_stop): New function.
PR 9935

28 years agoAdd basic d10v support
Michael Meissner [Mon, 1 Jul 1996 17:34:10 +0000 (17:34 +0000)]
Add basic d10v support

28 years ago * mpw-eppcmac.c: Update to reflect May 23 change to aix.em.
Stan Shebs [Sun, 30 Jun 1996 18:19:34 +0000 (18:19 +0000)]
* mpw-eppcmac.c: Update to reflect May 23 change to aix.em.

28 years ago * objcopy.c (strip_main): Add -o option, and handle it.
Ian Lance Taylor [Sun, 30 Jun 1996 17:45:24 +0000 (17:45 +0000)]
* objcopy.c (strip_main): Add -o option, and handle it.
(strip_usage): Mention -o.
* binutils.texi, strip.1: Mention -o.

28 years ago * libbfd-in.h (itos, stoi): Don't define.
Ian Lance Taylor [Sun, 30 Jun 1996 17:42:02 +0000 (17:42 +0000)]
* libbfd-in.h (itos, stoi): Don't define.
* libbfd.h: Rebuild.
* i386lynx.c (KEEPIT): Define as udata.i.
(NAME(lynx,swap_std_reloc_out)): Don't use stoi.
(NAME(lynx,swap_ext_reloc_out)): Likewise.
* riscix.c (riscix_swap_std_reloc_out): Use udata.i rather than
flags.  Don't use stoi.

28 years ago(all-cfg.text): @set SPARCLET.
David Edelsohn [Sun, 30 Jun 1996 05:32:38 +0000 (05:32 +0000)]
(all-cfg.text): @set SPARCLET.
(gdb-texinfo): Add sparclet.
(remote.texi): Restore vxworks clobberage.  Fix sparclet typos.

28 years agonope, don't build texinfo yet for cygwin32, there's a problem with
Geoffrey Noer [Sun, 30 Jun 1996 04:30:53 +0000 (04:30 +0000)]
nope, don't build texinfo yet for cygwin32, there's a problem with
Makefile.in that needs resolving

28 years agoAllow texinfo to be configured and built for Canadian crosses
Geoffrey Noer [Sun, 30 Jun 1996 02:08:41 +0000 (02:08 +0000)]
Allow texinfo to be configured and built for Canadian crosses

28 years agoFixed the ppc/nt strip bug. Missing D_PAGED.
Kim Knuttila [Sat, 29 Jun 1996 23:25:23 +0000 (23:25 +0000)]
Fixed the ppc/nt strip bug. Missing D_PAGED.

28 years ago * gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a
Ian Lance Taylor [Sat, 29 Jun 1996 22:22:37 +0000 (22:22 +0000)]
* gas/all/gas.exp: Add setup_xfail for vax*-*-vms* for 930509a
test.
* gas/vax/quad.exp: Expect a nop after the movq.

28 years ago * configure.in (arm-*-riscix*): Set emulation to riscix.
Ian Lance Taylor [Sat, 29 Jun 1996 22:20:57 +0000 (22:20 +0000)]
* configure.in (arm-*-riscix*): Set emulation to riscix.
* configure: Rebuild.
* config/te-riscix.h: New file to define TE_RISCIX.

28 years ago * config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.
Ian Lance Taylor [Sat, 29 Jun 1996 17:39:19 +0000 (17:39 +0000)]
* config/tc-sh.h (SUB_SEGMENT_ALIGN): Define.

28 years agosanitize out reference to MACREG
Ian Lance Taylor [Sat, 29 Jun 1996 16:48:44 +0000 (16:48 +0000)]
sanitize out reference to MACREG

28 years agofix sanitization of EXR in MODE
Ian Lance Taylor [Sat, 29 Jun 1996 16:47:12 +0000 (16:47 +0000)]
fix sanitization of EXR in MODE

28 years ago * remote.texi: Add documentation for target Sparclet.
Dawn Perchik [Sat, 29 Jun 1996 09:15:11 +0000 (09:15 +0000)]
* remote.texi: Add documentation for target Sparclet.

28 years agoKeep sparclet.mt.
David Edelsohn [Fri, 28 Jun 1996 23:47:43 +0000 (23:47 +0000)]
Keep sparclet.mt.

28 years ago * sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
David Edelsohn [Fri, 28 Jun 1996 22:56:17 +0000 (22:56 +0000)]
* sparc-opc.c (asi_table): Add #ASI_N, #ASI_N_L, #ASI_NUCLEUS,
#ASI_NUCLEUS_LITTLE.  Rename #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_L
to #ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.

28 years ago * xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol
Ian Lance Taylor [Fri, 28 Jun 1996 22:19:46 +0000 (22:19 +0000)]
* xcofflink.c (xcoff_link_check_ar_symbols): An undefined symbol
with XCOFF_DEF_DYNAMIC set is really defined.
(xcoff_link_check_dynamic_ar_symbols): Likewise.
The above is for PR 9997.
(xcoff_link_add_symbols): Only create special sections if using an
XCOFF hash table.

28 years ago * mpw-configure: Add support for --bindir.
Stan Shebs [Fri, 28 Jun 1996 19:19:38 +0000 (19:19 +0000)]
* mpw-configure: Add support for --bindir.
* mpw-build.in: Use a GCC-specific build script for GCC actions.

28 years ago(native_only): Add gawk.
David Edelsohn [Fri, 28 Jun 1996 18:24:41 +0000 (18:24 +0000)]
(native_only): Add gawk.

28 years ago * mpw-config.in (TARGET_OS): Add definition to conf.
Stan Shebs [Fri, 28 Jun 1996 18:13:47 +0000 (18:13 +0000)]
* mpw-config.in (TARGET_OS): Add definition to conf.

28 years ago * reloc.c (bfd_perform_relocation): Handle xcoff-powermac like
Ian Lance Taylor [Fri, 28 Jun 1996 17:50:36 +0000 (17:50 +0000)]
* reloc.c (bfd_perform_relocation): Handle xcoff-powermac like
aixcoff-rs6000.
(bfd_install_relocation): Likewise.

28 years agovarious trivial cleanups
Ian Lance Taylor [Fri, 28 Jun 1996 16:38:05 +0000 (16:38 +0000)]
various trivial cleanups

28 years agoFri Jun 28 11:17:00 1996 Richard Henderson <rth@tamu.edu>
Ian Lance Taylor [Fri, 28 Jun 1996 15:24:18 +0000 (15:24 +0000)]
Fri Jun 28 11:17:00 1996  Richard Henderson  <rth@tamu.edu>

* elf64-alpha.c (struct alpha_elf_link_hash_entry): Add flags
field.
(ALPHA_ELF_LINK_HASH_LU_ADDR): Define.
(ALPHA_ELF_LINK_HASH_LU_MEM): Define.
(ALPHA_ELF_LINK_HASH_LU_FUNC): Define.
(elf64_alpha_link_hash_newfunc): Initialize flags field.
(elf64_alpha_check_relocs): Record types of LITUSE entries that
are found for LITERAL relocs.
(elf64_alpha_adjust_dynamic_symbol): If a symbol has its address
taken, we cannot generate a .plt entry for the symbol.

28 years ago * configure,configure.in: Add target sparclet.
Dawn Perchik [Fri, 28 Jun 1996 14:28:20 +0000 (14:28 +0000)]
* configure,configure.in: Add target sparclet.
    * monitor.h,monitor.c:
    Added monitor flags MO_NO_ECHO_ON_SETMEM (don't expect echo on
    setmem command), MO_RUN_FIRST_TIME (if command to start process
    running on target is different from one to continue execution),
    MO_HEX_PREFIX (if addresses from monitor have a "0x" prefix).
    * monitor.c,parse.c,sparc-tdep.c:
    Don't require strings in the registers array.  This is to allow
    NULLs to be place holders in the tm-*.h file so that only minor
    changes are needed when a new processor is introduced (eg, one
    without floating point).
    * sparc-tdep.c: Conditionally remove dependancies on floating point.
    * sparclet-rom.c,config/sparc/sparclet.mt,config/sparc/tm-sparclet.h:
    New files for target sparclet.
    * symfile.c: Add option for 2nd parameter on load command : a load
    offset added to the vma of each section.