diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-10 17:17:45 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-10 17:17:45 -0700 |
commit | 0d6121128644c0b58b7424f7988e970d55dfabcd (patch) | |
tree | 58a34d362b2fb118ebc8987fc15ef510e43fd2be | |
parent | 143c889b1eb53116dd11bb099a312129bd85f05d (diff) | |
download | syslinux-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.ld | 2 |
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); |