diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2016-11-12 23:16:04 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2016-12-03 17:26:51 +0000 |
| commit | 64b5ee2dea3a50ef52f9849364b7b1d6e94bf62d (patch) | |
| tree | 241e0d41bfc81707ecd0c9d397a3516f7b3e75d4 /arm-gen.c | |
| parent | 9e6610b0aaa9aae149ec575b86c8eb86a35e081a (diff) | |
| download | tinycc-64b5ee2dea3a50ef52f9849364b7b1d6e94bf62d.tar.gz tinycc-64b5ee2dea3a50ef52f9849364b7b1d6e94bf62d.tar.bz2 | |
Rename add_elf_sym to set_elf_sym
add_elf_sym is a confusing name because it is not clear what the
function does compared to put_elf_sym. As a matter of fact, put_elf_sym
also adds a symbol in a symbol table. Besides, "add_elf_sym" fails to
convey that the function can be used to update a symbol (for instance
its value). "set_elf_sym" seems like a more appropriate name: it will
set a symbol to a given set of properties (value, size, etc.) and create
a new one if non exist for that name as one would expect.
Diffstat (limited to 'arm-gen.c')
0 files changed, 0 insertions, 0 deletions
