diff options
Diffstat (limited to 'libiberty/simple-object.c')
-rw-r--r-- | libiberty/simple-object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libiberty/simple-object.c b/libiberty/simple-object.c index 553e90f..19d222f 100644 --- a/libiberty/simple-object.c +++ b/libiberty/simple-object.c @@ -273,6 +273,9 @@ handle_lto_debug_sections (const char **name) *name = *name + sizeof (".gnu.lto_") - 1; return 1; } + /* Copy over .note.GNU-stack section under the same name if present. */ + else if (strcmp (*name, ".note.GNU-stack") == 0) + return 1; return 0; } |