Re: question about vmlinux.lds.in

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

 



On Sun, Oct 26, 2008 at 10:09:51PM +0800, Peter Teoh wrote:
> yes, GOT is mentioned here:
> 
> http://www.itee.uq.edu.au/~emmerik/elf.html
> 
> But as I objdump the "vmlinux" I cannot find any ".got", but I can
> find in binaries like /bin/ls.   why?

From: arch/arm/kernel/vmlinux.lds.S:

 .text : {                       /* Real text segment            */
                _text = .;              /* Text and read-only data      */
                        __exception_text_start = .;
                        *(.exception.text)
                        __exception_text_end = .;
                        TEXT_TEXT
                        SCHED_TEXT
                        LOCK_TEXT
                        KPROBES_TEXT
#ifdef CONFIG_MMU
                        *(.fixup)
#endif
                        *(.gnu.warning)
                        *(.rodata)
                        *(.rodata.*)
                        *(.glue_7)
                        *(.glue_7t)
                *(.got)                 /* Global offset table          */
        }

So .got is included in .text in the final vmlinux.

	Sam

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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