Skip to content

Commit f193bf4

Browse files
author
zliu
committed
Address minor issues in Julian's last review.
For TILEGX only. By: Zhi-Gang Liu git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15094 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 parent 61e6468 commit f193bf4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

coregrind/m_debuglog.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,15 @@ static UInt local_sys_getpid ( void )
508508
: "$2" );
509509
return (UInt)(__res);
510510
}
511+
511512
#elif defined(VGP_tilegx_linux)
513+
512514
static UInt local_sys_write_stderr ( const HChar* buf, Int n )
513515
{
514516
volatile Long block[2];
515517
block[0] = (Long)buf;
516518
block[1] = n;
517-
ULong __res = 0;
519+
Long __res = 0;
518520
__asm__ volatile (
519521
"movei r0, 2 \n\t" /* stderr */
520522
"move r1, %1 \n\t" /* buf */

coregrind/m_libcassert.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
}
228228
#elif defined(VGP_tilegx_linux)
229229
# define GET_STARTREGS(srP) \
230-
{ UInt pc, sp, fp, ra; \
230+
{ ULong pc, sp, fp, ra; \
231231
__asm__ __volatile__( \
232232
"move r8, lr \n" \
233233
"jal 0f \n" \

0 commit comments

Comments
 (0)