Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.12 |
|
21-Jan-2017 |
guenther |
Declare the symbols that label the .ctors, .dtors, .eh_frame, and .jcr sections as extern hidden arrays of indefinite size, so that the compiler (well, clang) doesn't believe it knows the exact contents and thus optimize things into infinite loops. Actually set the symbols to be in the sections and insert the leading and trailing values via __asm().
Problem pointed out by patrick@ testing and ok kettenis@
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.11 |
|
04-Apr-2015 |
guenther |
gcc 2.x is dead
ok millert@
|
Revision tags: OPENBSD_5_7_BASE
|
#
1.10 |
|
05-Dec-2012 |
deraadt |
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
|
#
1.9 |
|
01-May-2010 |
kettenis |
Sprinkle a few __used markers to prevent gcc4 from throwing away essential bits of code and data. With this change gcc4 builds usable crt*.o on sparc64, other architectures probably need some more love.
ok marco@, jsg@
|
#
1.8 |
|
14-Jul-2009 |
jsg |
Don't specify mode(SI) attribute for __EH_FRAME_END__ as we have 32 bit ints on OpenBSD.
ok kettenis@
|
#
1.7 |
|
13-Apr-2009 |
kurt |
Add gcj java class registration hooks for gcc3 elf archs. From NetBSD with minor differences.
okay kettenis@ drahn@
|
#
1.6 |
|
10-Oct-2004 |
kettenis |
Add support for DWARF2 exception handling. ok drahn@, millert@
|
#
1.5 |
|
26-Jan-2004 |
espie |
add finalized guard to destructor calls, to prevent multiple calls. stop most kde apps from burping all over the place on exit, which means that, somehow, our destructors get registered twice... :-(
Okay drahn@
|
#
1.4 |
|
26-Jan-2004 |
espie |
small clean-up: typedef to desambiguate const, prototypes...
ok drahn@, some time ago.
|
#
1.3 |
|
08-Jan-2004 |
drahn |
__init/__fini handling on ELF has not been correct. It is supposed to be a section which code stubs (branches) can be added to initialize/destructor This adds MD stubs to allow this to operate as expected. should fix wine and behave according to ELF specs. ok miod@
|
#
1.2 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
#
1.1 |
|
03-Feb-2001 |
art |
Create a common_elf directory with crtbegin and crtend that can be shared between archs.
|