summaryrefslogtreecommitdiffstats
path: root/lib/csu/arm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/arm')
-rw-r--r--lib/csu/arm/crt1.c6
-rw-r--r--lib/csu/arm/crtn.S1
2 files changed, 4 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$\"");
diff --git a/lib/csu/arm/crtn.S b/lib/csu/arm/crtn.S
index d148b1e..962f0ed 100644
--- a/lib/csu/arm/crtn.S
+++ b/lib/csu/arm/crtn.S
@@ -1,5 +1,6 @@
#include <machine/asm.h>
__FBSDID("$FreeBSD$");
+
.section .init,"ax",%progbits
ldmea fp, {fp, sp, pc}
mov pc, lr
OpenPOWER on IntegriCloud