From d6e5f9500061c1be7be5395af4d59963c2a26b0a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 23 Sep 1993 15:14:12 +0000 Subject: * 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. --- bfd/elf32-target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/elf32-target.h') diff --git a/bfd/elf32-target.h b/bfd/elf32-target.h index 47b5249..1c1662b 100644 --- a/bfd/elf32-target.h +++ b/bfd/elf32-target.h @@ -120,7 +120,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 */ @@ -202,7 +202,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_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 */ -- cgit v1.1