Re: Question about compilation details

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

 



Redirected to gcc-help.

eduardo wrote:
>    Hi.
>    I'm using the arm-elf-gcc compiler to compile some files to a ARM9 (Freescale i.MX27, ARM926EJ-S core). What I would like to know is how can I visualize/change the address specifications made by the linker to the output file? I heard gcc can generate a file (.lst) that contains such information, but I also don't know how to create this file.

You really ought to ask the binutils list, but to get an address
map from linking use:

   -Wl,-Map,linkmap

if you're using gcc to link, or if you're linking with ld use

  -Map linkmap

To *control* linking you're going to need to create a linker script,
and you really need to go to the binutils list for that.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux