Re: c program binary/image in memory
tele-commuter wrote:[color=blue]
>
> I want to understand how exactly is an image(compiled
> c code and loaded into memory) stored in memory.
>
> What exactly is a linker script?
>
> I work with a lot of c code on a daily basis but I really
> don't understand :
>
> How exactly the sections like "text,bss,d ata etc." work?
>
> What exactly are they?
>
> I believe the linker script describes this layout.
>
> What exactly is a 'bundled image'?
> What exactly is 'microcode'?
> What exactly is 'firmware'?
>[/color]
.... snip ...[color=blue]
>
> If it helps,my work involves a lot of driver code
> in C on systems using MIPS processors.[/color]
Your questions have to do with the mechanics of preparing programs,
and not the actual C language. The language itself is the only
topic here, and thus your questions are off-topic. There is no-one
(necessarily) here who knows the right answers, and, more
important, there is no group to criticize and catch wrong answers.
It does no one good to post such possibly wrong and uncriticized
answers, so you are just tempting some to worsen the whole matter.
You should go to some group that deals with your particular system
and ask there. I haven't the foggiest what that is, but I know it
isn't here.
--
"If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell. org/google/>
tele-commuter wrote:[color=blue]
>
> I want to understand how exactly is an image(compiled
> c code and loaded into memory) stored in memory.
>
> What exactly is a linker script?
>
> I work with a lot of c code on a daily basis but I really
> don't understand :
>
> How exactly the sections like "text,bss,d ata etc." work?
>
> What exactly are they?
>
> I believe the linker script describes this layout.
>
> What exactly is a 'bundled image'?
> What exactly is 'microcode'?
> What exactly is 'firmware'?
>[/color]
.... snip ...[color=blue]
>
> If it helps,my work involves a lot of driver code
> in C on systems using MIPS processors.[/color]
Your questions have to do with the mechanics of preparing programs,
and not the actual C language. The language itself is the only
topic here, and thus your questions are off-topic. There is no-one
(necessarily) here who knows the right answers, and, more
important, there is no group to criticize and catch wrong answers.
It does no one good to post such possibly wrong and uncriticized
answers, so you are just tempting some to worsen the whole matter.
You should go to some group that deals with your particular system
and ask there. I haven't the foggiest what that is, but I know it
isn't here.
--
"If you want to post a followup via groups.google.c om, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell. org/google/>
Comment