aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Remus <jremus@linux.ibm.com>2025-02-21 11:28:23 +0100
committerJens Remus <jremus@linux.ibm.com>2025-02-25 13:29:02 +0100
commit6693696a7dac44f2f80e89d2d0c4bebfb4543b59 (patch)
tree468d7064f3766b0c55531a7968f284eae975640c
parentbd217f6d0570c56cf15faf9852753bc56b504bbf (diff)
downloadbinutils-6693696a7dac44f2f80e89d2d0c4bebfb4543b59.zip
binutils-6693696a7dac44f2f80e89d2d0c4bebfb4543b59.tar.gz
binutils-6693696a7dac44f2f80e89d2d0c4bebfb4543b59.tar.bz2
x86: SFrame FDE for PLT0 does not use repetition block size
The SFrame FDE for the PLT0 entry is of type PCINC, which does does not make use of the type PCMASK repetition block size. Therefore generate the FDE with a repetition block size of zero. bfd/ * elfxx-x86.c (_bfd_x86_elf_create_sframe_plt): Use FDE repetition block size of zero for PLT0. Signed-off-by: Jens Remus <jremus@linux.ibm.com>
-rw-r--r--bfd/elfxx-x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index d6433ed..6ea41f2 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -1925,7 +1925,7 @@ _bfd_x86_elf_create_sframe_plt (bfd *output_bfd,
0, /* func start addr. */
plt0_entry_size,
func_info,
- 16,
+ 0,
0 /* Num FREs. */);
sframe_frame_row_entry plt0_fre;
unsigned int num_plt0_fres = htab->sframe_plt->plt0_num_fres;