summaryrefslogtreecommitdiffstats
path: root/lib/csu/powerpc/crt1.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2010-12-09 21:31:21 +0000
committerdim <dim@FreeBSD.org>2010-12-09 21:31:21 +0000
commit12dd9eb8e940c48f9fc30dbc137071b4fe5caead (patch)
tree96ac8370f6f90ce1b871c6c0926f956cf19ad8a4 /lib/csu/powerpc/crt1.c
parent3d43bf49cce8a92469a10d65a75094c9292d513d (diff)
downloadFreeBSD-src-12dd9eb8e940c48f9fc30dbc137071b4fe5caead.zip
FreeBSD-src-12dd9eb8e940c48f9fc30dbc137071b4fe5caead.tar.gz
Let all .c and .S files under lib/csu consistently use the __FBSDID()
macro for identification, instead of several different hand-rolled variants (plain .ident, .ascii, etc).
Diffstat (limited to 'lib/csu/powerpc/crt1.c')
-rw-r--r--lib/csu/powerpc/crt1.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c
index 3a2f6dd..67de2f5 100644
--- a/lib/csu/powerpc/crt1.c
+++ b/lib/csu/powerpc/crt1.c
@@ -39,6 +39,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#ifndef lint
#ifndef __GNUC__
#error "GCC is needed to compile this file"
@@ -120,5 +123,3 @@ __asm__(".text");
__asm__("eprol:");
__asm__(".previous");
#endif
-
-__asm__(".ident\t\"$FreeBSD$\"");
OpenPOWER on IntegriCloud