Hi Sebastion,

Sebastian Siewior wrote:
* Greg Ungerer | 2008-03-28 15:25:00 [+1000]:

Hi Sebastion,
Hi Greg,

Sebastian Siewior wrote:
Those are required for spinlocks & kallsyms

Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]>
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -64,6 +64,7 @@ SECTIONS {
                _stext = . ;
                TEXT_TEXT
                SCHED_TEXT
+               LOCK_TEXT
                *(.text.lock)

                . = ALIGN(16);          /* Exception table              */
@@ -73,6 +74,7 @@ SECTIONS {

                *(.rodata) *(.rodata.*)
                *(__vermagic)           /* Kernel version magic */
+               *(__markers_strings)
                *(.rodata1)
                *(.rodata.str1.1)

@@ -169,6 +171,8 @@ SECTIONS {
                __init_end = .;
        } > INIT

+        _end = . ;
+
Isn't _end typically the end of the bss?
Inserted here in the linker script it will be before the bss.
I have a patch in my series that moves the _end after the bss indeed.
The only user of that marker is ksym and one of the callers depends
on KALLSYMS_ALL what looks like yes, that one should be after bss. Do you want me to repost that patch or send patch depending on this one?

No, don't bother. When I applied and tested locally I moved
it after the bss :-)  So I'll send it upstream with that
changed.

Thanks
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company      PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to