|
From: | matz at suse dot de |
Subject: | [Bug ld/30437] aarch64: RELA relocations don't ignore section content as they should |
Date: | Wed, 10 May 2023 14:09:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30437 --- Comment #2 from Michael Matz <matz at suse dot de> --- ld.gold gets the testcase correct: % ld.gold -pie rela.o % objdump -sRj .data a.out a.out: file format elf64-littleaarch64 DYNAMIC RELOCATION RECORDS OFFSET TYPE VALUE 0000000000020000 R_AARCH64_RELATIVE *ABS*+0x0000000000020032 0000000000020008 R_AARCH64_RELATIVE *ABS*+0x0000000000020054 Contents of section .data: 20000 32000200 00000000 54000200 00000000 2.......T....... The patch does the same for ld.bfd. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |