Changeset 11000


Ignore:
Timestamp:
Oct 7, 2008, 12:26:25 AM (11 years ago)
Author:
gb
Message:

We're really not using COFF symbol/line-number stuff; it's more like
ELF/BSD stabs with some small variations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/m4macros.m4

    r10952 r11000  
    7373ifdef([WINDOWS],[define([SYSstabs],[COFFstabs])
    7474               define([CNamesNeedUnderscores],[])
    75                define([LocalLabelPrefix],[L])])
     75               define([LocalLabelPrefix],[L])
     76               define([StartTextLabel],[Ltext0])
     77               define([EndTextLabel],[Letext])])
    7678
    7779
     
    107109
    108110define([_emit_COFF_source_line_stab],[
    109         .loc 1 $1 0
     111        _emit_ELF_source_line_stab($1)
    110112])
    111113
     
    156158
    157159
    158 define([_beginfile],[ifdef([WINDOWS],[
    159         .file 1 "__file__"
    160         .text
    161 ],[
     160define([_beginfile],[
    162161        .stabs "__pwd__",N_SO,0,0,StartTextLabel()
    163162        .stabs "__file__",N_SO,0,0,StartTextLabel()
     
    169168StartTextLabel():
    170169# __line__ "__file__"
    171 ])])
     170])
    172171
    173172define([_endfile],[
    174 ifdef([WINDOWS],[
    175 ],[
    176173        .stabs "",N_SO,0,0,EndTextLabel()
    177174EndTextLabel():
    178175# __line__
    179 ])
    180176])
    181177
Note: See TracChangeset for help on using the changeset viewer.