aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Linker.ml
Commit message (Collapse)AuthorAgeFilesLines
* Fix passing of -u to linker.Bernhard Schommer2018-08-211-1/+1
| | | | | | Instead of just passing -u to the linker also pass the value of the option to the linker. Bug 24316
* Refactor the handling of errors and warnings (#44)Bernhard Schommer2018-02-081-2/+2
| | | | | | | | | | | | | | | | | * Module Cerrors is now called Diagnostic and can be used in parts of CompCert other than cparser/ * Replaced eprintf error. Instead of having eprintf msg; exit 2 use the functions from the Diagnostics module. * Raise on error before calling external tools. * Added diagnostics to clightgen. * Fix error handling of AsmToJson. * Cleanup error handling of Elab and C2C. *The implementation of location printing (file & line) is simplified and correctly prints valid filenames with invalid lines.
* Extended support for the nostartfiles option.Bernhard Schommer2017-08-231-6/+11
| | | | | For dcc one needs to pass -Ws to tell the linker that it should not link the default startfiles.
* Introduced configuration variable for gnu systems.Bernhard Schommer2017-02-131-3/+3
| | | | | | | The variable gnu_toolchain is true if a gnu toolchain is used and false in all other cases. The variable avoids the explicit test whether the system string is diab and should be easier to change. Bug 20521.
* Use quoted strings.Bernhard Schommer2017-01-181-18/+21
| | | | | | Instead of escaping all newlines etc for the help options use quoted strings. Bug 19872
* Added braces back. Bug 19197Bernhard Schommer2016-06-241-16/+16
|
* Moved assembler and linker into own files.Bernhard Schommer2016-06-241-0/+81
The function to call the assembler and the linker are now in own files like the preprocessor. Bug 19197