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: m...@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.