Thanks a lot for your help.
Your answer really helps.
If I'm right, the executable sections from stub and loader are extracted to a bin file.
Then this bin file is converted to an ASM source file.
Then these files are compiled in the same time than geckoloader and included in geckoloder.elf
That's it ?
I tried objdump on my linux box.
It seems that the original objdump is only used for the IA32 architecture.
So, I found the executable powerpc-gekko-objdump.
I do not really know how to use it.
I tried it:
powerpc-gekko-objdump --target=binary -d geckoloader.elf
I used -d because we have the following description in the help page:
-d, --disassemble Display assembler contents of executable sections
I assume that we have to set an architecture. The command give me these choices:
supported architectures: rs6000:6000 rs6000:rs1 rs6000:rsc rs6000:rs2 powerpc:common powerpc:common64 powerpc:603 powerpc:EC603e powerpc:604 powerpc:403 powerpc:601 powerpc:620 powerpc:630 powerpc:a35 powerpc:rs64ii powerpc:rs64iii powerpc:7400 powerpc:e500 powerpc:e500mc powerpc:MPC8XX powerpc:750
I did not suceed to extract the executable section. :/
And, I had a look on Makefiles to see when objdump is used without success.
Where can I found the comands on the Makefiles ?
And, withotu the Makefiles, how can I manually extract executable section and compile an other program with included .S files ?
Thanks again.
Rgds,
ShovAge