diff options
-rw-r--r-- | lib/csu/alpha/crt1.c | 16 | ||||
-rw-r--r-- | lib/csu/alpha/crti.S | 8 | ||||
-rw-r--r-- | lib/csu/alpha/crtn.S | 8 |
3 files changed, 23 insertions, 9 deletions
diff --git a/lib/csu/alpha/crt1.c b/lib/csu/alpha/crt1.c index 40c0898..73ffe0a 100644 --- a/lib/csu/alpha/crt1.c +++ b/lib/csu/alpha/crt1.c @@ -1,4 +1,6 @@ -/*- +/* + * Copyright 2001 David E. O'Brien + * All rights reserved. * Copyright 1996-1998 John D. Polstra. * All rights reserved. * Copyright (c) 1995 Christopher G. Demetriou @@ -14,6 +16,8 @@ * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: + * This product includes software developed for the FreeBSD Project. + * See http://www.freebsd.org/ for information about FreeBSD. * This product includes software developed by Christopher G. Demetriou * for the NetBSD Project. * 4. The name of the author may not be used to endorse or promote products @@ -29,8 +33,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ #ifndef __GNUC__ @@ -102,3 +104,11 @@ __asm__(".text"); __asm__("eprol:"); __asm__(".previous"); #endif + +/* + * NOTE: Leave the RCS ID _after_ __start(), in case it gets placed in .text. + */ +#ifndef lint +static const char rcsid[] = + "$FreeBSD$"; +#endif diff --git a/lib/csu/alpha/crti.S b/lib/csu/alpha/crti.S index 3f58a0b..d26ce70 100644 --- a/lib/csu/alpha/crti.S +++ b/lib/csu/alpha/crti.S @@ -1,4 +1,4 @@ -/*- +/* * Copyright 2000 David O'Brien, John D. Polstra. * All rights reserved. * @@ -21,8 +21,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ .section .init,"ax",@progbits @@ -37,6 +35,7 @@ $_init..ng: mov $30,$15 .align 5 + .section .fini,"ax",@progbits .align 5 .globl _fini @@ -49,3 +48,6 @@ $_fini..ng: mov $30,$15 .align 5 + +.section .rodata + .ascii "$FreeBSD$\0" diff --git a/lib/csu/alpha/crtn.S b/lib/csu/alpha/crtn.S index 63024ff..d51120b 100644 --- a/lib/csu/alpha/crtn.S +++ b/lib/csu/alpha/crtn.S @@ -1,4 +1,4 @@ -/*- +/* * Copyright 2000 David O'Brien, John D. Polstra. * All rights reserved. * @@ -21,8 +21,6 @@ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * $FreeBSD$ */ .section .init,"ax",@progbits @@ -41,3 +39,7 @@ ldq $15,8($30) lda $30,16($30) ret $31,($26),1 + + +.section .rodata + .ascii "$FreeBSD$\0" |