From c6615f0631260723eea17a3f8f0cb4d956c4c174 Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 15 May 2002 04:19:49 +0000 Subject: Use .rodata section for $FreeBSD$. --- lib/csu/i386-elf/crti.S | 5 +++-- lib/csu/i386-elf/crtn.S | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/csu/i386-elf') 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" -- cgit v1.1