This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Newlib, syscall.c and printf


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/12/2011 09:29 PM, Hard Maker wrote:
> Hi Federico,
> I'm writing to say thank's for your help. The problem in my project was
> the linker script, but with your linker script I can rewrite my own and
> all work fine.
> Can you recommend  some book, tutorial, paper or something where can I
> read more about this file? Lines like
> 
> 79         *(.gcc_except_table)
> 80         *(.gcc_except_table.*)
> 81         *(.ARM.extab*)
> 82         *(.gnu.linkonce.armextab.*)
> 83
> 84         . = ALIGN(4);
> 85         /* .rodata: constant data */
> 86         *(.rodata)
> 87         *(.rodata.*)
> 88         *(.gnu.linkonce.r.*)
> 89
> 90         /* C++ Static constructors/destructors (eabi) */
> 91         . = ALIGN(4);
> 92         KEEP(*(.init))
> 93
> 94         . = ALIGN(4);
> 95         __preinit_array_start = .;
> 96         KEEP (*(.preinit_array))
> 97         __preinit_array_end = .;
> 
> I don't know what are doing and I want to study about it.
> Thank's again
> 
> Sergio

You might want to have a look at appendix C of my thesis
(http://www.webalice.it/fede.tft/miosix/tesi.pdf) where I explain more
in detail how to write linker scripts.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNV7D3AAoJECkLFtN5Xr9fn44H/jApMe7JKqPH0+FWJu/CAcpV
ZK2gEQOe1z97kRvKiJVGhNMvl3MHKq+bP4P8DLOcbwhEQ4iihq/4Dn4Ku5fDGff2
JebJiFYVyGyGrBRpkwkM+JpfRQCwacZn76rS+bnUjH+VTtVBsz25Zz08Bp1jDd4c
dK5vujht5djQMSJfLOpbHiMLLB5RgkC/FBEKZEDVT0DrFV7xRqropPFRPy1yttL4
e6r/hj+tVrk7xdpN03/1i44TSH3l0zCqVhQ2ZGTAo9zl/lUByNSTO4+2VE9qCS5z
fK0wrc/X7stWQ56OLQPtwLn+49h2OBPn6qdsP2rwfcwrez+J0q7G0TGBpSdYkSw=
=XO+D
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]