summaryrefslogtreecommitdiffstats
path: root/lib/csu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-28 19:45:34 +0000
committerobrien <obrien@FreeBSD.org>2002-02-28 19:45:34 +0000
commit88a86c89ad07543adcab11ddd43fae045eb38249 (patch)
tree8e21ebc61174657aee97c0d6f956eae79fc92f6a /lib/csu
parent4ac9e16668da661dd1ff3e813544887a31af82c1 (diff)
downloadFreeBSD-src-88a86c89ad07543adcab11ddd43fae045eb38249.zip
FreeBSD-src-88a86c89ad07543adcab11ddd43fae045eb38249.tar.gz
Minor style(9) nit + utilize ELF features for the FreeBSD ID.
Diffstat (limited to 'lib/csu')
-rw-r--r--lib/csu/sparc64/crt1.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c
index a2e94a3..23dc062 100644
--- a/lib/csu/sparc64/crt1.c
+++ b/lib/csu/sparc64/crt1.c
@@ -90,7 +90,7 @@ _start(char **ap,
argv = ap + 1;
env = ap + 2 + argc;
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++)
@@ -132,8 +132,4 @@ __asm__("eprol:");
__asm__(".previous");
#endif
-/*
- * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text.
- */
-#include <sys/cdefs.h>
-__FBSDID("$FreeBSD$");
+__asm__(".ident\t\"$FreeBSD$\"");
OpenPOWER on IntegriCloud