mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
S390: Indentation fixes in elf32/64-s390.c
Some indentation fixes in elf32-s390.c and elf64-s390.c. Whitespace changes only. bfd/ChangeLog: * elf32-s390.c (allocate_dynrelocs): Fix indentation. (elf_s390_finish_ifunc_symbol): Likewise. (elf_s390_finish_dynamic_symbol): Likewise. (elf_s390_finish_dynamic_sections): Likewise. (elf_s390_grok_prstatus): Likewise. * elf64-s390.c (elf_s390_hash_table): Fix indentation. (elf_s390_finish_dynamic_symbol): Likewise.
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
2016-08-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* elf32-s390.c (allocate_dynrelocs): Fix indentation.
|
||||||
|
(elf_s390_finish_ifunc_symbol): Likewise.
|
||||||
|
(elf_s390_finish_dynamic_symbol): Likewise.
|
||||||
|
(elf_s390_finish_dynamic_sections): Likewise.
|
||||||
|
(elf_s390_grok_prstatus): Likewise.
|
||||||
|
* elf64-s390.c (elf_s390_hash_table): Fix indentation.
|
||||||
|
(elf_s390_finish_dynamic_symbol): Likewise.
|
||||||
|
|
||||||
2016-08-24 Anton Kolesov <Anton.Kolesov@synopsys.com>
|
2016-08-24 Anton Kolesov <Anton.Kolesov@synopsys.com>
|
||||||
|
|
||||||
* elf32-arc.c (elf32_arc_grok_prstatus): New function.
|
* elf32-arc.c (elf32_arc_grok_prstatus): New function.
|
||||||
|
@ -3497,7 +3497,7 @@ elf_s390_finish_ifunc_symbol (bfd *output_bfd,
|
|||||||
/* S390 uses halfwords for relative branch calc! */
|
/* S390 uses halfwords for relative branch calc! */
|
||||||
relative_offset = - (plt->output_offset +
|
relative_offset = - (plt->output_offset +
|
||||||
(PLT_ENTRY_SIZE * iplt_index) + 18) / 2;
|
(PLT_ENTRY_SIZE * iplt_index) + 18) / 2;
|
||||||
/* If offset is > 32768, branch to a previous branch
|
/* If offset is > 32768, branch to a previous branch
|
||||||
390 can only handle +-64 K jumps. */
|
390 can only handle +-64 K jumps. */
|
||||||
if ( -32768 > (int) relative_offset )
|
if ( -32768 > (int) relative_offset )
|
||||||
relative_offset
|
relative_offset
|
||||||
|
@ -3622,7 +3622,7 @@ elf_s390_finish_dynamic_symbol (bfd *output_bfd,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
BFD_ASSERT((h->got.offset & 1) == 0);
|
BFD_ASSERT((h->got.offset & 1) == 0);
|
||||||
do_glob_dat:
|
do_glob_dat:
|
||||||
bfd_put_64 (output_bfd, (bfd_vma) 0, htab->elf.sgot->contents + h->got.offset);
|
bfd_put_64 (output_bfd, (bfd_vma) 0, htab->elf.sgot->contents + h->got.offset);
|
||||||
rela.r_info = ELF64_R_INFO (h->dynindx, R_390_GLOB_DAT);
|
rela.r_info = ELF64_R_INFO (h->dynindx, R_390_GLOB_DAT);
|
||||||
rela.r_addend = 0;
|
rela.r_addend = 0;
|
||||||
|
Reference in New Issue
Block a user