This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sizeof() in assembler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]