Blame sysdeps/mips/tst-undefined-weak-lib.S
|
Packit Service |
88882b |
/* Undefined weak symbol loading shared module.
|
|
Packit Service |
88882b |
Copyright (C) 2019 Free Software Foundation, Inc.
|
|
Packit Service |
88882b |
This file is part of the GNU C Library.
|
|
Packit Service |
88882b |
|
|
Packit Service |
88882b |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
88882b |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
88882b |
License as published by the Free Software Foundation; either
|
|
Packit Service |
88882b |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
88882b |
|
|
Packit Service |
88882b |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
88882b |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
88882b |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
88882b |
Lesser General Public License for more details.
|
|
Packit Service |
88882b |
|
|
Packit Service |
88882b |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
88882b |
License along with the GNU C Library; if not, see
|
|
Packit Service |
88882b |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
88882b |
|
|
Packit Service |
88882b |
#include <sgidefs.h>
|
|
Packit Service |
88882b |
|
|
Packit Service |
88882b |
.text
|
|
Packit Service |
88882b |
.globl x
|
|
Packit Service |
88882b |
.set nomips16
|
|
Packit Service |
88882b |
.set nomicromips
|
|
Packit Service |
88882b |
.ent x
|
|
Packit Service |
88882b |
.type x, @function
|
|
Packit Service |
88882b |
x:
|
|
Packit Service |
88882b |
.set noreorder
|
|
Packit Service |
88882b |
#if _MIPS_SIM == _ABIO32
|
|
Packit Service |
88882b |
.cpload $25
|
|
Packit Service |
88882b |
jr $31
|
|
Packit Service |
88882b |
lb $2,%got(a)($28)
|
|
Packit Service |
88882b |
#else
|
|
Packit Service |
88882b |
.cpsetup $25,$24,x
|
|
Packit Service |
88882b |
lb $2,%got_disp(a)($28)
|
|
Packit Service |
88882b |
jr $31
|
|
Packit Service |
88882b |
.cpreturn
|
|
Packit Service |
88882b |
#endif
|
|
Packit Service |
88882b |
.set reorder
|
|
Packit Service |
88882b |
.end x
|
|
Packit Service |
88882b |
.size x, .-x
|
|
Packit Service |
88882b |
.weak a
|
|
Packit Service |
88882b |
.hidden a
|