Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-06-16 22:51:10 +0400
committerJeff Johnston <jjohnstn@redhat.com>2008-06-16 22:51:10 +0400
commitb243d287e4b72277fbee525e454bf7c3a434ca55 (patch)
tree411e970e162b4b73b84bed764e5a5fe07e91490a /newlib
parent8ddb4e477e00ad8a96634b07a8a0c40dd2979440 (diff)
2008-06-16 Ken Werner <ken.werner@de.ibm.com>
* libc/machine/spu/mk_syscalls: Provide .type and .size directives in generated assembler files. * libc/machine/spu/fprintf.S: Regenerate. * libc/machine/spu/fscanf.S: Regenerate. * libc/machine/spu/printf.S: Regenerate. * libc/machine/spu/scanf.S: Regenerate. * libc/machine/spu/snprintf.S: Regenerate. * libc/machine/spu/sprintf.S: Regenerate. * libc/machine/spu/sscanf.S: Regenerate. * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type and .size directives. * libc/machine/spu/setjmp.S (setjmp): Likewise. (longjmp): Likewise.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog16
-rw-r--r--newlib/libc/machine/spu/fprintf.S2
-rw-r--r--newlib/libc/machine/spu/fscanf.S2
-rw-r--r--newlib/libc/machine/spu/mk_syscalls3
-rw-r--r--newlib/libc/machine/spu/printf.S2
-rw-r--r--newlib/libc/machine/spu/scanf.S2
-rw-r--r--newlib/libc/machine/spu/setjmp.S4
-rw-r--r--newlib/libc/machine/spu/snprintf.S2
-rw-r--r--newlib/libc/machine/spu/sprintf.S2
-rw-r--r--newlib/libc/machine/spu/sscanf.S2
-rw-r--r--newlib/libc/machine/spu/stack_reg_va.S4
11 files changed, 41 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 85bff9118..074d00569 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,19 @@
+2008-06-16 Ken Werner <ken.werner@de.ibm.com>
+
+ * libc/machine/spu/mk_syscalls: Provide .type and .size directives
+ in generated assembler files.
+ * libc/machine/spu/fprintf.S: Regenerate.
+ * libc/machine/spu/fscanf.S: Regenerate.
+ * libc/machine/spu/printf.S: Regenerate.
+ * libc/machine/spu/scanf.S: Regenerate.
+ * libc/machine/spu/snprintf.S: Regenerate.
+ * libc/machine/spu/sprintf.S: Regenerate.
+ * libc/machine/spu/sscanf.S: Regenerate.
+ * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
+ and .size directives.
+ * libc/machine/spu/setjmp.S (setjmp): Likewise.
+ (longjmp): Likewise.
+
2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/_default_types.h: Fix GNUC check to
diff --git a/newlib/libc/machine/spu/fprintf.S b/newlib/libc/machine/spu/fprintf.S
index ddd02550e..c4a3efa77 100644
--- a/newlib/libc/machine/spu/fprintf.S
+++ b/newlib/libc/machine/spu/fprintf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL fprintf
+ .type fprintf, @function
fprintf:
stqd $0, 16($sp) /* save caller address */
il $2, 2 /* number of fixed arguments */
@@ -53,3 +54,4 @@ fprintf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size fprintf, .-fprintf
diff --git a/newlib/libc/machine/spu/fscanf.S b/newlib/libc/machine/spu/fscanf.S
index 5b51e1dbe..e0d5f7fec 100644
--- a/newlib/libc/machine/spu/fscanf.S
+++ b/newlib/libc/machine/spu/fscanf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL fscanf
+ .type fscanf, @function
fscanf:
stqd $0, 16($sp) /* save caller address */
il $2, 2 /* number of fixed arguments */
@@ -53,3 +54,4 @@ fscanf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size fscanf, .-fscanf
diff --git a/newlib/libc/machine/spu/mk_syscalls b/newlib/libc/machine/spu/mk_syscalls
index db9ea9409..8ed87e5fa 100644
--- a/newlib/libc/machine/spu/mk_syscalls
+++ b/newlib/libc/machine/spu/mk_syscalls
@@ -69,6 +69,7 @@ while ($line = <DEFS>) {
print SOURCE " .text\n";
print SOURCE " .align 4\n";
print SOURCE " GLOBL ", $name, "\n";
+ print SOURCE " .type ", $name, ", \@function\n";
print SOURCE $name, ":\n";
print SOURCE " stqd \$0, 16(\$sp) \/\* save caller address \*\/\n";
@@ -93,6 +94,8 @@ while ($line = <DEFS>) {
print SOURCE " lqd \$0, 16(\$sp) \/\* load caller address \*\/\n";
print SOURCE " bi \$0 \/\* return to caller \*\/\n";
+ print SOURCE " .size ", $name, ", .-", $name, "\n";
+
close(SOURCE);
}
diff --git a/newlib/libc/machine/spu/printf.S b/newlib/libc/machine/spu/printf.S
index 36feaf7aa..d4485c93a 100644
--- a/newlib/libc/machine/spu/printf.S
+++ b/newlib/libc/machine/spu/printf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL printf
+ .type printf, @function
printf:
stqd $0, 16($sp) /* save caller address */
il $2, 1 /* number of fixed arguments */
@@ -47,3 +48,4 @@ printf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size printf, .-printf
diff --git a/newlib/libc/machine/spu/scanf.S b/newlib/libc/machine/spu/scanf.S
index f547d8ecf..040065868 100644
--- a/newlib/libc/machine/spu/scanf.S
+++ b/newlib/libc/machine/spu/scanf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL scanf
+ .type scanf, @function
scanf:
stqd $0, 16($sp) /* save caller address */
il $2, 1 /* number of fixed arguments */
@@ -47,3 +48,4 @@ scanf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size scanf, .-scanf
diff --git a/newlib/libc/machine/spu/setjmp.S b/newlib/libc/machine/spu/setjmp.S
index dfa1bd0c4..891806bb0 100644
--- a/newlib/libc/machine/spu/setjmp.S
+++ b/newlib/libc/machine/spu/setjmp.S
@@ -36,6 +36,7 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
.text
.align 2
.global setjmp
+ .type setjmp, @function
setjmp:
stqd $80, 2*16($3)
stqd $81, 3*16($3)
@@ -97,6 +98,7 @@ setjmp:
setjmp_ret:
bi $0
+ .size setjmp, .-setjmp
/*
int longjmp( jmp_buf env, int val );
@@ -104,6 +106,7 @@ setjmp_ret:
.text
.align 2
.global longjmp
+ .type longjmp, @function
longjmp:
lr $127, $1
@@ -176,4 +179,5 @@ longjmp:
longjmp_ret:
bi $0
+ .size longjmp, .-longjmp
diff --git a/newlib/libc/machine/spu/snprintf.S b/newlib/libc/machine/spu/snprintf.S
index 90bd98a03..17d03e376 100644
--- a/newlib/libc/machine/spu/snprintf.S
+++ b/newlib/libc/machine/spu/snprintf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL snprintf
+ .type snprintf, @function
snprintf:
stqd $0, 16($sp) /* save caller address */
il $2, 3 /* number of fixed arguments */
@@ -47,3 +48,4 @@ snprintf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size snprintf, .-snprintf
diff --git a/newlib/libc/machine/spu/sprintf.S b/newlib/libc/machine/spu/sprintf.S
index 56fca77ea..9464aed19 100644
--- a/newlib/libc/machine/spu/sprintf.S
+++ b/newlib/libc/machine/spu/sprintf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL sprintf
+ .type sprintf, @function
sprintf:
stqd $0, 16($sp) /* save caller address */
il $2, 2 /* number of fixed arguments */
@@ -47,3 +48,4 @@ sprintf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size sprintf, .-sprintf
diff --git a/newlib/libc/machine/spu/sscanf.S b/newlib/libc/machine/spu/sscanf.S
index 980955aaf..a3dbb0193 100644
--- a/newlib/libc/machine/spu/sscanf.S
+++ b/newlib/libc/machine/spu/sscanf.S
@@ -33,6 +33,7 @@
.text
.align 4
GLOBL sscanf
+ .type sscanf, @function
sscanf:
stqd $0, 16($sp) /* save caller address */
il $2, 2 /* number of fixed arguments */
@@ -47,3 +48,4 @@ sscanf:
a $sp, $sp, $2
lqd $0, 16($sp) /* load caller address */
bi $0 /* return to caller */
+ .size sscanf, .-sscanf
diff --git a/newlib/libc/machine/spu/stack_reg_va.S b/newlib/libc/machine/spu/stack_reg_va.S
index 5a0b632e8..754e4e6a7 100644
--- a/newlib/libc/machine/spu/stack_reg_va.S
+++ b/newlib/libc/machine/spu/stack_reg_va.S
@@ -85,6 +85,7 @@
.text
.global __stack_reg_va
+ .type __stack_reg_va, @function
__stack_reg_va:
@@ -164,3 +165,6 @@ save_regs_2:
ai ptr, ptr, -16
brz tmp, save_regs_1 /* if (tmp == 0) jump */
bi link /* finish to make va_list */
+
+ .size __stack_reg_va, .-__stack_reg_va
+