Ian Lance Taylor
a21227ef2c
* Makefile.in (OFILES): Remove $(TDEPFILES).
...
* config/apollo.mt (TDEPFILES): Remove.
* config/README: Update.
1995-09-01 22:32:19 +00:00
Ian Lance Taylor
a52a3ce8e0
* configure.in: For a native configuration, set COREFILE and
...
COREFLAG based on the canonical host name.
* configure: Rebuild.
* Makefile.in: Rebuild dependencies.
(ALL_CFLAGS): Add @COREFLAG@.
(OFILES): Replace $(HDEPFILES) with @COREFILE@.
* coff-rs6000.c: Check AIX_CORE rather than HOST_AIX for core file
support routines. Check LYNX_CORE rather than HOST_LYNX.
* lynx-core.c: Check LYNX_CORE rather than HOST_LYNX.
* i386lynx.c: Likewise.
* m68klynx.c: Likewise.
* sparclynx.c: Likewise.
* rs6000-core.c: Check AIX_CORE rather than HOST_AIX.
* *-core.c: Comment changes.
* config/decstation.mh (HDEPFILES): Remove.
(HDEFINES): Remove -DTRAD_CORE.
* config/irix3.mh (RANLIB): Remove.
* config/irix4.mh (HDEPFILES, RANLIB): Remove.
(HDEFINES): Remove -DIRIX_CORE.
* config/riscos.mh (RANLIB, HDEPFILES): Remove.
(HDEFINES): Remove -DTRAD_CORE.
* config/ncr3000.mh (AR_FLAGS, RANLIB): Remove.
* config/ultra3.mh (RANLIB): Remove.
* config/aix4.mh, config/alphaosf.mh, config/amix.mh: Remove.
* config/apollo.mh, config/delta68.mh, config/delta88.mh: Remove.
* config/dpx2.mh, config/esix.mh, config/harris.mh: Remove.
* config/hp300.mh, config/hp300bsd.mh, config/hppabsd.mh: Remove.
* config/hppahpux.mh, config/hppaosf.mh: Remove.
* config/i386aix.mh, config/i386bsd.mh: Remove.
* config/i386linux.mh, config/i386mach3.mh: Remove.
* config/i386sco.mh, config/i386v.mh, config/i386v4.mh: Remove.
* config/irix5.mh, config/m88kmach3.mh, config/mipsbsd.mh: Remove.
* config/mipsmach3.mh, config/news-mips.mh: Remove.
* config/news.mh, config/pc532mach.mh, config/riscix.mh: Remove.
* config/rs600.mh, config/rs6000lynx.mh: Remove.
* config/solaris2.mh, config/stratus.mh: Remove.
* config/symmetry.mh, config/sysv4.mh, config/tahoe.mh: Remove.
* config/vaxbsd.mh, config/vaxult.mh, config/vaxult2.mh: Remove.
1995-09-01 22:23:04 +00:00
Fred Fish
c08e5694d9
* gdb.base/funcargs.exp (float_and_integral_args): Remove
...
sparc-sun-solaris2* xfail for "print f1 after run to call2a".
* gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
* gdb.base/signals.exp: Remove duplicate "handle all print" test
that accidentally got checked in.
1995-09-01 21:01:24 +00:00
Ian Lance Taylor
d6f672b881
Fri Sep 1 15:18:50 1995 Kazumoto Kojima <kkojima@info.kanagawa-u.ac.jp>
...
* elflink.h (elf_bfd_final_link): Don't change a DT_INIT or
DT_FINI entry if the appropriate symbol is not in the hash table.
* libelf.h (struct elf_backend_data): Add create_program_headers
and want_hdr_in_seg fields.
* elfxx-target.h (elf_backend_want_hdr_in_seg): Define if not
defined.
(elf_backend_create_program_headers): Likewise.
(elfNN_bed): Initialize create_program_headers and
want_hdr_in_seg.
* elf.c (get_program_header_size): Call create_program_headers
backend routine.
(map_program_segments): Check want_hdr_in_seg backend field. Call
create_program_headers backend routine.
* elf.c (assign_file_positions_except_relocs): Align non allocated
sections when creating an executable.
* elfcode.h (elf_swap_phdr_in): Make non static.
(elf_swap_phdr_out): Make non static.
* libelf.h (bfd_elf32_swap_phdr_in): Declare.
(bfd_elf32_swap_phdr_out): Declare.
(bfd_elf64_swap_phdr_in): Declare.
(bfd_elf64_swap_phdr_out): Declare.
1995-09-01 19:29:43 +00:00
Ian Lance Taylor
0cb705689d
* elflink.h (elf_link_add_object_symbols): Handle indirect and
...
warning symbols. If any section is named .gnu.warning.XXX, treat
the contents as a warning to be issued if the symbol XXX is
referenced.
(elf_link_output_extsym): For an indirect or warning symbol, just
output the symbol it points to.
1995-09-01 18:08:28 +00:00
Ian Lance Taylor
f6feefe448
* ldmain.c (warning_callback): Add abfd, section, and address
...
parameters.
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Change call to warning accordingly.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): If not
relocateable and not shared, put .gnu.warning.SYMBOL sections into
the .text section.
1995-09-01 18:06:53 +00:00
Jackie Smith Cashion
751b7dcc00
NEC VR4300 target (IDT SIM monitor) support.
...
Fri Sep 1 08:35:16 1995 James G. Smith <jsmith@beauty.cygnus.com>
* configure.in: Added mips*vr4300-idt-elf* and
mips*vr4300el-idt-elf* targets.
* Makefile.in: Added eelf32vr4300* targets.
* emulparams/{elf32vr4300.sh, elf32vr4300el.sh}: Added.
* config/{mips-vr4300.mt, mips-vr4300el.mt}: Added.
1995-09-01 15:38:07 +00:00
Jackie Smith Cashion
180fd370b1
Ideally the "remote-mips.c" prompt spotting code should be updated to
...
spot different prompts at run-time, so as to avoid having target
specific versions of gdb. This is a pending TODO.
Fri Sep 1 08:25:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
* configure (mips64*vr4300*-*-elf): Support added.
* remote-mips.c (mips_readchar): Change to allow build-time prompt
string.
* config/mips/tm-mips.h: Added TARGET_MONITOR_PROMPT.
* config/mips/{vr4300.mt, vr4300el.mt, tm-vr4300.h,
tm-vr4300el.h}: Added.
1995-09-01 15:33:14 +00:00
Jackie Smith Cashion
8343d9d806
This change does not affect the MIPS instruction assembly. It is
...
present only to stop gas complaining when gcc passes through the
"-mcpu=vr4300" switch.
Fri Sep 1 08:20:19 1995 James G. Smith <jsmith@beauty.cygnus.com>
* config/tc-mips.c (md_parse_option, md_begin, md_show_usage):
Add support for "-mcpu=vr4300" as processor identifier.
1995-09-01 15:22:29 +00:00
Jackie Smith Cashion
f14db88017
Fri Sep 1 08:12:50 1995 James G. Smith <jsmith@beauty.cygnus.com>
...
* config.bfd: Add mips*vr4300-*-elf* target.
* config/mipsbvr4300.mt: Added.
1995-09-01 15:15:57 +00:00
Jackie Smith Cashion
6d333529f4
Fri Sep 1 08:06:58 1995 James G. Smith <jsmith@beauty.cygnus.com>
...
* config.sub: recognise mips64vr4300 and mips64vr4300el as valid
targets.
1995-09-01 15:08:48 +00:00
Ian Lance Taylor
4dd284fab7
* scripttempl/a29k.sc: Fix to be reasonable. From Brendan Kehoe
...
<brendan@cygnus.com>.
1995-09-01 14:54:01 +00:00
Jason Molenda
99ac77549e
* configure.in: match i[3-6]86-*-win32, not just i386-*-win32.
1995-09-01 02:24:59 +00:00
Steve Chamberlain
9aa83a0dc9
Thu Aug 31 16:51:50 1995 steve chamberlain <sac@slash.cygnus.com>
...
* internal.h (internal_aouthdr, internal_filehdr):
don't indirect the pe stuff.
1995-08-31 23:54:04 +00:00
Steve Chamberlain
305a3af6e3
Thu Aug 31 16:41:06 1995 steve chamberlain <sac@slash.cygnus.com>
...
* write.c (fixup_segment): Remove change of 29th.
* config/tc-{i386,arm}.h (TC_FORCE_RELOCATION): Keep RVA relocs.
1995-08-31 23:46:47 +00:00
Steve Chamberlain
5f8ac7e7f6
Thu Aug 31 16:37:07 1995 steve chamberlain <sac@slash.cygnus.com>
...
* ldemul.c (ldemul_parse_args): New.
* ldemul.h (ld_emulation_xfer_struct): Add parse_args.
* lexsup.c (all pe stuff): Moved into pe.em
(parse_args): Call emulation arg parser.
* emultempl/pe.em (parse_args): handle PE specfic args.
1995-08-31 23:42:53 +00:00
Steve Chamberlain
a65619c8fd
Thu Aug 31 16:30:22 1995 steve chamberlain <sac@slash.cygnus.com>
...
* dlltool.c (add_indirect): New.
(asm_prefix): New
(gen_exp_file): Timestamp should be 0. Insert prefix when
needed. New code for indirection.
(gen_lib_file): Timestamp should be 0. Insert prefix
when needed.
(usage): Document --add-indirect.
(main): Cope with new option.
* objdump.c (dump_private_headers): New.
(usage): Document new option.
(long_option): Add private-headers.
(dump_bfd_private_header): New.
(main): Cope with new option.
1995-08-31 23:34:09 +00:00
Steve Chamberlain
4e98461f60
Thu Aug 31 16:00:53 1995 steve chamberlain <sac@slash.cygnus.com>
...
* Makefile.in: Update dependencies.
* aout-target.h (MY_bfd_print_private_bfd_data): New.
* bfd-in.h (PE STUFF): Deleted.
* bfd.c (tdata->pe_obj_data): New.
(bfd_print_private_bfd_data): New.
* coff-i386.c, coff-arm.c (coff_*-rtype_to_howto): Get image base from
new place.
* libcoff.h, libbfd.h, bfd-in2.h: Rebuilt.
* coffcode.h (pe_value): Delete
(coff_mkobject, coff_mkobject_hook): Conditionally build.
(coff_compute_section_file_positions): Look in new place.
(add_data_entry, fill_pe_header_info): Deleted.
(coff_write_object_contents): Remove PE stuff.
(coff_bfd_print_private_bfd_data): New.
* coffswap.h: Remove PE stuff.
* elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): New.
* libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): New.
* libcoff-in.h (pe_data_type): New.
* libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): New.
* targets.c (_bfd_print_private_bfd_data): New.
* peicode.h: New file.
1995-08-31 23:33:37 +00:00
Ian Lance Taylor
0b4fc03b37
* ldlang.c (lang_memory_region_lookup): Don't use the first region
...
as the default region. Create a new region instead.
1995-08-31 21:02:39 +00:00
Jim Wilson
07846c7a1f
* config/sh/sh.mt (SIM): Add -lm.
1995-08-31 19:59:59 +00:00
Jim Wilson
db29ae72fc
Fix bug in SH3e ftrc instruction.
1995-08-31 19:37:41 +00:00
Ian Lance Taylor
f2f232cde2
Tue Aug 29 19:42:58 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
...
* config/tc-m68k.c (m68k_ip) [case POST/PRE/BASE]: Fix typo when
looking at outer displacement. Don't set the postindex bit if the
index suppress bit is set (for memory indirect addressing mode).
1995-08-31 17:50:20 +00:00
Ian Lance Taylor
815179af80
* bfd-in.h: Add extern "C" if __cplusplus.
...
* bfd-in2.h: Rebuild.
PR 7882.
1995-08-31 16:23:02 +00:00
Ian Lance Taylor
61228e36e8
* coff-mips.c (mips_relocate_section): Don't convert a reloc
...
against an absolute symbol into a reloc against a section.
PR 7880.
1995-08-31 15:54:27 +00:00
Steve Chamberlain
da7afe3b8a
Thu Aug 31 08:00:14 1995 steve chamberlain <sac@slash.cygnus.com>
...
* coff-arm.c (coff_arm_reloc): Fix common size problem.
(i3coff_object_p): Delete.
Wed Aug 30 20:41:27 1995 steve chamberlain <sac@slash.cygnus.com>
* coff-arm.c (deletemeacoff_arm_reloc): Deleted.
(arm26): Not partial inplace.
* coffcode.h (coff_compute_section_file_positions): Don't
do page aligning if COFF_PAGE_SIZE isn't defined.
* coffswap.h (coff_swap_scnhdr_in): Update image base correctly.
1995-08-31 15:05:27 +00:00
David Edelsohn
7408a167bd
* config/tc-arm.c (tc_gen_reloc): Delete duplicated code.
1995-08-31 13:50:56 +00:00
David Edelsohn
4828cdbaca
* dlltool.c (run): Add missing 3rd arg to waitpid.
1995-08-31 11:10:32 +00:00
Jeff Law
1fc210a78b
* Makefile.in (run): Link in math library too.
1995-08-31 04:22:57 +00:00
Jeff Law
c1bce9f662
* interp.c (FPSCR, FPUL): Define.
...
(struct save_state): Add fields for floating point registers,
FPSCR and FPUL.
(sim_resume): Add 'F' for accessing floating point registers
in the save state structure.
* gencode.c: Add sh3e opcodes.
(gensym): Define a buffer for int<->fp conversions.
First cut at simulating sh3e instructions. Basic stuff should work;
instructions using fpul and fpscr are completely untested... Sanitized
away for now (sh3e).
1995-08-31 04:21:32 +00:00
Jason Molenda
c928c81fb7
* configure.in: treat i386-win32 canadian cross the same as
...
i386-go32 canadian cross.
1995-08-31 04:08:15 +00:00
Jeff Law
2ca7c3c417
* gencode.c (gensim): abort if an unknown opcode is encountered.
1995-08-31 04:07:00 +00:00
Ian Lance Taylor
ebcb9b6d4e
* app.c (do_scrub_chars): Free saved_input when the from buffer
...
exactly fills the to buffer.
1995-08-31 03:53:43 +00:00
Steve Chamberlain
275143ebee
Wed Aug 30 20:41:27 1995 steve chamberlain <sac@slash.cygnus.com>
...
* coff-arm.c (deletemeacoff_arm_reloc): Deleted.
(arm26): Not partial inplace.
* coffcode.h (coff_compute_section_file_positions): Don't
do page aligning if COFF_PAGE_SIZE isn't defined.
* coffswap.h (coff_swap_scnhdr_in): Update image base correctly.
1995-08-31 03:47:46 +00:00
Kung Hsu
9b73a4677d
* rmote-nindy.c (non_dle, nidy_resume, nindy_wait): Changes to
...
conform to GNU coding standards.
1995-08-31 01:21:57 +00:00
David Edelsohn
90c45f319f
* sparc-opc.c (sparc_opcodes): Delete duplicate wr %y insn.
...
Add clrx, iprefetch, signx, clruw, cas, casl, casx, casxl synthetic
sparc64 insns.
1995-08-30 23:17:12 +00:00
David Edelsohn
5a75fe70c3
(synth64.[ds]): New testcase.
1995-08-30 23:11:09 +00:00
David Edelsohn
d4bc80760e
(prefetch.[sd]): New testcase.
1995-08-30 20:58:35 +00:00
David Edelsohn
a69d3a7286
sparc prefetch insn stuff.
1995-08-30 20:57:07 +00:00
David Edelsohn
a52f75a078
* sparc-opc.c (sparc_opcodes, prefetcha insn): Fix.
...
(lookup_{name,value}): New functions.
(prefetch_table): New static local.
(sparc_{encode,decode}_prefetch): New functions.
* sparc-dis.c (print_insn): Handle '*' arg (prefetch function).
1995-08-30 20:55:51 +00:00
David Edelsohn
93dea4e685
* config/tc-sparc.c (parse_keyword_arg, parse_const_expr_arg): New fns.
...
(sparc_ip): Call them for asi, membar, and prefetch parsing.
1995-08-30 20:49:28 +00:00
Jim Wilson
9b39b1a8f7
Add some blank lines to improve readability.
1995-08-30 18:13:26 +00:00
Jim Wilson
66f6448d40
Correct comment on first line of file.
1995-08-30 18:10:51 +00:00
Steve Chamberlain
125a4b5819
* Makefile.in (TOOL_PROGS): Include dlltool if needed.
1995-08-30 18:03:16 +00:00
David Edelsohn
375b983be2
Keep the sparc subdir.
1995-08-30 06:03:39 +00:00
David Edelsohn
66449f5b5e
(membar): New testcase.
1995-08-30 01:34:34 +00:00
David Edelsohn
201bf50690
* disassemble.c (disassembler): Handle bfd_mach_sparc64.
1995-08-30 01:02:59 +00:00
Steve Chamberlain
56297cc6ab
Put _iname in idata$7.
1995-08-29 23:27:54 +00:00
Steve Chamberlain
c7f6ebe2c3
* coffswap.h (coff_swap_scnhdr_in): Don't always add IMAGE_BASE.
...
Swap in PE header.
* coffcode.h (coff_write_object_contents): Remove #if0ed code
Only remove empty sections in PE inmage files.
1995-08-29 23:26:43 +00:00
David Edelsohn
593d18d36c
* config/tc-sparc.c (sparc_ip): Clean up ASI support.
1995-08-29 22:48:54 +00:00
David Edelsohn
7ec658304a
* sparc-opc.c (asi): New static local.
...
(sparc_{encode,decode}_asi): New functions.
* sparc-dis.c (print_insn): Call sparc_decode_asi.
1995-08-29 22:44:00 +00:00