We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd35bb9 commit 86a2cd8Copy full SHA for 86a2cd8
patchelf.1
@@ -89,6 +89,13 @@ option can be given multiple times.
89
Marks the object so that the search for dependencies of this object will ignore any
90
default library search paths.
91
92
+.IP "--add-debug-tag"
93
+Adds DT_DEBUG tag to the .dynamic section if not yet present in an ELF
94
+object. A shared library (-shared) by default does not receive DT_DEBUG tag.
95
+This means that when a shared library has an entry point (so that it
96
+can be run as an executable), the debugger does not connect to it correctly and
97
+symbols are not resolved.
98
+
99
.IP "--output FILE"
100
Set the output file name. If not specified, the input will be modified in place.
101
0 commit comments