David Edelsohn [Thu, 28 Aug 1997 18:19:21 +0000 (18:19 +0000)]
Remove arc sanitization.
David Edelsohn [Thu, 28 Aug 1997 17:37:30 +0000 (17:37 +0000)]
* sim-options.c (standard_option_handler): Use xstrdup, not strdup.
David Edelsohn [Thu, 28 Aug 1997 17:19:45 +0000 (17:19 +0000)]
* configure.tgt (arc-*-elf*): Recognize.
* Makefile.am (ALL_EMULATIONS): Add earcelf.o.
* Makefile.in: Regenerate.
* emulparams/arcelf.sh: New file.
Removes arc sanitization.
David Edelsohn [Thu, 28 Aug 1997 17:17:43 +0000 (17:17 +0000)]
Remove arc sanitization.
David Edelsohn [Thu, 28 Aug 1997 16:58:00 +0000 (16:58 +0000)]
* binutils-all/objdump.exp (cpus_expected): Add arc.
David Edelsohn [Thu, 28 Aug 1997 16:56:10 +0000 (16:56 +0000)]
Remove arc sanitization.
Andrew Cagney [Thu, 28 Aug 1997 10:20:21 +0000 (10:20 +0000)]
New commands ``set architecture'', ``show architecture'' and ``info
architecture''. Update SH target to use new target_architecture_hook.
Andrew Cagney [Thu, 28 Aug 1997 10:01:33 +0000 (10:01 +0000)]
Add sh3 et.al. to SH arch table.
Improve machine name parsing for v850 and SH.
Andrew Cagney [Thu, 28 Aug 1997 09:55:55 +0000 (09:55 +0000)]
Make igen available when v850 is being build.
Andrew Cagney [Thu, 28 Aug 1997 09:44:42 +0000 (09:44 +0000)]
Add --target=BFDTARGET and --architecture=MACHINE options.
Andrew Cagney [Wed, 27 Aug 1997 22:43:18 +0000 (22:43 +0000)]
Fix doco on enable-sim-inline.
Andrew Cagney [Wed, 27 Aug 1997 07:56:27 +0000 (07:56 +0000)]
Add MSBIT* and LSBIT* macro's to sim-bits.h
Add more macro's for extracting sub word quantites to sim-endian.h
Andrew Cagney [Wed, 27 Aug 1997 07:45:50 +0000 (07:45 +0000)]
Only pass endianess to simulator when explicitly set by user with set
endian.
Prepend endian argument so that it can be overriden with target sim -ARGS.
Andrew Cagney [Wed, 27 Aug 1997 07:40:23 +0000 (07:40 +0000)]
* archures.c (bfd_archures_list): Always NULL terminate the list.
Andrew Cagney [Wed, 27 Aug 1997 04:45:59 +0000 (04:45 +0000)]
New file - generic implementation of sim_load for hardware only
simulators.
Andrew Cagney [Wed, 27 Aug 1997 04:44:41 +0000 (04:44 +0000)]
Add ABFD argument to sim_create_inferior. Document.
Add file sim-hload.c - generic load for hardware only simulators.
Review each simulators sim_open, sim_load, sim_create_inferior so that
they more closely match required behavour.
Andrew Cagney [Wed, 27 Aug 1997 00:44:05 +0000 (00:44 +0000)]
* idecode_expression.h (ALU_END): From Charles Lefurgy - Extract
sign bit using 64 bit and not a 32 bit mask.
* sim_calls.c (sim_load): From Ian Lance Taylor - free argv after
it has been used, not before.
Andrew Cagney [Wed, 27 Aug 1997 00:35:34 +0000 (00:35 +0000)]
Save a copy of argv, not just a pointer.
Ian Lance Taylor [Tue, 26 Aug 1997 22:26:20 +0000 (22:26 +0000)]
* Makefile.am: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add cpu-arc.c.
(ALL_MACHINES_CFILES): Add elf32-arc.c.
(elf32-arc.lo): Remove explicit dependency.
* Makefile.in: Rebuild.
Ian Lance Taylor [Tue, 26 Aug 1997 22:23:58 +0000 (22:23 +0000)]
fix v850 machine number stuff
Ian Lance Taylor [Tue, 26 Aug 1997 21:30:19 +0000 (21:30 +0000)]
* acinclude.m4 (BFD_CC_FOR_BUILD): Set EXEEXT_FOR_BUILD.
* doc/Makefile.am (MKDOC): Use EXEEXT_FOR_BUILD, not EXEEXT.
* aclocal.m4, configure, Makefile.in, doc/Makefile.in: Rebuild.
Ian Lance Taylor [Tue, 26 Aug 1997 20:52:49 +0000 (20:52 +0000)]
* doc/as.texinfo (Machine Dependencies): Add v850 to menu.
* doc/c-v850.texi: Change node name to match other chapter nodes.
Ian Lance Taylor [Tue, 26 Aug 1997 19:25:44 +0000 (19:25 +0000)]
* expr.c (integer_constant): If BFD64, don't make a bignum if the
number will fit in 64 bits.
Ian Lance Taylor [Tue, 26 Aug 1997 19:12:10 +0000 (19:12 +0000)]
* config/tc-alpha.c (load_expression): Check explicitly for O_big,
rather than calling abort.
Ian Lance Taylor [Tue, 26 Aug 1997 19:10:48 +0000 (19:10 +0000)]
* as.h: Don't define alloca if __GNUC__. Just declare it.
* macro.c: Copy alloca handling from as.h.
Ian Lance Taylor [Tue, 26 Aug 1997 17:27:21 +0000 (17:27 +0000)]
* config/tc-i386.c (i386_align_code): Correct 16 bit noops. From
Gabriel Paubert <paubert@iram.es>.
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>.
Nick Clifton [Tue, 26 Aug 1997 16:46:05 +0000 (16:46 +0000)]
Corrected name of tiny data area label.
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>.
Nick Clifton [Tue, 26 Aug 1997 16:40:28 +0000 (16:40 +0000)]
Made immediate parameter of MOVHI be unsigned
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>.
Ian Lance Taylor [Tue, 26 Aug 1997 16:33:34 +0000 (16:33 +0000)]
Use address size prefix for loopw as for jcxz.
Ian Lance Taylor [Tue, 26 Aug 1997 16:25:06 +0000 (16:25 +0000)]
tipo
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.
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.
Andrew Cagney [Tue, 26 Aug 1997 08:38:34 +0000 (08:38 +0000)]
Make building of w65 simulator conditional on --enable-sim.
Andrew Cagney [Tue, 26 Aug 1997 08:37:52 +0000 (08:37 +0000)]
In some cases: Makefile.in (all-sim): Depends on all-readline.
Andrew Cagney [Tue, 26 Aug 1997 02:05:18 +0000 (02:05 +0000)]
Flush defunct sim_kill.
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
Chris Provenzano [Mon, 25 Aug 1997 23:16:51 +0000 (23:16 +0000)]
Rebuild with latest devo autoconf for NT support
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.
Nick Clifton [Mon, 25 Aug 1997 23:08:49 +0000 (23:08 +0000)]
Fixed minor buglet in compatible.
Nick Clifton [Mon, 25 Aug 1997 23:07:18 +0000 (23:07 +0000)]
Added magic numbers for V850E and V850EQ.
Nick Clifton [Mon, 25 Aug 1997 23:03:24 +0000 (23:03 +0000)]
Set machine architecture and type.
Nick Clifton [Mon, 25 Aug 1997 23:00:29 +0000 (23:00 +0000)]
Switched over to using machine numbers to distinguish v850 architecture variants.
Chris Provenzano [Mon, 25 Aug 1997 22:58:36 +0000 (22:58 +0000)]
Rebuilt configure with latest devo autoconf for NT support.
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.
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.
Nick Clifton [Mon, 25 Aug 1997 18:21:02 +0000 (18:21 +0000)]
Support constant expressions as register lists.
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.
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.
Nick Clifton [Mon, 25 Aug 1997 17:18:21 +0000 (17:18 +0000)]
Fixed node name.
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.
Nick Clifton [Mon, 25 Aug 1997 16:41:18 +0000 (16:41 +0000)]
Switch from C++ style comment to C style.
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.
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.
Ian Lance Taylor [Sat, 23 Aug 1997 16:34:55 +0000 (16:34 +0000)]
fix v850 sanitization
Nick Clifton [Fri, 22 Aug 1997 23:37:00 +0000 (23:37 +0000)]
Added documentation of v850 assembler options.
Nick Clifton [Fri, 22 Aug 1997 18:14:35 +0000 (18:14 +0000)]
Make the NUL character be considered to be a line terminator.
Nick Clifton [Fri, 22 Aug 1997 17:44:55 +0000 (17:44 +0000)]
Add support for curly brace register list syntax.
Nick Clifton [Fri, 22 Aug 1997 17:41:20 +0000 (17:41 +0000)]
Updated with respect to the HDD-tool-0611 document.
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.
Nick Clifton [Fri, 22 Aug 1997 17:35:24 +0000 (17:35 +0000)]
Updated from specs in HDD-tool-0611 document.
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
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.
Nick Clifton [Thu, 21 Aug 1997 21:43:44 +0000 (21:43 +0000)]
Fixed v850_section to cope with original section styles as well.
Nick Clifton [Thu, 21 Aug 1997 18:09:20 +0000 (18:09 +0000)]
Moved divh opcodes next to each other.
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.
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
Bob Manson [Thu, 21 Aug 1997 17:34:28 +0000 (17:34 +0000)]
* pr-9946.exp: Ditto.
* gch1280.exp: Ditto.
* gch1272.exp: Ditto.
Bob Manson [Thu, 21 Aug 1997 17:31:58 +0000 (17:31 +0000)]
* enum.exp: More quoting fixes.
*sigh*
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.
Nick Clifton [Wed, 20 Aug 1997 22:42:55 +0000 (22:42 +0000)]
Added N step divide routines, courtesy of Sugimoto at NEC.
Nick Clifton [Wed, 20 Aug 1997 20:57:05 +0000 (20:57 +0000)]
Fixed interpretation of SR bit in list18 structures.
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.
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.
Nick Clifton [Tue, 19 Aug 1997 17:07:05 +0000 (17:07 +0000)]
oops - fixed bugs in new v850e/q rules.
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
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
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
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.
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.
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.
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.
Nick Clifton [Mon, 18 Aug 1997 18:30:31 +0000 (18:30 +0000)]
Add support for v850e and v850eq target.
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.
Nick Clifton [Mon, 18 Aug 1997 18:12:54 +0000 (18:12 +0000)]
Add support for v850e and v850eq targets.
Nick Clifton [Mon, 18 Aug 1997 18:01:42 +0000 (18:01 +0000)]
Add suport for v850e and v850eq
Nick Clifton [Mon, 18 Aug 1997 18:01:08 +0000 (18:01 +0000)]
Add support for V850eq variant opcodes.
Mark Alexander [Mon, 18 Aug 1997 17:02:58 +0000 (17:02 +0000)]
* Add gdbtcl2 to gdbtk_files.
Gavin Romig-Koch [Mon, 18 Aug 1997 13:27:25 +0000 (13:27 +0000)]
* config.sub: Add mipstx39. Delete r3900.
Jason Molenda [Mon, 18 Aug 1997 10:14:26 +0000 (10:14 +0000)]
* Makefile.in (all-vmake): Depends on all-tix.
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.
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
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.
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.
Michael Meissner [Sat, 16 Aug 1997 03:11:09 +0000 (03:11 +0000)]
Update powerpc/rs6000 to current multilibs
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.
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.
Ian Lance Taylor [Fri, 15 Aug 1997 18:26:52 +0000 (18:26 +0000)]
fix copyrights
This page took 0.038469 seconds and 4 git commands to generate.