[PATCH] elf: Add -z [dt-debugsz|nodt-debugsz] to emit DT_DEBUGSZ

Florian Weimer fw@deneb.enyo.de
Sun Aug 15 11:55:21 GMT 2021


* H. J. Lu via Gdb-patches:

> Add -z [dt-debugsz|nodt-debugsz] to emit a DT_DEBUGSZ dynamic tag so
> that the dynamic linker can set its value to the size of the structure
> of debugger interface, whose address is stored in the DT_DEBUG dynamic
> tag, used by the dynamic linker.

I do not think this is necessary.  We can increase the version number
in the existing DT_DEBUG structure.


More information about the Libc-alpha mailing list