diff options
Diffstat (limited to 'lib/csu/i386-elf')
-rw-r--r-- | lib/csu/i386-elf/crt1.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/csu/i386-elf/crt1.c b/lib/csu/i386-elf/crt1.c index ad1d25f..60ca5b5 100644 --- a/lib/csu/i386-elf/crt1.c +++ b/lib/csu/i386-elf/crt1.c @@ -21,8 +21,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ #ifndef __GNUC__ @@ -74,7 +72,7 @@ _start(char *arguments, ...) argc = * (int *) (argv - 1); env = argv + argc + 1; environ = env; - if(argc > 0 && argv[0] != NULL) { + if (argc > 0 && argv[0] != NULL) { char *s; __progname = argv[0]; for (s = __progname; *s != '\0'; s++) @@ -82,7 +80,7 @@ _start(char *arguments, ...) __progname = s + 1; } - if(&_DYNAMIC != NULL) + if (&_DYNAMIC != NULL) atexit(rtld_cleanup); #ifdef GCRT @@ -101,3 +99,5 @@ __asm__(".text"); __asm__("eprol:"); __asm__(".previous"); #endif + +__asm__(".ident\t\"$FreeBSD$\""); |