This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.align 2 | |
.section ".rodata.data_start", "a" | |
.globl data_start | |
.type data_start, @object | |
data_start: | |
.incbin "data.bin" | |
.equ _data_size, . - data_start | |
.size data_start, _data_size |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://tools.ietf.org/id/draft-ietf-core-coap-03.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- uClibc-0.9.33.2.orig/libc/string/mips/memcpy.S | |
+++ uClibc-0.9.33.2/libc/string/mips/memcpy.S | |
@@ -167,10 +167,19 @@ ENTRY (memcpy) | |
andi t1, 0x3 # a0/a1 are aligned, but are we | |
beq t1, zero, L(chk8w) # starting in the middle of a word? | |
subu a2, t1 | |
+#ifndef __mlexra | |
LWHI t0, 0(a1) # Yes we are... take care of that | |
addu a1, t1 | |
SWHI t0, 0(a0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- gcc-4.8.4.orig/gcc/config/mips/mips.c | |
+++ gcc-4.8.4/gcc/config/mips/mips.c | |
@@ -7062,6 +7062,8 @@ mips_block_move_straight (rtx dest, rtx | |
if (MEM_ALIGN (src) == BITS_PER_WORD / 2 | |
&& MEM_ALIGN (dest) == BITS_PER_WORD / 2) | |
bits = BITS_PER_WORD / 2; | |
+ else if (TARGET_LEXRA || TARGET_RLX) | |
+ bits = MIN (MEM_ALIGN (src), MEM_ALIGN (dest)); | |
else | |
bits = BITS_PER_WORD; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- binutils-2.24.orig/bfd/bfd-in2.h | |
+++ binutils-2.24/bfd/bfd-in2.h | |
@@ -1938,6 +1938,12 @@ enum bfd_architecture | |
#define bfd_mach_mipsisa64 64 | |
#define bfd_mach_mipsisa64r2 65 | |
#define bfd_mach_mips_micromips 96 | |
+#define bfd_mach_mips4180 4180 | |
+#define bfd_mach_mips4181 4181 | |
+#define bfd_mach_mips4281 4281 | |
+#define bfd_mach_mips5181 5181 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <windows.h> | |
#include <excpt.h> | |
#include <functional> | |
#pragma GCC optimize ("no-omit-frame-pointer") | |
//#define SEH_NO_CALL_DESTRUCTORS | |
#define SEH_ENABLE_TRACE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <winternl.h> | |
extern "C" | |
__declspec(dllimport) NTSTATUS WINAPI NtSetInformationThread( | |
_In_ HANDLE ThreadHandle, | |
_In_ THREADINFOCLASS ThreadInformationClass, | |
_In_ PVOID ThreadInformation, | |
_In_ ULONG ThreadInformationLength |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <locale.h> | |
typedef void (WINAPI *PFNSWITCHTOTHISWINDOW) (HWND, BOOL); | |
int _tmain(int argc, _TCHAR* argv[]) | |
{ | |
HWND hWindow, hButton; | |
DWORD dwButtonId, dwStyle; | |
HMODULE hModule; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() | |
{ | |
SYSTEM_INFO si; | |
GetSystemInfo(&si); | |
char *pMin = (char*)si.lpMinimumApplicationAddress; | |
char *pMax = (char*)si.lpMaximumApplicationAddress; | |
for (char* pAddress = pMin; pAddress<pMax; /*Empty*/) | |
{ | |
MEMORY_BASIC_INFORMATION mbi; |