Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-25 Thread Mark Mitchell
Shaun Jackman wrote: I did fix at least one bug, such that -Ttext does something useful with ELF toolchains, if your linker script it set up to use it. I think the ARM BPABI script may be the only one set up that way, though. That would be excellent. I dislike having to read / modify / write (rea

Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-25 Thread Shaun Jackman
> I did fix at least one bug, such that -Ttext does something useful with > ELF toolchains, if your linker script it set up to use it. I think the > ARM BPABI script may be the only one set up that way, though. That would be excellent. I dislike having to read / modify / write (read: fork) an exi

Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-25 Thread Mark Mitchell
Daniel Jacobowitz wrote: On Thu, Feb 24, 2005 at 03:23:53PM -0800, Shaun Jackman wrote: When -Ttext is used in combination with -mthumb it causes a relocation truncated to fit message. What does this mean, and how do I fix it? Please cc me in your reply. Thanks, Shaun Don't use -Ttext with an ELF

Re: -Ttext with -mthumb causes relocation truncated to fit

2005-02-24 Thread Daniel Jacobowitz
On Thu, Feb 24, 2005 at 03:23:53PM -0800, Shaun Jackman wrote: > When -Ttext is used in combination with -mthumb it causes a relocation > truncated to fit message. What does this mean, and how do I fix it? > > Please cc me in your reply. Thanks, > Shaun Don't use -Ttext with an ELF toolchain; use

-Ttext with -mthumb causes relocation truncated to fit

2005-02-24 Thread Shaun Jackman
When -Ttext is used in combination with -mthumb it causes a relocation truncated to fit message. What does this mean, and how do I fix it? Please cc me in your reply. Thanks, Shaun $ arm-elf-gcc --version | head -1 arm-elf-gcc (GCC) 3.4.0 $ cat hello.c int main() { return 0; } $ arm-elf-gcc -Ttex