Rui Ueyama
bb5a596bc5
Set LC_ALL=C to get consistent output from shell comands
...
We unset `LANG`, but it looks like `LC_ALL` takes precedence over `LANG`,
so we should set `LC_ALL` to `C`.
Reported at https://github.com/rui314/mold/pull/385
2022-03-09 09:03:22 +09:00
Rui Ueyama
dc7432a6dd
Avoid GNU extensions in tests
2022-01-24 10:21:08 +09:00
Rui Ueyama
e7decd2c77
Use relative paths in tests
2022-01-07 18:08:06 +09:00
Rui Ueyama
4324cb2998
Use cc and c++ instead of clang, gcc, clang++ or g++ in tests
2022-01-07 18:02:35 +09:00
Rui Ueyama
0e17dbeda8
[ELF] Make --defsym'ed symbols absolute
...
If a symbol is defined in the form of --defsym=foo=0x<hexvalue>,
it should be defined as an absolute symbol with the given value.
2022-01-07 16:28:14 +09:00
Rui Ueyama
d49c50ddaf
[ELF] Add --defsym
...
Fixes https://github.com/rui314/mold/issues/208
2021-12-30 14:48:39 +09:00