This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [RFC] Allow read-only dynamic section


Andreas Jaeger <aj@suse.de> writes:

> - Where should we define DL_RO_L_INFO?  [...]
> 
> - Where should D_PTR be defined?  [...]

Let's move ldsodefs.h into sysdeps/generic, define additional files in
the subdirs (e.g., sysdeps/mips/elf) which need additional definitions
and then use #include <sysdeps/generic/ldsodefs.h> in these files.

> - Are the choosen names good enough?  Do you have besser suggestions?
>   I'm considering to use DL_RO_DYN_SECTION instead of DL_RO_L_INFO

Yes, use DL_RO_DYN_SECTION, sounds better.

> - Should I send patches for all dl-machine.h files to use D_PTR?

For consistency and to avoid people slipping in direct uses of d_ptr
values in generic files it might be worthwhile to change everything.


Thanks,

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

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