DragonFly commits List (threaded) for 2012-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: rtld: Reorganize reloc_plt and reloc_jmpslots
commit f609f0351a301d4718a3bda7208d3f190462cce6
Author: John Marino <draco@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]