------- 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-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to