mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
Like ELF for all symbols, COFF can record size for at least function ones. Use that - if available - in preference to the distance-to-next- symbol heuristic. To be able to use the new test there, make TI C54x follow TI C4x in providing .sdef to cover for .def already having different meaning.
27 lines
413 B
ArmAsm
27 lines
413 B
ArmAsm
.globl text_symbol1
|
|
.globl text_symbol2
|
|
.globl text_symbol3
|
|
.macro ENDFN name:req
|
|
.sdef \name
|
|
.type 0x20 /* DT_FUNC */
|
|
.scl 2 /* C_EXT */
|
|
.endef
|
|
.sdef \name
|
|
.scl 0xff /* C_EFCN */
|
|
.val .
|
|
.endef
|
|
.endm
|
|
.text
|
|
text_symbol1:
|
|
.byte 0,0,0,0
|
|
.byte 0,0,0,0
|
|
.byte 0,0,0,0
|
|
ENDFN text_symbol1
|
|
text_symbol2:
|
|
.byte 0,0,0,0
|
|
.byte 0,0,0,0
|
|
ENDFN text_symbol2
|
|
text_symbol3:
|
|
.byte 0,0,0,0
|
|
ENDFN text_symbol3
|