public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Thumb (PLT) problem
@ 2005-03-09 11:23 Kovacs.Ferenc.5
  2005-03-09 12:17 ` Nick Clifton
  0 siblings, 1 reply; 4+ messages in thread
From: Kovacs.Ferenc.5 @ 2005-03-09 11:23 UTC (permalink / raw)
  To: binutils

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-11 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-09 11:23 Thumb (PLT) problem Kovacs.Ferenc.5
2005-03-09 12:17 ` Nick Clifton
2005-03-09 13:39   ` Paul Brook
2005-03-11 19:27   ` [OT] " Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).