]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf.c (special_sections_d): Add comment.
authorDoug Evans <dje@google.com>
Mon, 15 Oct 2012 20:36:12 +0000 (20:36 +0000)
committerDoug Evans <dje@google.com>
Mon, 15 Oct 2012 20:36:12 +0000 (20:36 +0000)
bfd/ChangeLog
bfd/elf.c

index 170dc98c12e204de986ef35c89c68321ae7ecbd0..57c7e173bc4a156d6401727b40f8e6295b1ff9cf 100644 (file)
@@ -1,3 +1,7 @@
+2012-10-15  Doug Evans  <dje@google.com>
+
+       * elf.c (special_sections_d): Add comment.
+
 2012-10-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        * Makefile.am (LIBDL): Replace -ldl with @lt_cv_dlopen_libs@.
index 059887bb6da9144ab4b7242b3365a4076dac4d66..f01480bf836f25d3a5078a2c6b51e78bc72aaf15 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2061,6 +2061,9 @@ static const struct bfd_elf_special_section special_sections_d[] =
 {
   { STRING_COMMA_LEN (".data"),         -2, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
   { STRING_COMMA_LEN (".data1"),         0, SHT_PROGBITS, SHF_ALLOC + SHF_WRITE },
+  /* There are more DWARF sections than these, but they needn't be added here
+     unless you have to cope with broken compilers that don't emit section
+     attributes or you want to help the user writing assembler.  */
   { STRING_COMMA_LEN (".debug"),         0, SHT_PROGBITS, 0 },
   { STRING_COMMA_LEN (".debug_line"),    0, SHT_PROGBITS, 0 },
   { STRING_COMMA_LEN (".debug_info"),    0, SHT_PROGBITS, 0 },