URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-src/gcc-4.2.2/gcc/config/or32
- from Rev 212 to Rev 242
- ↔ Reverse comparison
Rev 212 → Rev 242
/or32.S
8,7 → 8,7
symbol: |
|
#ifdef L__mulsi3 |
ENTRY(___mulsi3) |
ENTRY(__mulsi3) |
l.addi r11,r0,0x0 |
l.sfne r3,r11 |
l.bnf 3f |
30,7 → 30,7
#endif |
|
#ifdef L__udivsi3 |
ENTRY(___udivsi3) |
ENTRY(__udivsi3) |
l.addi r1,r1,-4 |
l.sw 0(r1),r9 |
l.addi r11,r0,0 |
106,7 → 106,7
|
|
#ifdef L__divsi3 |
ENTRY(___divsi3) |
ENTRY(__divsi3) |
l.addi r1,r1,-8 |
l.sw 0(r1),r9 |
l.sw 4(r1),r14 |
124,7 → 124,7
l.addi r14,r14,1 |
l.sub r4,r0,r4 |
1: |
l.jal ___udivsi3 |
l.jal __udivsi3 |
l.addi r3,r5,0 |
l.sfeqi r14,1 |
l.bnf 1f |
139,10 → 139,10
|
|
#ifdef L__umodsi3 |
ENTRY(___umodsi3) |
ENTRY(__umodsi3) |
l.addi r1,r1,-4 |
l.sw 0(r1),r9 |
l.jal ___udivsi3 |
l.jal __udivsi3 |
l.nop 0 |
l.addi r11,r7,0 |
l.lwz r9,0(r1) |
152,7 → 152,7
|
|
#ifdef L__modsi3 |
ENTRY(___modsi3) |
ENTRY(__modsi3) |
l.addi r1,r1,-8 |
l.sw 0(r1),r9 |
l.sw 4(r1),r14 |
168,7 → 168,7
l.nop 0 |
l.sub r4,r0,r4 |
1: |
l.jal ___udivsi3 |
l.jal __udivsi3 |
l.nop 0 |
l.sfeqi r14,1 |
l.bnf 1f |
/linux-elf.h
30,8 → 30,9
/* Do not assume anything about header files. */ |
#define NO_IMPLICIT_EXTERN_C |
|
/* Make this match or32.h */ |
#undef USER_LABEL_PREFIX |
#define USER_LABEL_PREFIX "_" |
#define USER_LABEL_PREFIX "" |
|
|
/* This is how we tell the assembler that two symbols have the same value. */ |
/or32.h
63,10 → 63,10
version of the library, but it does have a debugging version (libg.a) */ |
#undef LIB_SPEC |
#define LIB_SPEC "%{!mor32-newlib*:%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \ |
%{mor32-newlib:%{!g:-lc -lor32 -u _free -lc} \ |
%{g:-lg -lor32 -u _free -lg}} \ |
%{mor32-newlib-uart:%{!g:-lc -lor32uart -u _free -lc} \ |
%{g:-lg -lor32uart -u _free -lg}}" |
%{mor32-newlib:%{!g:-lc -lor32 -u free -lc} \ |
%{g:-lg -lor32 -u free -lg}} \ |
%{mor32-newlib-uart:%{!g:-lc -lor32uart -u free -lc} \ |
%{g:-lg -lor32uart -u free -lg}}" |
|
/* Old definition of LIB_SPEC, not longer used. */ |
/* Which library to get. The only difference from the default is to get |
1013,12 → 1013,10
/*#define ASM_OUTPUT_LABELREF(stream,name) \ |
{ fputc('_',stream); fputs(name,stream); } |
*/ |
#define ASM_OUTPUT_LABELREF(stream,name) \ |
{if(name[0] == '*') \ |
fputs(name,stream); \ |
else { \ |
fputc('_',stream); fputs(name,stream); \ |
}} |
/* JPB. We need to implement this, otherwise we get a leading underscore added |
by default. Not sure where that default implementation is coming from |
yet... */ |
/* #define ASM_OUTPUT_LABELREF(stream, name) fputs (name, stream) */ |
#endif |
|
/* The prefix to add to user-visible assembler symbols. */ |
1025,8 → 1023,9
|
/* Remove any previous definition (elfos.h). */ |
/* We use -fno-leading-underscore to remove it, when necessary. */ |
/* JPB: No prefix for global symbols */ |
#undef USER_LABEL_PREFIX |
#define USER_LABEL_PREFIX "_" |
#define USER_LABEL_PREFIX "" |
|
/* Remove any previous definition (elfos.h). */ |
#ifndef ASM_GENERATE_INTERNAL_LABEL |
1125,7 → 1124,7
|
/* Invoked just before function output. */ |
#define ASM_OUTPUT_FUNCTION_PREFIX(stream, fnname) \ |
fputs(".proc ",stream); assemble_name(stream,fnname); \ |
fputs("\t.proc\t",stream); assemble_name(stream,fnname); \ |
fputs("\n",stream); |
|
/* This says how to output an assembler line |
/elf.h
33,8 → 33,10
#undef PREFERRED_DEBUGGING_TYPE |
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG |
|
#undef PUT_SDB_DEF |
#define PUT_SDB_DEF |
/* JPB 19-Aug-10: Why do we need this? */ |
/* #undef PUT_SDB_DEF */ |
/* #define PUT_SDB_DEF */ |
|
/* JPB: Make this match or32.h */ |
#undef USER_LABEL_PREFIX |
#define USER_LABEL_PREFIX "_" |
#define USER_LABEL_PREFIX "" |