aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1996-02-07 * configure.in: Look for --enable-shared. Change the value ofIan Lance Taylor5-29/+151
BFDLIB when linking against a shared library on SunOS. * configure: Rebuild. * configure.host: If using a shared BFD library, try to pass a reasonable -rpath option when linking. * Makefile.in (BFDLIB): Set to @BFDLIB@.
1996-02-07 * Makefile.in (SONAME): New variable.Ian Lance Taylor1-0/+14
($(SHLINK)): Make a link to the transformed name, as well. (stamp-tshlink): New target. (install): Skip stamp-tshlink during install.
1996-02-07 * configure.host: When making a shared library, set HLDFLAGS toIan Lance Taylor1-0/+11
pass an appropriate -rpath option. Use the make variable SONAME as the shared library soname, rather than computing it here. On SunOS, build stamp-tshlink in place of $(SHLINK). * Makefile.in (SONAME): New variable. ($(SHLINK)): Make a link to the transformed name, as well. (stamp-tshlink): New target. (install): Skip stamp-tshlink during install.
1996-02-07Fix WRS bug where -Ttext 0x10000 left first program header invalidMichael Meissner1-0/+8
1996-02-07 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding soTom Tromey2-9/+67
double-clicking will work again. (create_asm_win): Put "break" at end of all B1 bindings. (create_file_win): Lower "sel" tag, don't raise it. (ensure_line_visible): New proc. (update_listing, update_assembly): Use it. (create_copyright_window): Destroy window on Leave event. (create_command_window): Put "break" at end of all B2 bindings.
1996-02-07 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. TheseFred Fish1-0/+6
apparently aren't needed in any reasonably recent version of linux.
1996-02-07 * pr-8894.exp, pr-8894.ch, pr-8894-grt.ch: New test case.Per Bothner5-0/+86
1996-02-07 * stabsread.c (read_range_type): If !self-subrange and languagePer Bothner2-7/+15
is Chill, assume a true range. If a true_range is a sub_subrange, use builtin_type_int for index_type. This is for PR chill/8894.
1996-02-06* configure.in (*-*-netbsd*): Set COREFILE to netbsd-core.c.J.T. Conklin11-121/+330
don't define TRAD_HEADER. * configure: Rebuild. * netbsd-core.c: New file, support for NetBSD core files. * hosts/*nbsd.h: Removed.
1996-02-06 * reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.David Edelsohn1-0/+23
(BFD_RELOC_SPARC_LO7 reloc type): Deleted. * libbfd.h, bfd-in2.h: Regenerated. * elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from bfd_elf32_bfd_reloc_type_lookup. (reloc_type{,_names}): Deleted. (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. Add sparc64 relocs. (sparc_reloc_map): Add sparc64 relocs. (sparc_elf_notsupported_reloc): New static function. (sparc_elf_wdisp16_reloc): New static function. (elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}. (elf32_sparc_relocate_section): Likewise. (bfd_elf32_bfd_reloc_type_lookup): Define. * elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted. (reloc_type{,_names}): Deleted. (elf_sparc_howto_table): Deleted. (sparc_reloc_map): Deleted. (_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table. (bfd_elf64_bfd_reloc_type_lookup): Change from function to #define.
1996-02-06Rename XL to JX, and remove sanitization.Ian Lance Taylor3-36/+11
1996-02-06Rename XL to JX, and remove sanitization.Ian Lance Taylor5-96/+4
1996-02-06 * configure.host: Make SHLIB_CFLAGS include $(PICFLAG) on aIan Lance Taylor2-0/+4
*-*-hpux* host.
1996-02-06 * Makefile.in (program_transform_name): New variable.Ian Lance Taylor2-6/+14
(install): Transform library name before installing it.
1996-02-06 From Michael_Snyder@NeXT.COM (Michael Snyder):Steve Chamberlain1-0/+6
* valops.c (value_arg_coerce): Coerce float to double, unless the function prototype specifies float.
1996-02-05 * archures.c (bfd_mach_i960_hx): Define.Ian Lance Taylor5-42/+54
* bfd-in2.h: Rebuild. * cpu-i960.c (scan_960_mach): Accept machine "hx". (MATRIX): Expand entries for HX. (arch_info_struct): Add i960:hx entry. * bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx. * coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX. (coff_set_flags): Handle bfd_mach_i960_hx.
1996-02-05 * i960-dis.c (mem): Add HX dcinva instruction.Ian Lance Taylor1-0/+7
(reg): Add HX instructions. start-sanitize-i960xl The HX instructions are the XL instructions, so this just involves arranges for them to not be sanitized. end-sanitize-i960xl
1996-02-05 * config/tc-i960.c (ARCH_HX): Define.Ian Lance Taylor2-32/+66
(arch_tab): Add HX. (targ_has_sfr): Handle ARCH_HX. (targ_has_iclass): Handle ARCH_HX. (tc_coff_fix2rtype): Add return 0 to avoid warning. (tc_headers_hook): If the architecture was specified explicitly, use it when setting the flags. Set the extern variable coff_flags rather than headers->filehdr.f_flags, since the latter is set unconditionally in obj-coff.c. (i960_handle_align): Remove unused variable fixp.
1996-02-05 * i960.h (I_HX, I_HX2): Define.Ian Lance Taylor2-0/+519
start-sanitize-i960xl (I_XL): Remove. The HX supports all XL instructions. end-sanitize-i960xl (i960_opcodes): Add HX instructions.
1996-02-05 * i960.h (F_I960HX): Define.Ian Lance Taylor2-0/+257
1996-02-05tipoIan Lance Taylor2-2/+2
1996-02-05 * configure.in: If --enable-shared was used, set SET_LIB_PATH toIan Lance Taylor1-0/+9
$(REALLY_SET_LIB_PATH) in Makefile. * Makefile.in (SET_LIB_PATH): New variable. (REALLY_SET_LIB_PATH): New variable. ($(DO_X)): Use $(SET_LIB_PATH). (install.all, gcc-no-fixedincludes, $(ALL_MODULES)): Likewise. ($(NATIVE_CHECK_MODULES), $(CROSS_CHECK_MODULES)): Likewise. ($(INSTALL_MODULES), $(CONFIGURE_TARGET_MODULES)): Likewise. ($(ALL_TARGET_MODULES), $(CHECK_TARGET_MODULES)): Likewise. ($(INSTALL_TARGET_MODULES), $(ALL_X11_MODULES)): Likewise. ($(CHECK_X11_MODULES), $(INSTALL_X11_MODULES)): Likewise. (all-gcc, all-bootstrap, check-gcc, install-gcc): Likewise. (install-dosrel): Likewise. (all-opcodes): Depend upon all-libiberty.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor2-2/+11
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * Makefile.in (LIBDEPS): New variable. (LIBS): Use -L../bfd -lbfd. (gprof): Depend upon $(LIBDEPS) rather than $(LIBS).
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+19
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Set OPCODES and BFD to search directories. Substitute OPCODES_DEP and BFDDEP. On SunOS, set HLDFLAGS. * configure: Rebuild. * Makefile.in (LDFLAGS, HLDFLAGS): New variables. (LIBDEPS): New variable. (as.new0: Depend upon $(LIBDEPS) rather than $(LIBS). Use $(HLDFLAGS) in link. (check): Set LD_LIBRARY_PATH in the environment.
1996-02-05 Support for building bfd and opcodes as shared libraries, based onIan Lance Taylor1-0/+22
patches from Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in (HLDFLAGS): New substitution. * configure: Rebuild. * configure.host: Set HLDFLAGS on SunOS. * Makefile.in (HLDFLAGS): New variable. (BFDDEP): New variable. (BFDLIB): Change to -L../bfd -lbfd. ($(LD_PROG)): Depend upon $(BFDDEP) rathern than $(BFDLIB). Use $(HLDFLAGS) in link. (check): Set LD_LIBRARY_PATH in the environment.
1996-02-05 Support for building as a shared library, based on patches fromIan Lance Taylor4-27/+244
Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS, COMMON_SHLIB, SHLINK. * configure: Rebuild. * Makefile.in (ALLLIBS): New variable. (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. (COMMON_SHLIB, SHLINK): New variables. (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. (STAGESTUFF): Remove variable. (all): Depend upon $(ALLLIBS) rather than $(TARGETLIB). (stamp-piclist, piclist): New targets. ($(SHLIB), $(SHLINK)): New targets. ($(OFILES)): Depend upon stamp-picdir. (disassemble.o): Build twice if PICFLAG is set. (MOSTLYCLEAN): Add pic/*.o. (clean): Remove $(SHLIB), $(SHLINK), piclist, and stamp-piclist. (distclean): Remove pic and stamp-picdir. (install): Install shared libraries. (stamp-picdir): New target.
1996-02-05 Support for building as a shared library, based on patches fromIan Lance Taylor5-65/+341
Alan Modra <alan@spri.levels.unisa.edu.au>: * configure.in: Add AC_ARG_ENABLE for shared and commonbfdlib. New substitutions: ALLLIBS, PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS, COMMON_SHLIB, PICLIST, SHLINK. * configure: Rebuild. * configure.host: If --enable-shared, adjust shared library stuff based on the host. If the host is SunOS, and the linker supports -rpath, set HLDFLAGS to use it. * Makefile.in (ALLLIBS): New variable. (PICFLAG, SHLIB, SHLIB_CC, SHLIB_CFLAGS): New variables. (COMMON_SHLIB, SHLINK): New variables. (.c.o): If PICFLAG is set, compile twice, once PIC, once normal. (STAGESTUFF): Remove variable. (all): Depend upon $(ALLLIBS) and @PICLIST@ rather than $(TARGETLIB). (stamp-ofiles): New target, like old ofiles target, but build using a temporary file and move-if-change, and touch stamp-ofiles when done. (ofiles): Just depend upon stamp-ofiles. (stamp-piclist, piclist): New targets. ($(SHLIB), $(SHLINK)): New targets. (targets.o, archures.o): Build twice if PICFLAG is set. (do_mostlyclean): Remove pic/*.o. (do_clean): Remove stamp-ofiles, $(SHLIB), $(SHLINK), piclist, and stamp-piclist. (do_distclean): Remove pic and stamp-picdir. (install): Install shared libraries. ($(OFILES)): Depend upon stamp-picdir. (stamp-picdir): New target.
1996-02-05 * language.c (set_language_command): Use languages table whenTom Tromey2-17/+38
printing available languages.
1996-02-05 * libcoff-in.h: Add comment reminding people that libcoff.h is aIan Lance Taylor1-0/+4
generated file. * libcoff.h: Rebuild.
1996-02-05 * elf32-mips.c (mips_elf_create_dynamic_sections): ClearIan Lance Taylor1-0/+27
ELF_LINK_NON_ELF flag. (mips_elf_create_got_section): Likewise. * elf.c: Revert last change, since it breaks dynamic linking. * elf-bfd.h (struct elf_backend_data): Remove want_hdr_in_seg field. * elf32-mips.c (elf_backend_want_hdr_in_seg): Don't define. * elfxx-target.h (elf_backend_want_hdr_in_seg): Don't define. (elfNN_bed): Don't initialize want_hdr_in_seg field.
1996-02-05 * elflink.h (elf_adjust_dynamic_symbol): Don't try to get theIan Lance Taylor1-2/+3
flavour of a section with no owner.
1996-02-04 * coffcode.h: Move today's libcoff.h change into coffcode.h.Ian Lance Taylor1-3/+7
1996-02-03 * libcoff.h (bfd_coff_link_add_one_symbol): Combine macro args back intoFred Fish2-2/+7
one line. Some compilers (sunos 4.1.3 for example) won't accept args split across more than one line.
1996-02-03 * command.c (add_cmd): Add missing initialization for enums member.Fred Fish1-8/+9
Reorder members to match structure declaration to make it easier to tell when one is missing.
1996-02-03 * exec.c (exec_file_command): Fix problem reported by Hans VerkuilFred Fish1-0/+6
(hans@wyst.hobby.nl) where filename in malloc'd memory is referenced after being freed.
1996-02-03Winsup needs libibertyMichael Meissner1-0/+4
1996-02-03 * dwarfread.c (read_func_scope): Avoid GDB core dumps ifPeter Schauer4-3/+37
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.
1996-02-03Move .sdata2/.sbss2 into read-only sectionMichael Meissner1-10/+42
1996-02-02Fix typoMichael Meissner2-1/+5
1996-02-02 * configure: Regenerate.Ian Lance Taylor2-0/+8
1996-02-02 Spell off correctly.Steve Chamberlain1-1/+1
1996-02-02 * win32-nat.c (mappings): Add ppc registers.Steve Chamberlain2-3/+97
(child_resume): Turn of step for ppc.
1996-02-02 * aclocal.m4 (BFD_BINARY_FOPEN): Understand cygwin32.Steve Chamberlain1-0/+5
* configure: Regenerate.
1996-02-02 * elf32-hppa.c (elf32_hppa_backend_symbol_table_processing): Don'tJeff Law1-0/+5
try to do arithmetic on a void *, cast it to a unsigned char * first. Some solaris compilers don't like void * arithmetic.
1996-02-02Fri Feb 2 14:09:25 1996 Alan Modra <alan@spri.levels.unisa.edu.au>Ian Lance Taylor1-0/+4
* Makefile.in (INSTALL_XFORM): Remove -e.
1996-02-02 * write.c (write_relocs): Use S_IS_DEFINED and S_IS_COMMON ratherIan Lance Taylor3-0/+50
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.
1996-02-02 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).Jeff Law2-17/+72
Load libgloss.exp.
1996-02-02 * gdb.disasm/hppa.exp: Compile directly into an executable, useJeff Law1-0/+5
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).
1996-02-02Changes to configure.in so that -gm-magic targets won't build libglossGeoffrey Noer2-0/+12
anymore.
1996-02-01 * mpw-mh-mpw (CC_MWC68K): Add options similar to those usedStan Shebs1-3/+15
in CC_MWCPPC, and -mc68020 -model far. (AR_MWLINK68K): Add -xm library. (AR_AR): Define. (CC_LD_MWLINK68K): Remove -d. (EXTRALIBS_MWC68K): Define.