From fd3ae51f83c76bdb4ab49ef030269203cb61c1da Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Sat, 9 Sep 2006 11:00:33 +0200 Subject: [PATCH] Remove trailing whitespace. --- src/p_ps1.cpp | 12 ++++++------ src/stub/src/arch/mips/mipsel.r3000/bits.ash | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/p_ps1.cpp b/src/p_ps1.cpp index 79828776..3d3de185 100644 --- a/src/p_ps1.cpp +++ b/src/p_ps1.cpp @@ -425,15 +425,15 @@ int PackPs1::buildLoader(const Filter *) #define IS_ADDIU(a) ((OPTYPE(a) == REGIMM && OPCODE(a) == ADDIU)) #define IS_SW_ZERO(a) ((OPTYPE(a) == STORE && OPCODE(a) == SW) && REG2(a) == 0) -#define BSS_CHK_LIMIT (18) +#define BSS_CHK_LIMIT (18) bool PackPs1::findBssSection() { unsigned char reg; LE32 *p1 = (LE32 *)(ibuf + (ih.epc - ih.tx_ptr)); - if ((ih.epc - ih.tx_ptr + (BSS_CHK_LIMIT * 4)) > fdata_size) - return false; + if ((ih.epc - ih.tx_ptr + (BSS_CHK_LIMIT * 4)) > fdata_size) + return false; // check 18 opcodes for sw zero,0(x) for (signed i = BSS_CHK_LIMIT; i >= 0; i--) @@ -620,7 +620,7 @@ void PackPs1::pack(OutputFile *fo) else if (isCon) linker->defineSymbol("gb_e", linker->getSymbolOffset(is32Bit ? "gb32_e" : "gb8_e")); - + if (isCon) { linker->defineSymbol("PAD", pad_code); @@ -642,8 +642,8 @@ void PackPs1::pack(OutputFile *fo) memcpy(loader, getLoader(), lsize); patchPackHeader(loader, lsize); - if (!isCon && ph.method == M_LZMA && (HD_CODE_OFS + d_len + h_len) > CD_SEC) - throwInternalError("lzma --boot-only loader > 2048"); + if (!isCon && ph.method == M_LZMA && (HD_CODE_OFS + d_len + h_len) > CD_SEC) + throwInternalError("lzma --boot-only loader > 2048"); // ps1_exe_t structure fo->write(&oh, sizeof(oh)); diff --git a/src/stub/src/arch/mips/mipsel.r3000/bits.ash b/src/stub/src/arch/mips/mipsel.r3000/bits.ash index 98ca597f..f26f0055 100644 --- a/src/stub/src/arch/mips/mipsel.r3000/bits.ash +++ b/src/stub/src/arch/mips/mipsel.r3000/bits.ash @@ -227,9 +227,9 @@ ADDBITS FILLBYTES 2: - ADDBITS_DONE + ADDBITS_DONE .endif - + .endm ;////////////////////////////////////// @@ -276,7 +276,7 @@ .endif .else .ifc "\option", "sub_only" - + 2: FILLBYTES .ifnb label