Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are Linker Symbols __TMC_END__ and __TMC_LIST__ for?

Tags:

c

linker

ld

I've asked this SO question and stumbled across the __TMC_END__ symbol that seems to be generated by the linker. I don't know what it's purpose is and the only useful reference to it is this bug which doesn't explain much about why it is there. The but does however, make a reference to a similar symbol __TMC_LIST__.

Does anybody know what these are used for?

like image 332
nonsensickle Avatar asked Jul 12 '13 00:07

nonsensickle


1 Answers

Doing more searching I've come across this bit of code that suggests that these symbols are to do with the tm_clone_table which I've understood to have something to do with transactional memory. Following the bread crumbs lead me to this GCC Wiki explanation.

like image 190
nonsensickle Avatar answered Sep 28 '22 11:09

nonsensickle