| db2c86d7 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/cache.S: use v1 register for indirect function calls
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> C
MIPS: mips32/cache.S: use v1 register for indirect function calls
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| ee8b1e29 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/cache.S: store cache line size in t8 register
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Dani
MIPS: mips32/cache.S: store cache line size in t8 register
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| c3259165 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/cache.S: save return address in t9 register
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel
MIPS: mips32/cache.S: save return address in t9 register
Synchronize the code with mips64/cache.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| d707e5b7 | 14-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: xburst/start.S: rework relocation info check
Make it similar to the code in mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Da
MIPS: xburst/start.S: rework relocation info check
Make it similar to the code in mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| e5c868a2 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: xburst/start.S: use t8 register for dynamic relocation
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> C
MIPS: xburst/start.S: use t8 register for dynamic relocation
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| f01d6935 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: xburst/start.S: save gd in s0 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwie
MIPS: xburst/start.S: save gd in s0 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| ba9cf071 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: xburst/start.S: save relocation offset in s1 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc
MIPS: xburst/start.S: save relocation offset in s1 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| 9a28e0d1 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: xburst/start.S: save relocation address in s2 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> C
MIPS: xburst/start.S: save relocation address in s2 register
Synchronize the code with mips{32,64}/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| 691995f9 | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/start.S: rework relocation info check
Make it similar to the code in mips64/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel
MIPS: mips32/start.S: rework relocation info check
Make it similar to the code in mips64/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| 680cb2dc | 13-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/start.S: use t8 register for dynamic relocation
Synchronize the code with mips64/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Da
MIPS: mips32/start.S: use t8 register for dynamic relocation
Synchronize the code with mips64/start.S, in order to allow further unifications.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| da84f33b | 12-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/cache.S: remove superfluous register assignment
The t4 register already holds the cache line size, and the value of the register is not changed in mips_init_icache.
Get the cache line
MIPS: mips32/cache.S: remove superfluous register assignment
The t4 register already holds the cache line size, and the value of the register is not changed in mips_init_icache.
Get the cache line size value from t4 for mips_init_dcache as well and remove the superfluous assignment of t5 register.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
show more ...
|
| c3e4901f | 12-Jun-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: mips32/time.c: fix checkpatch errors/warnings
Checking mips32/time.c with checkpatch.pl shows this:
arch/mips/cpu/mips32/time.c:30: WARNING: line over 80 characters arch/mips/cpu/mips32/t
MIPS: mips32/time.c: fix checkpatch errors/warnings
Checking mips32/time.c with checkpatch.pl shows this:
arch/mips/cpu/mips32/time.c:30: WARNING: line over 80 characters arch/mips/cpu/mips32/time.c:57: ERROR: return is not a function, parentheses are not required total: 1 errors, 1 warnings, 0 checks, 85 lines checked
Fix the code to make checkpatch.pl happy.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| 843a76b6 | 22-May-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: start.S: emulate REVISION register for qemu-malta
On the origial Malta boards the REVISION register is accessible at the 0x1fc00010 address. The contents of this register gives information abo
MIPS: start.S: emulate REVISION register for qemu-malta
On the origial Malta boards the REVISION register is accessible at the 0x1fc00010 address. The contents of this register gives information about the revision of the Malta and Core Boards.
This register is used by the Linux kernel to identify the actual board it is running on. However the register is not emulated properly by Qemu, so put a hardcoded value into the flash to make Linux work.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
show more ...
|
| 04380c65 | 12-Feb-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: add dynamic relocation support
The code handles relocation entries with the following relocation types only: mips32: R_MIPS_REL32 mips64: R_MIPS_REL+R_MIPS_64 xburst: R_MIPS_REL32
Other
MIPS: add dynamic relocation support
The code handles relocation entries with the following relocation types only: mips32: R_MIPS_REL32 mips64: R_MIPS_REL+R_MIPS_64 xburst: R_MIPS_REL32
Other relocation entries are skipped without processing. The code must be extended if other relocation types must be supported.
Add -pie to LDFLAGS_FINAL to generate the .rel.dyn fixup table, which will be applied to the relocated image before transferring control to it.
The CONFIG_NEEDS_MANUAL_RELOC is not needed after the patch, so remove that as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|
| 0ba8926e | 12-Feb-2013 |
Gabor Juhos <juhosg@openwrt.org> |
MIPS: u-boot.lds: add relocation specific sections
This section contain the table needed for dynamic relocation. Also provide symbols for the relocation code to access the table.
Discard all sectio
MIPS: u-boot.lds: add relocation specific sections
This section contain the table needed for dynamic relocation. Also provide symbols for the relocation code to access the table.
Discard all sections which are not needed in the final ELF binary and U-Boot image. Section .dynsym cannot be discarded or GNU ld crashes otherwise. This section will be stripped by GNU objcpy in a later patch.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|