OpenBSD CVS

CVS log for src/lib/csu/crtendS.c


[BACK] Up to [local] / src / lib / csu

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 21 00:45:13 2017 UTC (7 years, 4 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, HEAD
Changes since 1.9: +4 -8 lines
Diff to previous 1.9 (colored)

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 1.9 / (download) - annotate - [select for diffs], Sat Apr 4 18:05:05 2015 UTC (9 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.8: +1 -3 lines
Diff to previous 1.8 (colored)

gcc 2.x is dead

ok millert@

Revision 1.8 / (download) - annotate - [select for diffs], Wed Dec 5 23:19:57 2012 UTC (11 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 1 11:32:43 2010 UTC (14 years, 1 month ago) by kettenis
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

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@

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 13 20:15:24 2009 UTC (15 years, 2 months ago) by kurt
Branch: MAIN
Changes since 1.5: +6 -1 lines
Diff to previous 1.5 (colored)

Add gcj java class registration hooks for gcc3 elf archs. From NetBSD
with minor differences.

okay kettenis@ drahn@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 26 20:04:11 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.4: +0 -0 lines
Diff to previous 1.4 (colored)

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@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 26 20:00:37 2004 UTC (20 years, 4 months ago) by espie
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

small clean-up: typedef to desambiguate const, prototypes...

ok drahn@, some time ago.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jan 8 14:59:15 2004 UTC (20 years, 5 months ago) by drahn
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

__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@

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:20 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

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.

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 28 21:38:13 2001 UTC (23 years ago) by drahn
Branch: MAIN

Commonize csu code for elf systems, powerpc now no longer has it's own
versions of these files.

Fixed a bug in ld.so in this, instead of scheduling the fini of each of
the shared libraries with atexit. schedule a function of ld.so itself
and it will walk all of the open libraries when the program exits.
otherwise a shared library could be dl_open()ed and then dl_close()d
and then it would not be mapped for the atexit processing.

TODO:
What if atexit is not found (process did not link against libc?)
Do shared libraries that are dl_closed have their global destructors run?

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.