external/binutils.git
27 years ago * i386.h (two_byte_segment_defaults): Correct base register 5 in
Ian Lance Taylor [Tue, 26 Aug 1997 17:12:31 +0000 (17:12 +0000)]
* i386.h (two_byte_segment_defaults): Correct base register 5 in
modes 1 and 2 to be ss rather than ds.  From Gabriel Paubert
<paubert@iram.es>.

27 years agoCorrected name of tiny data area label.
Nick Clifton [Tue, 26 Aug 1997 16:46:05 +0000 (16:46 +0000)]
Corrected name of tiny data area label.

27 years ago * i386.h: Set ud2 to 0x0f0b. From Gabriel Paubert
Ian Lance Taylor [Tue, 26 Aug 1997 16:40:41 +0000 (16:40 +0000)]
* i386.h: Set ud2 to 0x0f0b.  From Gabriel Paubert
<paubert@iram.es>.

27 years agoMade immediate parameter of MOVHI be unsigned
Nick Clifton [Tue, 26 Aug 1997 16:40:28 +0000 (16:40 +0000)]
Made immediate parameter of MOVHI be unsigned

27 years ago * i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert
Ian Lance Taylor [Tue, 26 Aug 1997 16:36:07 +0000 (16:36 +0000)]
* i386.h: Comment fixes for ficom[p]?{s,l} from Gabriel Paubert
<paubert@iram.es>.

27 years agoUse address size prefix for loopw as for jcxz.
Ian Lance Taylor [Tue, 26 Aug 1997 16:33:34 +0000 (16:33 +0000)]
Use address size prefix for loopw as for jcxz.

27 years agotipo
Ian Lance Taylor [Tue, 26 Aug 1997 16:25:06 +0000 (16:25 +0000)]
tipo

27 years ago * config/tc-i386.c (md_assemble): In JumpByte case, when looking
Ian Lance Taylor [Tue, 26 Aug 1997 16:25:03 +0000 (16:25 +0000)]
* config/tc-i386.c (md_assemble): In JumpByte case, when looking
for a WORD_PREFIX_OPCODE, change it to ADDR_PREFIX_OPCODE if this
is jcxz.

27 years ago * i386.h (JUMP_ON_CX_ZERO): Uncomment (define again).
Ian Lance Taylor [Tue, 26 Aug 1997 16:22:36 +0000 (16:22 +0000)]
* i386.h (JUMP_ON_CX_ZERO): Uncomment (define again).
(JUMP_ON_EXC_ZERO): Remove commented out macro.

27 years agoMake building of w65 simulator conditional on --enable-sim.
Andrew Cagney [Tue, 26 Aug 1997 08:38:34 +0000 (08:38 +0000)]
Make building of w65 simulator conditional on --enable-sim.

27 years agoIn some cases: Makefile.in (all-sim): Depends on all-readline.
Andrew Cagney [Tue, 26 Aug 1997 08:37:52 +0000 (08:37 +0000)]
In some cases: Makefile.in (all-sim): Depends on all-readline.

27 years agoFlush defunct sim_kill.
Andrew Cagney [Tue, 26 Aug 1997 02:05:18 +0000 (02:05 +0000)]
Flush defunct sim_kill.

27 years agoMon Aug 25 17:08:01 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Tue, 26 Aug 1997 00:11:16 +0000 (00:11 +0000)]
Mon Aug 25 17:08:01 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c: revert Sun change -- enable log file handling

27 years agoRebuild with latest devo autoconf for NT support
Chris Provenzano [Mon, 25 Aug 1997 23:16:51 +0000 (23:16 +0000)]
Rebuild with latest devo autoconf for NT support

27 years agoAdd ABFD argument to sim_open call. Pass through to sim_config so
Andrew Cagney [Mon, 25 Aug 1997 23:14:25 +0000 (23:14 +0000)]
Add ABFD argument to sim_open call.  Pass through to sim_config so
that image properties such as endianness can be checked.

More strongly document the expected behavour of each of the sim_*
interfaces.

Add default endian argument to simulator config macro
SIM_AC_OPTION_ENDIAN.  Use in sim_config.

27 years agoFixed minor buglet in compatible.
Nick Clifton [Mon, 25 Aug 1997 23:08:49 +0000 (23:08 +0000)]
Fixed minor buglet in compatible.

27 years agoAdded magic numbers for V850E and V850EQ.
Nick Clifton [Mon, 25 Aug 1997 23:07:18 +0000 (23:07 +0000)]
Added magic numbers for V850E and V850EQ.

27 years agoSet machine architecture and type.
Nick Clifton [Mon, 25 Aug 1997 23:03:24 +0000 (23:03 +0000)]
Set machine architecture and type.

27 years agoSwitched over to using machine numbers to distinguish v850 architecture variants.
Nick Clifton [Mon, 25 Aug 1997 23:00:29 +0000 (23:00 +0000)]
Switched over to using machine numbers to distinguish v850 architecture variants.

27 years agoRebuilt configure with latest devo autoconf for NT support.
Chris Provenzano [Mon, 25 Aug 1997 22:58:36 +0000 (22:58 +0000)]
Rebuilt configure with latest devo autoconf for NT support.

27 years ago * symbols.c (resolve_symbol_value): Store the value back into the
Ian Lance Taylor [Mon, 25 Aug 1997 19:55:14 +0000 (19:55 +0000)]
* symbols.c (resolve_symbol_value): Store the value back into the
symbol expression, to handle add or subtract simplification
correctly.  Handle O_symbol_rva.  Add default case.

27 years ago * config/tc-ppc.c (ppc_change_csect): Temporarily lower the
Ian Lance Taylor [Mon, 25 Aug 1997 18:29:11 +0000 (18:29 +0000)]
* config/tc-ppc.c (ppc_change_csect): Temporarily lower the
chunksize while creating the new subsection.
* as.c (chunksize): Initialize to zero.
* subsegs.c (subseg_set_rest): Change 5000 to chunksize when
calling obstack_begin.

27 years agoSupport constant expressions as register lists.
Nick Clifton [Mon, 25 Aug 1997 18:21:02 +0000 (18:21 +0000)]
Support constant expressions as register lists.

27 years ago * syms.c (_bfd_stab_section_find_nearest_line): Clear the
Ian Lance Taylor [Mon, 25 Aug 1997 18:10:15 +0000 (18:10 +0000)]
* syms.c (_bfd_stab_section_find_nearest_line): Clear the
  cached_stab field if the offset prevents us from using the cache.

27 years ago * gas/m32r/relax-1.[ds]: New testcase.
David Edelsohn [Mon, 25 Aug 1997 18:05:44 +0000 (18:05 +0000)]
* gas/m32r/relax-1.[ds]: New testcase.
* gas/m32r/m32r.exp: Run it.

27 years agoFixed node name.
Nick Clifton [Mon, 25 Aug 1997 17:18:21 +0000 (17:18 +0000)]
Fixed node name.

27 years agoAdded rules to build cpu-v850e.lo and cpu-v850eq.lo object files.
Nick Clifton [Mon, 25 Aug 1997 17:04:46 +0000 (17:04 +0000)]
Added rules to build cpu-v850e.lo and cpu-v850eq.lo object files.

27 years agoSwitch from C++ style comment to C style.
Nick Clifton [Mon, 25 Aug 1997 16:41:18 +0000 (16:41 +0000)]
Switch from C++ style comment to C style.

27 years ago * aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section
Ian Lance Taylor [Mon, 25 Aug 1997 16:10:56 +0000 (16:10 +0000)]
* aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section
flags.
* aout-arm.c (aout_arm_little_vec): Likewise.
(aout_arm_big_vec): Likewise.
* bout.c (b_out_vec_big_host): Likewise.
(b_out_vec_little_host): Likewise.
* mipsbsd.c (aout_mips_little_vec): Likewise.
(aout_mips_big_vec): Likewise.

27 years agoSun Aug 24 21:16:59 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Mon, 25 Aug 1997 04:20:11 +0000 (04:20 +0000)]
Sun Aug 24 21:16:59 1997  Geoffrey Noer  <noer@cygnus.com>

        * ocd.c: comment out sections that create and flush wigglers.log
        log file when using the wiggler.

27 years agofix v850 sanitization
Ian Lance Taylor [Sat, 23 Aug 1997 16:34:55 +0000 (16:34 +0000)]
fix v850 sanitization

27 years agoAdded documentation of v850 assembler options.
Nick Clifton [Fri, 22 Aug 1997 23:37:00 +0000 (23:37 +0000)]
Added documentation of v850 assembler options.

27 years agoMake the NUL character be considered to be a line terminator.
Nick Clifton [Fri, 22 Aug 1997 18:14:35 +0000 (18:14 +0000)]
Make the NUL character be considered to be a line terminator.

27 years agoAdd support for curly brace register list syntax.
Nick Clifton [Fri, 22 Aug 1997 17:44:55 +0000 (17:44 +0000)]
Add support for curly brace register list syntax.

27 years agoUpdated with respect to the HDD-tool-0611 document.
Nick Clifton [Fri, 22 Aug 1997 17:41:20 +0000 (17:41 +0000)]
Updated with respect to the HDD-tool-0611 document.

27 years agoAdded new flag: V850_NOT_R0 to indicate that r0 is not a valid register for
Nick Clifton [Fri, 22 Aug 1997 17:36:15 +0000 (17:36 +0000)]
Added new flag: V850_NOT_R0 to indicate that r0 is not a valid register for
this operand.

27 years agoUpdated from specs in HDD-tool-0611 document.
Nick Clifton [Fri, 22 Aug 1997 17:35:24 +0000 (17:35 +0000)]
Updated from specs in HDD-tool-0611 document.

27 years agoThu Aug 21 16:18:08 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 21 Aug 1997 23:27:02 +0000 (23:27 +0000)]
Thu Aug 21 16:18:08 1997  Geoffrey Noer  <noer@cygnus.com>

        * config/powerpc/ppc-eabi.mt:
        * config/powerpc/ppc-sim.mt:
        * config/powerpc/ppcle-eabi.mt:
        * config/powerpc/ppcle-sim.mt: ser-ocd.c needs to be before
        other ocd-related files in TDEPFILES

27 years agoThu Aug 21 14:56:04 1997 Geoffrey Noer <noer@cygnus.com>
Geoffrey Noer [Thu, 21 Aug 1997 23:10:34 +0000 (23:10 +0000)]
Thu Aug 21 14:56:04 1997  Geoffrey Noer  <noer@cygnus.com>

        * ppc-bdm.c (bdm_ppc_wait): stop printfing ecr, der
        * ocd.c: initialize remote_timeout
        (ocd_wait): while looping, call ocd_do_command with OCD_AYT
        (ocd_get_packet): remove find_packet goto.  If there isn't
        an 0x55 at the start, something is quite wrong so error out
        instead of advancing in the packet and trying again.  If checksum
        is invalid, print error message instead of trying again.
        * ser-ocd.c (ocd_readchar): error if we attempt to read past
        the end of the from_wiggler_buffer.

27 years agoFixed v850_section to cope with original section styles as well.
Nick Clifton [Thu, 21 Aug 1997 21:43:44 +0000 (21:43 +0000)]
Fixed v850_section to cope with original section styles as well.

27 years agoMoved divh opcodes next to each other.
Nick Clifton [Thu, 21 Aug 1997 18:09:20 +0000 (18:09 +0000)]
Moved divh opcodes next to each other.

27 years agoAdd support for parsing a double dash as the start of a comment that extends to the...
Nick Clifton [Thu, 21 Aug 1997 17:59:47 +0000 (17:59 +0000)]
Add support for parsing a double dash as the start of a comment that extends to the end of the line.

27 years agoAdded support for NEC style assembler pseudo ops:
Nick Clifton [Thu, 21 Aug 1997 17:54:49 +0000 (17:54 +0000)]
Added support for NEC style assembler pseudo ops:
.section "name", <type>
.offset <expression>
.bss

27 years ago * pr-9946.exp: Ditto.
Bob Manson [Thu, 21 Aug 1997 17:34:28 +0000 (17:34 +0000)]
* pr-9946.exp: Ditto.
* gch1280.exp: Ditto.
* gch1272.exp: Ditto.

27 years ago * enum.exp: More quoting fixes.
Bob Manson [Thu, 21 Aug 1997 17:31:58 +0000 (17:31 +0000)]
* enum.exp: More quoting fixes.

*sigh*

27 years ago * config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
David Edelsohn [Thu, 21 Aug 1997 08:01:46 +0000 (08:01 +0000)]
* config/tc-m32r.c (md_estimate_size_before_relax): Update recorded
insn when changing to a different instruction.

27 years agoAdded N step divide routines, courtesy of Sugimoto at NEC.
Nick Clifton [Wed, 20 Aug 1997 22:42:55 +0000 (22:42 +0000)]
Added N step divide routines, courtesy of Sugimoto at NEC.

27 years agoFixed interpretation of SR bit in list18 structures.
Nick Clifton [Wed, 20 Aug 1997 20:57:05 +0000 (20:57 +0000)]
Fixed interpretation of SR bit in list18 structures.

27 years ago * ldlang.c (wildcardp): Don't let a backslash by itself cause a
Ian Lance Taylor [Wed, 20 Aug 1997 15:24:15 +0000 (15:24 +0000)]
* ldlang.c (wildcardp): Don't let a backslash by itself cause a
pattern to be treated as a wildcard pattern.
PR 13113.

27 years ago * ldgram.y (atype): Accept parentheses with no type.
Ian Lance Taylor [Wed, 20 Aug 1997 15:15:22 +0000 (15:15 +0000)]
* ldgram.y (atype): Accept parentheses with no type.

* ld.texinfo (Section Definition): Clarify use of whitespace.
(Section Placement): Likewise.
PR 13112.

27 years agooops - fixed bugs in new v850e/q rules.
Nick Clifton [Tue, 19 Aug 1997 17:07:05 +0000 (17:07 +0000)]
oops - fixed bugs in new v850e/q rules.

27 years agoTue Aug 19 08:59:12 1997 Fred Fish <fnf@cygnus.com>
Fred Fish [Tue, 19 Aug 1997 16:46:03 +0000 (16:46 +0000)]
Tue Aug 19 08:59:12 1997  Fred Fish  <fnf@cygnus.com>

* read.c (s_lcomm_internal): Renamed from s_lcomm, added arg to
flag when alignment is in bytes instead of power of 2, and code to
use that flag to convert alignment to bytes.
(s_lcomm, s_lcomm_bytes):  New helpers that call s_lcomm_internal.
* read.h (s_lcomm_bytes): Add prototype.
* config/obj-coff.c (write_object_file): If ALIGNMENT_IN_S_FLAGS is
defined, write alignment to alignment bits in section header s_flags
rather than the s_align field.
start-sanitize-tic80
* config/obj-coff.h (ALIGNMENT_IN_S_FLAGS): Define for TC_TIC80.
* config/tc-tic80.c (md_pseudo_table): Use s_lcomm_bytes for bss
pseudo, instead of s_lcomm which wants a power of two for alignment.
end-sanitize-tic80
PR 12215 and PR 13061

27 years ago * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
Fred Fish [Tue, 19 Aug 1997 16:44:00 +0000 (16:44 +0000)]
* coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define.
* coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define.
* coffcode.h (coff_set_alignment_hook): Conditionally compile in if
COFF_ALIGN_IN_SECTION_HEADER is defined.  Convert alignment to power
of two for I960 only.
* coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO,
PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide
default definitions.
(coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC,
GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN.
(coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN.
start-sanitize-tic80
* Makefile.in (coff-tic80.o): Depends upon coffswap.h.
* coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define
*coffcode.h (coff_write_object_contents): Set alignment field in
  section header for TIC80COFF files.
end-sanitize-tic80
PR 12215 and PR 13061

27 years ago * objfiles.c (objfile_relocate): Add call to breakpoint_re_set
Fred Fish [Tue, 19 Aug 1997 15:46:20 +0000 (15:46 +0000)]
* objfiles.c (objfile_relocate): Add call to breakpoint_re_set
after relocations are complete.
* remote-vx.c (vx_add_symbols): Remove call to breakpoint_re_set,
this is now done in objfile_relocate.
PR 11308

27 years ago * macro.c (check_macro): use alloca instead of xmalloc to plug leak.
Richard Henderson [Tue, 19 Aug 1997 03:48:22 +0000 (03:48 +0000)]
    * macro.c (check_macro): use alloca instead of xmalloc to plug leak.

27 years ago * as.c (show_usage): Add -am.
Richard Henderson [Tue, 19 Aug 1997 03:45:56 +0000 (03:45 +0000)]
    * as.c (show_usage): Add -am.
        * input-scrub.c (input_scrub_include_sb): Don't add leading \n
        if we've already got one.
        * listing.c (struct list_info_struct): Add line_contents.
        (listing_newline): Put unused argument to work: if non-null, save it...
        (listing_listing): ... and regurgitate during listing instead of line
        from file.
        * listing.h (LISTING_MACEXP): New define.
        (LISTING_NEWLINE): Argument is NULL.
        * read.c (read_a_source_file): If expanding macros, break up input
        lines and pass them to listing_newline.
        * doc/as.texinfo: Document -ac and -am.

        * cond.c (s_ifc): Add missing demand_empty_rest_of_line.

27 years ago * win32-nat.c (handle_exception): Return a value indicating
Ian Lance Taylor [Mon, 18 Aug 1997 21:31:51 +0000 (21:31 +0000)]
* win32-nat.c (handle_exception): Return a value indicating
  whether the exception was handled.  Don't handle random exceptions
the first time around, so that structured exception handling
works.
(child_wait): Check the return value of handle_exception.  Set the
continue_status argument to ContinueDebugEvent accordingly.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:42:35 +0000 (18:42 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_PCREL relocation.

27 years agoAdd support for v850e and v850eq target.
Nick Clifton [Mon, 18 Aug 1997 18:30:31 +0000 (18:30 +0000)]
Add support for v850e and v850eq target.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:26:42 +0000 (18:26 +0000)]
Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_16_PCREL.

27 years agoAdd support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:12:54 +0000 (18:12 +0000)]
Add support for v850e and v850eq targets.

27 years agoAdd suport for v850e and v850eq
Nick Clifton [Mon, 18 Aug 1997 18:01:42 +0000 (18:01 +0000)]
Add suport for v850e and v850eq

27 years agoAdd support for V850eq variant opcodes.
Nick Clifton [Mon, 18 Aug 1997 18:01:08 +0000 (18:01 +0000)]
Add support for V850eq variant opcodes.

27 years ago * Add gdbtcl2 to gdbtk_files.
Mark Alexander [Mon, 18 Aug 1997 17:02:58 +0000 (17:02 +0000)]
* Add gdbtcl2 to gdbtk_files.

27 years ago* config.sub: Add mipstx39. Delete r3900.
Gavin Romig-Koch [Mon, 18 Aug 1997 13:27:25 +0000 (13:27 +0000)]
* config.sub: Add mipstx39.  Delete r3900.

27 years ago * Makefile.in (all-vmake): Depends on all-tix.
Jason Molenda [Mon, 18 Aug 1997 10:14:26 +0000 (10:14 +0000)]
    * Makefile.in (all-vmake): Depends on all-tix.

27 years ago * Makefile.in (all-autoconf): Depends on all-texinfo.
Jason Molenda [Mon, 18 Aug 1997 08:26:07 +0000 (08:26 +0000)]
    * Makefile.in (all-autoconf): Depends on all-texinfo.

autoconf tries to run makeinfo as a part of 'all'.  Instead of hacking
autoconf to build in the Cygnus way, I just added this dependency.

27 years agoSun Aug 17 20:31:57 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
Michael Snyder [Mon, 18 Aug 1997 03:33:27 +0000 (03:33 +0000)]
Sun Aug 17 20:31:57 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)

        * m32r-stub.c: fix typo

27 years ago * remote-sds.c: Remove unused remnants of remote.c.
Stan Shebs [Mon, 18 Aug 1997 00:41:39 +0000 (00:41 +0000)]
* remote-sds.c: Remove unused remnants of remote.c.
(tob64): Return the result length.
(sds_interrupt): Send a stop message.
(sds_wait): Add debug output for signal interpretation, flag
that signal was due to a trap.
(sds_fetch_registers): Fill the registers array correctly for
  PowerPC.
(sds_store_registers): Get the right values from registers array.
(putmessage): Tweak length handling so checksum comes out right.
(sds_insert_breakpoint, sds_remove_breakpoint): Do correctly.

27 years agoSun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Sun, 17 Aug 1997 07:47:55 +0000 (07:47 +0000)]
Sun Aug 17 00:42:11 1997  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk.c (gdb_listfuncs): New function that returns
a list of all the functions in a source file.

27 years agoUpdate powerpc/rs6000 to current multilibs
Michael Meissner [Sat, 16 Aug 1997 03:11:09 +0000 (03:11 +0000)]
Update powerpc/rs6000 to current multilibs

27 years ago * Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
Ian Lance Taylor [Fri, 15 Aug 1997 23:19:20 +0000 (23:19 +0000)]
* Makefile.am (check-DEJAGNU): Don't cd into testsuite until after
setting EXPECT and TCL_LIBRARY.
* Makefile.in: Rebuild.

27 years ago * infrun.c (wait_for_inferior): Add the symbols for any
Peter Schauer [Fri, 15 Aug 1997 21:10:32 +0000 (21:10 +0000)]
* infrun.c (wait_for_inferior):  Add the symbols for any
newly loaded objects upon a TARGET_WAITKIND_LOADED event.

Rewrite code which determines the TOC address for calling functions
in the inferior under AIX.
* rs6000-nat.c (find_toc_address):  New function to determine
the required TOC address from a function address.
(_initialize_core_rs6000):  Set up find_toc_address_hook to point
to find_toc_address.
(xcoff_relocate_symtab, xcoff_relocate_core):  Remove
add_text_to_loadinfo calls.
(exec_one_dummy_insn):  Change pid and status to int to get rid of
compiler warnings.
(xcoff_relocate_symtab):  Cast ldi to `int *' when passing it to
ptrace to get rid of compiler warnings.
* rs6000-tdep.c:  Add definition for find_toc_address_hook.
(rs6000_fix_call_dummy):  If find_toc_address_hook is non zero,
patch TOC address load code in the call dummy with the value
returned from find_toc_address_hook.
(struct loadinfo, loadinfo, loadinfolen,
loadinfotextindex, xcoff_init_loadinfo, free_loadinfo,
xcoff_add_toc_to_loadinfo, add_text_to_loadinfo, find_toc_address):
Remove.
(_initialize_rs6000_tdep):  Remove initialization of
coff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
* xcoffread.c (coff_add_toc_to_loadinfo_hook,
xcoff_init_loadinfo_hook):  Remove.
(struct coff_symfile_info):  Add toc_offset field.
(scan_xcoff_symtab):  Record toc_offset value in toc_offset field
instead of calling xcoff_add_toc_to_loadinfo_hook.
(get_toc_offset):  New function to return the value of the
toc_offset field for an object file.
(xcoff_initial_scan):  Remove call of xcoff_init_loadinfo_hook.
* xcoffsolib.h (add_text_to_loadinfo):  Remove declaration.
* config/rs6000/tm-rs6000.h:  Add declarations for
find_toc_address_hook and get_toc_offset.

27 years agofix copyrights
Ian Lance Taylor [Fri, 15 Aug 1997 18:26:52 +0000 (18:26 +0000)]
fix copyrights

27 years ago * as.h (enum debug_info_type): Define.
Ian Lance Taylor [Fri, 15 Aug 1997 18:19:27 +0000 (18:19 +0000)]
* as.h (enum debug_info_type): Define.
(debug_type): Declare.
* as.c (debug_type): New global variable.
(show_usage): Add --gstabs.
(parse_args): Handle --gstabs.
* read.c (generate_asm_lineno): Remove.
(read_a_source_file): Output stabs debugging if appropriate.
Change checks of generate_asm_lineno to check debug_type.  Only
generate ECOFF debugging if ECOFF_DEBUGGING is defined.
* read.h (generate_asm_lineno): Don't declare.
(stabs_generate_asm_lineno): Declare.
* stabs.c (stabs_generate_asm_lineno): New function.
* ecoff.c (add_file): Use debug_type, not generate_asm_lineno.
Don't turn off debugging.
(add_file): Remove old #if 0 code.
(ecoff_new_file): Set debug_type, not generate_asm_lineno.
(ecoff_directive_end): Don't generate stabs line symbols.
(ecoff_generate_asm_lineno): Don't check stabs_seen.  Don't set
generate_asm_lineno.
(line_label_cnt): Remove.
(ecoff_generate_asm_line_stab): Remove.
* ecoff.h (ecoff_generate_asm_line_stab): Don't declare.
* doc/as.texinfo, doc/as.1: Document --gstabs.

27 years ago * coffgen.c (coff_find_nearest_line): Correctly handle the offset
Ian Lance Taylor [Fri, 15 Aug 1997 16:02:53 +0000 (16:02 +0000)]
* coffgen.c (coff_find_nearest_line): Correctly handle the offset
argument as section relative, rather than an absolute address.
From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.

27 years agofix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:50:13 +0000 (15:50 +0000)]
fix v850 sanitization

27 years agofix v850 sanitization
Ian Lance Taylor [Fri, 15 Aug 1997 15:44:07 +0000 (15:44 +0000)]
fix v850 sanitization

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:20:57 +0000 (12:20 +0000)]
Remove ARC sanitization.

27 years ago * arc.h (enum reloc): Move here from elf32-arc.c.
David Edelsohn [Fri, 15 Aug 1997 12:10:43 +0000 (12:10 +0000)]
* arc.h (enum reloc): Move here from elf32-arc.c.

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 12:08:52 +0000 (12:08 +0000)]
Remove ARC sanitization.

27 years agoRemove support for insns not in base chip, which is all we support now.
David Edelsohn [Fri, 15 Aug 1997 06:58:48 +0000 (06:58 +0000)]
Remove support for insns not in base chip, which is all we support now.

27 years agoDelete testcases, these don't appear in the base chip which is all we
David Edelsohn [Fri, 15 Aug 1997 06:53:50 +0000 (06:53 +0000)]
Delete testcases, these don't appear in the base chip which is all we
support now.

27 years agoRemove ARC sanitization.
David Edelsohn [Fri, 15 Aug 1997 06:49:09 +0000 (06:49 +0000)]
Remove ARC sanitization.

27 years agoAdd comment.
David Edelsohn [Thu, 14 Aug 1997 20:36:00 +0000 (20:36 +0000)]
Add comment.

27 years agoUndo last change, add comment saying why I think I was wrong.
David Edelsohn [Thu, 14 Aug 1997 20:07:56 +0000 (20:07 +0000)]
Undo last change, add comment saying why I think I was wrong.

27 years ago * callback.h (cb_printf, cb_eprintf): Declare.
David Edelsohn [Thu, 14 Aug 1997 19:55:37 +0000 (19:55 +0000)]
* callback.h (cb_printf, cb_eprintf): Declare.

27 years agoFixed typo in previous delta and added more sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:55:03 +0000 (19:55 +0000)]
Fixed typo in previous delta and added more sanitization.

27 years ago * callback.c (os_poll_quit): Make static.
David Edelsohn [Thu, 14 Aug 1997 19:53:10 +0000 (19:53 +0000)]
* callback.c (os_poll_quit): Make static.
Call sim_cb_eprintf, not p->eprintf.
(sim_cb_printf, sim_cb_eprintf): New functions.

27 years agooops - fixed typo.
Nick Clifton [Thu, 14 Aug 1997 19:48:36 +0000 (19:48 +0000)]
oops - fixed typo.

27 years agoTidied up sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:45:14 +0000 (19:45 +0000)]
Tidied up sanitization.

27 years ago * configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.
Ian Lance Taylor [Thu, 14 Aug 1997 19:43:00 +0000 (19:43 +0000)]
* configure: Get CFLAGS and CXXFLAGS from Makefile, if possible.

27 years agoTidied up sanitization
Nick Clifton [Thu, 14 Aug 1997 19:42:22 +0000 (19:42 +0000)]
Tidied up sanitization

27 years agoTidied up the sanitization.
Nick Clifton [Thu, 14 Aug 1997 19:34:58 +0000 (19:34 +0000)]
Tidied up the sanitization.

27 years ago * configure: When handling a Canadian Cross, handle YACC as well as
Ian Lance Taylor [Thu, 14 Aug 1997 18:43:48 +0000 (18:43 +0000)]
* configure: When handling a Canadian Cross, handle YACC as well as
BISON.  Just set BISON to bison.  When setting YACC, prefer bison.

27 years agokeep remote-sds.c
Stan Shebs [Thu, 14 Aug 1997 02:46:46 +0000 (02:46 +0000)]
keep remote-sds.c

27 years ago * remote-sds.c: New file, interface to SDS-compatible monitors.
Stan Shebs [Thu, 14 Aug 1997 02:41:15 +0000 (02:41 +0000)]
* remote-sds.c: New file, interface to SDS-compatible monitors.
* Makefile.in (remote-sds.o): Add build rule.
* config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt
  (TDEPFILES): Add remote-sds.o.

27 years agoAdded support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 02:13:32 +0000 (02:13 +0000)]
Added support for v850e and v850eq instructions.

27 years agoAdded support for v850e and v850eq instructions.
Nick Clifton [Thu, 14 Aug 1997 02:03:34 +0000 (02:03 +0000)]
Added support for v850e and v850eq instructions.

27 years agoAdd support for v850E and v850EQ instructions.
Nick Clifton [Thu, 14 Aug 1997 01:55:51 +0000 (01:55 +0000)]
Add support for v850E and v850EQ instructions.