This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Thumb (PLT) problem
- From: Kovacs dot Ferenc dot 5 at stud dot u-szeged dot hu
- To: binutils at sources dot redhat dot com
- Date: Wed, 9 Mar 2005 12:22:40 +0100
- Subject: Thumb (PLT) problem
Hello,
I have to rewrite the files `$UCLIBC_PATH/libc/sysdeps/linux/
arm/*' to work in thumb mode. I'm using buildroot with
binutils 2.15, GCC 3.4.3, uclibc 0.9.27,
linux-libc-headers-2.4.27. When assembling files which have
function calls with (PLT) i get the following error message:
bsd-setjmp.S: Assembler messages:
bsd-setjmp.S:36: Error: garbage following instruction --
`b __sigsetjmp(PLT)'
The bsd-setjmp.S looks like this:
# 1 "bsd-setjmp.S"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "bsd-setjmp.S"
# 26 "bsd-setjmp.S"
# 1 "/usr/include/bits/setjmp.h" 1 3 4
# 27 "bsd-setjmp.S" 2
.thumb
.globl setjmp;
.type setjmp,%function
.code 16;
.align 2;
setjmp:
mov r1, #1
b __sigsetjmp (PLT)
.size setjmp,.-setjmp;
Do you know what does this error message exactly mean?
And what is (PLT) for here?? Sorry for my newbie-style-question,
but i'm new to ARM assembly...
Feri
PS: If you know any useful docs on this topic please send me
a pointer. Thanks.
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/