From 2e6f61b9bc4b79676aea878a65084b3ff6d0b744 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 28 Feb 2002 19:45:34 +0000 Subject: [PATCH] Minor style(9) nit + utilize ELF features for the FreeBSD ID. --- lib/csu/sparc64/crt1.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/csu/sparc64/crt1.c b/lib/csu/sparc64/crt1.c index a2e94a3ace1..23dc06260c1 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 -__FBSDID("$FreeBSD$"); +__asm__(".ident\t\"$FreeBSD$\"");