[lkml]   [2003]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.5.56: undefined reference to `_ebss' from drivers/mtd/maps/uclinux.c
Hi Adrian,

Adrian Bunk wrote:
> trying to compile 2.5.56 with CONFIG_MTD_UCLINUX fails on i386 with
> undefined reference to `_ebss'
> at the final linking.
> It seems _ebss is only defined on the architectures m68knommu and v850?

Hmm, currently that is correct. There doesn't appear to be a
"standard" symbol name applied to the immediate end of the bss
section. Different architectures are using different names:

_ebss -- m68knommu, v850
__bss_stop -- i386, alpha, ppc, s390
__bss_end -- x86_64
_end -- mips, parisc, sparc, (actually most have this)

Actually it looks like _end is probably closer, it seems to
almost always fall strait after the bss, on just about every
architecture that has it.

Come to think of it _end is probably more appropriate anyway.
Since that code is trying to find the location of something
concatenated to the end of the kernel image.


Greg Ungerer -- Chief Software Wizard EMAIL:
SnapGear Pty Ltd PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB:

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.073 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site