| # -*- makefile -*- |
| # |
| # arch/mips64/MCONFIG |
| # |
| # Special rules for this architecture. Note that this is actually |
| # included from the main Makefile, and that pathnames should be |
| # accordingly. |
| # |
| |
| KLIBCARCHREQFLAGS = -fno-pic -mno-abicalls -G 0 |
| KLIBCOPTFLAGS += -Os |
| KLIBCBITSIZE = 64 |
| |
| # Extra linkflags when building the shared version of the library |
| # This address needs to be reachable using normal inter-module |
| # calls, and work on the memory models for this architecture |
| # 4862 MB - normal binaries start at 4608 MB. Non-PIC jumps usually |
| # use the JAL instruction which requires a destination within the same |
| # 256M aligned region. Since we can't put ourselves below the normal |
| # load address, use the very top of the 256M region (minus 2MB) |
| # |
| # Use -Ttext-segment so that the special .MIPS* sections are moved as well. |
| KLIBCSHAREDFLAGS = -Ttext-segment 0x12FE00000 |