[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/27377] /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/27377] /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400190,00000000004001af] overlaps section .bss VMA [00000000000adc00,00000000004af3ff] |
Date: |
Tue, 09 Feb 2021 12:31:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27377
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Assignee|unassigned at sourceware dot org |amodra at gmail dot com
Resolution|--- |NOTABUG
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
-Ttext 0 is asking to place the .text section at address zero. Assuming you're
playing with x86_64, the -N script starts laying out the text segment at
0x400000. So a number of sections are placed there after allowing for headers.
Then we reset to address zero for .text and place a number of sections there,
and since .bss is so large, its vma overlaps the first section, .note.ABI-tag.
Not a bug, you asked for overlapping sections.
I suspect grub2 should be using -Wl,-Ttext-segment,0.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/27377] New: /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400190,00000000004001af] overlaps section .bss VMA [00000000000adc00,00000000004af3ff], mliska at suse dot cz, 2021/02/08
- [Bug ld/27377] /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400190,00000000004001af] overlaps section .bss VMA [00000000000adc00,00000000004af3ff],
amodra at gmail dot com <=
- [Bug ld/27377] /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400190,00000000004001af] overlaps section .bss VMA [00000000000adc00,00000000004af3ff], matz at suse dot de, 2021/02/10
- [Bug ld/27377] /usr/bin/ld.bfd: section .note.ABI-tag VMA [0000000000400190,00000000004001af] overlaps section .bss VMA [00000000000adc00,00000000004af3ff], amodra at gmail dot com, 2021/02/10