sizeof() in assembler

Massimiliano Cialdi cialdi@firenze.net
Wed Sep 1 07:28:00 GMT 2004


I can define the size of an object:

  .section .rodata
  .align 1
str:
  .ascii "+++***+++\r\n"
  .size	str, .-str


there exist something like sizeof(str) to retrive the size of object
str?

thanks


-- 
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it



More information about the Binutils mailing list