Use .rodata section for $FreeBSD$.
This commit is contained in:
parent
f0ee945073
commit
69114f2a34
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user