Use ELF_SECTION_IN_SEGMENT to map segments
authorAlan Hayward <alan.hayward@arm.com>
Mon, 4 Jun 2018 16:21:04 +0000 (17:21 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Mon, 4 Jun 2018 16:23:07 +0000 (17:23 +0100)
commit62b74cb8b00ca2b42de30ceff4d2f1552b77a10d
tree5388b0ad1f7fc2d51c67bc87e932fb6acdb4b87f
parentbaf00c2d75351de7a42dae32aea3a71c8902cd25
Use ELF_SECTION_IN_SEGMENT to map segments

The macro ELF_SECTION_IN_SEGMENT should be used when calculating if
a section maps to a segment.

gdb/
* elfread.c (elf_symfile_segments): Use ELF_SECTION_IN_SEGMENT.
gdb/ChangeLog
gdb/elfread.c