summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-15 04:19:49 +0000
committerobrien <obrien@FreeBSD.org>2002-05-15 04:19:49 +0000
commitc6615f0631260723eea17a3f8f0cb4d956c4c174 (patch)
tree71821c5a0abf407164cad0ea76d27d9260af77ef
parentdd563f9e7db4327eb793f53322da6046d7bb9684 (diff)
downloadFreeBSD-src-c6615f0631260723eea17a3f8f0cb4d956c4c174.zip
FreeBSD-src-c6615f0631260723eea17a3f8f0cb4d956c4c174.tar.gz
Use .rodata section for $FreeBSD$.
-rw-r--r--lib/csu/amd64/crti.S5
-rw-r--r--lib/csu/amd64/crtn.S5
-rw-r--r--lib/csu/i386-elf/crti.S5
-rw-r--r--lib/csu/i386-elf/crtn.S5
-rw-r--r--lib/csu/powerpc/crti.S6
-rw-r--r--lib/csu/powerpc/crtn.S6
6 files changed, 20 insertions, 12 deletions
diff --git a/lib/csu/amd64/crti.S b/lib/csu/amd64/crti.S
index 82b262f..b2e99e4 100644
--- a/lib/csu/amd64/crti.S
+++ b/lib/csu/amd64/crti.S
@@ -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
@@ -36,3 +34,6 @@ _init:
.globl _fini
.type _fini,@function
_fini:
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
diff --git a/lib/csu/amd64/crtn.S b/lib/csu/amd64/crtn.S
index 361ab1e..b2322da 100644
--- a/lib/csu/amd64/crtn.S
+++ b/lib/csu/amd64/crtn.S
@@ -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
@@ -30,3 +28,6 @@
.section .fini,"ax",@progbits
ret
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
diff --git a/lib/csu/i386-elf/crti.S b/lib/csu/i386-elf/crti.S
index 82b262f..b2e99e4 100644
--- a/lib/csu/i386-elf/crti.S
+++ b/lib/csu/i386-elf/crti.S
@@ -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
@@ -36,3 +34,6 @@ _init:
.globl _fini
.type _fini,@function
_fini:
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
diff --git a/lib/csu/i386-elf/crtn.S b/lib/csu/i386-elf/crtn.S
index 361ab1e..b2322da 100644
--- a/lib/csu/i386-elf/crtn.S
+++ b/lib/csu/i386-elf/crtn.S
@@ -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
@@ -30,3 +28,6 @@
.section .fini,"ax",@progbits
ret
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
diff --git a/lib/csu/powerpc/crti.S b/lib/csu/powerpc/crti.S
index ce02777..75d4345 100644
--- a/lib/csu/powerpc/crti.S
+++ b/lib/csu/powerpc/crti.S
@@ -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
@@ -46,3 +44,7 @@ _fini:
stw 31,12(1)
stw 0,20(1)
mr 31,1
+
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
diff --git a/lib/csu/powerpc/crtn.S b/lib/csu/powerpc/crtn.S
index 72309aa..80735cc 100644
--- a/lib/csu/powerpc/crtn.S
+++ b/lib/csu/powerpc/crtn.S
@@ -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 @@
lwz 31,-4(11)
mr 1,11
blr
+
+
+ .section .rodata
+.ascii "$FreeBSD$\0"
OpenPOWER on IntegriCloud