Patchwork [3/3] ldso: Add remaining relocation types to the table

login
register
mail settings
Submitter Gregory Fong
Date April 21, 2014, 6:42 p.m.
Message ID <1398105721-23735-3-git-send-email-gregory.0xf0@gmail.com>
Download mbox | patch
Permalink /patch/340920/
State Accepted
Commit 161d78ab0eae69078f6c6bebd159c56be72e02c6
Headers show

Comments

Gregory Fong - April 21, 2014, 6:42 p.m.
The table format is thrown off a bit because some of these names are
too long to fit the previous format so they were put on their own
lines.

Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
---
 ldso/ldso/mips/dl-debug.h | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
aldot - April 23, 2014, 2:07 p.m.
On 21 April 2014 20:42, Gregory Fong <gregory.0xf0@gmail.com> wrote:
> The table format is thrown off a bit because some of these names are
> too long to fit the previous format so they were put on their own
> lines.
>
> Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>

Applied, thanks!

Patch

diff --git a/ldso/ldso/mips/dl-debug.h b/ldso/ldso/mips/dl-debug.h
index 33b2dc8..e71aaf7 100644
--- a/ldso/ldso/mips/dl-debug.h
+++ b/ldso/ldso/mips/dl-debug.h
@@ -40,6 +40,15 @@  static const char * const _dl_reltypes_tab[] =
 	[25]	"R_MIPS_INSERT_A",	"R_MIPS_INSERT_B",	"R_MIPS_DELETE",
 	[28]	"R_MIPS_HIGHER",	"R_MIPS_HIGHEST",	"R_MIPS_CALL_HI16",
 	[31]	"R_MIPS_CALL_LO16",	"R_MIPS_SCN_DISP",	"R_MIPS_REL16",
-	[34]	"R_MIPS_ADD_IMMEDIATE",	"R_MIPS_PJUMP",	"R_MIPS_RELGOT",
-	[37]	"R_MIPS_JALR",
+	[34]	"R_MIPS_ADD_IMMEDIATE",	"R_MIPS_PJUMP",		"R_MIPS_RELGOT",
+	[37]	"R_MIPS_JALR",		"R_MIPS_TLS_DTPMOD32",	"R_MIPS_TLS_DTPREL32",
+	[40]	"R_MIPS_TLS_DTPMOD64",	"R_MIPS_TLS_DTPREL64",	"R_MIPS_TLS_GD",
+	[43]	"R_MIPS_TLS_LDM",	"R_MIPS_TLS_DTPREL_HI16",
+	[45]	"R_MIPS_TLS_DTPREL_LO16",
+	[46]	"R_MIPS_TLS_GOTTPREL",	"R_MIPS_TLS_TPREL32",	"R_MIPS_TLS_TPREL64",
+	[49]	"R_MIPS_TLS_TPREL_HI16",
+	[50]	"R_MIPS_TLS_TPREL_LO16",
+	[51]	"R_MIPS_GLOB_DAT",
+	[126]	"R_MIPS_COPY",		"R_MIPS_JUMP_SLOT",
+
 };