aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1997-06-26 * Makefile.in (WINDRES): New variable.Ian Lance Taylor3-7/+40
(WINDRES_FOR_TARGET): New variable. (BASE_FLAGS_TO_PASS): Add WINDRES_FOR_TARGET. (EXTRA_HOST_FLAGS): Add WINDRES. (EXTRA_TARGET_FLAGS): Add WINDRES. (EXTRA_GCC_FLAGS): Add WINDRES. ($(DO_X)): Pass down WINDRES. ($(CONFIGURE_TARGET_MODULES)): Set WINDRES when configuring. * configure: Treat WINDRES like DLLTOOL, and WINDRES_FOR_TARGET like DLLTOOL_FOR_TARGET.
1997-06-26 * scripttempl/pe.sc: Put .rsrc after .reloc. Put input .rsrcIan Lance Taylor1-0/+5
sections in the output .rsrc section.
1997-06-26 * windres.c (main): Quit if we didn't get any resources.Ian Lance Taylor3-3/+12
* rescoff.c (write_coff_file): Don't free the relocation array until after we've closed the BFD.
1997-06-26 * ld-elfvers/vers.exp: Use egrep rather than grep when looking forIan Lance Taylor1-0/+5
an alternation. From Greg Margo <gmargo@dl.com>.
1997-06-26 * elflink.h (elf_link_add_object_symbols): When a versionIan Lance Taylor2-0/+8
indirection symbol is overridden, make the original symbol point at the real overriding symbol.
1997-06-26 * elf.c (bfd_elf_string_from_elf_section): Check for an invalidIan Lance Taylor2-6/+19
string index.
1997-06-26 * elflink.h (elf_link_output_extsym): Use the right section for aIan Lance Taylor3-5/+20
common symbol. * elf32-mips.c (mips_elf_link_output_symbol_hook): If a common symbol was in .scommon, mark it as SHN_MIPS_SCOMMON. PR 12697.
1997-06-26 * resbin.c: New file.Ian Lance Taylor9-246/+3354
* rclex.l, rcparse.y, rescoff.c, resrc.c, windres.c, windres.h: Numerous fixes and improvements. * Makefile.in: Rebuild dependencies. (CFILES): Add resbin.c. (WINDRES_OBJS): Add resbin.o.
1997-06-25 * ppc-opc.c (extract_nsi): make unsigned expression signed beforeFelix Lee1-0/+7
negating it. (UNUSED): remove one level of parens, so MSVC doesn't choke on nesting depth when all the macros are expanded.
1997-06-25 * configure.in: configure sim before gdb for win32-x-ppcFelix Lee2-1/+6
1997-06-25 Move gperf into the toplevel, from libg++.Brendan Kehoe3-4/+25
* configure.in (target_tools): Add target-gperf. (native_only): Add target-gperf. * Makefile.in (all-target-gperf): New target, depend on all-target-libg++. (configure-target-gperf): Empty rule. (ALL_TARGET_MODULES): Add all-target-gperf. (CONFIGURE_TARGET_MODULES): Add configure-target-gperf. (CHECK_TARGET_MODULES): Add check-target-gperf. (INSTALL_TARGET_MODULES): Add install-target-gperf. (CLEAN_TARGET_MODULES): Add clean-target-gperf.
1997-06-25Wed Jun 25 12:48:41 1997 Andreas Schwab ↵Ian Lance Taylor2-29/+64
<schwab@issan.informatik.uni-dortmund.de> * configure.host (m68*-*-linux*libc1*): Renamed from `m68*-*-linux*'. (m68*-*-linux*): New configuration for use with GNU libc 2.
1997-06-25Wed Jun 25 12:47:22 1997 Andreas Schwab ↵Ian Lance Taylor1-0/+5
<schwab@issan.informatik.uni-dortmund.de> * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests with non PIC shared libraries.
1997-06-25Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor2-6/+9
* elflink.h (elf_merge_symbols): Resolve indirect and warning symbols before checking for new symbols.
1997-06-25Wed Jun 25 12:43:10 1997 H.J. Lu <hjl@gnu.ai.mit.edu>Ian Lance Taylor1-0/+4
* elfcore.h (elf_corefile_note): Move out of HAVE_SYS_PROCFS_H.
1997-06-25 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remoteBob Manson4-131/+195
host doesn't have a currently-open connection. * config/sparclet.exp: Cleanups and fixes to make it generic for any gdb stub target. Handle cases where gdb doesn't respond when interrupted in a sane fashion. * config/m32r.exp: Load sparclet.exp instead of trying to do the same thing in a totally different way. * config/monitor.exp: Pass in timeouts to gdb_expect instead of setting "timeout". (gdb_start): We set the global gdb_prompt variable in default_gdb_init now.
1997-06-24 * interp.c (sim_resume): Clear State.exited.Jeff Law1-0/+1
(sim_stop_reason): If State.exited is nonzero, then indicate that the simulator exited instead of stopped. * mn10300_sim.h (struct _state): Add exited field. * simops.c (syscall): Set State.exited for SYS_exit. Fixes problem found bin Felix.
1997-06-24 * coffgen.c (coff_object_p): Read the f_opthdr bytes from theIan Lance Taylor1-0/+8
file, not aoutsz bytes (they are different in XCOFF .o files).
1997-06-24comment fixIan Lance Taylor1-1/+2
1997-06-24 * elflink.h (elf_merge_symbol): In the case of a new definedIan Lance Taylor2-56/+123
symbol overriding an old defined symbol, return the hash table entry which we modify, even if it is the target of an indirection. (elf_link_add_object_symbols): If the real name of the symbol gets overridden, convert the versioned symbol into an indirect symbol to the real symbol.
1997-06-23 * elflink.h (elf_merge_symbol): New static function, broken out ofIan Lance Taylor2-287/+385
elf_link_add_object_symbols. (elf_link_add_object_symbols): Call it.
1997-06-23Remove CYGNUS LOCAL markers for mn10200.Jeff Law2-16/+31
1997-06-23Another windres snapshot. Can now read the COFF resources directory,Ian Lance Taylor6-30/+356
although it doesn't yet parse out the binary format.
1997-06-22 * coff-i386.c (i3coff_object_p): If COFF_IMAGE_WITH_PE, hack toIan Lance Taylor3-24/+114
handle case where COFF filehdr does not immediately follow PE header. * coffgen.c (coff_object_p): Remove useless seek to current location.
1997-06-22 First stab at Windows resource compiler:Ian Lance Taylor10-85/+5953
* windres.h: New file. * windres.c: New file. * resrc.c: New file. * rcparse.y: New file. * rclex.l: New file. * configure.in: Define and substitute BUILD_WINDRES. * configure: Rebuild. * Makefile.in: Rebuild dependencies. (WINDRES_PROG): New variable. (PROGS): Add @BUILD_WINDRES@. (HFILES): Add dlltool.h and windres.h. (CFILES): Add windres.c and resrc.c. (GENERATED_CFILES): Add rcparse.c and rclex.c. (WINDRES_OBJS): New variable. $(WINDRES_PROG): New target. (rcparse.c, rcparse.h, rclex.c): New targets. Snapshot. windres can parse and print rc files.
1997-06-22Fix a "ninemoons" email address that slipped in.Fred Fish1-1/+1
1997-06-22Fix one of my "ninemoons" email addresses that slipped in.Fred Fish1-1/+1
1997-06-22 * gdb.base/printcmds.exp: Fix "check for floating addition"Fred Fish3-5/+13
regexp to accept results within approx +/- .01 of exact value. * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-21 * sh-tdep.c (sh_skip_prologue): Also recognize fmov insns.Fred Fish2-3/+36
(sh_frame_find_saved_regs): Recognize fmov insns and adjust stack push count accordingly. * sh-tdep.c (IS_FMOV, FPSCR_SZ): New defines
1997-06-21Sanitize away sh4 stuff for now.Fred Fish1-0/+27
1997-06-21Minor formatting change (whitespace only).Fred Fish1-1/+1
1997-06-19 * configure.in: Don't set ENABLE_MULTILIB, so we'll be passingBrendan Kehoe2-3/+8
--enable-multilib down to subdirs; setting TARGET_SUBDIR was enough.
1997-06-19 * utils.c (floatformat_from_doublest): Improve test for infinity.Mark Alexander2-1/+5
1997-06-19 (gdb_expect): Add optional timeout parameter, and add timeoutBob Manson2-65/+56
value to various calls. (gdb_suppress_tests): Only give one warning message per group.
1997-06-18 * linker.c (link_action): Change COMMON_ROW/indr to from CREF toIan Lance Taylor1-0/+5
REFC.
1997-06-18revert last patchIan Lance Taylor2-15/+2
1997-06-18 * dwarfread.c (isreg, optimized_out, offreg, basereg): MoveFred Fish2-35/+60
global variables into the struct dieinfo structure. (locval): Pass pointer to a dieinfo struct rather than a pointer to the raw location information. Change prototype. Set isreg, optimized_out, offreg and basereg as appropriate. (struct_type): Call locval with dieinfo struct pointer. (new_symbol): Ditto. (new_symbol): Call locval and save location before testing the values of the new dieinfo struct flags, set by locval.
1997-06-18 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_initBob Manson2-1/+6
properly.
1997-06-18 * elflink.h (elf_link_add_object_symbols): Don't let a commonIan Lance Taylor2-2/+15
symbol in a regular object override a common symbol in a shared object if the latter was found via an indirect symbol.
1997-06-18 lib/gdb.exp(gdb_expect): Handle getting a value for $timeoutBob Manson2-10/+14
more gracefully.
1997-06-17 * configure.in (is_cross_compiler): If we're buildingBrendan Kehoe2-7/+18
mips-sgi-irix6* native, turn on ENABLE_MULTILIB and set TARGET_SUBDIR. forces it to build libiberty w/ the newly built compiler, solving the n32 vs o32 problem doing the tests
1997-06-17 * sparc-opc.c: The fcmp v9a instructions take an integer registerIan Lance Taylor2-43/+163
as a destination, not a floating point register. From Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>.
1997-06-17 * procfs.c (proc_set_exec_trap, procfs_init_inferior, procfs_wait,Peter Schauer2-53/+16
unconditionally_kill_inferior): Undo Oct 26 1996 and Apr 26 1997 changes to trace PRFS_STOPTERM and handle PR_DEAD. These changes tried to work around a problem with an early DU 4.0 release, but they trigger subtle timing dependent kernel bugs in older OSF/1 releases.
1997-06-17 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCodeBob Manson2-0/+7
as global variables.
1997-06-17 * Makefile.in (all-sn): Depend on all-grep.Tom Tromey2-1/+5
1997-06-17 * cofflink.c (_bfd_coff_link_input_bfd): If stripping debuggingIan Lance Taylor1-0/+5
symbols, skip N_ABS symbols with debugging storage classes. PR 12630. Also a couple of warning and formatting fixes.
1997-06-17 * dwarfread.c (new_symbol): Use SYMBOL_VALUE_ADDRESS, instead ofFred Fish2-3/+17
SYMBOL_VALUE, to set the value of LOC_STATIC symbols.
1997-06-17 * infrun.c (wait_for_inferior): Mark registers as invalid whenMark Alexander5-433/+849
stepping over an instruction that triggered a watchpoint. * remote-mips.c: Numerous changes to support hardware breakpoints and watchpoints on LSI MiniRISC and TinyRISC boards. * mips-tdep.c: Move MIPS16-related macros to config/mips/tm-mips.h. (mips_breakpoint_from_pc): Account for different breakpoint instructions used by PMON and IDT monitor. * config/mips/tm-embed.h: Enable hardware breakpoints on embedded MIPS targets. * config/mips/tm-mips.h: Define breakpoint instructions for PMON and IDT monitor. Move MIPS16-related macros here from mips-tdep.c.
1997-06-17 * lib/gdb.exp: Close connection to remote host if gdb doesn'tBob Manson2-3/+15
initialize. (default_gdb_init): New procedure; allow gdb_init to be overridden by a target configuration file. (gdb_expect): Pass the timeout to remote_expect. * config/dos.exp(dos_wait): Add timeout parameter. * lib/remote.exp(remote_expect): Add timeout parameter. (remote_wait): Ditto. (standard_wait): Ditto. Also give up if the program outputs more than 512,000 bytes. * config/vxworks.exp: Use timeout parameter instead of setting timeout variable. * config/dos.exp: Ditto. * config/ddb.exp: Ditto. * lib/mondfe.exp: Ditto. * lib/rlogin.exp: Ditto. * lib/telnet.exp: Ditto. * config/base68k.exp: Ditto. * config/i386-bozo.exp: Ditto. * config/gdb-comm.exp: Ditto. * config/gdb_stub.exp: Ditto. * config/i960.exp: Ditto. * config/ddb-ether.exp: Ditto. * config/sim.exp: Ditto. * lib/g++.exp(g++_init): Use g++_include_flags instead of making up the includes ourselves.
1997-06-16whitespace tweaksIan Lance Taylor1-18/+18