thorpej
f343e6c086
If EXTERNAL_TOOLCHAIN is defined, don't build crtbegin/crtend.
2002-11-26 19:27:09 +00:00
thorpej
6dba3a7439
Split crtbegin/crtend into crti/crtbegin/crtend/crtn. NetBSD-specific
...
things like the .note.netbsd.ident section are provided by crti/crtn.
crti/crtn also provide the _init() and _fini() routines.
crtbegin/crtend now only provide support for ctors/dtors. This paves
the way to using the "crtstuff" provided with GCC (when we upgrade to
GCC 3.3), which provides, among other things, much better C++/Java
exception handling.
2002-11-22 06:44:56 +00:00
lukem
ebb6fc9eb8
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
...
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
fvdl
e8d64f072a
-x is too heavy-handed for removing symbols; newer versions of GNU ld
...
will completely delete empty local symbols with it. Use -X instead
for crt{begin,end}*.o, to keep init_fallthru hacks.
2002-06-06 19:17:01 +00:00
thorpej
6249662a70
Deal better with platforms that don't yet support shared libraries:
...
* Only add -fPIC if MKPIC != no.
* Only build crtbeginS and crtendS if MKPIC != no.
2002-05-05 00:45:31 +00:00
thorpej
179139677a
All ELF toolchains are of the "new toolchain" variety now, so no need
...
to conditionalize use of .hidden symbols anymore.
2002-05-05 00:34:00 +00:00
thorpej
caaec27cfe
* Use += to assign OBJS so that machine-dependent Makefiles can
...
add their own objects to the list.
* Garbage-collect an unneeded CLEANFILES assignment.
2002-01-13 19:59:26 +00:00
thorpej
d8abc59932
Add support for invoking GNU C++ local destructors in shared objects
...
via the __cxa_finalize() mechanism.
XXX Only enabled for new-toolchain platforms, as it requires the assembler
to support the .hidden pseudo-op.
2001-12-31 00:40:11 +00:00
thorpej
a50163af65
Build separate crt{begin,end}.o and crt{begin,end}S.o files, rather
...
than linking them at install time. Forthcoming changes require different
behavior for static vs. shared object versions of these files.
2001-12-31 00:11:13 +00:00
thorpej
c41160abff
Add support for registering Java classes emitted by the Java compiler
...
(e.g. the Java compiler in GCC 3.x) into the ".jcr" section.
2001-12-30 23:45:00 +00:00
lukem
65469e54b3
pull in ../../Makefile.inc
2001-11-05 15:11:40 +00:00
thorpej
102df4197d
Enable DWARF2 EH support. Confirmed working w/ GCC 2.95.3 on sparc
...
and i386.
2001-08-03 14:26:13 +00:00
thorpej
a6855eea24
Add support for DWARF2 frame unwinding/exception handling. This
...
should be sufficient for GCC 2.95.3, and probably GCC 3.0 as well.
Not yet enabled by default; further testing required.
2001-08-03 05:54:43 +00:00
mrg
f59b9e737f
set FILESDIR to "${LIBDIR}", not hard coded /usr/lib.
2001-06-07 15:22:49 +00:00
fredette
872a39428c
Don't compile with -fPIC when MACHINE_ARCH is m68000.
2001-05-17 21:17:02 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
mycroft
c29a577031
Adjust for .mk file changes.
2000-01-22 19:37:57 +00:00
simonb
45c86b888b
Instead of rolling our own "install" target, use FILES/FILESDIR and
...
LINKS to that things like "make install UPDATE=" work properly.
1999-04-03 16:39:31 +00:00
tsubai
5f1a262044
Fix typo. (COPT --> COPTS)
1999-04-02 12:09:44 +00:00
thorpej
cb3c96c11e
Pull together common Makefile fragments for ELF crt0 files, and use it
...
across the board.
1999-03-20 00:32:40 +00:00