Ian Lance Taylor
b5f076d4aa
* configure.tgt (powerpc-*-aix*): New target; use aixppc.
...
(rs6000-*-aix*): New target; use aixrs6.
* emulparams/aixppc.sh, emulparams/aixrs6.sh: New files.
* emultempl/aix.em: New file.
* scripttempl/aix.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add eaixppc.o and eaixrs6.o.
(eaixppc.c, eaixrs6.c): New targets.
1995-10-16 23:19:04 +00:00
Ian Lance Taylor
54406786f0
* bfd-in.h (struct bfd_link_needed_list): Rename from
...
bfd_elf_link_needed_list.
* bfd-in2.h: Rebuild.
* elf.c, elflink.h, libelf.h: Corresponding changes.
1995-10-16 23:10:56 +00:00
Ian Lance Taylor
dd98464413
Add start at AIX linker support; no shared libraries yet.
...
* xcofflink.c: New file.
* configure.in (rs600coff_vec): Use xcofflink.o.
* configure: Rebuild.
* libcoff-in.h (struct xcoff_tdata): Add csects and debug_indices
fields.
(struct xcoff_section_tdata): Define.
(xcoff_section_data): Define macro.
(_bfd_xcoff_bfd_link_hash_table_create): Declare.
(_bfd_xcoff_bfd_link_add_symbols): Declare.
(_bfd_xcoff_bfd_final_link): Declare.
(_bfd_ppc_xcoff_relocate_section): Declare.
* libcoff.h: Rebuild.
* coff-rs6000.c: Clean up a bit.
(xcoff_mkobject): Default modtype to 1L, not RE. Initialize
cputype, csects, and debug_indices.
(xcoff_copy_private_bfd_data): Copy cputype.
(xcoff_howto_table): Rename from rs6000coff_howto_table.
(xcoff_rtype2howto): Rename from rs6000coff_rtype2howto.
(xcoff_reloc_type_lookup): Rename from
rs6000coff_reloc_type_lookup.
(coff_relocate_section): Define.
(_bfd_xcoff_sizeof_headers): Define.
(_bfd_xcoff_bfd_get_relocated_section_contents): Define.
(_bfd_xcoff_bfd_relax_section): Define.
(_bfd_xcoff_bfd_link_split_section): Define.
(rs6000coff_vec): For BFD_JUMP_TABLE_LINK, use _bfd_xcoff, not
coff.
* coffcode.h (coff_compute_section_file_positions): If AIX,
increment sofar by SMALL_AOUTSZ if not executable.
(coff_write_object_contents): If AIX, always output an a.out
header; if not executable, header size of SMALL_AOUTSZ.
* hash.c (struct bfd_strtab_hash): Add xcoff field.
(_bfd_stringtab_init): Initialize xcoff field.
(_bfd_xcoff_stringtab_init): New function.
(_bfd_stringtab_add): In XCOFF mode, leave two bytes for length.
(_bfd_stringtab_emit): In XCOFF mode, write out length.
* libbfd-in.h (_bfd_xcoff_stringtab_init): Declare.
* libbfd.h: Rebuild.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add xcofflink.o.
(CFILES): Add xcofflink.c.
ld -r works on hello, world.
1995-10-16 21:54:48 +00:00
Steve Chamberlain
c974e19ef4
* libcoff-in.h (pe_data_type.in_reloc_p): New.
1995-10-16 21:46:48 +00:00
Michael Meissner
5b0d3b1490
Move counting of instructions into the semantic routines.
1995-10-16 21:36:01 +00:00
Ian Lance Taylor
54e3c94698
* rs6000.h (SMALL_AOUTSZ): Define.
1995-10-16 21:24:29 +00:00
Michael Meissner
9aa8a78839
Speedups from Andrew
1995-10-16 20:17:35 +00:00
Stu Grossman
4704fd9cab
* remote-mips.c: Add support for speedy (about 10x faster)
...
downloads.
1995-10-16 19:02:41 +00:00
Stu Grossman
59227c078d
* remote-array.c: Move baud_rate initialization from
...
_initialize_array to array_open. It was forcing the baud rate of
all targets to be 4800 baud! Seems like I've fixed this before...
* config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This
has *nothing* to do with IDT!!!
1995-10-16 18:59:54 +00:00
Stu Grossman
d807bd8772
* gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
...
fprintf_filtered.
1995-10-16 18:54:29 +00:00
Stu Grossman
1480482acb
* Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add
...
sh3 monitor support.
* monitor.c: Cleanup regexp compilation stuff to make it easier
to use several regexps.
* monitor.h: Get rid of struct rom_cmd_data. It's no longer used.
* config/m68k/tm-monitor.h: Don't redefine NUM_REGS here. It just
causes GDB to crash.
1995-10-16 18:51:15 +00:00
Stu Grossman
934ec87c6b
* sparcl-tdep.c: Cleanup serial error handling.
1995-10-16 18:41:17 +00:00
Stu Grossman
4930f0a7f4
* dcache.c: Change default value of remotecache to off. It just
...
screws up too many targets.
* sparcl-stub.c: Add prototypes to many forward decls.
* Create private copies of strlen, strcpy, and memcpy to prevent
chaos when user steps into them.
* (trap_low handle_exception): Clean up DSU support code
(hardware breakpoints). Move lots of stuff from asm-land to
C-land (make it much easier to #ifdef if necessary). Also, use
trap 255 to get into break mode instead of doing a DSU register
write, which may trash the register.
* (putpacket): Don't check return value of putDebugChar. It
returns void...
1995-10-16 18:25:19 +00:00
Michael Meissner
d75c2e0f5e
Add flags for common/any support
1995-10-16 17:00:16 +00:00
Jeff Law
5cee13532b
* config.guess: Recognize HP model 819 machines has having
...
a PA 1.1 processor.
Already in the official version at the FSF.
1995-10-16 15:49:13 +00:00
Ian Lance Taylor
0852080ffa
* internal.h (XMC_TD): Define.
1995-10-16 15:12:53 +00:00
Ian Lance Taylor
33a8c1b6cf
* config/tc-mips.c (mips_elf_pseudo_table): Remove.
...
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
1995-10-16 14:57:35 +00:00
Ian Lance Taylor
22a35f0b05
* elf32-mips.c (mips_elf_symbol_processing): Set SEC_ALLOC, not
...
SEC_NO_FLAGS, for .acommon section. From Peter Schauer
<Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>.
1995-10-16 14:54:17 +00:00
Ian Lance Taylor
e7876e46ee
* configure: Fix sed loop which substitutes for CC and CXX to
...
avoid bug found in various sed implementations.
1995-10-16 14:50:53 +00:00
Michael Meissner
42b5ed2dfc
Fix last fixes #3
1995-10-16 11:44:45 +00:00
Michael Meissner
653b59c8a6
Fix last fixes #2
1995-10-16 11:35:05 +00:00
Michael Meissner
17e2f77408
Fix last fixes
1995-10-16 11:23:34 +00:00
Michael Meissner
9f2c8daa27
Change error message
1995-10-16 11:18:23 +00:00
Michael Meissner
b6b8f91187
Allow duplicate cmp instructions for -mcom
1995-10-16 11:10:22 +00:00
Michael Meissner
27ec941d72
spelling typo
1995-10-16 10:34:21 +00:00
Michael Meissner
958e09079d
For -mcom, do not allow only POWER|PPC instructions.
1995-10-16 10:27:49 +00:00
Michael Meissner
4c2935f4c0
Add -mcom support.
1995-10-16 02:09:01 +00:00
Stan Shebs
cd8a3d845b
* rs6000-tdep.c: Don't include a.out.h, improve some formatting.
1995-10-15 23:23:01 +00:00
Michael Meissner
fb417a2138
Add in_reloc_p, cloned from coff-i386.c
1995-10-15 01:37:23 +00:00
Steve Chamberlain
a325a02e36
Add sim_set_callbacks.
1995-10-13 22:06:30 +00:00
Ken Raeburn
106773f836
Use system page size for obstack chunk size instead of 128, permitting override
...
by application.
Include missing patch from Andreas Schwab's changes.
Fix up minor configuration problems.
1995-10-13 22:03:11 +00:00
Steve Chamberlain
4a29aa8458
* srcwin.cpp (CSrcScroll1::OnDraw): Don't show disabled
...
splats unless a breakpoint is possible.
* gui.mak: Include mips config.
* prebuilt/mips/elf32-target.h: Regenerated.
1995-10-13 21:15:18 +00:00
Michael Meissner
4444ae6e3d
Do not give error message if dlltool was not built
1995-10-13 20:11:35 +00:00
Steve Chamberlain
b1e463692c
Fri Oct 13 11:22:01 1995 steve chamberlain <sac@slash.cygnus.com>
...
* coff-arm.c (in_reloc_p): New.
* coff-i386.c (in_reloc_p): New.
* coffcode.h: Allways include peicode.h if COFF_WITH_PE.
(coff_write_object_contents): Only set has_reloc_section
if PE_IMAGE.
* cofflink.c (_bfd_coff_generic_relocate_section): Call
in_reloc_p to decide if reloc should be emitted.
* libcoff.h (pe_data_type.in_reloc_p): New.
* peicode.h (pe_mkobject): Initialize in_reloc_p.
1995-10-13 18:28:31 +00:00
Steve Chamberlain
87b1a0733b
Fri Oct 13 11:04:37 1995 steve chamberlain <sac@slash.cygnus.com>
...
* deflex.l: Allow quoting of IDs.
* defparse.y (%union): string deleted.
(command): DESCRIPTION takes ID.
* dlltool.c (gen_def_file): Quote outgoing name if
necessary. Preserve NONAME.
(gen_lib_file): Run ranlib.
(workout_prefix): Deleted.
(main, usage, long_options): Add --as, --ranlib, --ar options.
1995-10-13 18:08:46 +00:00
Jeff Law
95037710ca
* somsolib.c (som_solib_add): Just give a warning if a file
...
mentioned in the dld_list can't be found.
Warning seems more reasonable than croaking.
* config/pa/tm-hppah.h (FRAME_SAVED_PC_IN_SIGTRAMP): Dig out
the PC from the PC queues rather than %r31.
Fixes net bug. Might also fix one of the hpux10 corefile.exp failures,
not sure (will test when I get back monday morning).
1995-10-13 17:05:53 +00:00
Michael Meissner
a1fe883fd0
Rename trace to ppc_trace; Remove extra static.
1995-10-13 14:01:32 +00:00
Michael Meissner
9f5912cb98
Format #instructions with commas
1995-10-13 01:10:06 +00:00
Jeff Law
148070cca4
* corelow.c (core_open): Don't update the to_sections and
...
to_sections_end fields in core_ops here. It's too late.
* irix5-nat.c (solib_add): Update the to_sections and
to_sections_end fields in core_ops here if needed.
* osfsolib.c (solib_add): Likewise.
* rs6000-nat.c (xcoff_reload_core): Likewise.
* solib.c (solib_add): Likewise.
* somsolib.c (solib_add): Likewise.
1995-10-12 23:26:06 +00:00
Michael Meissner
a8958dd48b
Performance tweaks
1995-10-12 21:49:37 +00:00
Michael Meissner
8e20a3ac82
Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug
1995-10-12 15:48:22 +00:00
Fred Fish
1c17c0902a
* Makefile.in (VERSION): Bump version to 4.15.1
1995-10-12 00:29:59 +00:00
Fred Fish
bf4e0fe736
* Makefile.in (VERSION): Version 4.15 released.
...
* README: Updated for version 4.15.
* README.GDBTK: Updated for version 4.15
* NEWS: Updated for 4.15 release.
1995-10-11 22:27:33 +00:00
Steve Chamberlain
f051e1b0af
Wed Oct 11 13:36:13 1995 steve chamberlain <sac@slash.cygnus.com>
...
* dlltool.c (mtable): HOW_ALIGN_LONG, new.
(d_ord): Deleted.
(d_low_ord, d_high_ord, d_named_funcs): New.
(gen_exp_file): Create noname entries correctly.
(gen_lib_file): Dump exports alphabetically.
(process_duplicates): Count nonamed functions.
(fill_ordinals): Keep track of highest ord too.
(mangle_defs): Create alphabetically ordered list of names.
1995-10-11 20:40:45 +00:00
Michael Meissner
dc904637db
Use standard set of libs for powerpc-*-eabisim.
1995-10-11 20:19:44 +00:00
Michael Meissner
dec38daceb
October 11th changes from Andrew
1995-10-11 20:17:49 +00:00
Ian Lance Taylor
ee9f09cd26
* elflink.h (elf_link_add_object_symbols): Correct conditions
...
under which type and size change warnings are issued.
1995-10-11 04:50:20 +00:00
Ian Lance Taylor
78b31b6bb8
x
1995-10-10 22:51:22 +00:00
Ian Lance Taylor
d7731c7d2c
* coffgen.c (coff_count_linenumbers): Don't count line numbers for
...
a symbol which is not in a real section.
(coff_write_native_symbol): Corresponding change.
1995-10-10 22:49:38 +00:00
Ian Lance Taylor
5c6725cf59
* cofflink.c (_bfd_coff_link_hash_newfunc): Rename from
...
coff_link_hash_newfunc and make non-static.
(_bfd_coff_link_hash_table_init): New function, broken out of
_bfd_coff_link_hash_table_create.
(_bfd_coff_link_hash_table_create): Use it.
(process_embedded_commands): Make static.
* libcoff-in.h ((_bfd_coff_link_hash_newfunc): Declare.
(_bfd_coff_link_hash_table_init): Declare.
* libcoff-in.h (struct xcoff_tdata): Add cputype field.
* libcoff.h: Rebuild.
1995-10-10 22:47:49 +00:00