[RFC] Allow read-only dynamic section

Ulrich Drepper drepper@redhat.com
Thu Mar 23 08:19:00 GMT 2000


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   `------------------------


More information about the Libc-hacker mailing list