~oriansj/M2-Planet

754c5de7d9ba980b98f3213d1f446cf59166dc16 — Jeremiah Orians 1 year, 2 months ago 85dd953
Add note about big endian architectures
1 files changed, 3 insertions(+), 1 deletions(-)

M cc_core.c
M cc_core.c => cc_core.c +3 -1
@@ 2742,7 2742,9 @@ void global_assignment()
	{ /* Assume Int */
		globals_list = emit("%", globals_list);
		globals_list = emit(global_token->s, globals_list);
		padding_zeroes = register_size / 4 - 1;

		/* broken for big endian architectures */
		padding_zeroes = (register_size / 4) - 1;
		while(padding_zeroes > 0)
		{
			/* Assume positive Int */