strange comment in load_elf_binary

Mulyadi Santosa mulyadi.santosa at gmail.com
Fri Oct 30 06:10:06 EDT 2015


On Tue, Oct 27, 2015 at 9:56 AM, 慕冬亮 <mudongliangabcd at gmail.com> wrote:
> I see something strange in the load_elf_binary.
>
> /* This is the program interpreter used for
> * shared libraries - for now assume that this
> * is an a.out format binary
> */
>
> This comment is in the load_elf_binary. I don't know why it "assume that
> this is an a.out format binary". a.out and elf are two different file
> formats.
>
> If I misunderstand something, please let me know.
> Thanks.
>
>     - mudongliang
>
very likely it refers to "a.out" as default object/executable name
produces by gcc, when you don't specify certain name.



-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list