mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Thomas Chou says in bug 618: fix relocation error on nios2
This commit is contained in:
parent
48dad9737a
commit
d7b6a49037
@ -1066,8 +1066,6 @@ dump_symbols(symbols, number_of_symbols);
|
|||||||
#ifdef TARGET_nios2
|
#ifdef TARGET_nios2
|
||||||
#define htoniosl(x) (x)
|
#define htoniosl(x) (x)
|
||||||
#define niostohl(x) (x)
|
#define niostohl(x) (x)
|
||||||
switch ((*p)->howto->type)
|
|
||||||
{
|
|
||||||
case R_NIOS2_BFD_RELOC_32:
|
case R_NIOS2_BFD_RELOC_32:
|
||||||
relocation_needed = 1;
|
relocation_needed = 1;
|
||||||
pflags = (FLAT_NIOS2_R_32 << 28);
|
pflags = (FLAT_NIOS2_R_32 << 28);
|
||||||
@ -1220,7 +1218,6 @@ NIOS2_RELOC_ERR:
|
|||||||
printf("Err: unexpected reloc type %s(%d)\n", q->howto->name, q->howto->type);
|
printf("Err: unexpected reloc type %s(%d)\n", q->howto->name, q->howto->type);
|
||||||
bad_relocs++;
|
bad_relocs++;
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
#endif /* TARGET_nios2 */
|
#endif /* TARGET_nios2 */
|
||||||
|
|
||||||
#ifdef TARGET_sparc
|
#ifdef TARGET_sparc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user