Follow @Openwall on Twitter for new release announcements and other news
[<prev] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260207005105.GV1827@brightrain.aerifal.cx>
Date: Fri, 6 Feb 2026 19:51:06 -0500
From: Rich Felker <dalias@...c.org>
To: Luciano Lo Giudice <lmlogiudice@...il.com>, musl@...ts.openwall.com
Subject: Re: [RFC] Implement the _dl_find_object interface

On Thu, Feb 05, 2026 at 09:19:06PM +0100, Szabolcs Nagy wrote:
> > --------------------------------------
> > diff --git a/include/dlfcn.h b/include/dlfcn.h
> > index 13ab71dd..4d794cbd 100644
> > --- a/include/dlfcn.h
> > +++ b/include/dlfcn.h
> > @@ -31,8 +31,35 @@ typedef struct {
> >   const char *dli_sname;
> >   void *dli_saddr;
> >  } Dl_info;
> > +
> > +#ifdef __x86_64__
> > +# define DLFO_STRUCT_HAS_EH_DBASE 0
> > +#else
> > +# define DLFO_STRUCT_HAS_EH_DBASE 1
> > +#endif
> 
> this should be in a bits/ header, not generic

Is there a legitimate reason the fields differ by arch? That's rather
an antipattern for adding new interfaces like this..

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.