C question 2



why would i want to place a code segment at a specific location in memory
rather than let the linker decide where to put it?

- Xarion


.



Relevant Pages

  • Re: C question 2
    ... > why would i want to place a code segment at a specific location in memory ... > rather than let the linker decide where to put it? ... Some uC have different ram areas... ... some ram adresses can also be memory mapped hardware.. ...
    (comp.arch.embedded)
  • Re: Getting the code size of a function in C
    ... > a structure element in an array of structures in "far" memory ... > they call "linker code packing" can do. ... Then don't use those optimizations. ... With all the toolchains I've used, there was always a way to ...
    (comp.arch.embedded)
  • Re: WARNING: (374) ORDER command could not be obeyed for section STACK
    ... This isn't "Google news groups" (Google provides an interface to ... This means the linker cannot lay out all of your variables in the ... target's memory space, because there is not enough memory. ... The compiler should have come with printed manuals (well, ...
    (comp.arch.embedded)
  • Re: C and Low-level Storage (was: I need a new compiler...
    ... be "nice to know" - but is different from what actual implementat ... read-only in memory, and only one copy of them is loaded. ... Not sure how it would execute it if it could not re ... so by creating a synonym for the code segment. ...
    (comp.lang.cobol)
  • Re: linker script headers
    ... >Well, to my understanding, the linker takes the different object files. ... >because they have to be loaded in the memory or they have to be initialized. ... >I need to specify those program headers because otherwise wrong program ... These are target specific each target CPU has a specific reset vector to ...
    (comp.arch.embedded)