Peter Schauer [Sat, 3 Feb 1996 11:32:34 +0000 (11:32 +0000)]
* dwarfread.c (read_func_scope): Avoid GDB core dumps if
AT_name tag is missing.
* procfs.c (procfs_stopped_by_watchpoint): Fix logic when
FLTWATCH and FLTKWATCH are defined.
* remote.c (remote_read_bytes): Advance memaddr for transfers,
return number of bytes transferred for partial reads.
* top.c (init_signals): Reset SIGTRAP to SIG_DFL.
Michael Meissner [Sat, 3 Feb 1996 00:31:03 +0000 (00:31 +0000)]
Move .sdata2/.sbss2 into read-only section
Michael Meissner [Fri, 2 Feb 1996 23:01:14 +0000 (23:01 +0000)]
Fix typo
Ian Lance Taylor [Fri, 2 Feb 1996 21:50:53 +0000 (21:50 +0000)]
* configure: Regenerate.
Steve Chamberlain [Fri, 2 Feb 1996 21:43:15 +0000 (21:43 +0000)]
Spell off correctly.
Steve Chamberlain [Fri, 2 Feb 1996 21:42:12 +0000 (21:42 +0000)]
* win32-nat.c (mappings): Add ppc registers.
(child_resume): Turn of step for ppc.
Steve Chamberlain [Fri, 2 Feb 1996 19:45:14 +0000 (19:45 +0000)]
* aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32.
* configure: Regenerate.
Jeff Law [Fri, 2 Feb 1996 19:14:40 +0000 (19:14 +0000)]
* elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don't
try to do arithmetic on a void *, cast it to a unsigned char * first.
Some solaris compilers don't like void * arithmetic.
Ian Lance Taylor [Fri, 2 Feb 1996 19:10:33 +0000 (19:10 +0000)]
Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>
* Makefile.in (INSTALL_XFORM): Remove -e.
Ian Lance Taylor [Fri, 2 Feb 1996 17:46:05 +0000 (17:46 +0000)]
* write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON rather
than comparing S_GET_SEGMENT to undefined_section.
(write_object_file): Skip symbols which were equated to an
undefined or common symbol.
* symbols.c (resolve_symbol_value): Use S_IS_DEFINED and
S_IS_COMMON rather than comparing S_GET_SEGMENT to
undefined_section.
(S_GET_VALUE): Likewise. Avoid recursion problems if S_IS_DEFINED
or S_IS_COMMON call S_GET_VALUE.
* config/obj-aout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
* config/obj-aout.c (obj_emit_relocations): If a reloc is equated
to an undefined or common symbol, convert the reloc to be against
the target symbol.
(obj_crawl_symbol_chain): Skip symbols which were equated to an
undefined or common symbol.
* config/obj-bout.h (S_IS_COMMON): Define if not BFD_ASSEMBLER.
* config/obj-bout.c (obj_emit_relocations): If a reloc is equated
to an undefined or common symbol, convert the reloc to be against
the target symbol.
(obj_crawl_symbol_chain): Skip symbols which were equated to an
undefined or common symbol.
* config/obj-coff.c (do_relocs_for): Use S_IS_DEFINED and
S_IS_COMMON rather than comparing S_GET_SEGMENT to
undefined_section.
(yank_symbols): Skip symbols which were equated to an undefined or
common symbol.
Jeff Law [Fri, 2 Feb 1996 17:20:54 +0000 (17:20 +0000)]
* lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
Load libgloss.exp.
Jeff Law [Fri, 2 Feb 1996 03:22:45 +0000 (03:22 +0000)]
* gdb.disasm/hppa.exp: Compile directly into an executable, use
the executable, not the .o to run the tests from.
Remove a useless step and avoid loading a .o into a target board
(loads into address zero which causes all kinds of problems).
Geoffrey Noer [Fri, 2 Feb 1996 01:07:16 +0000 (01:07 +0000)]
Changes to configure.in so that -gm-magic targets won't build libgloss
anymore.
Stan Shebs [Thu, 1 Feb 1996 23:25:52 +0000 (23:25 +0000)]
* mpw-mh-mpw (CC_MWC68K): Add options similar to those used
in CC_MWCPPC, and -mc68020 -model far.
(AR_MWLINK68K): Add -xm library.
(AR_AR): Define.
(CC_LD_MWLINK68K): Remove -d.
(EXTRALIBS_MWC68K): Define.
Ian Lance Taylor [Thu, 1 Feb 1996 23:15:23 +0000 (23:15 +0000)]
* elf-bfd.h (ELF_LINK_NON_ELF): Define.
* elf.c (_bfd_elf_link_hash_newfunc): Set elf_link_hash_flags to
ELF_LINK_NON_ELF.
* elflink.h (elf_link_add_object_symbols): Reset ELF_LINK_NON_ELF
flag for a newly defined symbol.
(NAME(bfd_elf,record_link_assignment)): Likewise.
(elf_adjust_dynamic_symbol): If ELF_LINK_NON_ELF is set, try to
set the DEF or REF_REGULAR flags correctly.
Steve Chamberlain [Thu, 1 Feb 1996 21:39:44 +0000 (21:39 +0000)]
* configure: Regenerate with autoconf 2.7.
Ian Lance Taylor [Thu, 1 Feb 1996 21:34:29 +0000 (21:34 +0000)]
* Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir.
(libbfd.h, libcoff.h): Corresponding change.
Ian Lance Taylor [Thu, 1 Feb 1996 21:24:15 +0000 (21:24 +0000)]
* config/obj-aout.h (S_IS_LOCAL): Check for \002 as well as \001.
* config/obj-bout.h (S_IS_LOCAL): Likewise.
Ian Lance Taylor [Thu, 1 Feb 1996 21:05:52 +0000 (21:05 +0000)]
* elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with
a PLT32 reloc as dynamic.
(elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc
is not referenced by a dynamic object, and we are not making a
shared object, then don't make a PLT entry. If we do make a PLT
entry, make sure the symbol has been recorded as dynamic.
Ian Lance Taylor [Thu, 1 Feb 1996 21:02:03 +0000 (21:02 +0000)]
* emulparams/elf_i386.sh (TEXT_START_ADDR): Change to 0x8048000,
for SVR4 compatibility.
PR 8794.
Stan Shebs [Thu, 1 Feb 1996 20:42:27 +0000 (20:42 +0000)]
* mpw-configure (extralibs_name, rez_name): Set correctly
for MWC68K compiler.
* mpw-README: Add more info on the necessary build tools.
Ian Lance Taylor [Thu, 1 Feb 1996 20:36:23 +0000 (20:36 +0000)]
* configure.in: Make sure we only add m68k-parse.o to
${extra_objects} once, no matter how many m68k targets have been
enabled.
* configure: Rebuild.
Steve Chamberlain [Thu, 1 Feb 1996 18:39:00 +0000 (18:39 +0000)]
* config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
xm-cygwin32.h): New.
* config/i386/(*win32*): Becomes *cygwin32*.
* configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
(powerpcle-*-cygwin32): New.
* configure: Regenerate.
* win32-nat.c (child_create_inferior): Call CreateProcess
with the right program arg.
Steve Chamberlain [Thu, 1 Feb 1996 18:23:56 +0000 (18:23 +0000)]
* configure.in, config.sub: Recognize cygwin32.
Steve Chamberlain [Thu, 1 Feb 1996 18:08:36 +0000 (18:08 +0000)]
* configure.in (i[3-6]86-*-win32): Becomes i[3-6]86-*-cygwin32.
(powerpc*-*-cygwin32): New.
* configure: Regenerated.
Jeff Law [Thu, 1 Feb 1996 18:03:01 +0000 (18:03 +0000)]
* config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
Ian Lance Taylor [Thu, 1 Feb 1996 15:52:04 +0000 (15:52 +0000)]
* ldexp.c (exp_fold_tree): Correct handling of ABSOLUTE.
PR 8909.
Fred Fish [Thu, 1 Feb 1996 04:15:53 +0000 (04:15 +0000)]
* serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
Stan Shebs [Thu, 1 Feb 1996 03:26:15 +0000 (03:26 +0000)]
Name change
Stan Shebs [Thu, 1 Feb 1996 02:59:15 +0000 (02:59 +0000)]
* config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
here from config/i386/xm-i386mach.h, fix name.
* config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
* config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
here from config/i386/xm-ptx4.h.
* config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
* config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
* config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
more housekeeping
Stan Shebs [Thu, 1 Feb 1996 02:47:32 +0000 (02:47 +0000)]
* config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
* config/sparc/nm-nbsd.h (CHILD_PREPARE_TO_STORE): Move to here
from config/sparc/xm-nbsd.h.
* config/sparc/nm-sun4os4 (CHILD_PREPARE_TO_STORE): Ditto, from
config/sparc/xm-sparc.h.
* config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
(PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
* config/sparc/sun4sol2.mh (NAT_FILE): Update.
* config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
housekeeping
Steve Chamberlain [Thu, 1 Feb 1996 02:42:51 +0000 (02:42 +0000)]
* configure.in (i386-*-cygwin32, ppc-*-cygwin32): New.
* configure: Rebuild.
Steve Chamberlain [Thu, 1 Feb 1996 01:43:42 +0000 (01:43 +0000)]
* configure.tgt (i[345]86-*-cygwin32, powerpcle-*-cygwin32): New.
* emultempl/pe.em (definfo init): Make the default stack reserve
of a PPC larger.
Steve Chamberlain [Thu, 1 Feb 1996 01:26:15 +0000 (01:26 +0000)]
* coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL.
* config.bfd (i[345]86-*-win32): Becomes i[345]86-*-cygwin32.
(powerpcle-*-cygwin32): New.
* peicode.h (add_data_entry): Get address from vma.
Jeff Law [Thu, 1 Feb 1996 00:40:59 +0000 (00:40 +0000)]
* config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
floating point correctly.
(STORE_RETURN_VALUE): Likewise.
* config/pa/tm-pro.h (SOFT_FLOAT): define.
Fixes minor testsuite failures for pro targets.
Ian Lance Taylor [Wed, 31 Jan 1996 22:40:55 +0000 (22:40 +0000)]
* config/obj-coff.h (S_IS_LOCAL): Check for \001 as well as \002.
Michael Meissner [Wed, 31 Jan 1996 22:13:09 +0000 (22:13 +0000)]
If _SDA_BASE_ has already been created as an undefined symbol, treat like it has never been created
Jeff Law [Wed, 31 Jan 1996 21:44:24 +0000 (21:44 +0000)]
* gdb.base/break.exp: Don't test for program exit or exit status
if $noresults if nonzero.
* gdb.base/langs.exp: Likewise.
* gdb.base/watchpoint.exp: Likewise.
For proelf targets were we can't even tell if a process exits.
Jeff Law [Wed, 31 Jan 1996 21:24:38 +0000 (21:24 +0000)]
* gdb.base/default.exp: Remove extraneous call to load gdb.exp.
* gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
trying to compile the testcase.
Ian Lance Taylor [Wed, 31 Jan 1996 21:22:02 +0000 (21:22 +0000)]
* elflink.h (elf_bfd_final_link): Don't output initial dummy
symbol or section symbols if stripping all symbols and this is not
a relocateable link. Don't output the symbol string table if
there are no symbols.
(elf_link_flush_output_syms): Don't do anything if there are no
symbols to flush.
Fred Fish [Wed, 31 Jan 1996 20:35:51 +0000 (20:35 +0000)]
* config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
Define to what should be reasonable values. However, apparently
a bug in linux mmap prevents mapped symbol tables from working.
Ian Lance Taylor [Wed, 31 Jan 1996 19:36:20 +0000 (19:36 +0000)]
Wed Jan 31 14:34:23 1996 Richard Henderson <rth@tamu.edu>
* configure.tgt (m68*-apple-aux*): New target.
* emulparams/m68kaux.sh: New file.
* scripttempl/m68kaux.sc: New file.
* Makefile.in (ALL_EMULATIONS): Add em68kaux.o.
(em68kaux.c): New target.
Ian Lance Taylor [Wed, 31 Jan 1996 19:31:29 +0000 (19:31 +0000)]
Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
* config/tc-m68k.c (md_pseudo_table): Add "extend" and "ldouble".
* doc/c-m68k.texi: Document .extend and .ldouble.
Ian Lance Taylor [Wed, 31 Jan 1996 19:18:19 +0000 (19:18 +0000)]
Wed Jan 31 14:17:10 1996 Richard Henderson <rth@tamu.edu>
* config.guess, config.sub: Recognize A/UX.
Ian Lance Taylor [Wed, 31 Jan 1996 19:06:17 +0000 (19:06 +0000)]
Wed Jan 31 14:03:17 1996 Richard Henderson <rth@tamu.edu>
* configure.in (m68*-apple-aux*): New target.
* config/te-aux.h: New file.
* config/obj-coff.c (compare_external_relocs): New static function
if TE_AUX.
(do_relocs_for): Sort relocs if TE_AUX.
(fixup_segment): If TE_AUX, store common symbol value in segment.
* config/tc-m68k.h (TARGET_FORMAT): Define if TE_AUX.
Ian Lance Taylor [Wed, 31 Jan 1996 18:52:30 +0000 (18:52 +0000)]
* config.sub: Merge with gcc/config.sub.
Ian Lance Taylor [Wed, 31 Jan 1996 18:24:21 +0000 (18:24 +0000)]
Wed Jan 31 13:22:03 1996 Richard Henderson <rth@tamu.edu>
* Makefile.in (distclean): Remove $(DEMANGLER_PROG).1.
Ian Lance Taylor [Wed, 31 Jan 1996 18:17:12 +0000 (18:17 +0000)]
Wed Jan 31 12:55:49 1996 Richard Henderson <rth@tamu.edu>
* coff-aux.c: New file.
* hosts/m68kaux.h: New file.
* config.bfd (m68*-apple-aux*): New target.
* configure.in (m68*-apple-aux*): New native host.
(m68kaux_coff_vec): New vector.
* configure: Rebuild.
* targets.c (m68kaux_coff_vec): Declare.
* coffcode.h (bfd_coff_backend_data): Add field
_bfd_coff_link_add_one_symbol.
(bfd_coff_link_add_one_symbol): Define.
(compare_arelent_ptr): New static function if TARG_AUX.
(coff_write_relocs): If TARG_AUX, sort the relocs.
(coff_write_object_contents): Set A/UX aouthdr magic number.
(coff_link_add_one_symbol): Define if not defined.
(bfd_coff_std_swap_table): Initialize new field.
* libcoff.h: Rebuild.
* cofflink.c (coff_link_add_symbols): Call
bfd_coff_link_add_one_symbol rather than
_bfd_generic_link_add_one_symbol.
* coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined.
* coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
* coff-mips.c (mips_ecoff_backend_data): Likewise.
* Makefile.in: Rebuild dependencies.
(BFD32_BACKENDS): Add coff-aux.o.
(BFD32_BACKENDS_CFILES): Add coff-aux.c.
Ian Lance Taylor [Wed, 31 Jan 1996 18:12:58 +0000 (18:12 +0000)]
Wed Jan 31 13:11:54 1996 Richard Henderson <rth@tamu.edu>
* aux.h: New file.
* internal.h, m68k.h: Protect against multiple inclusion.
Ian Lance Taylor [Wed, 31 Jan 1996 17:28:44 +0000 (17:28 +0000)]
* config/tc-mips.c (s_mips_globl): Set BSF_OBJECT if it is not
BSF_FUNCTION.
(s_cpload): Set BSF_OBJECT for _gp_disp symbol.
* read.c (s_lcomm): If S_SET_SIZE is defined, set the size of the
symbol.
* ecoff.c (add_procedure): Set the BSF_FUNCTION flag.
(ecoff_build_symbols): If S_SET_SIZE is defined, set the size of
an undefined symbol and the size of a function symbol.
* config/obj-elf.c (elf_frob_symbol): If TC_MIPS, set BSF_OBJECT
for all common symbols.
Ian Lance Taylor [Wed, 31 Jan 1996 16:38:20 +0000 (16:38 +0000)]
Wed Jan 31 11:37:46 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT*
relocation; ignore addend with R_68K_{GOT,PLT}*O relocation.
Fred Fish [Wed, 31 Jan 1996 02:36:07 +0000 (02:36 +0000)]
* interp.c (LoadMemory): Enclose text following #endif in /* */.
* support.h: Remove superfluous "1" from #if.
* support.h (CHECKSIM): Remove stray 'a' at end of line.
Fred Fish [Wed, 31 Jan 1996 02:31:02 +0000 (02:31 +0000)]
* defs.h (errno.h>: Move #include closer to head of file to solve
obscure problem with systems that declare perror with const arg, in
both errno.h and stdio.h, and const is defined away by intervening
local include.
Fred Fish [Tue, 30 Jan 1996 22:47:23 +0000 (22:47 +0000)]
From Jon Reeves <reeves@zk3.dec.com>:
* i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
(mem_fault_routine): Fix misplaced volatile type qualifier in decl.
Ian Lance Taylor [Tue, 30 Jan 1996 19:09:20 +0000 (19:09 +0000)]
* dis-buf.c: Include "sysdep.h" before "dis-asm.h".
Ian Lance Taylor [Tue, 30 Jan 1996 18:49:10 +0000 (18:49 +0000)]
* Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,
$(srcdir)/libbfd.h and $(srcdir)/libcoff.h.
(maintainer-clean): Warn about deleting special files.
(bfd-in2.h, libbfd.h, libcoff.h): New targets.
Ian Lance Taylor [Tue, 30 Jan 1996 18:19:28 +0000 (18:19 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Ignore
-bnoentry, since the right thing tends to happen anyhow.
Ian Lance Taylor [Tue, 30 Jan 1996 18:18:17 +0000 (18:18 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and
warning symbols correctly.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
Ken Raeburn [Tue, 30 Jan 1996 18:12:41 +0000 (18:12 +0000)]
* config/tc-i960.c (parse_memop): In MRI mode, don't use implicit scaling of
index.
* expr.c (operand): Accept 0x hex constants in MRI mode if not on m68k.
(PR 8836)
Ian Lance Taylor [Tue, 30 Jan 1996 17:09:29 +0000 (17:09 +0000)]
* syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid
warnings.
Fred Fish [Tue, 30 Jan 1996 03:10:17 +0000 (03:10 +0000)]
Enclose gdbtk stuff inside gdb sanitization lines. Regenerate configure.
Fred Fish [Tue, 30 Jan 1996 03:08:52 +0000 (03:08 +0000)]
* Makefile.in (diststuff): Make all-doc; diststuff target does not
exist in doc/Makefile.in.
Stan Shebs [Tue, 30 Jan 1996 02:51:56 +0000 (02:51 +0000)]
* config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
Ian Lance Taylor [Tue, 30 Jan 1996 00:01:44 +0000 (00:01 +0000)]
From Basim Kadhim <kadhim@spock.cs.colorado.edu>:
* ecoff.c (struct extsym_info): Define.
(_bfd_ecoff_bfd_final_link): Pass a pointer to struct extsym_info
to ecoff_link_write_external.
(ecoff_link_write_external): Accept a struct extsym_info pointer.
Strip symbols when appropriate.
Ian Lance Taylor [Mon, 29 Jan 1996 22:39:21 +0000 (22:39 +0000)]
Based on patches from H J Lu <hjl@zoom.com>:
* objcopy.c (remove_leading_char): New static variable.
(OPTION_REMOVE_LEADING_CHAR): Define.
(copy_usage): Mention --remove-leading-char.
(filter_symbols): If remove_leading_char, and the first character
of a global symbol matches the symbol leading char of the BFD,
remove the first character.
(copy_object): Filter the symbols if remove_leading_char is set.
(copy_main): Handle --remove-leading-char.
* binutils.texi, objcopy.1: Document --remove-leading-char.
Ian Lance Taylor [Mon, 29 Jan 1996 22:11:12 +0000 (22:11 +0000)]
* config/obj-elf.c (obj_elf_type): Set BSF_OBJECT flag for a type
of object. From Ronald F. Guilmette <rfg@monkeys.com>.
Ian Lance Taylor [Mon, 29 Jan 1996 22:09:49 +0000 (22:09 +0000)]
update copyright
Ian Lance Taylor [Mon, 29 Jan 1996 22:04:32 +0000 (22:04 +0000)]
Based on patches from Ronald F. Guilmette <rfg@monkeys.com>:
* syms.c (BSF_OBJECT): Define.
(bfd_print_symbol_vandf): Print 'O' for BSF_OBJECT.
* bfd-in2.h: Rebuild.
* elfcode.h (elf_slurp_symbol_table): Set BSF_OBJECT for an
STT_OBJECT symbol.
* elf.c (swap_out_syms): Only set type to STT_OBJECT if BSF_OBJECT
is set.
Ian Lance Taylor [Mon, 29 Jan 1996 20:01:29 +0000 (20:01 +0000)]
* elf32-i386.c (elf_i386_relocate_section): If -Bsymbolic, when
copying relocs into a shared object, treat a defined global symbol
as a local symbol.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mips.c (mips_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
Kim Knuttila [Mon, 29 Jan 1996 19:31:34 +0000 (19:31 +0000)]
Fixed exported names, removed a bad define
Ken Raeburn [Mon, 29 Jan 1996 19:30:16 +0000 (19:30 +0000)]
mh-i386win32 is gone
Ian Lance Taylor [Mon, 29 Jan 1996 18:09:20 +0000 (18:09 +0000)]
* elflink.h (elf_link_add_object_symbols): Only set weakdef to a
real defined symbol, not to a weak defined symbol.
Ken Raeburn [Mon, 29 Jan 1996 17:45:18 +0000 (17:45 +0000)]
* i386.h: Fix waiting forms of finit, fstenv, fsave, fstsw, fstcw, and fclex.
Kim Knuttila [Mon, 29 Jan 1996 17:44:41 +0000 (17:44 +0000)]
Removed a ppc hack from cofflink, promoted some types to libcoff-in.h
Ian Lance Taylor [Mon, 29 Jan 1996 17:29:51 +0000 (17:29 +0000)]
* ld.texinfo, ld.1: Document -export-dynamic.
Ian Lance Taylor [Mon, 29 Jan 1996 17:25:26 +0000 (17:25 +0000)]
* ecoff.c (localsym_t): Add addend field.
(add_ecoff_symbol): Add addend argument. Change all callers.
(coff_sym_value): Make static.
(coff_sym_addend): New static variable.
(ecoff_directive_def): Initialize coff_sym_addend.
(ecoff_directive_val): Accept symbol + constant.
(ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol.
(ecoff_build_symbols): Include the addend in the symbol value.
Wilfried Moser [Mon, 29 Jan 1996 08:17:22 +0000 (08:17 +0000)]
* ch-valprint.c (calculate_array_length): New function to determine
the length of an array type (see comment).
(chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
array type is zero, call calculate_array_length.
* gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): They values
may not be sorted. Scan all entries and set the real lower and
Wilfried Moser [Mon, 29 Jan 1996 08:09:04 +0000 (08:09 +0000)]
* builtins.ch, builtins.exp: Enhance test case.
* extstruct.ch, extstruct-grt.ch, extstruct.exp: New test case.
Fred Fish [Sun, 28 Jan 1996 22:52:53 +0000 (22:52 +0000)]
* config/xm-linux.h: Move include of solib.h and #define of
SVR4_SHARED_LIBS from here ...
* config/nm-linux.h: ...to here.
David Edelsohn [Sat, 27 Jan 1996 21:30:10 +0000 (21:30 +0000)]
* gas/arc/warn.exp: Delete libs arg in call to dg-runtest.
Michael Meissner [Sat, 27 Jan 1996 20:44:54 +0000 (20:44 +0000)]
Fix up warning on SunOS
Fred Fish [Sat, 27 Jan 1996 18:51:09 +0000 (18:51 +0000)]
* configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
Also check for gregset_t and fpregset_t types.
* configure: Regenerate.
* core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
is defined.
(fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
and HAVE_FPREGSET_T are defined. These changes allow systems
like linux that are migrating to /proc support to use a single
configuration for both new and old versions.
* config/i386/linux.mt: Note that this is now for both a.out and
ELF systems.
* config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
i386v4-nat.o
* config/i386/tm-linux.h (tm-sysv4.h): Include.
* config/i386/xm-linux.h (solib.h): Include
(SVR4_SHARED_LIBS): Define.
* i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
(supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
(supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T defined.
Kim Knuttila [Sat, 27 Jan 1996 00:31:16 +0000 (00:31 +0000)]
Ignore overflow on toc relocs
Ian Lance Taylor [Fri, 26 Jan 1996 23:43:29 +0000 (23:43 +0000)]
* ld-undefined/undefined.exp: ELF targets should now pass the
undefined line test.
Ian Lance Taylor [Fri, 26 Jan 1996 23:42:58 +0000 (23:42 +0000)]
* syms.c: Include "bfdlink.h".
(struct stab_find_info): Define.
(_bfd_stab_section_find_nearest_line): New function.
* libbfd-in.h (_bfd_stab_section_find_nearest_line): Declare.
* libbfd.h: Rebuild.
* elf-bfd.h (struct elf_obj_tdata): Add line_info field.
* elf.c (_bfd_elf_find_nearest_line): Try calling
_bfd_stab_section_find_nearest_line before searching the ELF
symbol table. Find the closest STT_FUNC symbol, not the last one.
* libcoff-in.h (coff_data_type): Add line_info field.
* libcoff.h: Rebuild.
* coffgen.c (coff_find_nearest_line): Try calling
_bfd_stab_section_find_nearest_line before searching the COFF
symbol table.
* Makefile.in: Rebuild dependencies.
Stan Shebs [Fri, 26 Jan 1996 21:53:03 +0000 (21:53 +0000)]
* config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
* config/i386/xm-sun386.h: Ditto.
* config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
Jeff Law [Fri, 26 Jan 1996 21:26:28 +0000 (21:26 +0000)]
* gas/hppa/unsorted/unsorted.exp: Update for objdump changes.
Ian Lance Taylor [Fri, 26 Jan 1996 20:43:50 +0000 (20:43 +0000)]
tipo
Ian Lance Taylor [Fri, 26 Jan 1996 16:54:35 +0000 (16:54 +0000)]
* binutils.texi (nm): Improve documentation on symbol types.
(objdump): Reference the stabs manual from the discussion of the
--stabs option.
David Edelsohn [Fri, 26 Jan 1996 04:37:04 +0000 (04:37 +0000)]
* config/tc-sparc.c (default_compatible): New static local.
(md_begin): Initialize it. Rewrite warn_on_bump handling.
(sparc_ip): If no architecture or -bump specified, don't mark as
mismatched those in default_compatible.
Ian Lance Taylor [Thu, 25 Jan 1996 22:51:06 +0000 (22:51 +0000)]
* libcoff-in.h (struct xcoff_tdata): Remove toc_section and
entry_section fields. Add sntoc and snentry fields.
* libcoff.h: Rebuild.
* coffcode.h (coff_mkobject_hook): Initialize sntoc and snentry,
not toc_section and entry_section (the COFF file does not have any
sections at this point).
(coff_write_object_contents): Set o_snentry and o_sntoc from
snentry and sntoc rather than entry_section and toc_section.
* coff-rs6000.c (xcoff_copy_private_bfd_data): Copy sntoc and
snentry, not toc_section and entry_section.
* xcofflink.c (bfd_xcoff_size_dynamic_sections): Don't set
entry_section from hentry.
(xcoff_link_input_bfd): If a defined symbol has XCOFF_ENTRY set,
set snentyr.
(xcoff_link_input_bfd): Set sntoc, not toc_section.
(xcoff_write_global_symbol): Get toc_section from sntoc, rather
than using toc_section directly.
Michael Meissner [Thu, 25 Jan 1996 22:35:51 +0000 (22:35 +0000)]
Make eabi error messages include symbol name if it is an external symbol
Ian Lance Taylor [Thu, 25 Jan 1996 21:05:56 +0000 (21:05 +0000)]
* mh-ncrsvr43 (CFLAGS): Remove -Hnocopyr.
Steve Chamberlain [Thu, 25 Jan 1996 21:01:17 +0000 (21:01 +0000)]
Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
From Greg McGary <gkm@gnu.ai.mit.edu>:
* dcache.c (dcache_peek, dcache_poke): Advance addr for
multi-byte I/O.
Ian Lance Taylor [Thu, 25 Jan 1996 20:38:08 +0000 (20:38 +0000)]
* ld-empic/empic.exp: Update for change to MIPS disassembler.
Jeff Law [Thu, 25 Jan 1996 20:10:42 +0000 (20:10 +0000)]
* infrun.c (normal_stop): Fix test for shared library event.
From dje. Fixes minor testsuite problems.
Ian Lance Taylor [Thu, 25 Jan 1996 20:05:29 +0000 (20:05 +0000)]
* archures.c: Add missing `.' in enum bfd_architecture.
* bfd-in2.h: Rebuild.
Raymond Jou [Thu, 25 Jan 1996 19:38:14 +0000 (19:38 +0000)]
* mpw-make.sed: Add a "stamps" target.
Ian Lance Taylor [Thu, 25 Jan 1996 18:55:00 +0000 (18:55 +0000)]
shorten copyright line
Ian Lance Taylor [Thu, 25 Jan 1996 18:52:59 +0000 (18:52 +0000)]
* objdump.c (dump_headers, dump_section_header): Change objdump -h
output to be simpler and to include section file offsets.
This page took 0.039355 seconds and 4 git commands to generate.