RE: where is __setup_start?

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

 



You can get more information from manual of ld by "info ld", the "Scripts" part is short and tell much. 

Roy Huang

-----Original Message-----
From: kernelnewbies-bounce@xxxxxxxxxxxx [mailto:kernelnewbies-bounce@xxxxxxxxxxxx] On Behalf Of Om
Sent: 2004年10月10日 5:59
To: kernelnewbies@xxxxxxxxxxxx
Subject: where is __setup_start?

while going through the code of parse_options() (init/main.c) I found it 
is calling checksetup(). This function is using

struct kernel_param *p;

p = &__setup_start ;

I who creates __setup_start? I saw in arch/i386/vmlinux.lds (linker 
script) the following

   __setup_start = .;
   .setup.init : { *(.setup.init) }
   __setup_end = .;

I coudl not make much out of this. Any pointers/explanations?

Regards,
om.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux