From: Sergio Ruiz <quekio@gmail.com>
To: linux-mips@linux-mips.org
Subject: Linking assembled PIC code with Linux libc library
Date: Sat, 9 Apr 2005 14:09:14 +0200 [thread overview]
Message-ID: <e02bc66105040905091efb3dc6@mail.gmail.com> (raw)
Hi, i can't link assembled pic code against the libc running my
embedded-mips-box under debian, and this is what i do:
bluebox@bluebox:~$ as -al -EL -membedded-pic -mips1 -o prueba."o" prueba."s"
ld -L/usr/lib -lc -EL -o prueba prueba.o
ld: aviso: no se puede encontrar el símbolo de entrada __start; usando
por omisión 0000000000400280
prueba.o: En la función `main':
prueba.o(.text+0x8): relocation truncated to fit: R_MIPS_GNU_REL16_S2
printf@@GLIBC_2.0
I've been looking everywhere without any luck.
Any help is appreciated!
Thanks
next reply other threads:[~2005-04-09 12:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-09 12:09 Sergio Ruiz [this message]
2005-04-09 13:49 ` Linking assembled PIC code with Linux libc library Daniel Jacobowitz
[not found] ` <e02bc661050409113820cceae3@mail.gmail.com>
[not found] ` <20050409215140.GA15253@nevyn.them.org>
[not found] ` <e02bc66105041012091afdf306@mail.gmail.com>
2005-04-10 19:27 ` Sergio Ruiz
2005-04-11 16:09 ` Ralf Baechle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e02bc66105040905091efb3dc6@mail.gmail.com \
--to=quekio@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.