| Submitter | Sam Ravnborg |
|---|---|
| Date | July 13, 2010, 8:54 a.m. |
| Message ID | <20100713085419.GA5826@merkur.ravnborg.org> |
| Download | mbox | patch |
| Permalink | /patch/58719/ |
| State | Not Applicable |
| Headers | show |
Comments
On Tue, 13 Jul 2010 10:54:19 +0200 Sam Ravnborg <sam@ravnborg.org> wrote: > It looks like a missing AT() in the output section. > The following patch should also fix it. > > Please test and let us know. > > Thanks, > Sam Applied the patch and it solves the problem. Thanks. Cheers, Sean
On Tue, Jul 13, 2010 at 11:26:10AM -0400, Sean MacLennan wrote: > On Tue, 13 Jul 2010 10:54:19 +0200 > Sam Ravnborg <sam@ravnborg.org> wrote: > > > It looks like a missing AT() in the output section. > > The following patch should also fix it. > > > > Please test and let us know. > > > > Thanks, > > Sam > > Applied the patch and it solves the problem. Thanks. Thanks for the quick feedback! Sam
Patch
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 48c5299..3c4bf03 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -435,7 +435,7 @@ */ #define INIT_TASK_DATA_SECTION(align) \ . = ALIGN(align); \ - .data..init_task : { \ + .data..init_task : AT(ADDR(.data..init_task) - LOAD_OFFSET) { \ INIT_TASK_DATA(align) \ }