Steve Chamberlain [Wed, 18 Oct 1995 23:45:05 +0000 (23:45 +0000)]
Wed Oct 18 15:53:56 1995 steve chamberlain <sac@slash.cygnus.com>
* winsup. New directory.
* Makefile.in: Build winsup.
* configure.in: Winsup is configured when target is win32.
Can only build win32 target GDB when native.
Steve Chamberlain [Wed, 18 Oct 1995 23:26:12 +0000 (23:26 +0000)]
Wed Oct 18 16:20:08 1995 steve chamberlain <sac@slash.cygnus.com>
* coff-i386.c (coff_i386_reloc_type_lookup): New.
* coffcode.h (coff_write_object_contents): If .bss is before
.data us that as data_start.
* cofflink.c (_bfd_coff_generic_relocate_section): Get reloc
calc correct.
* peicode.h (add_data_entry): Use _cooked_size of data directory.
(coff_swap_outhdr_out): Hardwire in version number.
Ken Raeburn [Wed, 18 Oct 1995 21:32:53 +0000 (21:32 +0000)]
* sunos.c (sunos_add_dynamic_symbols): Rename local variables major and minor
to *_vno, since the former are also macros in SunOS header files. Cast result
of bfd_alloc to appropriate type.
Ken Raeburn [Wed, 18 Oct 1995 21:23:09 +0000 (21:23 +0000)]
obstack-per-frchain changes
stabs.c caching changes
obstack chunksize changes
Ken Raeburn [Wed, 18 Oct 1995 21:21:38 +0000 (21:21 +0000)]
Use one active frag and one obstack per frag chain:
* frags.c (frags): Variable deleted.
(frag_alloc): New function.
(frag_grow, frag_more, frag_variant, frag_now_fix, frag_append_1_char): Refer
to frchain_now->frch_obstack instead of frags variable.
(frag_new): Ditto. Verify that frch_last and frag_now match on entry and exit,
and that old frag_now has non-zero type. Replace "know" uses with "assert".
Use frag_alloc instead of mucking with obstack alignment.
* frags.h (frags): Declaration deleted.
* subsegs.h (struct frchain): Add new field frch_frag_now.
* subsegs.c (frchains, dummy_frag, absolute_frchain): New static variables.
(subsegs_begin): Initialize frchains obstack. Under gcc, don't give it any
stricter alignment than frchainS structures need. Do not initialize frags
obstack. Set frag_now to point to dummy_obstack. Initialize absolute_frchain.
(subseg_set_rest): Save and restore frag_now in frch_frag_now field of
frchainS. Don't create new frags on section switch, and use frag_alloc when
creating a new frag chain. For absolute section, set frchain_now to
absolute_frchain. Verify that frch_last and frag_now match on entry and exit.
Initialize per-chain obstack, and under gcc, set required alignment to that
needed by fragS structure.
* write.c (chain_frchains_together_1): Verify fr_type is nonzero.
In one test case of Mike's (i386-linux, over 300K lines of .s code with lots
of stabs records), run time and memory use are reduced by about 1/3.
Might introduce some problems in cases that use the frag obstacks in unusual
ways. Test suite does pass for i386-linux and sparc-solaris targets though.
Ken Raeburn [Wed, 18 Oct 1995 20:53:24 +0000 (20:53 +0000)]
* coffgen.c (coff_find_nearest_line): Cast used_by_bfd value before assigning
to sec_data.
David Edelsohn [Wed, 18 Oct 1995 20:23:39 +0000 (20:23 +0000)]
jaguar support.
Ken Raeburn [Wed, 18 Oct 1995 17:33:24 +0000 (17:33 +0000)]
frag/obstack handling in tc-*.c; ignore -g for Alpha
Jeff Law [Wed, 18 Oct 1995 17:31:26 +0000 (17:31 +0000)]
* gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
makefile fragment.
* config/mt-hpux: Deleted.
Because we longer need to statically link nodebug for hpux.
Ian Lance Taylor [Wed, 18 Oct 1995 17:29:38 +0000 (17:29 +0000)]
* ecoff.c (_bfd_ecoff_find_nearest_line): The offset argument is
now relative to the section, not absolute.
* ecofflink.c (_bfd_ecoff_locate_line): Use the right symbol to
get the file name when there is a N_SO directory name. When
handling stabs, remember that section->vma was added to the
offset.
PR 8223.
Ken Raeburn [Wed, 18 Oct 1995 17:25:31 +0000 (17:25 +0000)]
keep testsuite when doing "make distclean"
Ken Raeburn [Wed, 18 Oct 1995 16:26:46 +0000 (16:26 +0000)]
* stabs.c (aout_process_stab): Insert debug symbol into symbol chain after
parsing value expression, if any, to avoid separating continued .stabs lines.
Jeff Law [Wed, 18 Oct 1995 05:48:23 +0000 (05:48 +0000)]
* hppa-tdep.c (frame_chain): Fix more obscure problems caused
by system calls that core dump processes without saving all
the register state.
Jeff Law [Wed, 18 Oct 1995 05:07:51 +0000 (05:07 +0000)]
* Many files: When warning about suppressed tests due to a
nonexistant test binary, avoid incrementing the warning count.
Fixes bogus UNRESOLVED test results.
Ian Lance Taylor [Tue, 17 Oct 1995 22:38:50 +0000 (22:38 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_exp_assignment):
Search trinary.cond rather than searching trinary.lhs twice. From
linli@ihp.PHys.ethz.CH.
Ian Lance Taylor [Tue, 17 Oct 1995 22:36:25 +0000 (22:36 +0000)]
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Move
directory searching code into gld${EMULATION_NAME}_search_dir.
(gld${EMULATION_NAME}_search_dir): New static function, extracted
from gld${EMULATION_NAME}_find_so.
(global_needed, global_found): New static variables.
(gld${EMULATION_NAME}_after_open): New static function.
(gld${EMULATION_NAME}_search_needed): New static function.
(gld${EMULATION_NAME}_try_needed): New static function.
(gld${EMULATION_NAME}_check_needed): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_open function.
* ld.texinfo, ld.1: Mention -rpath-link on SunOS.
Ian Lance Taylor [Tue, 17 Oct 1995 22:30:42 +0000 (22:30 +0000)]
* sunos.c (struct sunos_link_hash_table): Add needed field.
(sunos_link_hash_table_create): Call bfd_release, not free.
(sunos_link_hash_table_create): Initialize needed field.
(sunos_add_dynamic_symbols): Record needed objects.
(bfd_sunos_get_needed_list): New function.
* bfd-in.h (bfd_sunos_get_needed_list): Declare.
* bfd-in2.h: Rebuild.
Jeff Law [Tue, 17 Oct 1995 16:41:30 +0000 (16:41 +0000)]
* config/pa/hppahpux.mt (XDEPFILES): Remove bogus definition.
* config/pa/hppapro.mt (XDEPFILES): Likewise.
Ian Lance Taylor [Tue, 17 Oct 1995 16:23:59 +0000 (16:23 +0000)]
* Makefile.in (eelf32ppc.c): Depend upon elf32.em, not generic.em.
(eelf32lppc.c): Likewise.
* emulparams/elf32lppc.sh (TEMPLATE_NAME): Define as elf32.
(GENERATE_SHLIB_SCRIPT): Define as yes.
Fred Fish [Tue, 17 Oct 1995 15:21:36 +0000 (15:21 +0000)]
Fix typo
Ian Lance Taylor [Mon, 16 Oct 1995 23:19:04 +0000 (23:19 +0000)]
* 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.
Ian Lance Taylor [Mon, 16 Oct 1995 23:10:56 +0000 (23:10 +0000)]
* 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.
Ian Lance Taylor [Mon, 16 Oct 1995 21:54:48 +0000 (21:54 +0000)]
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.
Steve Chamberlain [Mon, 16 Oct 1995 21:46:48 +0000 (21:46 +0000)]
* libcoff-in.h (pe_data_type.in_reloc_p): New.
Michael Meissner [Mon, 16 Oct 1995 21:36:01 +0000 (21:36 +0000)]
Move counting of instructions into the semantic routines.
Ian Lance Taylor [Mon, 16 Oct 1995 21:24:29 +0000 (21:24 +0000)]
* rs6000.h (SMALL_AOUTSZ): Define.
Michael Meissner [Mon, 16 Oct 1995 20:17:35 +0000 (20:17 +0000)]
Speedups from Andrew
Stu Grossman [Mon, 16 Oct 1995 19:02:41 +0000 (19:02 +0000)]
* remote-mips.c: Add support for speedy (about 10x faster)
downloads.
Stu Grossman [Mon, 16 Oct 1995 18:59:54 +0000 (18:59 +0000)]
* 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!!!
Stu Grossman [Mon, 16 Oct 1995 18:54:29 +0000 (18:54 +0000)]
* gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
fprintf_filtered.
Stu Grossman [Mon, 16 Oct 1995 18:51:15 +0000 (18:51 +0000)]
* 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.
Stu Grossman [Mon, 16 Oct 1995 18:41:17 +0000 (18:41 +0000)]
* sparcl-tdep.c: Cleanup serial error handling.
Stu Grossman [Mon, 16 Oct 1995 18:25:19 +0000 (18:25 +0000)]
* 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...
Michael Meissner [Mon, 16 Oct 1995 17:00:16 +0000 (17:00 +0000)]
Add flags for common/any support
Jeff Law [Mon, 16 Oct 1995 15:49:13 +0000 (15:49 +0000)]
* config.guess: Recognize HP model 819 machines has having
a PA 1.1 processor.
Already in the official version at the FSF.
Ian Lance Taylor [Mon, 16 Oct 1995 15:12:53 +0000 (15:12 +0000)]
* internal.h (XMC_TD): Define.
Ian Lance Taylor [Mon, 16 Oct 1995 14:57:35 +0000 (14:57 +0000)]
* config/tc-mips.c (mips_elf_pseudo_table): Remove.
(mips_pop_insert): Don't call pop_insert on mips_elf_pseudo_table.
Ian Lance Taylor [Mon, 16 Oct 1995 14:54:17 +0000 (14:54 +0000)]
* 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>.
Ian Lance Taylor [Mon, 16 Oct 1995 14:50:53 +0000 (14:50 +0000)]
* configure: Fix sed loop which substitutes for CC and CXX to
avoid bug found in various sed implementations.
Michael Meissner [Mon, 16 Oct 1995 11:44:45 +0000 (11:44 +0000)]
Fix last fixes #3
Michael Meissner [Mon, 16 Oct 1995 11:35:05 +0000 (11:35 +0000)]
Fix last fixes #2
Michael Meissner [Mon, 16 Oct 1995 11:23:34 +0000 (11:23 +0000)]
Fix last fixes
Michael Meissner [Mon, 16 Oct 1995 11:18:23 +0000 (11:18 +0000)]
Change error message
Michael Meissner [Mon, 16 Oct 1995 11:10:22 +0000 (11:10 +0000)]
Allow duplicate cmp instructions for -mcom
Michael Meissner [Mon, 16 Oct 1995 10:34:21 +0000 (10:34 +0000)]
spelling typo
Michael Meissner [Mon, 16 Oct 1995 10:27:49 +0000 (10:27 +0000)]
For -mcom, do not allow only POWER|PPC instructions.
Michael Meissner [Mon, 16 Oct 1995 02:09:01 +0000 (02:09 +0000)]
Add -mcom support.
Stan Shebs [Sun, 15 Oct 1995 23:23:01 +0000 (23:23 +0000)]
* rs6000-tdep.c: Don't include a.out.h, improve some formatting.
Michael Meissner [Sun, 15 Oct 1995 01:37:23 +0000 (01:37 +0000)]
Add in_reloc_p, cloned from coff-i386.c
Steve Chamberlain [Fri, 13 Oct 1995 22:06:30 +0000 (22:06 +0000)]
Add sim_set_callbacks.
Ken Raeburn [Fri, 13 Oct 1995 22:03:11 +0000 (22:03 +0000)]
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.
Steve Chamberlain [Fri, 13 Oct 1995 21:15:18 +0000 (21:15 +0000)]
* 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.
Michael Meissner [Fri, 13 Oct 1995 20:11:35 +0000 (20:11 +0000)]
Do not give error message if dlltool was not built
Steve Chamberlain [Fri, 13 Oct 1995 18:28:31 +0000 (18:28 +0000)]
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.
Steve Chamberlain [Fri, 13 Oct 1995 18:08:46 +0000 (18:08 +0000)]
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.
Jeff Law [Fri, 13 Oct 1995 17:05:53 +0000 (17:05 +0000)]
* 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).
Michael Meissner [Fri, 13 Oct 1995 14:01:32 +0000 (14:01 +0000)]
Rename trace to ppc_trace; Remove extra static.
Michael Meissner [Fri, 13 Oct 1995 01:10:06 +0000 (01:10 +0000)]
Format #instructions with commas
Jeff Law [Thu, 12 Oct 1995 23:26:06 +0000 (23:26 +0000)]
* 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.
Michael Meissner [Thu, 12 Oct 1995 21:49:37 +0000 (21:49 +0000)]
Performance tweaks
Michael Meissner [Thu, 12 Oct 1995 15:48:22 +0000 (15:48 +0000)]
Inline most things except semantics which causes GCC to balloon, and device{s,_tree} which causes a bug
Fred Fish [Thu, 12 Oct 1995 00:29:59 +0000 (00:29 +0000)]
* Makefile.in (VERSION): Bump version to 4.15.1
Fred Fish [Wed, 11 Oct 1995 22:27:33 +0000 (22:27 +0000)]
* 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.
Steve Chamberlain [Wed, 11 Oct 1995 20:40:45 +0000 (20:40 +0000)]
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.
Michael Meissner [Wed, 11 Oct 1995 20:19:44 +0000 (20:19 +0000)]
Use standard set of libs for powerpc-*-eabisim.
Michael Meissner [Wed, 11 Oct 1995 20:17:49 +0000 (20:17 +0000)]
October 11th changes from Andrew
Ian Lance Taylor [Wed, 11 Oct 1995 04:50:20 +0000 (04:50 +0000)]
* elflink.h (elf_link_add_object_symbols): Correct conditions
under which type and size change warnings are issued.
Ian Lance Taylor [Tue, 10 Oct 1995 22:51:22 +0000 (22:51 +0000)]
x
Ian Lance Taylor [Tue, 10 Oct 1995 22:49:38 +0000 (22:49 +0000)]
* 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.
Ian Lance Taylor [Tue, 10 Oct 1995 22:47:49 +0000 (22:47 +0000)]
* 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.
Ian Lance Taylor [Tue, 10 Oct 1995 21:54:24 +0000 (21:54 +0000)]
* ldlang.c (lang_finish): Don't try to use an entry_symbol from a
section which was not linked into the final output.
PR 8172.
Fred Fish [Tue, 10 Oct 1995 20:44:07 +0000 (20:44 +0000)]
* Makefile.in (BISON): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:37:09 +0000 (20:37 +0000)]
* Makefile.in (BISONFLAGS): Remove macro.
Fred Fish [Tue, 10 Oct 1995 20:21:21 +0000 (20:21 +0000)]
Document changes
Fred Fish [Tue, 10 Oct 1995 20:20:04 +0000 (20:20 +0000)]
* Makefile.in (BISON): Remove macro definition.
(YACC): Set from autoconfig.
(FLAGS_TO_PASS): Remove BISON.
(TARGET_FLAGS_TO_PASS): Remove BISON
Fred Fish [Tue, 10 Oct 1995 20:19:44 +0000 (20:19 +0000)]
Regenerate
Fred Fish [Tue, 10 Oct 1995 20:19:37 +0000 (20:19 +0000)]
Add AC_PROG_YACC
Steve Chamberlain [Tue, 10 Oct 1995 19:33:04 +0000 (19:33 +0000)]
Tue Oct 10 12:25:11 1995 steve chamberlain <sac@slash.cygnus.com>
* win32-nat.c (child_create_inferior): Pass argv correctly.
* Makefile.in (win32-nat.o): Add dependencies.
Fred Fish [Tue, 10 Oct 1995 19:23:54 +0000 (19:23 +0000)]
* Makefile.in (FLAGS_TO_PASS): Remote BISON.
Steve Chamberlain [Tue, 10 Oct 1995 17:21:18 +0000 (17:21 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_parse_args): Fix
fatal typos.
Steve Chamberlain [Tue, 10 Oct 1995 16:39:35 +0000 (16:39 +0000)]
Tue Oct 10 09:39:09 1995 steve chamberlain <sac@slash.cygnus.com>
* Makefile.in (TOOL_PROGS): Include DLLTOOL_PROG.
Steve Chamberlain [Tue, 10 Oct 1995 15:49:23 +0000 (15:49 +0000)]
* complete.c (filename_completion_function): Enable for
win32 when not MSC.
Ian Lance Taylor [Tue, 10 Oct 1995 15:35:30 +0000 (15:35 +0000)]
* config/tc-mips.c: Correct s_cons arguments. From Michael
Joosten <joost@ori.cadlab.de>.
Ian Lance Taylor [Tue, 10 Oct 1995 05:30:17 +0000 (05:30 +0000)]
* elflink.h (elf_link_add_object_symbols): Don't warn about
changing the size or type if the old definition was weak.
Ian Lance Taylor [Tue, 10 Oct 1995 05:05:18 +0000 (05:05 +0000)]
* ld.h (args_type): Add rpath_link field.
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search for
required dependencies in rpath_link path. Only search
LD_LIBRARY_PATH when configured native.
* lexsup.c (parse_args): Recognize -rpath-link.
* ld.1, ld.texinfo: Document -rpath-link.
Ian Lance Taylor [Tue, 10 Oct 1995 00:26:54 +0000 (00:26 +0000)]
build gas on AIX
Ian Lance Taylor [Tue, 10 Oct 1995 00:25:16 +0000 (00:25 +0000)]
* config/tc-ppc.c (ppc_macro): Make count unsigned.
(ppc_biei): Set segment to now_seg and value to coff_n_line_nos.
(ppc_frob_symbol): Handle C_BINCL and C_EINCL symbols by setting
the fix_line field.
* config/obj-coff.c (coff_n_line_nos): Rename from n_line_nos, and
make non-static. Change all users.
* config/obj-coff.h (coff_n_line_nos): Declare.
Ian Lance Taylor [Mon, 9 Oct 1995 23:32:22 +0000 (23:32 +0000)]
* coffcode.h (combined_entry_type): Add fix_line field.
(coff_slurp_line_table): Warn if we try to set the lineno field of
a symbol twice.
(coff_slurp_symbol_table): If RS6000COFF_C, handle C_BINCL and
C_EINCL by setting fix_line. Fix C_BSTAT symbol value.
* coffgen.c (coff_mangle_symbols): Handle fix_line.
(coff_write_symbol): Only use N_DEBUG if the symbol is in the
absolute section.
(coff_print_symbol): Print fix_value symbols in a useful fashion.
* libcoff.h: Rebuild.
Steve Chamberlain [Mon, 9 Oct 1995 21:54:26 +0000 (21:54 +0000)]
* NEWS: Add information about win32 and arm code.
* win32-nat.c: Renamed from win32.c
* config/i386/win32.mh: Renamed from config/i386/i386win32.mh.
* config/i386/win32.mt: Renamed from config/i386/i386win32.mt.
* config/i386/tm-win32.h: Renamed from config/i386/tm-i386win32.h.
* config/i386/xm-win32.h: Renamed from config/i386/xm-i386win32.h.
* configure.in (i[345]86-*-win32): Updated to cope with filename changes.
* configure: Regenerated.
Ian Lance Taylor [Mon, 9 Oct 1995 21:23:34 +0000 (21:23 +0000)]
* configure.in: Stop putting binutils in noconfigdirs for
powerpc-*-aix* and rs6000-*-*.
Ian Lance Taylor [Mon, 9 Oct 1995 21:19:53 +0000 (21:19 +0000)]
* libcoff-in.h (struct xcoff_tdata): Define.
(xcoff_data): Define.
* bfd.c (struct _bfd): Add xcoff_obj_data field to tdata union.
* bfd-in2.h, libcoff.h: Rebuild.
* coff-rs6000.c (xcoff_mkobject): New static function.
(coff_mkobject): Define.
(xcoff_copy_private_bfd_data): New static function.
(coff_bfd_copy_private_bfd_data): Define.
(rs6000coff_howto_table): Change R_TOC complain_on_overflow from
signed to bitfield.
(rs6000coff_vec): Add DYNAMIC to object_flags.
* coffcode.h (sec_to_styp_flags): If RS6000COFF_C, handle .pad and
.loader sections specially.
(coff_new_section_hook): If RS6000COFF_C, get the .text and .data
section alignment from the XCOFF tdata information.
(coff_mkobject_hook): If RS6000COFF_C, set DYNAMIC based on
F_SHROBJ, and copy the extra a.out header information into the
XCOFF tdata structure.
(coff_write_object_contents): If RS6000COFF_C, set F_SHROBJ,
F_DYNLOAD and the extra a.out header information.
(coff_slurp_symbol_table): Set BSF_NOT_AT_END for a C_EXT or
C_HIDEXT symbol with attached csect information.
* coffswap.h (coff_swap_aouthdr_in): If RS6000COFF_C, swap
in the o_maxdata field.
(coff_swap_aouthdr_out): If RS6000COFF_C, swap extra XCOFF fields.
* coffgen.c (coff_renumber_symbols): Don't move any symbol to the
end if BSF_NOT_AT_END is set.
Steve Chamberlain [Mon, 9 Oct 1995 20:08:13 +0000 (20:08 +0000)]
Mon Oct 9 13:06:31 1995 steve chamberlain <sac@slash.cygnus.com>
* dlltool.c (add_underscore): New.
(xlate): Use new name.
(main, usage): Update.
Ian Lance Taylor [Mon, 9 Oct 1995 18:50:11 +0000 (18:50 +0000)]
* internal.h (struct internal_aouthdr): Add o_maxdata field.
Ian Lance Taylor [Mon, 9 Oct 1995 18:46:30 +0000 (18:46 +0000)]
* rs6000.h (AOUTHDR): Add o_maxdata field. Add comments.
(_PAD, _LOADER): Define.
(STYP_LOADER): Define.
Michael Meissner [Mon, 9 Oct 1995 16:40:32 +0000 (16:40 +0000)]
Add support for building -mcall-aixdesc libraries.
Ian Lance Taylor [Mon, 9 Oct 1995 15:40:38 +0000 (15:40 +0000)]
* coffcode.h (coff_slurp_symbol_table): Set BSF_NOT_AT_END for an
XCOFF XTY_LD symbol.
Ian Lance Taylor [Mon, 9 Oct 1995 15:29:04 +0000 (15:29 +0000)]
* targets.c (bfd_target): Rename _bfd_read_ar_hdr field to
_bfd_read_ar_hdr_fn.
* libbfd-in.h (_bfd_read_ar_hdr): Update accordingly.
* bfd-in2.h, libbfd.h: Rebuild.
* archive.c (_bfd_get_elt_at_filepos): Cast _bfd_read_ar_hdr
return value.
(do_slurp_bsd_armap, do_slurp_coff_armap): Likewise.
(bfd_slurp_bsd_armap_f2): Likewise.
(_bfd_slurp_extended_name_table): Likewise.
Per Bothner [Mon, 9 Oct 1995 01:00:09 +0000 (01:00 +0000)]
* ch-exp.y (yylex): Also look for '$' following '$'.
Peter Schauer [Sun, 8 Oct 1995 11:27:49 +0000 (11:27 +0000)]
* configure.in: Explicitly `exit 0' for broken shells.
* configure: Rebuilt.
Peter Schauer [Sun, 8 Oct 1995 11:24:21 +0000 (11:24 +0000)]
* gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
"sparc-*-solaris2*".