mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
Add code to 'handle' R_ALPHA_NONE relocations by ignoring them.
This commit is contained in:
parent
ac8011f83a
commit
e85422ad1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48771
@ -22,7 +22,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: reloc.c,v 1.4 1999/04/09 00:28:43 jdp Exp $
|
||||
* $Id: reloc.c,v 1.5 1999/06/25 02:53:55 jdp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -67,6 +67,9 @@ reloc_non_plt_obj(Obj_Entry *obj_rtld, const Obj_Entry *obj,
|
||||
|
||||
switch (ELF_R_TYPE(rela->r_info)) {
|
||||
|
||||
case R_ALPHA_NONE:
|
||||
break;
|
||||
|
||||
case R_ALPHA_REFQUAD: {
|
||||
const Elf_Sym *def;
|
||||
const Obj_Entry *defobj;
|
||||
|
Loading…
Reference in New Issue
Block a user