From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] rte и TEXTREL
Date: Wed, 12 Nov 2003 15:24:06 +0300
Message-ID: <20031112122406.GB31565@basalt.office.altlinux.org> (raw)
In-Reply-To: <20031112121647.GZ6596@inferno.immo>
[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]
On Wed, Nov 12, 2003 at 03:16:47PM +0300, Alexey I. Froloff wrote:
> * Denis Ovsienko [031112 15:04]:
> > > Проблема может быть в самом filter_mmx.s - что компилируй с -fPIC, что
> > > без него - всё равно.
> > > Я натыкался на подобную проблему... :(
> > На мой взгляд этот файл --- asm чистой воды, иначе как бы использовались
> > команды MMX? А ldv писал сразу, что для asm PIC не работает.
> Работает. Надо только найти эти text relocations в асмовском
> исходнике. Иногда, говорят, это получается ;-)
Не сосвсем так.
Обычный asm и asm с PIC отличаются.
Попробуйте сравнить результат работы "gcc -O2 -S" и "gcc -O2 -S -fPIC"
на приведённом примере.
--
ldv
[-- Attachment #1.2: sample.c --]
[-- Type: text/plain, Size: 58 bytes --]
extern int foo (void);
int bar (void)
{
return foo();
}
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-11-12 12:24 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-12 10:56 Igor Tertishny
2003-11-12 11:33 ` Kachalov Anton
2003-11-12 12:11 ` Denis Ovsienko
2003-11-12 12:16 ` Alexey I. Froloff
2003-11-12 12:22 ` Kachalov Anton
2003-11-12 12:50 ` Sergey Bolshakov
2003-11-12 12:24 ` Dmitry V. Levin [this message]
2003-11-12 12:20 ` Kachalov Anton
2003-11-12 12:45 ` Igor Tertishny
2003-11-12 12:55 ` Alexey Gladkov
2003-11-12 14:34 ` Vitaly Lugovsky
2003-11-12 14:39 ` Dmitry V. Levin
2003-11-12 15:53 ` Vitaly Lugovsky
2003-11-12 15:09 ` Alexander V. Nikolaev
2003-11-12 16:20 ` Vitaly Lugovsky
2003-11-12 15:29 ` Dmitry V. Levin
2003-11-12 16:36 ` Vitaly Lugovsky
2003-11-12 15:42 ` Alexander V. Nikolaev
2003-11-12 16:45 ` Vitaly Lugovsky
2003-11-12 13:10 ` Grigory Milev
2003-11-12 13:23 ` Kachalov Anton
2003-11-12 19:20 ` Вячеслав Диконов
2003-11-12 14:32 ` Vitaly Lugovsky
2003-11-12 22:01 ` Igor Tertishny
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=20031112122406.GB31565@basalt.office.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@altlinux.ru \
/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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git