aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-01-09 13:49:13 +0100
committerJan Beulich <jbeulich@suse.com>2024-01-09 13:49:13 +0100
commitac1b12b51344ad8568c7b2ca3ab50ca7306ba06d (patch)
tree75e0af699a3534ed912dd3c437413b5c679c8e23 /bfd
parente2a26339456487e80344a8c3bd0f10711ff28567 (diff)
downloadgdb-ac1b12b51344ad8568c7b2ca3ab50ca7306ba06d.zip
gdb-ac1b12b51344ad8568c7b2ca3ab50ca7306ba06d.tar.gz
gdb-ac1b12b51344ad8568c7b2ca3ab50ca7306ba06d.tar.bz2
PPC64/ELF: adjust comment wrt ABI versions
While having been moved a couple of times since its introduction in f6c7c3e8b742 ("Referencing a function's address on PowerPC64 ELFv2"), the wording has always remained the same. In particular ELFv1 and ELFv2 have always been the wrong way round.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/elf64-ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c
index 01b6d8f..3d1fdd3 100644
--- a/bfd/elf64-ppc.c
+++ b/bfd/elf64-ppc.c
@@ -4498,7 +4498,7 @@ ppc64_elf_before_check_relocs (bfd *ibfd, struct bfd_link_info *info)
{
/* For input files without an explicit abiversion in e_flags
we should have flagged any with symbol st_other bits set
- as ELFv1 and above flagged those with .opd as ELFv2.
+ as ELFv2 and above flagged those with .opd as ELFv1.
Set the output abiversion if not yet set, and for any input
still ambiguous, take its abiversion from the output.
Differences in ABI are reported later. */