[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/32189] New: Problem with R_X86_64_GOT64 relocation generation
From: |
address@hidden |
Subject: |
[Bug gas/32189] New: Problem with R_X86_64_GOT64 relocation generation |
Date: |
Thu, 19 Sep 2024 17:32:39 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=32189
Bug ID: 32189
Summary: Problem with R_X86_64_GOT64 relocation generation
Product: binutils
Version: 2.43
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: mail@felix-potthast.de
Target Milestone: ---
Created attachment 15710
--> https://sourceware.org/bugzilla/attachment.cgi?id=15710&action=edit
Test case
When trying out the code snippets from the current x86-64 ABI
(https://gitlab.com/x86-psABIs/x86-64-ABI)
for large model position independent load and store, I get a segfault.
I'm using the large model prolog code from Figure 3.12
and the load store for "ptr = &dst;" from Figure 3.20.
When assembling with:
as --64 lm_pic_gd_lods.s -o lm_pic_gd_lods.o
and linking with:
ld -static lm_pic_gd_lods.o -o lm_pic_gd_lods
Running the resulting executable leads to a segfault.
But when I use clang for assembling:
clang -c lm_pic_gd_lods.s -o lm_pic_gd_lods.o
and then link with the same command, it doesn't segfault.
so it doesn't seem to be a problem of the linker, but the assembler.
I'm using binutils version 2.43.0 from the arch linux repos on an x86-64
machine.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/32189] New: Problem with R_X86_64_GOT64 relocation generation,
address@hidden <=
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, cvs-commit at gcc dot gnu.org, 2024/09/19
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, hjl.tools at gmail dot com, 2024/09/19
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, cvs-commit at gcc dot gnu.org, 2024/09/19
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, hjl.tools at gmail dot com, 2024/09/19
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, hjl.tools at gmail dot com, 2024/09/19
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, cvs-commit at gcc dot gnu.org, 2024/09/20
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, cvs-commit at gcc dot gnu.org, 2024/09/20
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, hjl.tools at gmail dot com, 2024/09/20
- [Bug gas/32189] Problem with R_X86_64_GOT64 relocation generation, address@hidden, 2024/09/22