--with-arch options in LLVM-GCC for ARM target

I am able to crosscompile llvm-gcc using --with-arch=armv6 but cannot using --with-arch=armv5. Can anyone please tell me what option i should use to crosscIompile for the architecture armv5te (xscale processor). I heard that by default arm 5 code generates, will that work on my target (armv5te)? I get the following when I use --with-arch=armv5 :

D:/DOCUME~2/AZIM/LOCALS~1/Temp/ccS4shon.s:19245: Error: bad immediate value for offset value

make[2]: *** [cplus-dem.o] Error 1