summaryrefslogtreecommitdiff
path: root/libc/sysdeps/sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/sh')
-rw-r--r--libc/sysdeps/sh/____longjmp_chk.S5
-rw-r--r--libc/sysdeps/sh/_mcount.S5
-rw-r--r--libc/sysdeps/sh/bits/huge_val.h5
-rw-r--r--libc/sysdeps/sh/bits/link.h5
-rw-r--r--libc/sysdeps/sh/bits/setjmp.h5
-rw-r--r--libc/sysdeps/sh/bsd-_setjmp.S5
-rw-r--r--libc/sysdeps/sh/bsd-setjmp.S5
-rw-r--r--libc/sysdeps/sh/crti.S121
-rw-r--r--libc/sysdeps/sh/crtn.S54
-rw-r--r--libc/sysdeps/sh/dl-machine.h5
-rw-r--r--libc/sysdeps/sh/dl-tls.h5
-rw-r--r--libc/sysdeps/sh/dl-trampoline.S5
-rw-r--r--libc/sysdeps/sh/elf/initfini.c153
-rw-r--r--libc/sysdeps/sh/elf/start.S5
-rw-r--r--libc/sysdeps/sh/gccframe.h5
-rw-r--r--libc/sysdeps/sh/gmp-mparam.h5
-rw-r--r--libc/sysdeps/sh/init-first.c5
-rw-r--r--libc/sysdeps/sh/jmpbuf-offsets.h5
-rw-r--r--libc/sysdeps/sh/jmpbuf-unwind.h5
-rw-r--r--libc/sysdeps/sh/libc-tls.c5
-rw-r--r--libc/sysdeps/sh/machine-gmon.h6
-rw-r--r--libc/sysdeps/sh/memcpy.S5
-rw-r--r--libc/sysdeps/sh/memset.S5
-rw-r--r--libc/sysdeps/sh/memusage.h5
-rw-r--r--libc/sysdeps/sh/sh3/__longjmp.S5
-rw-r--r--libc/sysdeps/sh/sh3/setjmp.S5
-rw-r--r--libc/sysdeps/sh/sh4/__longjmp.S5
-rw-r--r--libc/sysdeps/sh/sh4/bits/mathdef.h5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/bits/fenv.h5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fclrexcpt.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fegetenv.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fegetround.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/feholdexcpt.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fesetenv.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fesetround.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fpu_control.h5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/fsetexcptflg.c5
-rw-r--r--libc/sysdeps/sh/sh4/fpu/ftestexcept.c5
-rw-r--r--libc/sysdeps/sh/sh4/setjmp.S5
-rw-r--r--libc/sysdeps/sh/stackinfo.h5
-rw-r--r--libc/sysdeps/sh/strlen.S5
-rw-r--r--libc/sysdeps/sh/sys/ucontext.h5
-rw-r--r--libc/sysdeps/sh/sysdep.h5
44 files changed, 257 insertions, 277 deletions
diff --git a/libc/sysdeps/sh/____longjmp_chk.S b/libc/sysdeps/sh/____longjmp_chk.S
index 2ff4f586e..5d17f3ae7 100644
--- a/libc/sysdeps/sh/____longjmp_chk.S
+++ b/libc/sysdeps/sh/____longjmp_chk.S
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
.section .rodata.str1.1,"aMS",@progbits,1
.type longjmp_msg,@object
diff --git a/libc/sysdeps/sh/_mcount.S b/libc/sysdeps/sh/_mcount.S
index 069da13e9..7956c0125 100644
--- a/libc/sysdeps/sh/_mcount.S
+++ b/libc/sysdeps/sh/_mcount.S
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
diff --git a/libc/sysdeps/sh/bits/huge_val.h b/libc/sysdeps/sh/bits/huge_val.h
index 732b06503..984faab91 100644
--- a/libc/sysdeps/sh/bits/huge_val.h
+++ b/libc/sysdeps/sh/bits/huge_val.h
@@ -16,9 +16,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _MATH_H
# error "Never use <bits/huge_val.h> directly; include <math.h> instead."
diff --git a/libc/sysdeps/sh/bits/link.h b/libc/sysdeps/sh/bits/link.h
index f650aa302..e288717ac 100644
--- a/libc/sysdeps/sh/bits/link.h
+++ b/libc/sysdeps/sh/bits/link.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _LINK_H
# error "Never include <bits/link.h> directly; use <link.h> instead."
diff --git a/libc/sysdeps/sh/bits/setjmp.h b/libc/sysdeps/sh/bits/setjmp.h
index 6196abedd..ceca114a8 100644
--- a/libc/sysdeps/sh/bits/setjmp.h
+++ b/libc/sysdeps/sh/bits/setjmp.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Define the machine-dependent type `jmp_buf'. SH version. */
#ifndef _BITS_SETJMP_H
diff --git a/libc/sysdeps/sh/bsd-_setjmp.S b/libc/sysdeps/sh/bsd-_setjmp.S
index dbfd95259..4ac677f21 100644
--- a/libc/sysdeps/sh/bsd-_setjmp.S
+++ b/libc/sysdeps/sh/bsd-_setjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* This just does a tail-call to `__sigsetjmp (ARG, 0)'.
We cannot do it in C because it must be a tail-call, so frame-unwinding
diff --git a/libc/sysdeps/sh/bsd-setjmp.S b/libc/sysdeps/sh/bsd-setjmp.S
index de226e128..e71d94f8b 100644
--- a/libc/sysdeps/sh/bsd-setjmp.S
+++ b/libc/sysdeps/sh/bsd-setjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* This just does a tail-call to `__sigsetjmp (ARG, 1)'.
We cannot do it in C because it must be a tail-call, so frame-unwinding
diff --git a/libc/sysdeps/sh/crti.S b/libc/sysdeps/sh/crti.S
new file mode 100644
index 000000000..62b6c1cda
--- /dev/null
+++ b/libc/sysdeps/sh/crti.S
@@ -0,0 +1,121 @@
+/* Special .init and .fini section support for SH.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file with other
+ programs, and to distribute those programs without any restriction
+ coming from the use of this file. (The GNU Lesser General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into another program.)
+
+ Note that people who make modified versions of this file are not
+ obligated to grant this special exception for their modified
+ versions; it is their choice whether to do so. The GNU Lesser
+ General Public License gives permission to release a modified
+ version without this exception; this exception also makes it
+ possible to release a modified version which carries forward this
+ exception.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+/* crti.S puts a function prologue at the beginning of the .init and
+ .fini sections and defines global symbols for those addresses, so
+ they can be called as functions. The symbols _init and _fini are
+ magic and cause the linker to emit DT_INIT and DT_FINI. */
+
+#include <libc-symbols.h>
+#include <sysdep.h>
+
+#ifndef PREINIT_FUNCTION
+# define PREINIT_FUNCTION __gmon_start__
+#endif
+
+#ifndef PREINIT_FUNCTION_WEAK
+# define PREINIT_FUNCTION_WEAK 1
+#endif
+
+#if PREINIT_FUNCTION_WEAK
+ weak_extern (PREINIT_FUNCTION)
+#else
+ .hidden PREINIT_FUNCTION
+#endif
+
+ .section .init,"ax",@progbits
+ .align 5
+ .global _init
+ .type _init, @function
+_init:
+ mov.l r12,@-r15
+ mova .L12,r0
+ mov.l .L12,r12
+ mov.l r14,@-r15
+ add r0,r12
+ sts.l pr,@-r15
+#if PREINIT_FUNCTION_WEAK
+ mov.l .L13,r0
+ mov.l @(r0,r12),r1
+ tst r1,r1
+ bt/s .L8
+ mov r15,r14
+ mov.l .L14,r1
+ bsrf r1
+.LPCS0:
+ nop
+.L8:
+#else
+ mova .L13,r0
+ mov.l .L13,r1
+ add r0,r1
+ jsr @r1
+ mov r15,r14
+#endif
+ bra 1f
+ nop
+ .align 2
+.L12:
+ .long _GLOBAL_OFFSET_TABLE_
+#if PREINIT_FUNCTION_WEAK
+.L13:
+ .long PREINIT_FUNCTION@GOT
+.L14:
+ .long PREINIT_FUNCTION@PLT-(.LPCS0+2-(.))
+#else
+.L13:
+ .long PREINIT_FUNCTION@PLT
+#endif
+1:
+
+ .section .fini,"ax",@progbits
+ .align 5
+ .global _fini
+ .type _fini, @function
+_fini:
+ mov.l r12,@-r15
+ mova .L19,r0
+ mov.l r14,@-r15
+ sts.l pr,@-r15
+ mov.l .L19,r12
+ mov r15,r14
+ add r0,r12
+ bra 0f
+ nop
+ .align 2
+.L19:
+ .long _GLOBAL_OFFSET_TABLE_
+0:
diff --git a/libc/sysdeps/sh/crtn.S b/libc/sysdeps/sh/crtn.S
new file mode 100644
index 000000000..1b5277004
--- /dev/null
+++ b/libc/sysdeps/sh/crtn.S
@@ -0,0 +1,54 @@
+/* Special .init and .fini section support for SH.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ In addition to the permissions in the GNU Lesser General Public
+ License, the Free Software Foundation gives you unlimited
+ permission to link the compiled version of this file with other
+ programs, and to distribute those programs without any restriction
+ coming from the use of this file. (The GNU Lesser General Public
+ License restrictions do apply in other respects; for example, they
+ cover modification of the file, and distribution when not linked
+ into another program.)
+
+ Note that people who make modified versions of this file are not
+ obligated to grant this special exception for their modified
+ versions; it is their choice whether to do so. The GNU Lesser
+ General Public License gives permission to release a modified
+ version without this exception; this exception also makes it
+ possible to release a modified version which carries forward this
+ exception.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
+/* crtn.S puts function epilogues in the .init and .fini sections
+ corresponding to the prologues in crti.S. */
+
+ .section .init,"ax",@progbits
+ mov r14,r15
+ lds.l @r15+,pr
+ mov.l @r15+,r14
+ mov.l @r15+,r12
+ rts
+ nop
+
+ .section .fini,"ax",@progbits
+ mov r14,r15
+ lds.l @r15+,pr
+ mov.l @r15+,r14
+ mov.l @r15+,r12
+ rts
+ nop
diff --git a/libc/sysdeps/sh/dl-machine.h b/libc/sysdeps/sh/dl-machine.h
index e02f47cb0..53656aff9 100644
--- a/libc/sysdeps/sh/dl-machine.h
+++ b/libc/sysdeps/sh/dl-machine.h
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef dl_machine_h
#define dl_machine_h
diff --git a/libc/sysdeps/sh/dl-tls.h b/libc/sysdeps/sh/dl-tls.h
index cf607903d..e88643a9a 100644
--- a/libc/sysdeps/sh/dl-tls.h
+++ b/libc/sysdeps/sh/dl-tls.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Type used for the representation of TLS information in the GOT. */
diff --git a/libc/sysdeps/sh/dl-trampoline.S b/libc/sysdeps/sh/dl-trampoline.S
index 79493d50b..05cb9b8dc 100644
--- a/libc/sysdeps/sh/dl-trampoline.S
+++ b/libc/sysdeps/sh/dl-trampoline.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
diff --git a/libc/sysdeps/sh/elf/initfini.c b/libc/sysdeps/sh/elf/initfini.c
deleted file mode 100644
index 2ae328caa..000000000
--- a/libc/sysdeps/sh/elf/initfini.c
+++ /dev/null
@@ -1,153 +0,0 @@
-/* Special .init and .fini section support for SH.
- Copyright (C) 2000, 2002, 2009 Free Software Foundation, Inc.
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- In addition to the permissions in the GNU Lesser General Public
- License, the Free Software Foundation gives you unlimited
- permission to link the compiled version of this file with other
- programs, and to distribute those programs without any restriction
- coming from the use of this file. (The GNU Lesser General Public
- License restrictions do apply in other respects; for example, they
- cover modification of the file, and distribution when not linked
- into another program.)
-
- Note that people who make modified versions of this file are not
- obligated to grant this special exception for their modified
- versions; it is their choice whether to do so. The GNU Lesser
- General Public License gives permission to release a modified
- version without this exception; this exception also makes it
- possible to release a modified version which carries forward this
- exception.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
-
-/* This file is compiled into assembly code which is then munged by a sed
- script into two files: crti.s and crtn.s.
-
- * crti.s puts a function prologue at the beginning of the
- .init and .fini sections and defines global symbols for
- those addresses, so they can be called as functions.
-
- * crtn.s puts the corresponding function epilogues
- in the .init and .fini sections. */
-
-__asm__ ("\
-\n\
-#include \"defs.h\"\n\
-\n\
-/*@HEADER_ENDS*/\n\
-\n\
-/*@TESTS_BEGIN*/\n\
- .align 5\n\
-/*@TESTS_END*/\n\
-\n\
-/*@_init_PROLOG_BEGINS*/\n\
- .section .init,\"ax\",@progbits\n\
- .align 5\n\
- .global _init\n\
- .type _init, @function\n\
-_init:\n\
- mov.l r12,@-r15\n\
- mova .L12,r0\n\
- mov.l .L12,r12\n\
- mov.l r14,@-r15\n\
- add r0,r12\n\
- mov.l .L13,r0\n\
- sts.l pr,@-r15\n\
- mov.l @(r0,r12),r1\n\
- tst r1,r1\n\
- bt/s .L8\n\
- mov r15,r14\n\
- mov.l .L14,r1\n\
- bsrf r1\n\
-.LPCS0:\n\
- nop\n\
-.L8:\n\
- bra 1f\n\
- nop\n\
- .align 2\n\
-.L12:\n\
- .long _GLOBAL_OFFSET_TABLE_\n\
-.L13:\n\
- .long __gmon_start__@GOT\n\
-.L14:\n\
- .long __gmon_start__@PLT-(.LPCS0+2-(.))\n\
-1:\n\
- ALIGN\n\
- END_INIT\n\
-\n\
-/*@_init_PROLOG_ENDS*/\n\
-\n\
-/*@_init_EPILOG_BEGINS*/\n\
- .section .init\n\
- mov r14,r15\n\
- lds.l @r15+,pr\n\
- mov.l @r15+,r14\n\
- mov.l @r15+,r12\n\
- rts \n\
- nop\n\
- END_INIT\n\
-\n\
-/*@_init_EPILOG_ENDS*/\n\
-\n\
-/*@_fini_PROLOG_BEGINS*/\n\
- .section .fini,\"ax\",@progbits\n\
- .align 5\n\
- .global _fini\n\
- .type _fini, @function\n\
-_fini:\n\
- mov.l r12,@-r15\n\
- mova .L19,r0\n\
- mov.l r14,@-r15\n\
- sts.l pr,@-r15\n\
- mov.l .L19,r12\n\
- mov r15,r14\n\
- add r0,r12\n\
- bra 0f\n\
- nop\n\
- .align 2\n\
-.L19:\n\
- .long _GLOBAL_OFFSET_TABLE_\n\
-0:\n\
- ALIGN\n\
- END_FINI\n\
-\n\
-/*@_fini_PROLOG_ENDS*/\n\
- mov.l .L20,r1\n\
- bsrf r1\n\
-.LPCS1:\n\
- nop\n\
- bra 1f\n\
- nop\n\
- .align 2\n\
-.L20:\n\
- .long i_am_not_a_leaf@PLT-(.LPCS1+2-(.))\n\
-1:\n\
-/*@_fini_EPILOG_BEGINS*/\n\
- .section .fini\n\
- mov r14,r15\n\
- lds.l @r15+,pr\n\
- mov.l @r15+,r14\n\
- mov.l @r15+,r12\n\
- rts \n\
- nop\n\
- END_FINI\n\
-\n\
-/*@_fini_EPILOG_ENDS*/\n\
-\n\
-/*@TRAILER_BEGINS*/\n\
- .weak __gmon_start__\n\
-");
diff --git a/libc/sysdeps/sh/elf/start.S b/libc/sysdeps/sh/elf/start.S
index 0da0861f6..0d7557d09 100644
--- a/libc/sysdeps/sh/elf/start.S
+++ b/libc/sysdeps/sh/elf/start.S
@@ -30,9 +30,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* This is the canonical entry point, usually the first thing in the text
segment.
diff --git a/libc/sysdeps/sh/gccframe.h b/libc/sysdeps/sh/gccframe.h
index ad392741c..21bfad1ad 100644
--- a/libc/sysdeps/sh/gccframe.h
+++ b/libc/sysdeps/sh/gccframe.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#define DWARF_FRAME_REGISTERS 49
diff --git a/libc/sysdeps/sh/gmp-mparam.h b/libc/sysdeps/sh/gmp-mparam.h
index edd7e3dbf..c8429e23d 100644
--- a/libc/sysdeps/sh/gmp-mparam.h
+++ b/libc/sysdeps/sh/gmp-mparam.h
@@ -15,9 +15,8 @@ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
License for more details.
You should have received a copy of the GNU Lesser General Public License
-along with the GNU MP Library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-MA 02111-1307, USA. */
+along with the GNU MP Library; see the file COPYING.LIB. If not, see
+<http://www.gnu.org/licenses/>. */
#define BITS_PER_MP_LIMB 32
#define BYTES_PER_MP_LIMB 4
diff --git a/libc/sysdeps/sh/init-first.c b/libc/sysdeps/sh/init-first.c
index 1f3a821fe..08ae8a3de 100644
--- a/libc/sysdeps/sh/init-first.c
+++ b/libc/sysdeps/sh/init-first.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <unistd.h>
diff --git a/libc/sysdeps/sh/jmpbuf-offsets.h b/libc/sysdeps/sh/jmpbuf-offsets.h
index 312051e7e..0b824b205 100644
--- a/libc/sysdeps/sh/jmpbuf-offsets.h
+++ b/libc/sysdeps/sh/jmpbuf-offsets.h
@@ -13,8 +13,7 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#define JB_SIZE (4 * 15)
diff --git a/libc/sysdeps/sh/jmpbuf-unwind.h b/libc/sysdeps/sh/jmpbuf-unwind.h
index a69a465ef..14ef42cac 100644
--- a/libc/sysdeps/sh/jmpbuf-unwind.h
+++ b/libc/sysdeps/sh/jmpbuf-unwind.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <setjmp.h>
#include <stdint.h>
diff --git a/libc/sysdeps/sh/libc-tls.c b/libc/sysdeps/sh/libc-tls.c
index 1a7db55c5..ec83d28a6 100644
--- a/libc/sysdeps/sh/libc-tls.c
+++ b/libc/sysdeps/sh/libc-tls.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <csu/libc-tls.c>
#include <dl-tls.h>
diff --git a/libc/sysdeps/sh/machine-gmon.h b/libc/sysdeps/sh/machine-gmon.h
index 46c7b191a..fdba0b5ff 100644
--- a/libc/sysdeps/sh/machine-gmon.h
+++ b/libc/sysdeps/sh/machine-gmon.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* We must not pollute the global namespace. */
#define mcount_internal __mcount_internal
@@ -29,4 +28,3 @@ void mcount_internal (u_long frompc, u_long selfpc)
/* Define MCOUNT as empty since we have the implementation in another
file. */
#define MCOUNT
-
diff --git a/libc/sysdeps/sh/memcpy.S b/libc/sysdeps/sh/memcpy.S
index b084cc93c..0b9ed6baa 100644
--- a/libc/sysdeps/sh/memcpy.S
+++ b/libc/sysdeps/sh/memcpy.S
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#include <endian.h>
diff --git a/libc/sysdeps/sh/memset.S b/libc/sysdeps/sh/memset.S
index 9a8e2efd9..8ae2fb8b8 100644
--- a/libc/sysdeps/sh/memset.S
+++ b/libc/sysdeps/sh/memset.S
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
diff --git a/libc/sysdeps/sh/memusage.h b/libc/sysdeps/sh/memusage.h
index 8a0ce4a18..c019418af 100644
--- a/libc/sysdeps/sh/memusage.h
+++ b/libc/sysdeps/sh/memusage.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#define GETSP() ({ register uintptr_t stack_ptr asm ("r15"); stack_ptr; })
diff --git a/libc/sysdeps/sh/sh3/__longjmp.S b/libc/sysdeps/sh/sh3/__longjmp.S
index 8c84aff9b..13cb8fb2d 100644
--- a/libc/sysdeps/sh/sh3/__longjmp.S
+++ b/libc/sysdeps/sh/sh3/__longjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#define _SETJMP_H
diff --git a/libc/sysdeps/sh/sh3/setjmp.S b/libc/sysdeps/sh/sh3/setjmp.S
index d04e4b851..d85628dcf 100644
--- a/libc/sysdeps/sh/sh3/setjmp.S
+++ b/libc/sysdeps/sh/sh3/setjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#include <jmpbuf-offsets.h>
diff --git a/libc/sysdeps/sh/sh4/__longjmp.S b/libc/sysdeps/sh/sh4/__longjmp.S
index f2e4b7535..db1081cdf 100644
--- a/libc/sysdeps/sh/sh4/__longjmp.S
+++ b/libc/sysdeps/sh/sh4/__longjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#define _SETJMP_H
diff --git a/libc/sysdeps/sh/sh4/bits/mathdef.h b/libc/sysdeps/sh/sh4/bits/mathdef.h
index 74f76029b..07ac0fdb1 100644
--- a/libc/sysdeps/sh/sh4/bits/mathdef.h
+++ b/libc/sysdeps/sh/sh4/bits/mathdef.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#if !defined _MATH_H && !defined _COMPLEX_H
# error "Never use <bits/mathdef.h> directly; include <math.h> instead"
diff --git a/libc/sysdeps/sh/sh4/fpu/bits/fenv.h b/libc/sysdeps/sh/sh4/fpu/bits/fenv.h
index cbbad92e1..38c303ff2 100644
--- a/libc/sysdeps/sh/sh4/fpu/bits/fenv.h
+++ b/libc/sysdeps/sh/sh4/fpu/bits/fenv.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _FENV_H
# error "Never use <bits/fenv.h> directly; include <fenv.h> instead."
diff --git a/libc/sysdeps/sh/sh4/fpu/fclrexcpt.c b/libc/sysdeps/sh/sh4/fpu/fclrexcpt.c
index e10042ff3..c2df162fe 100644
--- a/libc/sysdeps/sh/sh4/fpu/fclrexcpt.c
+++ b/libc/sysdeps/sh/sh4/fpu/fclrexcpt.c
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fegetenv.c b/libc/sysdeps/sh/sh4/fpu/fegetenv.c
index 683939b52..68687dc2d 100644
--- a/libc/sysdeps/sh/sh4/fpu/fegetenv.c
+++ b/libc/sysdeps/sh/sh4/fpu/fegetenv.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fegetround.c b/libc/sysdeps/sh/sh4/fpu/fegetround.c
index 4aca3e5ef..9108e9744 100644
--- a/libc/sysdeps/sh/sh4/fpu/fegetround.c
+++ b/libc/sysdeps/sh/sh4/fpu/fegetround.c
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/feholdexcpt.c b/libc/sysdeps/sh/sh4/fpu/feholdexcpt.c
index 87d642089..2b6b9bdc8 100644
--- a/libc/sysdeps/sh/sh4/fpu/feholdexcpt.c
+++ b/libc/sysdeps/sh/sh4/fpu/feholdexcpt.c
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fesetenv.c b/libc/sysdeps/sh/sh4/fpu/fesetenv.c
index b66ed7f5e..34d3461fc 100644
--- a/libc/sysdeps/sh/sh4/fpu/fesetenv.c
+++ b/libc/sysdeps/sh/sh4/fpu/fesetenv.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fesetround.c b/libc/sysdeps/sh/sh4/fpu/fesetround.c
index cf4349004..5df96d2d0 100644
--- a/libc/sysdeps/sh/sh4/fpu/fesetround.c
+++ b/libc/sysdeps/sh/sh4/fpu/fesetround.c
@@ -14,9 +14,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fpu_control.h b/libc/sysdeps/sh/sh4/fpu/fpu_control.h
index ae5007051..1dfd697ca 100644
--- a/libc/sysdeps/sh/sh4/fpu/fpu_control.h
+++ b/libc/sysdeps/sh/sh4/fpu/fpu_control.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef _FPU_CONTROL_H
#define _FPU_CONTROL_H
diff --git a/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c b/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c
index f67ec1520..0bed3a529 100644
--- a/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c
+++ b/libc/sysdeps/sh/sh4/fpu/fraiseexcpt.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/fsetexcptflg.c b/libc/sysdeps/sh/sh4/fpu/fsetexcptflg.c
index f83a4e5a1..40cd5ea38 100644
--- a/libc/sysdeps/sh/sh4/fpu/fsetexcptflg.c
+++ b/libc/sysdeps/sh/sh4/fpu/fsetexcptflg.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <math.h>
diff --git a/libc/sysdeps/sh/sh4/fpu/ftestexcept.c b/libc/sysdeps/sh/sh4/fpu/ftestexcept.c
index a15868b02..9e0bfc5c2 100644
--- a/libc/sysdeps/sh/sh4/fpu/ftestexcept.c
+++ b/libc/sysdeps/sh/sh4/fpu/ftestexcept.c
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <fenv.h>
#include <fpu_control.h>
diff --git a/libc/sysdeps/sh/sh4/setjmp.S b/libc/sysdeps/sh/sh4/setjmp.S
index 9d8fab7a9..cbb680847 100644
--- a/libc/sysdeps/sh/sh4/setjmp.S
+++ b/libc/sysdeps/sh/sh4/setjmp.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#include <jmpbuf-offsets.h>
diff --git a/libc/sysdeps/sh/stackinfo.h b/libc/sysdeps/sh/stackinfo.h
index f1c097745..4a490883a 100644
--- a/libc/sysdeps/sh/stackinfo.h
+++ b/libc/sysdeps/sh/stackinfo.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* This file contains a bit of information about the stack allocation
of the processor. */
diff --git a/libc/sysdeps/sh/strlen.S b/libc/sysdeps/sh/strlen.S
index e25d7ef5e..93f7dd8f7 100644
--- a/libc/sysdeps/sh/strlen.S
+++ b/libc/sysdeps/sh/strlen.S
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdep.h>
#include <endian.h>
diff --git a/libc/sysdeps/sh/sys/ucontext.h b/libc/sysdeps/sh/sys/ucontext.h
index 961905db1..b7c66880a 100644
--- a/libc/sysdeps/sh/sys/ucontext.h
+++ b/libc/sysdeps/sh/sys/ucontext.h
@@ -12,9 +12,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
/* Where is System V/SH ABI? */
diff --git a/libc/sysdeps/sh/sysdep.h b/libc/sysdeps/sh/sysdep.h
index 3ecfa96f0..9354d2711 100644
--- a/libc/sysdeps/sh/sysdep.h
+++ b/libc/sysdeps/sh/sysdep.h
@@ -13,9 +13,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#include <sysdeps/generic/sysdep.h>