Changeset 1472 in svn for trunk/processor/main.m4


Ignore:
Timestamp:
2013-11-13T05:19:00+01:00 (20 months ago)
Author:
Xuefer
Message:

relocate: marco name PTR_FROM_VIRTUAL_EX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/main.m4

    r1471 r1472  
    2525define(`INDENT', `xc_dprint_indent(indent);')
    2626dnl }}}
    27 dnl {{{ UNRELOCATED_EX(1:type, 2:elm)
    28 define(`UNRELOCATED_EX', `$2')
     27dnl {{{ PTR_FROM_VIRTUAL_EX(1:type, 2:elm)
     28define(`PTR_FROM_VIRTUAL_EX', `$2')
    2929dnl }}}
    3030dnl {{{ ALLOC(1:dst, 2:type, 3:count=1, 4:clean=false, 5:realtype=$2)
     
    263263REDEF(`PROCESSOR_TYPE', `restore') include(srcdir`/processor/processor.m4')
    264264
    265 pushdef(`UNRELOCATED_EX', `ptradd($1 *, notnullable($2), ptrdiff)')
     265pushdef(`PTR_FROM_VIRTUAL_EX', `ptradd($1 *, notnullable($2), ptrdiff)')
    266266pushdef(`RELOCATE_EX', `$2 = ptradd($1 *, notnullable($2), relocatediff);')
    267267pushdef(`SRC', defn(`DST'))
     
    269269popdef(`SRC')
    270270popdef(`RELOCATE_EX')
    271 popdef(`UNRELOCATED_EX')
     271popdef(`PTR_FROM_VIRTUAL_EX')
    272272
    273273#ifdef HAVE_XCACHE_DPRINT
Note: See TracChangeset for help on using the changeset viewer.