comparison lwasm/instab.c @ 160:b061350c17e4

Added cescapes pragma and a few other compatibility pseudo ops
author lost
date Sat, 31 Jan 2009 06:33:03 +0000
parents f0527dc3804d
children 12fb4e8d5236
comparison
equal deleted inserted replaced
159:71561c12b20b 160:b061350c17e4
387 /* for compatibility with gcc6809 output... */ 387 /* for compatibility with gcc6809 output... */
388 { ".area", { -1, -1, -1, -1}, pseudo_section }, 388 { ".area", { -1, -1, -1, -1}, pseudo_section },
389 { ".globl", { -1, -1, -1, -1}, pseudo_export }, 389 { ".globl", { -1, -1, -1, -1}, pseudo_export },
390 { ".module", { -1, -1, -1, -1}, pseudo_noop }, 390 { ".module", { -1, -1, -1, -1}, pseudo_noop },
391 391
392 { ".4byte", { -1, -1, -1, -1}, pseudo_fqb },
393 { ".quad", { -1, -1, -1, -1}, pseudo_fqb },
394
392 { ".word", { -1, -1, -1, -1}, pseudo_fdb }, 395 { ".word", { -1, -1, -1, -1}, pseudo_fdb },
396 { ".dw", { -1, -1, -1, -1}, pseudo_fdb },
397
393 { ".byte", { -1, -1, -1, -1}, pseudo_fcb }, 398 { ".byte", { -1, -1, -1, -1}, pseudo_fcb },
399 { ".db", { -1, -1, -1, -1}, pseudo_fcb },
400
401 { ".ascii", { -1, -1, -1, -1}, pseudo_fcc },
402 { ".str", { -1, -1, -1, -1}, pseudo_fcc },
403
404 { ".ascis", { -1, -1, -1, -1}, pseudo_fcs },
405 { ".strs", { -1, -1, -1, -1}, pseudo_fcs },
406
407 { ".asciz", { -1, -1, -1, -1}, pseudo_fcn },
408 { ".strz", { -1, -1, -1, -1}, pseudo_fcn },
394 409
395 { ".blkb", { -1, -1, -1, -1}, pseudo_rmb }, 410 { ".blkb", { -1, -1, -1, -1}, pseudo_rmb },
411 { ".ds", { -1, -1, -1, -1}, pseudo_rmb },
412 { ".rs", { -1, -1, -1, -1}, pseudo_rmb },
396 413
397 // needs to handle C escapes maybe? 414 // needs to handle C escapes maybe?
398 // { ".ascii", { -1, -1, -1, -1}, pseudo_ascii }, 415 // { ".ascii", { -1, -1, -1, -1}, pseudo_ascii },
399 416
400 /* flag end of table */ 417 /* flag end of table */