The output format should be determined by the ABI flags, not the ldscript.
This ldscript is used with both little-endian and big-endian targets. This hopefully fixes MIPS universe. NB: We really should get rid of almost all of the MIPS ldscripts. There's only gratuitous differences between them, mostly because they're too specific or they do things like specify the output format rather than taking it from flags given in the kernel config file or the default output format of the compiler. Also add svn:keywords property.
This commit is contained in:
parent
0e9a9c104e
commit
d917717eeb
@ -27,12 +27,9 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* JNPR: ldscript.mips,v 1.3 2006/10/11 06:12:04
|
||||
* $FreeBSD: projects/mips/sys/conf/ldscript.mips 191079 2009-04-14 22:53:22Z gonzo $
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
OUTPUT_FORMAT("elf64-tradbigmips", "elf64-tradbigmips",
|
||||
"elf64-tradlittlemips")
|
||||
|
||||
OUTPUT_ARCH(mips)
|
||||
ENTRY(_start)
|
||||
SEARCH_DIR(/usr/lib);
|
||||
|
Loading…
Reference in New Issue
Block a user