Blame sysdeps/x86_64/tst-quadmod1.S
|
Packit Service |
82fcde |
/* Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
|
Packit Service |
82fcde |
This file is part of the GNU C Library.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
82fcde |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License as published by the Free Software Foundation; either
|
|
Packit Service |
82fcde |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
82fcde |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
82fcde |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
82fcde |
Lesser General Public License for more details.
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
82fcde |
License along with the GNU C Library; if not, see
|
|
Packit Service |
82fcde |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
#ifndef BIAS
|
|
Packit Service |
82fcde |
# define BIAS 0x7fffffff
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
|
|
Packit Service |
82fcde |
.section .data.rel,"aw",@progbits
|
|
Packit Service |
82fcde |
.align 8
|
|
Packit Service |
82fcde |
.Ljmp:
|
|
Packit Service |
82fcde |
.quad func + BIAS
|
|
Packit Service |
82fcde |
.text
|
|
Packit Service |
82fcde |
.globl func
|
|
Packit Service |
82fcde |
.type func, @function
|
|
Packit Service |
82fcde |
func:
|
|
Packit Service |
82fcde |
.cfi_startproc
|
|
Packit Service |
82fcde |
#if defined __CET__ && (__CET__ & 1) != 0
|
|
Packit Service |
82fcde |
endbr64
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
xorl %edi, %edi
|
|
Packit Service |
82fcde |
jmp exit@PLT
|
|
Packit Service |
82fcde |
.cfi_endproc
|
|
Packit Service |
82fcde |
.size func, .-func
|
|
Packit Service |
82fcde |
.globl foo
|
|
Packit Service |
82fcde |
.type foo, @function
|
|
Packit Service |
82fcde |
foo:
|
|
Packit Service |
82fcde |
.cfi_startproc
|
|
Packit Service |
82fcde |
.cfi_def_cfa_register 6
|
|
Packit Service |
82fcde |
#if defined __CET__ && (__CET__ & 1) != 0
|
|
Packit Service |
82fcde |
endbr64
|
|
Packit Service |
82fcde |
#endif
|
|
Packit Service |
82fcde |
movq .Ljmp(%rip), %rax
|
|
Packit Service |
82fcde |
subq $BIAS, %rax
|
|
Packit Service |
82fcde |
jmp *%rax
|
|
Packit Service |
82fcde |
.cfi_endproc
|
|
Packit Service |
82fcde |
.size foo, .-foo
|