summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2003-01-30 21:10:52 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2003-01-30 21:10:52 +0000
commit9771496978502f5483c028c6d3d4529c720516fe (patch)
tree73872b99ed3e524bbb4b4e2d686a23fc69fbf540
parent9b47077e91abff859fb1253814138b68d1e5b817 (diff)
Again this comment was not updated. now we have 7 load sections.
-rw-r--r--gnu/usr.bin/binutils/bfd/elf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/bfd/elf.c b/gnu/usr.bin/binutils/bfd/elf.c
index a9daa8b88c0..d5c4124e72e 100644
--- a/gnu/usr.bin/binutils/bfd/elf.c
+++ b/gnu/usr.bin/binutils/bfd/elf.c
@@ -3100,9 +3100,9 @@ get_program_header_size (abfd)
/* We used to assume that two PT_LOAD segments would be enough,
code and data, with the change to pad the PLT and GOT, this is no
- longer true. Now there can be several PT_LOAD sections. 6 seems
- to be enough with BSS_PLT, where we have text, data, GOT, dynamic,
- PLT, bss */
+ longer true. Now there can be several PT_LOAD sections. 7 seems
+ to be enough with BSS_PLT and .rodata-X, where we have text, data,
+ GOT, dynamic, PLT, bss */
segs = 7;
s = bfd_get_section_by_name (abfd, ".interp");