mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
aarch64: Resolve strtab defined but not used warning.
This commit is contained in:
parent
e933a9432c
commit
443d9489b1
@ -1,3 +1,8 @@
|
||||
2012-12-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
|
||||
|
||||
* sysdeps/aarch64/dl-machine.h (elf_machine_rela): Remove
|
||||
strtab.
|
||||
|
||||
2012-12-04 Steve McIntyre <steve.mcintyre@linaro.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/aarch64/ldconfig.h: Add entries
|
||||
|
@ -320,18 +320,12 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
|
||||
|
||||
case R_AARCH64_TLS_DTPREL64:
|
||||
if (sym)
|
||||
{
|
||||
const char *strtab;
|
||||
strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]);
|
||||
*reloc_addr = sym->st_value + reloc->r_addend;
|
||||
}
|
||||
*reloc_addr = sym->st_value + reloc->r_addend;
|
||||
break;
|
||||
|
||||
case R_AARCH64_TLS_TPREL64:
|
||||
if (sym)
|
||||
{
|
||||
const char *strtab;
|
||||
strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]);
|
||||
CHECK_STATIC_TLS (map, sym_map);
|
||||
*reloc_addr =
|
||||
sym->st_value + reloc->r_addend + sym_map->l_tls_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user