summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm/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/arm/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/arm/crt1.c')
-rw-r--r--lib/csu/arm/crt1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csu/arm/crt1.c b/lib/csu/arm/crt1.c
index 4319f17..f2d4dbf 100644
--- a/lib/csu/arm/crt1.c
+++ b/lib/csu/arm/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"
@@ -49,7 +52,6 @@
#include "libc_private.h"
#include "crtbrand.c"
-#include <machine/asm.h>
struct Struct_Obj_Entry;
struct ps_strings;
@@ -136,5 +138,3 @@ __asm__(".text");
__asm__("eprol:");
__asm__(".previous");
#endif
-
-__asm__(".ident\t\"$FreeBSD$\"");
OpenPOWER on IntegriCloud