[PATCH 08/15] s390: Sync line continuation formatting between {elf32|elf64}-s390.c
Jens Remus
jremus@linux.ibm.com
Fri Nov 7 16:34:51 GMT 2025
Over time elf32-s390.c and elf64-s390.c have diverged in some areas.
Align line continuation formatting in macros between each other. This
simplifies comparison of elf32-s390.c and elf64-s390.c, as it reduces
the number of unimportant differences.
Non-functional change.
bfd/
* elf32-s390.c (elf_s390_local_plt): Apply macro line
continuation formatting from elf64-s390.c.
(is_s390_elf): Likewise.
(elf_s390_hash_table): Likewise.
Signed-off-by: Jens Remus <jremus@linux.ibm.com>
---
bfd/elf32-s390.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c
index d32cd339b7e6..43beb5438ecb 100644
--- a/bfd/elf32-s390.c
+++ b/bfd/elf32-s390.c
@@ -707,15 +707,15 @@ struct elf_s390_obj_tdata
#define elf_s390_tdata(abfd) \
((struct elf_s390_obj_tdata *) (abfd)->tdata.any)
-#define elf_s390_local_plt(abfd) \
+#define elf_s390_local_plt(abfd) \
(elf_s390_tdata (abfd)->local_plt)
#define elf_s390_local_got_tls_type(abfd) \
(elf_s390_tdata (abfd)->local_got_tls_type)
-#define is_s390_elf(bfd) \
- (bfd_get_flavour (bfd) == bfd_target_elf_flavour \
- && elf_tdata (bfd) != NULL \
+#define is_s390_elf(bfd) \
+ (bfd_get_flavour (bfd) == bfd_target_elf_flavour \
+ && elf_tdata (bfd) != NULL \
&& elf_object_id (bfd) == S390_ELF_DATA)
static bool
@@ -749,7 +749,7 @@ struct elf_s390_link_hash_table
/* Get the s390 ELF linker hash table from a link_info structure. */
-#define elf_s390_hash_table(p) \
+#define elf_s390_hash_table(p) \
((is_elf_hash_table ((p)->hash) \
&& elf_hash_table_id (elf_hash_table (p)) == S390_ELF_DATA) \
? (struct elf_s390_link_hash_table *) (p)->hash : NULL)
--
2.48.1
More information about the Binutils
mailing list