bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: size of the kernel


From: Ingmar Friedrichsen
Subject: Re: size of the kernel
Date: Wed, 23 Jan 2002 16:05:52 +0100

> Sorry that I bother you, but do you happen to know where I can find some
> programming examples that show how to use the linker symbol "end_"? I have
> no experience with linker symbols at all, and I just cannot figure out how
> to use them in a piece of code.

/* ELF symbols */
extern void _start;
extern void _end;

[...]

printk("_start = %u\n", (unsigned int) &_start);
printk("_end = %u\n", (unsigned int) &_end);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]