[PATCH 4/4] SPARC: optimize IRQ enable & disable

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Nov 20 09:12:53 UTC 2014


With your patches applied I get a link-time error:

gmake[6]: Entering directory 
`/scratch/git-build/b-smp-ngmp/sparc-rtems4.11/c/ngmp/testsuites/samples/hello'
sparc-rtems4.11-gcc -B../../../../../ngmp/lib/ -specs bsp_specs -qrtems 
-DHAVE_CONFIG_H -I. 
-I/home/sh/rtems-4.11/c/src/../../testsuites/samples/hello -I.. 
-mcpu=leon3 -msoft-float -O2 -g -ffunction-sections -fdata-sections 
-Wall -Wmissing-prototypes -Wimplicit-function-declaration 
-Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF 
.deps/init.Tpo -c -o init.o 
/home/sh/rtems-4.11/c/src/../../testsuites/samples/hello/init.c
mv -f .deps/init.Tpo .deps/init.Po
sparc-rtems4.11-gcc -B../../../../../ngmp/lib/ -specs bsp_specs -qrtems 
-mcpu=leon3 -msoft-float -O2 -g -ffunction-sections -fdata-sections 
-Wall -Wmissing-prototypes -Wimplicit-function-declaration 
-Wstrict-prototypes -Wnested-externs  -Wl,--gc-sections  -mcpu=leon3 
-msoft-float   -o hello.exe init.o
../../../../../ngmp/lib/librtemsbsp.a(libbsp_a-irq_asm.o): In function 
`dont_fix_pil2':
/home/sh/rtems-4.11/c/src/lib/libbsp/sparc/leon3/../../sparc/shared/irq_asm.S:502: 
undefined reference to `sparc_disable_interrupts'

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list