]> err.no Git - linux-2.6/commitdiff
[AVR32] Fix section mismatch .taglist -> .init.text
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 9 May 2007 07:26:18 +0000 (09:26 +0200)
committerHaavard Skinnemoen <hskinnemoen@atmel.com>
Wed, 9 May 2007 07:26:18 +0000 (09:26 +0200)
Rename .taglist to .taglist.init to silence section mismatch warnings.
The .taglist.init section was already placed in the .init output
section along with .init.text, so the warning didn't indicate any real
problems.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
arch/avr32/kernel/vmlinux.lds.c
include/asm-avr32/setup.h

index 7ad20cfb48a821b117d5c25d55b002b978f5059c..e7f72c995a3251361a912521537455ca16de9f11 100644 (file)
@@ -35,7 +35,7 @@ SECTIONS
                        _einittext = .;
                . = ALIGN(4);
                __tagtable_begin = .;
-                       *(.taglist)
+                       *(.taglist.init)
                __tagtable_end = .;
                        *(.init.data)
                . = ALIGN(16);
index 1ff1a217015d85d2e6eaedf8bcc5af61acd0a41f..b0828d43e110c93f27b65adf593fc0c40e58a676 100644 (file)
@@ -110,7 +110,7 @@ struct tagtable {
        int     (*parse)(struct tag *);
 };
 
-#define __tag __attribute_used__ __attribute__((__section__(".taglist")))
+#define __tag __attribute_used__ __attribute__((__section__(".taglist.init")))
 #define __tagtable(tag, fn)                                            \
        static struct tagtable __tagtable_##fn __tag = { tag, fn }