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

Daniel Hellstrom daniel at gaisler.com
Thu Nov 20 09:22:19 UTC 2014


Hi,

I will fix this. I missed it since it I never enabled RTEMS_PROFILING.

Thanks!
Daniel


On 11/20/2014 10:12 AM, Sebastian Huber wrote:
> 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'
>



More information about the devel mailing list