aboutsummaryrefslogtreecommitdiffstats
path: root/src/ctr.h
Commit message (Collapse)AuthorAgeFilesLines
* ctr: Encode negative integers in normal hex notationKevin O'Connor2019-08-221-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ctr: Add support for multiple integers in DECL_CTR_INTKevin O'Connor2019-08-221-13/+17
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ctr: Encode integers in hexKevin O'Connor2019-08-221-6/+9
| | | | | | | Replace the custom encoding with a hex encoding. This makes it a little easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Makefile: Translate null characters to newline characters in ctr requestsKevin O'Connor2019-08-221-2/+2
| | | | | | | | Store the CTR requests in compile_time_request.txt with the null characters removed. This makes it slightly easier to inspect the CTR conversions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Support evaluating C expressions in DECL_CONSTANT()Kevin O'Connor2019-03-171-0/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* build: Avoid linker magic in compile_time_request.c unique id generationKevin O'Connor2017-05-261-0/+17
Avoid generating unique ids via memory locations and linker scripts. Instead, generate them using code produced by buildcommands.py. Utilize gcc's ability to perform static string comparisons at compile time to produce a unique id for each unique string. This fixes a build failure on ARM introduced in 142b92b8. It also reduces the complexity of the build. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>