mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 16:21:07 +00:00
LoongArch: Fix dl-machine.h code formatting.
No functional change.
This commit is contained in:
parent
bd13cb19f5
commit
8995b84c45
@ -166,8 +166,7 @@ elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[],
|
|||||||
{
|
{
|
||||||
|
|
||||||
case R_LARCH_JUMP_SLOT:
|
case R_LARCH_JUMP_SLOT:
|
||||||
case __WORDSIZE == 64 ? R_LARCH_64:
|
case __WORDSIZE == 64 ? R_LARCH_64 : R_LARCH_32:
|
||||||
R_LARCH_32:
|
|
||||||
*addr_field = value;
|
*addr_field = value;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -175,18 +174,15 @@ elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[],
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
#ifndef RTLD_BOOTSTRAP
|
#ifndef RTLD_BOOTSTRAP
|
||||||
case __WORDSIZE == 64 ? R_LARCH_TLS_DTPMOD64:
|
case __WORDSIZE == 64 ? R_LARCH_TLS_DTPMOD64 : R_LARCH_TLS_DTPMOD32:
|
||||||
R_LARCH_TLS_DTPMOD32:
|
|
||||||
*addr_field = sym_map->l_tls_modid;
|
*addr_field = sym_map->l_tls_modid;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case __WORDSIZE == 64 ? R_LARCH_TLS_DTPREL64:
|
case __WORDSIZE == 64 ? R_LARCH_TLS_DTPREL64 : R_LARCH_TLS_DTPREL32:
|
||||||
R_LARCH_TLS_DTPREL32:
|
|
||||||
*addr_field = TLS_DTPREL_VALUE (sym) + reloc->r_addend;
|
*addr_field = TLS_DTPREL_VALUE (sym) + reloc->r_addend;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case __WORDSIZE == 64 ? R_LARCH_TLS_TPREL64:
|
case __WORDSIZE == 64 ? R_LARCH_TLS_TPREL64 : R_LARCH_TLS_TPREL32:
|
||||||
R_LARCH_TLS_TPREL32:
|
|
||||||
CHECK_STATIC_TLS (map, sym_map);
|
CHECK_STATIC_TLS (map, sym_map);
|
||||||
*addr_field = TLS_TPREL_VALUE (sym_map, sym) + reloc->r_addend;
|
*addr_field = TLS_TPREL_VALUE (sym_map, sym) + reloc->r_addend;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user