summaryrefslogtreecommitdiffstats
path: root/lib/csu/powerpc64
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csu/powerpc64')
-rw-r--r--lib/csu/powerpc64/crt1.c5
-rw-r--r--lib/csu/powerpc64/crti.S8
-rw-r--r--lib/csu/powerpc64/crtn.S7
3 files changed, 10 insertions, 10 deletions
diff --git a/lib/csu/powerpc64/crt1.c b/lib/csu/powerpc64/crt1.c
index 080691c..080bd4d 100644
--- a/lib/csu/powerpc64/crt1.c
+++ b/lib/csu/powerpc64/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"
@@ -119,5 +122,3 @@ __asm__(".text");
__asm__("eprol:");
__asm__(".previous");
#endif
-
-__asm__(".ident\t\"$FreeBSD$\"");
diff --git a/lib/csu/powerpc64/crti.S b/lib/csu/powerpc64/crti.S
index 4118765..edca7ba 100644
--- a/lib/csu/powerpc64/crti.S
+++ b/lib/csu/powerpc64/crti.S
@@ -22,7 +22,10 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
+
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
+
.section .init,"ax",@progbits
.align 2
.globl _init
@@ -56,6 +59,3 @@ _fini:
stdu 1,-48(1)
mflr 0
std 0,64(1)
-
- .section .rodata
-.ascii "$FreeBSD$\0"
diff --git a/lib/csu/powerpc64/crtn.S b/lib/csu/powerpc64/crtn.S
index 42ca083..c62f913 100644
--- a/lib/csu/powerpc64/crtn.S
+++ b/lib/csu/powerpc64/crtn.S
@@ -23,6 +23,9 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$");
+
.section .init,"ax",@progbits
ld %r1,0(%r1)
ld 0,16(%r1)
@@ -35,7 +38,3 @@
ld 0,16(%r1)
mtlr 0
blr
-
-
- .section .rodata
-.ascii "$FreeBSD$\0"
OpenPOWER on IntegriCloud