question about new ram_init.ld of efi332 - 2nd

Peter Mueller peter.o.mueller at gmx.de
Sun Mar 2 11:25:31 UTC 2003


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

Hello,

meanwhile I found out what has changed. It looks like that start.c gets
compiled into an S file and the S file gets "translated" (see below) in a
final ram_init2.S file. What is the reason to do this? The volatile error
is because of my start.c file - ignore this for now.

Is the way of processing start.c not overly complex? What is the reason?
Also what is the reason for ram_init.ld?

Can someone expain me why these changes are necessary? There is no such
processing like that in ss20020608.

Peter
- ---


Making all in start
gmake[6]: Entering directory
`/home/pmueller/develop/rtems-4.6.0pre1/nf300/m68k-rtems/c/efi332/lib/lib
bsp/m68k/efi332/start'
sed -f
../../../../../../../../../c/src/lib/libbsp/m68k/efi332/start/ram_init.sed
../../../../../../../../../c/src/lib/libbsp/m68k/efi332/start/start.c
>o-optimize/ram_init.S
m68k-rtems-gcc --pipe -B../../../../../../../lib/
- -B../../../../../../../efi332/lib/ -specs bsp_specs -qrtems -D
SIM_CRB=0x0000 -E o-optimize/ram_init.S >o-optimize/ram_init1.S
sed "/.org/ {N; s/\n/%/; P;}; /\.text/P; D;" o-optimize/ram_init1.S | \
           sort | sed "h;1{s/.*/.data/;P;g;};s/%.*//;P;g;s/.*%//;" \
           >o-optimize/ram_init2.S
m68k-rtems-gcc --pipe -B../../../../../../../lib/
- -B../../../../../../../efi332/lib/ -specs bsp_specs -qrtems -nostdlib
- -Wl,-T../../../../../../../../../c/src/lib/libbsp/m68k/efi332/start/ram_i
nit.ld o-optimize/ram_init2.S \
           -o o-optimize/ram_init
o-optimize/ram_init2.S: Assembler messages:
o-optimize/ram_init2.S:23: Warning: rest of line ignored; first ignored
character is `='
o-optimize/ram_init2.S:24: Error: missing ')'
o-optimize/ram_init2.S:24: Error: missing ')'
o-optimize/ram_init2.S:24: Warning: symbol "volatile" undefined; zero
assumed

- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+YeorUzCcwYQMTJoRAmsBAJ9ce4s4b5zgB+RiokkJ9L2lmZ97EwCgmQUe
l43KfIZ+++NTN7/xbDFFK2U=
=cmu+
-----END PGP SIGNATURE-----



More information about the users mailing list