diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-08-25 19:13:57 +0200 |
---|---|---|
committer | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2016-08-25 19:13:57 +0200 |
commit | ceada89664de30158de12d3d8f7bd7880ff6af29 (patch) | |
tree | 06acac479908070a0dcaabf332824ae2619af7a8 /bfd/elf32-s390.c | |
parent | ae68ff9f280902d9cead28b90979e75dc046492e (diff) | |
download | gdb-ceada89664de30158de12d3d8f7bd7880ff6af29.zip gdb-ceada89664de30158de12d3d8f7bd7880ff6af29.tar.gz gdb-ceada89664de30158de12d3d8f7bd7880ff6af29.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-s390.c')
-rw-r--r-- | bfd/elf32-s390.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index 1f058d2..170a450 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -1917,7 +1917,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) h->got.offset = (bfd_vma) -1; } else if (h->got.refcount > 0) - { + { asection *s; bfd_boolean dyn; int tls_type = elf_s390_hash_entry(h)->tls_type; @@ -3497,8 +3497,8 @@ elf_s390_finish_ifunc_symbol (bfd *output_bfd, /* S390 uses halfwords for relative branch calc! */ relative_offset = - (plt->output_offset + (PLT_ENTRY_SIZE * iplt_index) + 18) / 2; -/* If offset is > 32768, branch to a previous branch - 390 can only handle +-64 K jumps. */ + /* If offset is > 32768, branch to a previous branch + 390 can only handle +-64 K jumps. */ if ( -32768 > (int) relative_offset ) relative_offset = -(unsigned) (((65536 / PLT_ENTRY_SIZE - 1) * PLT_ENTRY_SIZE) / 2); @@ -3810,7 +3810,7 @@ elf_s390_finish_dynamic_symbol (bfd *output_bfd, } } else if (bfd_link_pic (info) - && SYMBOL_REFERENCES_LOCAL (info, h)) + && SYMBOL_REFERENCES_LOCAL (info, h)) { /* If this is a static link, or it is a -Bsymbolic link and the symbol is defined locally or was forced to be local @@ -3982,7 +3982,7 @@ elf_s390_finish_dynamic_sections (bfd *output_bfd, htab->elf.sgotplt->output_section->vma + htab->elf.sgotplt->output_offset, htab->elf.splt->contents + 24); - } + } elf_section_data (htab->elf.splt->output_section) ->this_hdr.sh_entsize = 4; } @@ -4048,20 +4048,20 @@ elf_s390_grok_prstatus (bfd * abfd, Elf_Internal_Note * note) switch (note->descsz) { - default: - return FALSE; + default: + return FALSE; - case 224: /* S/390 Linux. */ - /* pr_cursig */ - elf_tdata (abfd)->core->signal = bfd_get_16 (abfd, note->descdata + 12); + case 224: /* S/390 Linux. */ + /* pr_cursig */ + elf_tdata (abfd)->core->signal = bfd_get_16 (abfd, note->descdata + 12); - /* pr_pid */ - elf_tdata (abfd)->core->lwpid = bfd_get_32 (abfd, note->descdata + 24); + /* pr_pid */ + elf_tdata (abfd)->core->lwpid = bfd_get_32 (abfd, note->descdata + 24); - /* pr_reg */ - offset = 72; - size = 144; - break; + /* pr_reg */ + offset = 72; + size = 144; + break; } /* Make a ".reg/999" section. */ |