This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/18134] New: x86-64 ld.so doesn't preserve bound registers
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 16 Mar 2015 18:15:59 +0000
- Subject: [Bug dynamic-link/18134] New: x86-64 ld.so doesn't preserve bound registers
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18134
Bug ID: 18134
Summary: x86-64 ld.so doesn't preserve bound registers
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
X86-64 _dl_runtime_resolve has
(gdb) disass _dl_runtime_resolve
Dump of assembler code for function _dl_runtime_resolve:
0x00000036004150f0 <+0>: sub $0x78,%rsp
0x00000036004150f4 <+4>: mov %rax,0x40(%rsp)
0x00000036004150f9 <+9>: mov %rcx,0x48(%rsp)
0x00000036004150fe <+14>: mov %rdx,0x50(%rsp)
0x0000003600415103 <+19>: mov %rsi,0x58(%rsp)
0x0000003600415108 <+24>: mov %rdi,0x60(%rsp)
0x000000360041510d <+29>: mov %r8,0x68(%rsp)
0x0000003600415112 <+34>: mov %r9,0x70(%rsp)
0x0000003600415117 <+39>: bndmov %bnd0,(%rsp)
0x000000360041511c <+44>: bndmov %bnd1,0x10(%rsp)
0x0000003600415122 <+50>: bndmov %bnd2,0x20(%rsp)
0x0000003600415128 <+56>: bndmov %bnd3,0x30(%rsp)
0x000000360041512e <+62>: mov 0x80(%rsp),%rsi
0x0000003600415136 <+70>: mov 0x78(%rsp),%rdi
0x000000360041513b <+75>: callq 0x360040e620 <_dl_fixup>
0x0000003600415140 <+80>: mov %rax,%r11
0x0000003600415143 <+83>: bndmov 0x30(%rsp),%bnd3
0x0000003600415149 <+89>: bndmov 0x20(%rsp),%bnd2
0x000000360041514f <+95>: bndmov 0x10(%rsp),%bnd1
0x0000003600415155 <+101>: bndmov (%rsp),%bnd0
0x000000360041515a <+106>: mov 0x70(%rsp),%r9
0x000000360041515f <+111>: mov 0x68(%rsp),%r8
0x0000003600415164 <+116>: mov 0x60(%rsp),%rdi
0x0000003600415169 <+121>: mov 0x58(%rsp),%rsi
0x000000360041516e <+126>: mov 0x50(%rsp),%rdx
0x0000003600415173 <+131>: mov 0x48(%rsp),%rcx
0x0000003600415178 <+136>: mov 0x40(%rsp),%rax
0x000000360041517d <+141>: add $0x88,%rsp
0x0000003600415184 <+148>: jmpq *%r11
^^^^^^^^^^^^^^^^^ This clears bound registers.
End of assembler dump.
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.