Hi,
I am using the Momentics IDE to generate IPL code for an Arm920 processor
(Samsung S3C2410), little endian mode. The code builds and runs OK but when
I include C standard library calls, the linker complains:
‘no memory region specified for section …’ for sections .dynamic,
…dynstr, .dynsym, .eh_frame_hdr etc.
This is unfamiliar territory for me. Can anyone point me to some
documentation that explains these and where abouts in memory I should locate
them ?
Nick Horsley
I don’t think you can safely libc functions as many of
them rely on system services (eg. system calls etc.) that
will not be available in the IPL environment.
Which C library functions are you using?
Sunil.
Nick Horsley wrote:
Hi,
I am using the Momentics IDE to generate IPL code for an Arm920 processor
(Samsung S3C2410), little endian mode. The code builds and runs OK but when
I include C standard library calls, the linker complains:
‘no memory region specified for section …’ for sections .dynamic,
.dynstr, .dynsym, .eh_frame_hdr etc.
This is unfamiliar territory for me. Can anyone point me to some
documentation that explains these and where abouts in memory I should locate
them ?
I’m just using sprintf so far.
Nick
“Sunil Kittur” <skittur@qnx.com> wrote in message
news:d748p8$7q1$1@inn.qnx.com…
I don’t think you can safely libc functions as many of
them rely on system services (eg. system calls etc.) that
will not be available in the IPL environment.
Which C library functions are you using?
Sunil.
Nick Horsley wrote:
Hi,
I am using the Momentics IDE to generate IPL code for an Arm920
processor
(Samsung S3C2410), little endian mode. The code builds and runs OK but
when
I include C standard library calls, the linker complains:
‘no memory region specified for section …’ for sections .dynamic,
.dynstr, .dynsym, .eh_frame_hdr etc.
This is unfamiliar territory for me. Can anyone point me to some
documentation that explains these and where abouts in memory I should
locate
them ?
There are character output functions provided in ipl-s3c2400:
debug_char_s3c2400(char c)
debug_string_s3c2400(const char *c)
debug_hex_s3c2400(unsigned x)
The source is in the image_download_s3c2400.c file.
cheers,
Justin
“Nick Horsley” <nick.horsley@emsgroup.co.uk> wrote in message
news:d74bbh$9hk$1@inn.qnx.com…
I’m just using sprintf so far.
Nick
“Sunil Kittur” <> skittur@qnx.com> > wrote in message
news:d748p8$7q1$> 1@inn.qnx.com> …
I don’t think you can safely libc functions as many of
them rely on system services (eg. system calls etc.) that
will not be available in the IPL environment.
Which C library functions are you using?
Sunil.
Nick Horsley wrote:
Hi,
I am using the Momentics IDE to generate IPL code for an Arm920
processor
(Samsung S3C2410), little endian mode. The code builds and runs OK but
when
I include C standard library calls, the linker complains:
‘no memory region specified for section …’ for sections .dynamic,
.dynstr, .dynsym, .eh_frame_hdr etc.
This is unfamiliar territory for me. Can anyone point me to some
documentation that explains these and where abouts in memory I should
locate
them ?
I have these functions but my aim is to write (and adapt existing) hardware
test routines for production test - so I wanted to be able to use several C
library functions. Surely there is a way of doing this ?
Nick
“Justin Moon” <jmoon@qnx.com> wrote in message
news:d7545v$r4u$1@inn.qnx.com…
There are character output functions provided in ipl-s3c2400:
debug_char_s3c2400(char c)
debug_string_s3c2400(const char *c)
debug_hex_s3c2400(unsigned x)
The source is in the image_download_s3c2400.c file.
cheers,
Justin
“Nick Horsley” <> nick.horsley@emsgroup.co.uk> > wrote in message
news:d74bbh$9hk$> 1@inn.qnx.com> …
I’m just using sprintf so far.
Nick
“Sunil Kittur” <> skittur@qnx.com> > wrote in message
news:d748p8$7q1$> 1@inn.qnx.com> …
I don’t think you can safely libc functions as many of
them rely on system services (eg. system calls etc.) that
will not be available in the IPL environment.
Which C library functions are you using?
Sunil.
Nick Horsley wrote:
Hi,
I am using the Momentics IDE to generate IPL code for an Arm920
processor
(Samsung S3C2410), little endian mode. The code builds and runs OK
but
when
I include C standard library calls, the linker complains:
‘no memory region specified for section …’ for sections .dynamic,
.dynstr, .dynsym, .eh_frame_hdr etc.
This is unfamiliar territory for me. Can anyone point me to some
documentation that explains these and where abouts in memory I
should
locate
them ?
\