History

Fixes previous fixes

Archidemon committed 12 years ago

Commit fdf9fba1 parent ea7b17f1 file · +5 −5Browse files

Unified · Split

tccgen.c+5−5
@@ -3909,9 +3909,9 @@ ST_FUNC void unary(void) · 3908 unmodified lines
3909 if (vtop->r & VT_SYM) {3909 if (vtop->r & VT_SYM) {
3910 vtop->sym = s;3910 vtop->sym = s;
3911#ifdef TCC_TARGET_X86_643911#ifdef TCC_TARGET_X86_64
3912 s1->vtop->c.ull = 0;3912 vtop->c.ull = 0;
3913#else3913#else
3914 s1->vtop->c.ul = 0;3914 vtop->c.ul = 0;
3915#endif3915#endif
3916 }3916 }
3917 break;3917 break;
@@ -5127,10 +5127,10 @@ static void init_putv(CType *type, Section *sec, unsigned long c, · 1209 unmodified lines
5127 *(long long *)ptr |= (vtop->c.ll & bit_mask) << bit_pos;5127 *(long long *)ptr |= (vtop->c.ll & bit_mask) << bit_pos;
5128 break;5128 break;
5129 case VT_PTR:5129 case VT_PTR:
5130 if (s1->vtop->r & VT_SYM) {5130 if (vtop->r & VT_SYM) {
5131 greloc(s1, sec, s1->vtop->sym, c, R_DATA_PTR);5131 greloc(sec, vtop->sym, c, R_DATA_PTR);
5132 }5132 }
5133 *(addr_t *)ptr |= (s1->vtop->c.ull & bit_mask) << bit_pos;5133 *(addr_t *)ptr |= (vtop->c.ull & bit_mask) << bit_pos;
5134 break;5134 break;
5135 default:5135 default:
5136 if (vtop->r & VT_SYM) {5136 if (vtop->r & VT_SYM) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t