#35 ELF handling of PROTO

open
nobody
None
1
2011-03-08
2009-06-25
Peter Flass
No

A PROTO with no matching PROC is assigned symbol type STT_NOTYPE, shouldn't it be STT_FUNC?

Discussion

  • japheth
    japheth
    2011-03-07

    I don't know. I just checked NASM and FASM. Both set symbol type STT_NOTYPE for externals. What does GAS?

     
  • japheth
    japheth
    2011-03-08

    • priority: 5 --> 1
     
  • japheth
    japheth
    2011-03-08

    > What does GAS?

    GAS also sets symbol type STT_NOTYPE for externals. So I assume this is the "expected" thing to do.