summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorDoug Evans <dje@sebabeach.org>2012-10-15 20:36:11 +0000
committerDoug Evans <dje@sebabeach.org>2012-10-15 20:36:11 +0000
commitee3858fa848c1ad271556d80eaf7a99cf55dcb9f (patch)
tree546ea698a71bbd9c27cb680a8eae9324b4f13f07 /bfd/elf.c
parent466eb499bd9196abab179edec403440f531d7e44 (diff)
downloadbinutils-redhat-ee3858fa848c1ad271556d80eaf7a99cf55dcb9f.tar.gz
* elf.c (special_sections_d): Add comment.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 059887bb6d..f01480bf83 100644
--- 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 },