git: rtld: Reorganize reloc_plt and reloc_jmpslots
John Marino
marino at crater.dragonflybsd.org
Mon Jan 16 10:49:21 PST 2012
commit f609f0351a301d4718a3bda7208d3f190462cce6
Author: John Marino <draco at marino.st>
Date: Sat Jan 14 16:19:06 2012 +0100
rtld: Reorganize reloc_plt and reloc_jmpslots
In the future, more reloc types than just R_$ARCH_JMP_SLOT will be
supported. FreeBSD already has them and converted to a switch statement
and introduced a new rtld_error message rather than use an ASSERT.
Follow suit and fix a mismatching const as well.
Summary of changes:
libexec/rtld-elf/i386/reloc.c | 43 ++++++++++++++++++++++++++------------
libexec/rtld-elf/x86_64/reloc.c | 39 ++++++++++++++++++++++++----------
2 files changed, 56 insertions(+), 26 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f609f0351a301d4718a3bda7208d3f190462cce6
--
DragonFly BSD source repository
More information about the Commits
mailing list