mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 03:42:22 +08:00
ldlnk960.c: Special #ifdef to choose little endian ony
ldgram.y: allow forward ref of section
This commit is contained in:
@ -246,9 +246,13 @@ lnk960_choose_target()
|
||||
char *from_outside = getenv(TARGET_ENVIRON);
|
||||
if (from_outside != (char *)NULL)
|
||||
return from_outside;
|
||||
#ifdef LNK960_LITTLE
|
||||
return LNK960_TARGET_LITTLE
|
||||
#else
|
||||
return LNK960_TARGET;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/* The default script if none is offered */
|
||||
|
Reference in New Issue
Block a user