summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-10 17:17:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-07-10 17:17:45 -0700
commit0d6121128644c0b58b7424f7988e970d55dfabcd (patch)
tree58a34d362b2fb118ebc8987fc15ef510e43fd2be
parent143c889b1eb53116dd11bb099a312129bd85f05d (diff)
downloadsyslinux-0d6121128644c0b58b7424f7988e970d55dfabcd.tar.gz
Add __dynsym_len and __dynstr_len
The root elf_module wants these as lengths, not start and end, so we might just want to indulge it... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--core/syslinux.ld2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/syslinux.ld b/core/syslinux.ld
index ae6bef6b..d579e8c3 100644
--- a/core/syslinux.ld
+++ b/core/syslinux.ld
@@ -275,6 +275,7 @@ SECTIONS
*(.dynsym)
__dynsym_end = .;
}
+ __dynsym_len = __dynsym_end - __dynsym_start;
. = ALIGN(4);
@@ -285,6 +286,7 @@ SECTIONS
*(.dynstr)
__dynstr_end = .;
}
+ __dynstr_len = __dynsym_end - __dynsym_start;
. = ALIGN(4);