MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
PATCH 1/1 MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
The u-boot.lds linker script for MIPS defines a PTR_COUNT_SHIFT macro to 2 or 3 for 32 bit or 64 bit builds respectively. This macro is never actually used though, so remove the dead code.
Signed-off-by Paul Burton <[email protected]>
Cc Daniel Schwierzeck <[email protected]>
---
arch/mips/cpu/u-boot.lds | 6 ------ 1 file changed, 6 deletions(-)
arch/mips/cpu/u-boot.lds +0 -6
@@ -5,12 +5,6 @@ * SPDX-License-Identifier: GPL-2.0+ */ -#if defined(CONFIG_64BIT) -#define PTR_COUNT_SHIFT 3 -#else -#define PTR_COUNT_SHIFT 2 -#endif - OUTPUT_ARCH(mips) ENTRY(_start) SECTIONS
Signature · 1 line
2.14.1
PATCH 1/1 MIPS: Drop unused PTR_COUNT_SHIFT from u-boot.lds
Am 15.09.2017 um 20:35 schrieb Paul Burton:
Quoted 10 lines
The
u-boot.ldslinker script for MIPS defines aPTR_COUNT_SHIFTmacro to 2 or 3 for 32 bit or 64 bit builds respectively. This macro is never actually used though, so remove the dead code.Signed-off-by Paul Burton <[email protected]>Cc Daniel Schwierzeck <[email protected]>---
arch/mips/cpu/u-boot.lds | 6 ------ 1 file changed, 6 deletions(-)
applied to u-boot-mips, thanks
Signature · 9 lines
- Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170915/0dfc9dc5/attachment.sig>