diff options
Diffstat (limited to 'gold/layout.h')
-rw-r--r-- | gold/layout.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h index 55ad7a6..60ae114 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -59,6 +59,10 @@ class Output_reduced_debug_info_section; class Eh_frame; class Target; +// Return TRUE if SECNAME is the name of a compressed debug section. +extern bool +is_compressed_debug_section(const char* secname); + // This task function handles mapping the input sections to output // sections and laying them out in memory. @@ -451,6 +455,7 @@ class Layout { // Debugging sections can only be recognized by name. return (strncmp(name, ".debug", sizeof(".debug") - 1) == 0 + || strncmp(name, ".zdebug", sizeof(".zdebug") - 1) == 0 || strncmp(name, ".gnu.linkonce.wi.", sizeof(".gnu.linkonce.wi.") - 1) == 0 || strncmp(name, ".line", sizeof(".line") - 1) == 0 |