I'm trying to make use of the ROMLIB feature, but when we come to the final link we get multiple definition errors:
./build/v1plus/release/lib/libc.a(exit.o): In function `atexit': /home/neiljones/src/vsi_v1p/TFA-release/lib/libc/exit.c:21: multiple definition of `atexit' ./build/v1plus/release/lib/libwrappers.a(c_atexit.o):(.text+0x0): first defined here Makefile:759: recipe for target 'build/v1plus/release/bl1/bl1.elf' failed make: *** [build/v1plus/release/bl1/bl1.elf] Error 1
How is this supposed to work ? Other than marking all the functions we want in the romlib, weak in their respective libs or turning off multiple definitions and being *very* careful about link order I don't see how this is supposed to work ??