summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-10 14:54:11 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-10 14:54:11 +0000
commita6cdb79594c5e9cba8a4db241cec6c701c9ace47 (patch)
tree857229da3d0d627d75a6d1ed80a9bcc3540ee930 /misc/buildroot/toolchain
parent1659920ba06be3fc9dab8bebc165c0fdc65d2a18 (diff)
downloadnuttx-a6cdb79594c5e9cba8a4db241cec6c701c9ace47.tar.gz
nuttx-a6cdb79594c5e9cba8a4db241cec6c701c9ace47.tar.bz2
nuttx-a6cdb79594c5e9cba8a4db241cec6c701c9ace47.zip
Disable R_ARM_REL32 logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5224 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'misc/buildroot/toolchain')
-rw-r--r--misc/buildroot/toolchain/nxflat/ldnxflat.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/misc/buildroot/toolchain/nxflat/ldnxflat.c b/misc/buildroot/toolchain/nxflat/ldnxflat.c
index 5bcdc5da0..5343e6b43 100644
--- a/misc/buildroot/toolchain/nxflat/ldnxflat.c
+++ b/misc/buildroot/toolchain/nxflat/ldnxflat.c
@@ -1118,7 +1118,14 @@ resolve_segment_relocs(bfd *input_bfd, segment_info *inf, asymbol **syms)
* the symbol value is relative to the PC, and (2) we cannot permit
* REL32 relocations to data in I-Space. That just would not make sense.
*/
+#if 1
+ /* The logic below may or may not be correct. It has not been verified
+ * so, for now, it is disabled.
+ */
+ err("REL32 relocation not yet supported\n");
+ nerrors++;
+#else
switch (get_reloc_type(rel_section, NULL))
{
case NXFLAT_RELOC_TARGET_UNKNOWN:
@@ -1145,6 +1152,7 @@ resolve_segment_relocs(bfd *input_bfd, segment_info *inf, asymbol **syms)
}
break;
}
+#endif
}
break;