This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Alpha hwcaps


Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:

> Andreas Jaeger <aj@suse.de> writes:
>
>> Falk Hueffner <falk.hueffner@student.uni-tuebingen.de> writes:
>> > this add support for Alpha hwcaps. Since the scheme of orthogonal
>> > hwcap bits simply doesn't fit with Alpha, which has plain linear
>> > feature inclusion, I had to replace the whole _dl_important_hwcaps.
>> > Obviously, as I've done it is not the best solution, how can I achieve
>> > this in a nicer way?
>> >
>> > --- sysdeps/generic/dl-sysdep.c.orig	2004-02-29 02:52:07.000000000 +0100
>> > +++ sysdeps/generic/dl-sysdep.c	2004-02-29 03:25:43.000000000 +0100
>> 
>> You never add architecture support to a file in sysdeps/generic.
>> Instead create you own file in sysdeps/alpha/
>
> The problem is that I don't want to replace everything in dl-sysdep.c,
> but just _dl_important_hwcaps. How can I do that?

Check the other dl-sysdep.c files and see how they handle that - but I
fear nobody has needed so far to change _dl_important_hwcaps. :-(

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]