diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-07-09 10:48:57 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-07-09 10:48:57 -0700 |
commit | 0b4b1529f14037c5a4d61cf90b010464170b6d2a (patch) | |
tree | 9e181302cb170fd0ce42164897e62f607fed467a /core/syslinux.ld | |
parent | 2df91af910aa3f4e127837b907395758c3e5be14 (diff) | |
download | syslinux-0b4b1529f14037c5a4d61cf90b010464170b6d2a.tar.gz |
core: include exported symbol information
Extract symbol table information to be exported to modules. This is a
really hacky way of doing it, so replace it later.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/syslinux.ld')
-rw-r--r-- | core/syslinux.ld | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/syslinux.ld b/core/syslinux.ld index 4906ce4a..3032dd2d 100644 --- a/core/syslinux.ld +++ b/core/syslinux.ld @@ -260,6 +260,16 @@ SECTIONS . = ALIGN(4); + __dynlink_vma = .; + __dynlink_lma = __dynlink_vma + __text_lma - __text_vma; + .dynlink : AT(__dynlink_lma) { + __dynlink_start = .; + *(.dynlink) + __dynlink_end = .; + } + + . = ALIGN(4); + __got_vma = .; __got_lma = __got_vma + __text_lma - __text_vma; .got : AT(__got_lma) { |