mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:03:34 +08:00
Disable R_ARM_REL32 logic
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5224 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user