From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1656) id CA09938560A4; Fri, 10 Nov 2023 16:29:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA09938560A4 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Eager To: bfd-cvs@sourceware.org Subject: [binutils-gdb] Correct formatting errors in elf32-microblaze.c X-Act-Checkin: binutils-gdb X-Git-Author: Michael J. Eager X-Git-Refname: refs/heads/master X-Git-Oldrev: 870a4f2cc3df832eab92151e27fd9e7db9027726 X-Git-Newrev: 364081efa5d629acfcc37f1f8093690cc198cb88 Message-Id: <20231110162958.CA09938560A4@sourceware.org> Date: Fri, 10 Nov 2023 16:29:58 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2023 16:29:58 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D364081efa5d6= 29acfcc37f1f8093690cc198cb88 commit 364081efa5d629acfcc37f1f8093690cc198cb88 Author: Michael J. Eager Date: Fri Nov 10 08:29:32 2023 -0800 Correct formatting errors in elf32-microblaze.c =20 Signed-off-by: Michael J. Eager Diff: --- bfd/elf32-microblaze.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c index 57c02ed3d00..63258dca94b 100644 --- a/bfd/elf32-microblaze.c +++ b/bfd/elf32-microblaze.c @@ -1341,9 +1341,9 @@ microblaze_elf_relocate_section (bfd *output_bfd, /* Need to generate relocs ? */ if ((bfd_link_pic (info) || indx !=3D 0) && (h =3D=3D NULL - || (ELF_ST_VISIBILITY (h->other) =3D=3D STV_DEFAULT - && !resolved_to_zero) - || h->root.type !=3D bfd_link_hash_undefweak)) + || (ELF_ST_VISIBILITY (h->other) =3D=3D STV_DEFAULT + && !resolved_to_zero) + || h->root.type !=3D bfd_link_hash_undefweak)) need_relocs =3D true; =20 /* 2. Compute/Emit Static value of r-expression */ @@ -2028,8 +2028,8 @@ microblaze_elf_relax_section (bfd *abfd, irelscanend =3D irelocs + o->reloc_count; for (irelscan =3D irelocs; irelscan < irelscanend; irelscan++) { - if ((ELF32_R_TYPE (irelscan->r_info) =3D=3D (int) R_MICROBLAZE_32) = || - (ELF32_R_TYPE (irelscan->r_info) =3D=3D (int) R_MICROBLAZE_32_NONE)) + if ((ELF32_R_TYPE (irelscan->r_info) =3D=3D (int) R_MICROBLAZE_32) + || (ELF32_R_TYPE (irelscan->r_info) =3D=3D (int) R_MICROBLAZE_32_NONE)) { isym =3D isymbuf + ELF32_R_SYM (irelscan->r_info); =20 @@ -2096,9 +2096,9 @@ microblaze_elf_relax_section (bfd *abfd, } else if ((ELF32_R_TYPE (irelscan->r_info) =3D=3D (int) R_MICROBLAZE= _32_PCREL_LO) || (ELF32_R_TYPE (irelscan->r_info) - =3D=3D (int) R_MICROBLAZE_32_LO) + =3D=3D (int) R_MICROBLAZE_32_LO) || (ELF32_R_TYPE (irelscan->r_info) - =3D=3D (int) R_MICROBLAZE_TEXTREL_32_LO)) + =3D=3D (int) R_MICROBLAZE_TEXTREL_32_LO)) { isym =3D isymbuf + ELF32_R_SYM (irelscan->r_info); =20 @@ -3238,9 +3238,9 @@ microblaze_elf_finish_dynamic_symbol (bfd *output_bfd, } =20 /* h->got.refcount to be checked ? */ - if (h->got.offset !=3D (bfd_vma) -1 && - ! ((h->got.offset & 1) || - IS_TLS_LD(eh->tls_mask) || IS_TLS_GD(eh->tls_mask))) + if ((h->got.offset !=3D (bfd_vma) -1) + && ! ((h->got.offset & 1) + || IS_TLS_LD(eh->tls_mask) || IS_TLS_GD(eh->tls_mask))) { asection *sgot; asection *srela;