aboutsummaryrefslogtreecommitdiff
path: root/c67-link.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix relocs_info declaration in tcc.hThomas Preud'homme2016-12-051-1/+22
| | | | | | | | | C standard specifies that array should be declared with a non null size or with * for standard array. Declaration of relocs_info in tcc.h was not respecting this rule. This commit add a R_NUM macro that maps to the R_<ARCH>_NUM macros and declare relocs_info using it. This commit also moves all linker-related macros from <arch>-gen.c files to <arch>-link.c ones.
* Do section relocation in architecture backendThomas Preud'homme2016-12-031-0/+35