Re: need NOTES in vmlinux.lds.S

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

 



That placement is probably fine (the standard size is 36 bytes, so don't
fret too much about how optimal its location is).  Since ia64 has an
explicit PHDRS, it would be ideal to add there a "note PT_NOTE" and then use:

	NOTES :code :note
	code_continues : { } :code

Instead of the second line you can append :code to the next brace group.
(Without one or the other, the following sections will also be included in
the size of the PT_NOTE segment.)

Adding the PT_NOTE phdr is not essential, but it keeps vmlinux holding to
that standard ELF convention, and it's what the other machines do.


Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux