diff options
author | Nick Clifton <nickc@redhat.com> | 2020-04-28 11:56:06 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-04-28 11:56:06 +0100 |
commit | 56b1e56d2c2fa7611dc87192f26aac1da9fc63df (patch) | |
tree | 58baa847df9decbfc2ba7034ae96f7ebb0b4e761 /libiberty/simple-object.c | |
parent | 32d1f47a126567f24be18e7cadf5d2490968c986 (diff) | |
download | gdb-56b1e56d2c2fa7611dc87192f26aac1da9fc63df.zip gdb-56b1e56d2c2fa7611dc87192f26aac1da9fc63df.tar.gz gdb-56b1e56d2c2fa7611dc87192f26aac1da9fc63df.tar.bz2 |
Rebase libiberty source with latest changes from gcc.
PR 25876
PR demangler/94797
* cp-demangle.c (cplus_demangle_operators): Add ss <=> operator.
* testsuite/demangle-expected: Add operator<=> test.
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 e6c466a..92f5698 100644 --- a/libiberty/simple-object.c +++ b/libiberty/simple-object.c @@ -301,6 +301,9 @@ handle_lto_debug_sections (const char *name, int rename) COMDAT sections in objects produced by GCC. */ else if (strcmp (name, ".comment") == 0) return strcpy (newname, name); + /* Copy over .GCC.command.line section under the same name if present. */ + else if (strcmp (name, ".GCC.command.line") == 0) + return strcpy (newname, name); free (newname); return NULL; } |