Commit Graph

1620 Commits

Author SHA1 Message Date
lukem
de69dc0df0 add port-{bebox,macppc,newsmips,pica} 1998-05-20 02:00:41 +00:00
tv
f5f26ced19 Enable building libbfd for arm32, and use new source files. 1998-05-19 19:59:58 +00:00
tv
3c4dfb6d80 Fix warning about improper escapes on line 12. 1998-05-19 19:11:56 +00:00
tv
2bfadb3e6f Add support for building gas from the GNU binutils (2.8.1 at the moment)
'dist' tree for NetBSD/arm32.  Other ports can follow as support is added
for each port.
1998-05-19 19:09:31 +00:00
tv
420329c722 Incorporate (machine dependent) code for support of NetBSD/arm32. 1998-05-19 18:53:19 +00:00
tv
8352e0b393 Remove automatically generated files. 1998-05-19 14:13:11 +00:00
pk
294ed94908 Optimize symbol/string table access slightly by precomputing their
locations at load time. These values don't change once the object is loaded.
1998-05-19 12:15:38 +00:00
tron
f9660e3cd5 Fix buffer overflow when forwarding jobs. 1998-05-14 07:31:25 +00:00
thorpej
a6fea1b57c Add -D__ELF__ to CPP_PREDEFINES (per the Other gcc) 1998-05-14 04:16:40 +00:00
simonb
3c372c50f6 Add __ELF__ to CPP_PREDEFINES for mips platforms. 1998-05-14 04:05:45 +00:00
thorpej
dd26162d11 Need <dlfcn.h> for Dl_info. 1998-05-14 01:55:28 +00:00
pk
d123bc84d4 Implement `dladdr()': find nearest symbol given an address. 1998-05-12 21:22:28 +00:00
pk
79bd77e1cc Add `dladdr()' rtld entry point. 1998-05-12 21:21:21 +00:00
enami
2e7b340a0c Use a name based on a target name instead of fixed one as a name of
intermediate file so that parallel make works.
1998-05-08 00:36:07 +00:00
mycroft
3ca8d744c9 Don't define MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:17:59 +00:00
mycroft
99a8464fa0 Nuke the previous, now that it's done elsewhere. 1998-05-07 04:17:13 +00:00
mycroft
52463c691f Set MD_EXEC_PREFIX and MD_STARTFILE_PREFIX here. 1998-05-07 04:15:07 +00:00
mycroft
147bf39e19 We don't want the MD_EXEC_PREFIX for SysV. 1998-05-07 03:55:58 +00:00
mycroft
6ce2d7641a This hasn't been fully ported to the PowerPC yet. 1998-05-07 00:31:51 +00:00
mycroft
7347e7b852 Use our own quad library instead. 1998-05-06 18:14:06 +00:00
mycroft
7a7f2e8ffe Just build all of libgcc2 where necessary. 1998-05-06 14:37:42 +00:00
mycroft
0b01550a65 Run gen-params to build _G_config.h at build time. 1998-05-06 11:59:09 +00:00
mycroft
c0de9013ee Fix a syntax error. 1998-05-06 11:22:07 +00:00
mycroft
d658d39cd3 Still more objects needs on PowerPC. 1998-05-06 10:55:11 +00:00
mycroft
3839bf6759 Need some additional objects for PowerPC. 1998-05-06 10:06:59 +00:00
mycroft
3229c8b030 Oops; need a LINK_SPEC here to override the entry point name. 1998-05-06 09:36:01 +00:00
mycroft
1125919631 Nuke USG and COLLECT_EXPORT_LIST. 1998-05-06 08:33:19 +00:00
mycroft
a931908bc3 Don't define TARGET_NAME here. 1998-05-06 07:49:00 +00:00
mycroft
1a0cf0dd24 Set TARGET_GNU_ARCH correctly for PowerPC. 1998-05-06 07:40:32 +00:00
mycroft
9875975e98 Fix typo. 1998-05-06 07:36:37 +00:00
thorpej
35f316a25e Need to pull in bsd.own.mk to get RCS_LOCALID from mk.conf 1998-05-04 19:52:16 +00:00
mycroft
a039a5720b Fix erroneous line breaks in LINK_SPEC. 1998-04-30 12:52:54 +00:00
mycroft
f9955a6ead Fix bizarreness with USE_COLLECT2 being overridden. 1998-04-30 10:41:55 +00:00
mycroft
3b1b451897 Regen. 1998-04-30 09:26:13 +00:00
mycroft
2eefd74d43 First pass at PowerPC support, and disable collect2 on all NetBSD platforms. 1998-04-30 09:21:47 +00:00
tv
d00ec01b00 Add Bernd Schmidt's fix for H.J.Lu's codegen bug as discussed on
egcs-bugs@cygnus.com.  This is in 1.1 (and we may have to update to 1.1
to gain many other fixes, unfortunately).
1998-04-28 13:53:53 +00:00
fair
dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
fair
c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
mycroft
c4c72f4c84 Move the previous into the i386-specific section. It needs to be done
differently on other ports.
1998-04-25 01:32:59 +00:00
mycroft
18e058d8ed Make sure PIC relocations go in a writable data section. 1998-04-24 21:11:09 +00:00
lukem
452fa57d8e most of the rcs tools have rcs' as the prefix, except rlog'.
so, for my sanity, add `rcslog' as an alternate name for `rlog'.
1998-04-20 14:16:01 +00:00
cgd
fea06d4c21 add back in the old NetBSD changes. Also, add in a PIC GOT
offset fix from the snapshot.
1998-04-19 01:05:27 +00:00
cgd
f502d8c9f4 sync with EGCS 1.0.2 1998-04-19 01:01:20 +00:00
cgd
51183f1bb3 re-import egcs 1.0.2 ARM bits. trying to use the snapshot's bits was a
nice idea, but caused more problems than it was worth.
1998-04-19 00:56:34 +00:00
cgd
92c6f02e55 consistency the rest of the NetBSD/arm32 toolchain: make TYPE_OPERAND_FMT
be "#%s".  This generates assembly consistent (w.r.t. .type directive)
with asm.h and what the existing compiler generates.  (The old definition
was "%%%s", and the assmbler choked on the %'s.)
1998-04-18 19:02:13 +00:00
ross
49e96f3b65 LP64 sweep to compile. Enable build in Makefile. 1998-04-18 00:48:18 +00:00
cgd
4a1dac1736 don't warn about PIC code being unsupported, because that always-warn
situation with -fpic will always break NetBSD builds (which use -Werror).
PIC code generation seems ... less than perfect, at this time; it still
aborts occasionally.
1998-04-18 00:39:43 +00:00
cgd
ce07f954d8 define SYS_SIGLIST_DECLARED in a way that's consistent with config.h 1998-04-18 00:37:33 +00:00
cgd
6a4f33b13a merge changes from 980411 snapshot import. a couple of macros got new
arguments, so mark them as XXX and make them compatible with 1.0.2.
1998-04-18 00:32:28 +00:00
cgd
39de2f4adb Import EGCS 980411 snapshot's gcc/config/arm bits. 1998-04-18 00:22:33 +00:00
thorpej
ef3c228075 Fix the definition of TARGET_VERSION. 1998-04-17 23:54:03 +00:00
thorpej
7f756d0c18 Rewrite this file (again). Copy the Linux Alpha config, and tweak it
to work with NetBSD.  Use as many NetBSD common definitions as possible.
1998-04-17 23:50:03 +00:00
ross
00e90d68da Descend into libexec on alpha, now that uucp will build. 1998-04-17 23:41:55 +00:00
ross
390112ef89 LP64 (64 bit) sweep to make these compile. 1998-04-17 23:39:29 +00:00
matthias
d3d91d4d63 ns32k specific changes for "our" gcc ported over to egcs by Ian Dall. 1998-04-17 19:41:18 +00:00
cgd
e3e48e335a undef ASM_WEAKEN_LABEL, because the NetBSD/arm32 assembler (or, at least
the one that I have) doesn't seem to do the right thing with weak
references, which causes libgcc c++ function lossage.
1998-04-17 18:24:12 +00:00
mrg
d8d4004939 pull over some things from the old gcc, and clean up. 1998-04-17 06:06:09 +00:00
mrg
6f7e681840 clean up slightly. 1998-04-17 06:05:42 +00:00
mrg
3b9f5eaac1 define HAVE_STRERROR to 1, not nothing. 1998-04-16 17:59:21 +00:00
mrg
ba821ac657 - include <alpha/elf.h> (though this is currently quite linux centric, we
can use it with a small tweak (see below).
- also define __ELF__
- GC some unnecessary defines.
- define a sane TARGET_VERSION macro.
- provide alpha/ELF ASM_SPEC and LINK_SPEC macros.

all from thorpej.
1998-04-16 17:58:23 +00:00
mrg
877072df9c - move a.out specific defines between (commented) #ifdef NETBSD_AOUT
- add ELF specific defines #ifdef NETBSD_ELF (from thorpej, via his
  alpha/netbsd.h).
1998-04-16 17:56:12 +00:00
tv
d2af5c2742 ARM32 fixes from cgd: GNU uses "arm", not "arm32" for the architecture;
missing backslash in netbsd.h; wrong prototype in arm.h.  Still not PIC
capable, yet.
1998-04-15 21:54:05 +00:00
tv
92ead71db5 Make the shlib work again. Missing symbols that the a.out ld didn't catch. 1998-04-15 11:51:54 +00:00
mrg
0ecb816bd6 rewrite <alpha/netbsd.h>. still does not quite work. 1998-04-15 08:19:26 +00:00
mrg
21431cfbea do not define MD_STARTFILE_PREFIX under NetBSD. 1998-04-15 01:53:13 +00:00
mrg
51b0ae9977 include <string.h> 1998-04-15 01:43:52 +00:00
cgd
c402844892 note bogon in the .y.cc rule which doesn't cause problems here, but
people should be aware of.
1998-04-14 20:30:27 +00:00
tv
ee34020134 Don't rebuild cc1 executables on PIC systems (which don't build a
libcc1.a, but do build a libc1_pic.a)
1998-04-12 20:40:21 +00:00
tv
24dc95d50d Add the .cc(.NULL) overrid used for libgcc 1998-04-12 14:18:41 +00:00
veego
7eff266c41 Add a cleandir target to the clean target. 1998-04-12 13:59:28 +00:00
tv
cd87299ab8 add NOLINT 1998-04-10 19:35:22 +00:00
tv
60961686a4 add do-nothing .cc(.NULL) extension rule to avoid trying to "build" new
and exception from new.cc and exception.cc
1998-04-10 15:05:48 +00:00
tv
09339bcf7b Fix fix for compiling under gcc 2.7. 1998-04-09 01:32:08 +00:00
tv
99a2626b0e Make use of NOSTATICLIB addition to <bsd.lib.mk> 1998-04-09 00:52:06 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv
263bb693f0 Make libstdc++ skip build without bombing if the bootstrap compiler is gcc
2.7 and not egcs.
1998-04-09 00:06:09 +00:00
tv
38aa1f3401 Build gcc stuff unless USE_EGCS is set (transitional mechanism) 1998-04-09 00:05:14 +00:00
tv
24d49e55a0 Some sources and includes missing, and stl includes install directly into
/usr/include/g++ (not /stl).
1998-04-08 23:39:05 +00:00
tv
ecf9876f28 Create shared library by default on non-NOPIC systems. Only install
the shared object, and only install anything on non-NOPIC systems.
1998-04-07 16:32:59 +00:00
tv
61b9cc76cf Remove the EGCS_BOOTSTRAP and only use the "smart check" 1998-04-07 13:18:36 +00:00
tv
aa9dc830d0 Add note that -nostdlib is passed to the linker. 1998-04-07 13:16:28 +00:00
fvdl
98712f00f0 If a good matching shared library is found, don't look in the next
directories. This is compatible with the SunOS behaviour. Also,
it fixes a problem where it was not possible for some 3rd party
package to have a library with the same name as a library already
in the system, and a lower version number. The highest version
would always be picked. This particular problem shows up with Mozilla,
which has a libutil.so.1.0
1998-04-04 01:00:29 +00:00
tv
07b4e86106 Reengineering of libf2c as a single library (which g77 expects). Includes
a GNU-like "config.h" to make the librare correctly compatible with
NetBSD.
1998-04-03 21:04:33 +00:00
tv
92af5566c0 Remove split libf2c, in preparation for a properly merged libf2c. 1998-04-03 16:32:27 +00:00
cgd
f85030ca1a frame.c should be counted among the libgcc2 c++ bits (the eh code needs it) 1998-04-03 06:58:16 +00:00
tv
de3cddeaa7 - make f771 work with CC1_SHLIB: move files that aren't actually "common"
and referencing externs in non-common code to the appropriate modules
- add -DLANG_SPECIFIC_DRIVER for g++ and g77 as required by a "GNU build"
- Cleanup: $() -> ${}
1998-04-03 02:20:28 +00:00
mycroft
111c2f97a8 Support higher baud rates. 1998-04-02 10:32:04 +00:00
mrg
5b01eeeebb reference file.y not file.c in make rules. this stops the need to set CLEANFILES. 1998-04-02 06:39:51 +00:00
mrg
0ef88905fc remove reference to unused variable. 1998-04-02 06:38:12 +00:00
mrg
bf19c67aea simplify .PATH: list, and remove a duplicate. 1998-04-02 06:33:31 +00:00
mrg
3ada186343 build a shared library, new major version from old. XXX 1998-04-02 05:56:34 +00:00
tv
9d94e1ae9d - Remove bi-reverse.c from ${SRCS} and put it in ${CLEANFILES}. Not used
by any cc1 module and breaks a shared libcc1.
- Add first shot at a shared library of libcc1, only turned on if
  CC1_SHLIB is set in make's environment.  Doesn't yet know how to install
  the library without installing the .a files.  This is much faster than
  you may think, and shares nearly 2MB worth of code between the cc1
  modules.
1998-04-02 03:33:31 +00:00
tv
25b53b4ba8 The FORTRAN compiler is also known as f77, not c77. 1998-04-02 01:11:06 +00:00
tv
3b83f521e3 Build libgcc either "full" or "stripped down" depending on whether the
building compiler is gcc 2.8/gcs or higher.
1998-04-01 22:34:33 +00:00
mrg
04a911135a delete dated commented stuff. 1998-04-01 21:51:26 +00:00
mrg
82c88169c3 add f771. 1998-04-01 21:45:05 +00:00
tv
3d2ef58a43 Cleanup of the previous fixes, and it all now compiles cleanly without
.PATH: hackage.
1998-04-01 21:13:24 +00:00
tv
b4719adbd8 Add make variable EGCS_BOOTSTRAP used to indicate if we're compiling
libgcc with egcs or with gcc 2.7 or lower.  When set, doesn't compile in
some C++ intrinsics that need builtins only in gcc/egcs 2.8.
1998-04-01 03:14:55 +00:00
tv
5ada55b10c Remove files automagically generated by yacc so they don't get picked up
by a .PATH: statement, and _will_ be generated.
1998-04-01 02:55:43 +00:00
tv
17130ff0d5 add __vfork14() compensation by including <unistd.h> as inspired by our
in-tree gcc.  make this special activity conditional on __NetBSD__.
1998-04-01 01:50:31 +00:00