Use .rodata section for $FreeBSD$.

This commit is contained in:
obrien 2002-05-15 04:19:49 +00:00
parent f0ee945073
commit 69114f2a34
6 changed files with 20 additions and 12 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"