Commit Graph

11 Commits

Author SHA1 Message Date
Serge Lamikhov-Center
8dccdf686c Add MIT license notice 2020-10-17 21:35:55 +03:00
Serge Lamikhov-Center
9c739b49a0 Reformat sources by using clang-format
It is not perfect (and, probably, it is worser than it was before), but, it is automatic
2020-08-21 07:56:08 -07:00
Serge Lamikhov-Center
655f864226 Remove previous implementation of the callback 2020-08-19 23:05:12 -07:00
Serge Lamikhov-Center
fe17eb40aa Implement swap_symbols() for relocation section.
The function can be used as a callback for arrange_local_symbols()
2020-08-19 22:44:58 -07:00
Serge Lamikhov-Center
d255a35259 Address warnings reported by VS 2020-08-19 23:58:07 +03:00
Serge Lamikhov-Center
6d3d5467a2 Permit substitution of relocation entry by using set_entry() function call 2020-08-19 13:39:15 -07:00
Serge Lamikhov-Center
5a5ba2dc09 Add a callback to arrange_local_symbols() 2020-08-19 07:28:47 -07:00
Serge Lamikhov-Center
cca512025b Add casting to align the types 2020-08-18 13:24:52 -07:00
Serge Lamikhov-Center
8e0b5754e4 arrange_local_symbols() added
ELF standard requires that all STB_LOCAL symbols will go prior others and sh_info entry will contain the number of the local symbols
2020-08-18 12:57:45 -07:00
Serge Lamikhov-Center
de83f7dbbd Move ELF test files to 'tests' directory 2020-08-09 22:43:30 -07:00
Serge Lamikhov-Center
4f89bb0553 Rename tests directory 2020-08-09 22:23:41 -07:00