aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-target.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-09-23 15:14:12 +0000
committerIan Lance Taylor <ian@airs.com>1993-09-23 15:14:12 +0000
commitd6e5f9500061c1be7be5395af4d59963c2a26b0a (patch)
tree52e48a275cdb3d2f4b97b1ee301338258131987e /bfd/elf64-target.h
parent0c28fe8dd4fb7b6814d477a57db0de05011a62ff (diff)
downloadgdb-d6e5f9500061c1be7be5395af4d59963c2a26b0a.zip
gdb-d6e5f9500061c1be7be5395af4d59963c2a26b0a.tar.gz
gdb-d6e5f9500061c1be7be5395af4d59963c2a26b0a.tar.bz2
* section.c (SEC_DEBUGGING): New section flag.
* elfcode.h (bfd_section_from_shdr): If section is SHT_PROGBITS, and the name starts with .debug, .line or .stab, set SEC_DEBUGGING. * elf32-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING to section_flags. * elf64-target.h (TARGET_BIG_SYM, TARGET_LITTLE_SYM): Added SEC_DEBUGGING and SEC_CODE to section_flags. * bfd-in2.h: Updated.
Diffstat (limited to 'bfd/elf64-target.h')
-rw-r--r--bfd/elf64-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-target.h b/bfd/elf64-target.h
index fd5f5e1..d7ee425 100644
--- a/bfd/elf64-target.h
+++ b/bfd/elf64-target.h
@@ -98,7 +98,7 @@ bfd_target TARGET_BIG_SYM =
/* section_flags: mask of all section flags */
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_READONLY |
- SEC_CODE | SEC_DATA),
+ SEC_CODE | SEC_DATA | SEC_DEBUGGING),
/* leading_symbol_char: is the first char of a user symbol
predictable, and if so what is it */
@@ -180,7 +180,7 @@ bfd_target TARGET_LITTLE_SYM =
/* section_flags: mask of all section flags */
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_READONLY |
- SEC_DATA),
+ SEC_CODE | SEC_DATA | SEC_DEBUGGING),
/* leading_symbol_char: is the first char of a user symbol
predictable, and if so what is it */