All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [parisc-linux] glibc-2.3.3 & gcc-snapshot (3.5.0) pb
@ 2004-02-11  9:22 Joel Soete
  2004-02-11 15:32 ` Joel Soete
  0 siblings, 1 reply; 26+ messages in thread
From: Joel Soete @ 2004-02-11  9:22 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: John David Anglin, James Morrison, parisc-linux

Hi Carlos,


>The wrong files are being included. What is your configure line?
As I just change gcc compiler, I don't change glibc configure options which
are:

"unset LD_LIBRARY_PATH; unset LD_RUN_PATH; \
export CC=/Develop/parisc-linux/xc/bin
hppa-linux-gcc; \
export CLFAGS="-O2 -g";  export PATH="/Develop/parisc-linux/xc/bin:$PATH";
\
/Develop/parisc-linux/src/glibc/configure --target=hppa-linux --host=hppa-linux
\
--build=hppa-linux --prefix=/opt/palinux-3.5.0/hppa-linux --without-cv \
--disable-profile --enable-hacker-mode --enable-add-ons=linuxthreads \
--with-headers=/Develop/parisc-linux/src/linux/include
"

hmm I have a look by getting an objdump of elf/dl-symaddr.o (as hppa/dl-symaddr.c
include hppa/dl-machine.h) but I don't find any set_dp? (still have to have
a look with gcc-3.3 for comparison)

Cheers,
    Joel





-------------------------------------------------------------------------
Tiscali ADSL: 12 mois à 29,50 €/mois! L'Internet rapide, c'est pour tout
le monde.
http://reg.tiscali.be/default.asp?lg=fr

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [parisc-linux] Re: [PATCH] gcc/config/pa/ftpr.c fixes for new TRAMPOLINE_TEMPLATE in
@ 2004-02-08  1:47 Carlos O'Donell
  2004-02-09 17:11 ` [parisc-linux] glibc-2.3.3 & gcc-snapshot (3.5.0) pb Joel Soete
  0 siblings, 1 reply; 26+ messages in thread
From: Carlos O'Donell @ 2004-02-08  1:47 UTC (permalink / raw)
  To: John David Anglin; +Cc: dave.anglin, parisc-linux

> > I'm not quite sure what the "-4" is intended to accomplish, I figure I
> > could have prefixed the TREAMPOLINE_TEMPLATE with another jump that
> > gives the right address? That still makes for an extra jump, and I'd
> > rather have gcc just look in the right place first.
> > 
> > Thoughts on this?
> 
> I'm just back from Japan and still somewhat jet lagged.

No worries!
 
> The change to the TRAMPOLINE_TEMPLATE macro introduces an ABI change.
> In spite of the extra overhead, I think it would be better to do it
> in a way that didn't require a libgcc.a update.  We only do a call
> to fixup when a function pointer hasn't been resolved, so the extra
> overhead in using "-4" isn't huge.

How do we break ABI? How are those templates part of any ABI? If they
weren't written in ASM they'd be changing all the time (except the entry
point symbol).

An alternative is to split into two templates, one for profiling and one
for non-profiling. This would mean that the original _dl_runtime_resolve
function looks the same, while the following template is bigger.

> If we use the "-4" feature, I can reverse the search order in fptr.c
> so that the offset at "-4" is searched first.  This also allows arbitrary
> changes to the code in the rest of the template.

The only reason I wanted to change __cffc was so the bl was found on the
first loop. I later changed the glibc to include the same bl at "-4"
before the function. The "32" must remain for old applications, the "-4"
will work for new applications once that patches go into debian's glibc
(after a round of public testing).

Perhaps I'll let you catch up on all the mail I sent you :)

c.

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

end of thread, other threads:[~2004-02-22 16:53 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11  9:22 [parisc-linux] glibc-2.3.3 & gcc-snapshot (3.5.0) pb Joel Soete
2004-02-11 15:32 ` Joel Soete
2004-02-11 16:27   ` Carlos O'Donell
2004-02-11 16:50     ` Joel Soete
2004-02-13 14:35     ` Joel Soete
2004-02-13 19:49       ` Carlos O'Donell
2004-02-14  0:17         ` Grant Grundler
2004-02-14 14:52           ` Joel Soete
2004-02-14 18:23           ` Carlos O'Donell
2004-02-14 19:29             ` Joel Soete
2004-02-16 17:31               ` Joel Soete
2004-02-17 21:10                 ` Carlos O'Donell
2004-02-18 13:16                   ` Joel Soete
2004-02-18 13:36                     ` Elliott Potter
2004-02-18 14:42                       ` Joel Soete
2004-02-18 16:39                       ` Carlos O'Donell
2004-02-18 17:25                         ` Joel Soete
2004-02-18 18:40                           ` Joel Soete
2004-02-21 19:01                         ` [parisc-linux] glibc-2.3.3 & gcc-snapshot (3.5.0) pb: followup Joel Soete
2004-02-22  6:00                           ` Carlos O'Donell
2004-02-22 16:53                             ` John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
2004-02-08  1:47 [parisc-linux] Re: [PATCH] gcc/config/pa/ftpr.c fixes for new TRAMPOLINE_TEMPLATE in Carlos O'Donell
2004-02-09 17:11 ` [parisc-linux] glibc-2.3.3 & gcc-snapshot (3.5.0) pb Joel Soete
2004-02-09 18:40   ` James Morrison
2004-02-09 19:06     ` Joel Soete
2004-02-10 16:46       ` Joel Soete
2004-02-10 19:14         ` Carlos O'Donell

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.