aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1995-09-12 * ar.c (replace_members): Don't call write_archive if nothingIan Lance Taylor1-0/+3
changed.
1995-09-12Thu Sep 7 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain5-294/+142
* coffcode.h (coff_compute_section_file_positions): Keep the raw size safe. (coff_write_object_contents): Remember if it's a relocatable file. * libcoff-in.h (pe_data_type): New member 'has_reloc_section' * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag if relocatable file. Swap out saved raw size.
1995-09-12 * dep-in.sed: Remove config.h from generated dependencies.Ian Lance Taylor1-0/+2
1995-09-12 * ld.texinfo: Clarify -L option.Ian Lance Taylor1-0/+2
1995-09-12 * sunos.c (sunos_slurp_dynamic_symtab): New static function,Ian Lance Taylor4-32/+101
broken out of sunos_canonicalize_dynamic_symtab. (sunos_canonicalize_dynamic_symtab): Call new function sunos_slurp_dynamic_symtab. (sunos_add_dynamic_symbols): Add three new parameters. Return the dynamic symbol table to the caller. * aoutx.h (aout_link_add_symbols): Permit add_dynamic_symbols callback to override the symbols being read. * libaout.h (struct aout_backend_data): Add three new parameters to add_dynamic_symbols callback.
1995-09-12 * config/tc-arm.c (md_atof): Fix debugging printf, and leave itDavid Edelsohn1-0/+5
out by default.
1995-09-12 * objdump.c (disassemble_data): Add casts to avoid gcc warnings.Ian Lance Taylor2-5/+9
1995-09-12 * ldlang.c (lang_one_common): Add cast to avoid warning.Ian Lance Taylor1-0/+8
(topower): Likewise. Also, reindent. * ldwrite.c (clone_section): Change i to unsigned int. * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): Add cast to avoid warning.
1995-09-12 Extensive minor changes to avoid various gcc warnings. Also:Ian Lance Taylor31-726/+1687
* Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. * archures.c (bfd_arch_info_type): Change mach field from long to unsigned long. (bfd_lookup_arch): Change machine parameter from long to unsigned long.
1995-09-12 * internal.h (struct internal_syment): Change n_numaux field fromIan Lance Taylor1-0/+9
char to unsigned char.
1995-09-12 * NEWS: Add information about remote target caching.Fred Fish2-0/+15
1995-09-11 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"Fred Fish2-0/+61
xfails when not gcc compiled for "print foo::funclocal". (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for: "print foo::funclocal at foo", "print 'scope1.c'::foo::funclocal at foo", "print foo::funclocal_bss at foo", "print 'scope1.c'::foo::funclocal_bss at foo", "print foo::funclocal_ro at foo", "print 'scope1.c'::foo::funclocal_ro at foo", "print bar::funclocal at foo" and "print 'scope1.c'::bar::funclocal at foo". (test_at_bar): Add "hppa*-*-hpux*" xfails when not gcc compiled for "print foo::funclocal at bar". Expand all messages to ensure that they identify that the test is at bar(). * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "ptype on opaque struct pointer (statically)", "ptype on opaque struct tagname (statically)", "ptype on opaque struct pointer (dynamically) 1", "ptype on opaque struct tagname (dynamically) 1", "ptype on opaque struct pointer (dynamically) 2" and "ptype on opaque struct tagname (dynamically) 2 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not gcc compiled for: "p datalocal" "whatis datalocal", "ptype datalocal", "p bsslocal", "whatis bsslocal", and "ptype bsslocal". * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for "backtrace in langs.exp" and "up to langs0__2do in langs.exp" when not gcc compiled. * gdb.base/funcargs.exp (float_and_integral_args): Add "hppa*-*-hpux*" xfail for "run to call2a" when not gcc compiled. (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for "backtrace from call6a" when not gcc compiled. (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for "backtrace from call7a" when not gcc compiled. * gdb.base/callfuncs.exp (do_function_calls): Add "hppa*-*-hpux*" xfail when not gcc compiled for "p t_char_array_values(char_array_val2,char_array_val1)", "p t_char_array_values(char_array_val1,char_array_val2)", "p t_char_array_values("carray 1","carray 2")", "p t_char_array_values("carray 1",char_array_val2)", "p t_char_array_values(char_array_val1,"carray 2")", "p sum_args(1,{2})", "p sum_args(2,{2,3})", "p sum_args(3,{2,3,4})", "p sum_args(4,{2,3,4,5})" * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for "backtrace in corefile.exp" when not gcc compiled.
1995-09-11 * defs.h: Only include mmalloc.h if NO_MMALLOC is notFred Fish2-0/+19
defined.
1995-09-11 * doc/configure.in: Remove unused file.Ian Lance Taylor3-41/+2
1995-09-11 * app.c (do_scrub_chars): Grab all available spaces at start ofIan Lance Taylor1-0/+8
line before preserving a single space. Remove state == 0 test which will never succeed. * macro.c (macro_expand_body): Delete local variables from the formal hash table. (macro_expand): In MRI mode, stop when whitespace is seen in the argument list.
1995-09-11 * gas/mri/empty.s: New file.Ian Lance Taylor3-0/+14
* gas/mri/mri.exp: Test assembling empty.s. * gas/mri/comment.s: Add a couple more comment variants.
1995-09-11 * sb.c: Include "libiberty.h".Ian Lance Taylor2-0/+9
* macro.c: Likewise. Also include <stdlib.h> if it exists.
1995-09-11 * gas/mri/mri.exp: Add xfail for the expr test for all hppaIan Lance Taylor2-1/+6
targets.
1995-09-11Revert Linux directory searching: it turns out that Linux no longerIan Lance Taylor6-171/+4
uses it.
1995-09-11 * sunos.c (sunos_scan_std_relocs): Fix BFD_ASSERT: it's OK to findIan Lance Taylor2-4/+11
a symbol with a non-zero plt_offset.
1995-09-10Sun Sep 10 10:24:48 1995 Michael Tiemann <tiemann@axon.cygnus.com>Michael Tiemann3-2/+32
* tm-ppc-eabi.h (PC_IN_CALL_DUMMY): Redefine this to work with the simulator. FIXME. * rs6000-tdep.c (push_dummy_frame): Calculate the correct link register offset from the current frame (don't assume it is always 8). (push_dummy_frame): Add comment about having only 4096 bytes of stack space in the simulator (by default). * remote-sim.c (gdbsim_create_inferior): Call `add_text_to_loadinfo' so that gdb can find TOC entries when calling functions in the inferior. With this changes, it is now possible to correctly call inferior functions in the PPC simulator.
1995-09-10Sun Sep 10 10:23:56 1995 Michael Tiemann <tiemann@axon.cygnus.com>Michael Tiemann1-0/+9
* registers.c (register_description): Add gdb synonyms for cr (cnd) and msr (ps).
1995-09-10 * sparc-tdep.c (fill_fpregset): Fix incorrect FP_MAX_REGNUMPeter Schauer1-0/+6
substitution. (supply_fpregset): Use FP_MAX_REGNUM.
1995-09-10fix typo.Michael Meissner1-1/+1
1995-09-09 * stabsread.c (read_enum_type): Exit loop for putting pendingPeter Schauer2-1/+7
enum symbols into the enum type correctly if we had no pending symbols on entry to read_enum_type.
1995-09-09 * gdb.base/signals.exp: Rewrite `handle all print' test asPeter Schauer1-0/+7
a procedure. Accept blanks or TABs as whitespace, increase timeout and expect input buffer size for the large output from the command. Remove "i*86-*-bsdi2.0" xfail.
1995-09-09 * inferior.h: Add extern declaration of inferior_environ.Kung Hsu2-4/+10
* solib.c (solib_map_sections): To get inferior's env instead of gdb's for LD_LIBRARY_PATH, same for PATH.
1995-09-09* configure.in (noconfigdirs): Disable gdb on m68k-*-netbsd*.J.T. Conklin2-0/+7
1995-09-08Update to new config schemeMichael Meissner7-32/+978
1995-09-08 Add Linux style directory searching.Ian Lance Taylor6-11/+219
* configure.tgt: Add i386lelf to targ_extra_emuls for i[345]86-*-linuxaout* and i[345]86-*-linuxoldld. For i[345]86-*-linux*, set targ_emul to i386lelf, and add elf_i386 to targ_extra_emuls. * emulparams/i386lelf.sh: New file, a copy of elf_i386.sh. * emultempl/elf32.em: If TARGET_IS_i386lelf, use autoconf recommended mechanism to define DIR and struct dirent. (libcmp): New static function use only when TARGET_IS_i386lelf. (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. * Makefile.in (ALL_EMULATIONS): Add ei386lelf.o (ei386lelf.c): New target.
1995-09-08 * elfcode.h (align_file_position): Remove; not used.Ian Lance Taylor2-14/+7
1995-09-08 * ldemul.h (ldemul_set_symbols): Declare.Ian Lance Taylor1-0/+4
(ldemul_parse_args): Declare. * ldemul.c (ldemul_parse_args): Fix indentation.
1995-09-08 * ld-cdtest/cdtest.exp: If the compiler does not exist, mark theIan Lance Taylor1-0/+9
tests as untested rather than unresolved.
1995-09-08 * configure.in: Call AC_HEADER_DIRENT.Ian Lance Taylor2-12/+25
* configure, config.in: Rebuild. * emultempl/sunos.em: Use autoconf recommend mechanism to define DIR and struct dirent.
1995-09-08 * configure.in: Build ld in mips*-*-bsd* case.Ian Lance Taylor2-1/+5
1995-09-08 * configure.tgt (mips*-*-bsd*): New case.Ian Lance Taylor2-0/+3
1995-09-08 * configure.host (i[345]86-sequent-ptx* | i[345]86-sequent-sysv*)Ian Lance Taylor3-0/+131
New case. * configure.tgt (i[345]86-*-ptx*): New case.
1995-09-08 * solib.c (solib_map_sections): Copy full path name into so_listKung Hsu2-8/+35
structure so that symbol_file_add can find it.
1995-09-08 * app.c (do_scrub_chars): In MRI mode, keep a space before aIan Lance Taylor3-4/+30
possible comment character. * config/tc-m68k.c (m68k_ip): In MRI mode, ignore anything after an instruction which takes no operands.
1995-09-08 * Makefile.in (install): Don't install gasp in $(tooldir).Ian Lance Taylor2-10/+5
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-5/+4
1995-09-08 * Makefile.in (install): Don't install in $(tooldir).Ian Lance Taylor2-11/+3
1995-09-08 * configure.in: Define CC_FOR_BUILD. Don't call AC_PROG_INSTALL.Ian Lance Taylor3-11/+28
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (CC_FOR_BUILD): Restore. (gencode): Build using $(CC_FOR_BUILD). (install): Don't install in $(tooldir).
1995-09-08 * configure.in: Remove AC_PROG_INSTALL.Ian Lance Taylor3-16/+20
* configure: Rebuild. * Makefile.in (INSTALL): Revert to using install.sh. (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL). (INSTALL_XFORM, INSTALL_XFORM1): Restore. (mostlyclean): Make the same as clean, not distclean. (clean): Remove config.log. (install): Don't install in $(tooldir).
1995-09-08 * configure.in: Convert to use autoconf.Ian Lance Taylor9-67/+1194
* configure: New file, built by autoconf. * acconfig.h: New file. * config.in: New file, built by autoheader. * Makefile.in: Various changes for new configure script. Also: (INSTALL): Go up two levels, not one. (ALLOCA, MALLOC, OPCODES): Remove. (gencode): Use $(CC_FOR_BUILD). (case.o): Remove. (run.o, interp.o): Depend upon config.h. * interp.c: Include "config.h". Don't include "sysdep.h". Include <stdlib.h>, <time.h>, and <unistd.h> if they exist. * run.c: Include "config.h". Don't include "sysdep.h". Include <stdlib.h> if it exists. Include "getopt.h". Declare printf if necessary.
1995-09-08mention new config.in fileIan Lance Taylor1-0/+1
1995-09-08 * configure.in: Call AC_CONFIG_HEADER. Don't try to useIan Lance Taylor5-36/+75
bfd/hosts/*.h file or bfd/config/*.mh file. Call AC_PROG_CC and AC_PROG_RANLIB. Substitute in values for CFLAGS, HDEFINES and AR. Call AC_CHECK_HEADERS for stdlib.h and time.h. Touch stamp.h if creating config.h. * configure: Rebuild. * Makefile.in (AR): Define as @AR@. (CC): New variable, defined as @CC@. (CFLAGS): Define as @CFLAGS@. (RANLIB): Define as @RANLIB@. (HDEFINES, TDEFINES): New variables. (@host_makefile_frag@): Remove. (compile.o, run.o): Depend upon config.h. (mostlyclean): Make the same as clean, not distclean. (clean): Remove config.log. (distclean): Remove config.h and stamp-h. (Makefile): Don't depend upon @frags@. Just rebuild Makefile when invoking config.status. (config.h, stamp-h): New targets. * compile.c: Include "config.h". Don't include <sys/times.h>. Include <time.h> and <stdlib.h> if they exist. Don't include "sysdep.h". (get_now): Remove unused local b. * run.c: Include "config.h". Include <stdlib.h> if it exists. Don't include "sysdep.h". * writecode.c: Don't include "bfd.h" or "sysdep.h". Include <stdio.h>.
1995-09-08 * configure.in: Only check for <sys/procfs.h> on a native system,Ian Lance Taylor3-2/+58
and make sure it defines prstatus_t. * configure: Rebuild.
1995-09-08 * Makefile.in (Makefile): Just rebuild Makefile when runningIan Lance Taylor3-162/+136
config.status. (config.h, stamp-h): New targets. * configure.in: Call AC_CONFIG_HEADER and AC_CANONICAL_SYSTEM earlier. Don't bother to call AC_ARG_PROGRAM. Touch stamp-h when rebuilding config.h. * configure: Rebuild.
1995-09-08Do not include sysdep.h, bfd no longer provides itMichael Meissner5-10/+815