Commit Graph

363 Commits

Author SHA1 Message Date
matt 78172bb22d This now works for a.out using no-pic. Eg. back to where I started from. 2000-12-29 03:40:27 +00:00
matt 2b22fba4b0 Pick up a change from gcc-current. For those targets without call or
call_value, use call_pop and call_value_pop.  (this is needed for vax)
2000-12-29 03:39:14 +00:00
matt d1ff29768d Add a few more cases to print_operand_address (and be more helpful on aborts). 2000-12-28 05:29:25 +00:00
matt c30c93b03c Add legitimize_pic_address and the netbsd-elf.h for ELF support. 2000-12-22 16:48:36 +00:00
matt 5b49016829 Add half-pic mode. Default to half-pic mode. 2000-12-22 16:37:37 +00:00
matt 4241925fa2 More merging. Move GO_IF_LEGITIMATE_ADDRESS stuff into vax.c from vax.h.
Extend it to properly deal with indirect and indexed addressing modes.
Add preliminary PIC support.
2000-12-22 06:16:45 +00:00
matt a9c4c35371 Merge in 1st layer of ELF differences. This is a just a cleanup. No ELF
specific changes.
2000-12-22 04:59:35 +00:00
wiz 779cdb4e70 Improve error output if executable file format isn't recognized. 2000-11-28 18:44:46 +00:00
mrg 77b1d2266f #include <elfos.h> only for i386 compiler for now -- it causes lossage
in other ports and is required only there (for now).
2000-10-29 12:21:14 +00:00
mrg 9b051e142a restore the contents of this file so that the g77 texi builds. 2000-10-26 03:59:28 +00:00
mycroft fa3aaf6d8b Modify LIB_SPEC and LIBGCC_SPEC so that -lc and -lgcc are not included when
-shared or -symbolic (as on other platforms).  Also, override LIBGCC_SPEC for
all platforms (where it would incorrectly include the .a file explicitly on
some).
This should fix Mozilla on macppc.
2000-10-23 13:19:35 +00:00
bjh21 2307f87106 We only need one version of cons_fix_new_arm() -- merge them. 2000-10-22 11:44:56 +00:00
eeh b555818569 Add _rtld_debug_state to the list of symbols where GDB may stop the
dynamic linker.
2000-09-25 17:10:28 +00:00
mrg 4da440af9a make this work for i386-netbsdelf. most of this work is based on patches
from thorpej that includes a rewrite of the config/i386/netbsd-elf.h file.
2000-09-14 03:56:04 +00:00
mrg 0dc7000eaa - define SPARC_BI_ARCH
- move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to -D__sparc64__
- copy and modify many SPARC_BI_ARCH `specs' from <sparc/sol2-sld-64.h>.
  these currently look for 32 bit things in /emul/netbsd32, but this is
  temporary


with these changes, i can succesfully build working 32 bit binaries on
a 64 bit system, as long as libgcc, *crt*.o and necessary libraries
exist under /emul/netbsd32.
2000-08-31 14:14:32 +00:00
mrg e486a9a452 - move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to "-D__sparc", preserving old CPP_PREDEFINES
  semantics.
2000-08-31 14:10:09 +00:00
mrg 1148c9223a - add missing %(asm_arch) to ASM_SPEC
- merge <netbsd.h> & <sparc/sparc.h> CPP_SPEC's.
- move CPP_PREDEFINES here from the 32bit/64bit configurations.
2000-08-31 14:08:02 +00:00
tv 09c7751d41 Put vax in the "nbsd" emulation. 2000-08-22 17:41:24 +00:00
tv 35db5d3725 Re-add TARGET_SYMBOL_FIELDS until this is redone correctly using
TC_SYMFIELD_TYPE.
2000-08-22 17:39:43 +00:00
tv b3e56e61e9 Add some compatibility vectors to allow objdump'ing and objcopy'ing of
formats used by COMPAT_ emulations.
2000-08-20 18:01:51 +00:00
tv 0ed3ab1dff Add vaxnetbsd_vec. 2000-08-20 17:58:17 +00:00
tv 83b3d9e356 Add netbsdaout.lo to i386netbsd_vec. 2000-08-18 18:28:13 +00:00
tv 7869cbfce2 plt_offset->plt.offset fix 2000-08-18 18:21:29 +00:00
tv 64dfdf4c5c Add definition for mipselnetbsd_vec. 2000-08-18 18:20:42 +00:00
eeh 99150af770 Fix `call'. This can panic the kernel due to an unhandled FPU exception. 2000-08-18 18:14:09 +00:00
tv f5781c1805 Add some more targ_extra_emuls. 2000-08-18 17:40:34 +00:00
tv 9ef2ad5184 Define SET_ARCH_MACH only if not already set. 2000-08-18 16:54:23 +00:00
tv b30f55f2f3 Add other-endian mips emulations and sparc32 on sparc64 for target_extra_emuls. 2000-08-18 16:50:09 +00:00
tv 0a7caaf76f Revert changes caused by running autoconf in this directory; leave only the
NetBSD additions (makes future import merges much easier).
2000-08-18 16:18:45 +00:00
tv 4a00eaa0a3 Fix const warnings surrounding bfd_target_vector. 2000-08-18 15:58:57 +00:00
mrg 2d76e7037d in define_split, only check "reload_completed", removing the bogus 64-bit
and FPU checks that caused compile failures for no good reason.
from: <root@ihack.net>
2000-08-18 15:45:28 +00:00
tv a516c80d78 Add a hack to force HOST_WIDE_INT to "long long" if the target is alpha or
sparc64 and the host is using gcc.
2000-08-18 12:56:30 +00:00
mrg 80e98bec22 pull across a patch from gcc-current that fixes ~90% of the sparc64 compile
problems:

        * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
2000-08-17 04:01:30 +00:00
mrg 9ee127a42c back out previous, and do it properly:
copy the ASM_OUTPUT_CONSTRUCTOR and ASM_OUTPUT_DESTRUCTOR defines from
sol2-sld-64.h.
2000-08-11 03:31:41 +00:00
mrg 239844c32c if TARGET_CPU_DEFAULT is TARGET_CPU_v9 or TARGET_CPU_ultrasparc, define
ASM_LONG to be ".xword".  this makes C++ global ctors and dtors work
on the sparc64.  noted by mycroft.
2000-08-11 03:13:32 +00:00
tv 3f6d813859 Merge change from gnu/dist/gcc/objc: don't put absolute relocs in ro-data
if compiling PIC, else RRS text relocs will be generated.
2000-08-10 21:06:50 +00:00
tv 6e4a918853 Merge changes from gnu/dist/ld. 2000-08-10 20:41:51 +00:00
tv cbef3ca9f3 Merge changes from gnu/dist/binutils. 2000-08-10 19:53:54 +00:00
tv 9af6ca142f Update to 2.10's definition of undefined_symbol(). 2000-08-10 19:33:02 +00:00
tv 2fe7204081 Recanonicalize ELF hosts (that were formerly a.out) uniformly:
ARCH-unknown-netbsdelfVERSION
ELF hosts that started that way are not changed.
2000-08-10 19:02:56 +00:00
tv 874ca5d37d Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:32 +00:00
tv 3a56a942e3 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:31 +00:00
tv d977b907c5 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:29 +00:00
tv 48e789cc92 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:28 +00:00
tv cc17a82660 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:26 +00:00
tv 78bd242fd9 Merge changes from (binutils 2.9.1-based) gnu/dist/bfd. 2000-08-10 17:36:49 +00:00
tv fc02cabeaf Merge from src/gnu/dist. Add armv2 and mipseb, and eliminate old `netbsd386'
shorthand alias.
2000-08-10 15:46:35 +00:00
tv 78da8a8e6b More compatible yet: sysctl used to be in /usr/sbin, not /sbin, so add both
locations to $PATH before trying to run sysctl.
2000-08-10 14:57:22 +00:00
tv 8b87324ac7 Merge the MACHINE_ARCH logic from gnu/dist/config.guess, but do this in
a backwards-compatible way (prefer uname -p, but fall back to
/sbin/sysctl -n hw.machine_arch).
2000-08-10 14:54:34 +00:00
tv 339b9c00a1 Merge from gnu/dist/include. 2000-08-10 13:52:05 +00:00
mrg b6328d2c74 redefine LINK_SPEC properly. 2000-08-08 14:29:17 +00:00
mrg 491b443ab4 #define NETBSD_ELF 2000-08-08 14:28:13 +00:00
eeh 19b86fa1f6 Make gmon work a bit on sparcv9 machines. 2000-08-03 21:42:01 +00:00
eeh c018ba7889 Add sparc64-*-netbsd support. 2000-08-02 21:00:31 +00:00
tv 45a5f2e009 Remove conflicting definition for "make_temp_file" now found in libiberty. 2000-07-28 01:10:32 +00:00
tv 12b2c44a51 Use the libiberty from binutils; it is much newer and required by binutils. 2000-07-28 01:09:12 +00:00
mrg 9f3da9fc1b add sparc64-netbsd & sparc-netbsdelf support (from me via binutils-current) 2000-07-26 16:35:12 +00:00
mrg e9a5e01d04 support all sparc targets (from me via binutils-current) 2000-07-26 16:32:57 +00:00
mrg e1575802a6 add sparc64-netbsd support (from me via binutils-current) 2000-07-26 16:30:56 +00:00
mrg 1600ba0055 - pull across the new gcc/config/netbsd.h
- pull across the sparc-netbsdelf and sparc64-netbsd targets
2000-07-26 16:28:04 +00:00
tv 3129068ae5 Import of gdb 5.0 into new gnu/dist/toolchain layout. 2000-07-26 00:32:27 +00:00
tv 1de46e6cd7 Import of binutils 2.10 into new gnu/dist/toolchain layout. 2000-07-26 00:22:40 +00:00
tv dc36174cbd Import of gcc 2.95.2 into new gnu/dist/toolchain layout. 2000-07-26 00:17:09 +00:00