aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-04-02 16:38:20 +1030
committerAlan Modra <amodra@gmail.com>2019-04-03 12:50:39 +1030
commit4b24dd1acad5c133d12aab6a575c83269336e47f (patch)
tree7f1cb99426cf014b2b0070d8c72294c4b503c556 /bfd/mach-o.c
parent49149495dabc2ef54b7cd38a9346a8696b205da7 (diff)
downloadgdb-4b24dd1acad5c133d12aab6a575c83269336e47f.zip
gdb-4b24dd1acad5c133d12aab6a575c83269336e47f.tar.gz
gdb-4b24dd1acad5c133d12aab6a575c83269336e47f.tar.bz2
BFD whitespace fixes
* coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c, * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c, * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c, * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c, * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c, * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 122a0c2..d9edef2 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -647,7 +647,7 @@ cpusubtype (unsigned long cputype, unsigned long cpusubtype)
break;
}
break;
-
+
case BFD_MACH_O_CPU_TYPE_ARM:
switch (cpusubtype)
{
@@ -667,7 +667,7 @@ cpusubtype (unsigned long cputype, unsigned long cpusubtype)
break;
}
break;
-
+
case BFD_MACH_O_CPU_TYPE_ARM64:
switch (cpusubtype)
{
@@ -707,7 +707,7 @@ bfd_mach_o_bfd_print_private_bfd_data (bfd *abfd, void *ptr)
fprintf (file, _(" sizeocmds: %#lx\n"), (long) mdata->header.sizeofcmds);
fprintf (file, _(" flags: %#lx\n"), (long) mdata->header.flags);
fprintf (file, _(" version: %x\n"), mdata->header.version);
-
+
return TRUE;
}
@@ -748,7 +748,7 @@ bfd_mach_o_bfd_copy_private_header_data (bfd *ibfd, bfd *obfd)
/* Copy the cpusubtype. */
omdata->header.cpusubtype = imdata->header.cpusubtype;
-
+
/* Copy commands. */
for (icmd = imdata->first_command; icmd != NULL; icmd = icmd->next)
{
@@ -4928,11 +4928,11 @@ bfd_mach_o_read_command (bfd *abfd, bfd_mach_o_load_command *command)
break;
case BFD_MACH_O_LC_NOTE:
if (!bfd_mach_o_read_note (abfd, command))
- return FALSE;
+ return FALSE;
break;
case BFD_MACH_O_LC_BUILD_VERSION:
if (!bfd_mach_o_read_build_version (abfd, command))
- return FALSE;
+ return FALSE;
break;
default:
command->len = 0;