[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel |
Date: |
15 Aug 2006 21:53:58 -0000 |
------- Additional Comments From hjl at lucon dot org 2006-08-15 21:53 -------
This change
--- ldlang.c.foo 2006-08-15 14:53:05.000000000 -0700
+++ ldlang.c 2006-08-15 14:44:19.000000000 -0700
@@ -4742,11 +4742,14 @@ lang_do_assignments_1 (lang_statement_un
|| (last->vma >= dot
&& last->vma < dot + os->bfd_section->size))
lma = last->lma + last->size;
-
+ else
+ lma = dot;
+#if 0
/* Otherwise, keep the same lma to vma relationship
as the previous section. */
else
lma = dot + last->lma - last->vma;
+#endif
if (os->section_alignment != -1)
lma = align_power (lma, os->section_alignment);
seems to generate a working kernel.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=3052
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/3052] New: ld lma assignment change breaks x86-64 Linux 2.6 kernel, hjl at lucon dot org, 2006/08/14
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel, hjl at lucon dot org, 2006/08/15
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel,
hjl at lucon dot org <=
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel, hjl at lucon dot org, 2006/08/15
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel, hjl at lucon dot org, 2006/08/15
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel, amodra at bigpond dot net dot au, 2006/08/16
- [Bug ld/3052] ld lma assignment change breaks x86-64 Linux 2.6 kernel, amodra at bigpond dot net dot au, 2006/08/16