Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle OUTPUT_FORMAT arguments in quotation marks | Galina Kistanova | 2018-11-03 | 1 | -0/+6 |
| | | | | llvm-svn: 346068 | ||||
* | Add OUTPUT_FORMAT linker script directive support. | Rui Ueyama | 2018-10-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | | | | This patch adds a support for OUTPUT_FORMAT linker script directive. Since I'm not 100% confident with BFD names you can use in the directive for all architectures, I added only a few in this patch. We can add other names for other archtiectures later. We still do not support triple-style OUTPUT_FORMAT directive, namely, OUTPUT_FORMAT(bfdname, big, little). If you pass -EL (little endian) or -EB (big endian) to the linker, GNU linkers pick up big or little as a BFD name, correspondingly, so that you can use a single linker script for bi-endian processor. I'm not sure if we really need to support that, so I'll leave it alone for now. Note that -m takes precedence over OUTPUT_FORAMT, but we always parse a BFD name given to OUTPUT_FORMAT for error checking. You cannot write an invalid name in the OUTPUT_FORMAT directive. Differential Revision: https://reviews.llvm.org/D53495 llvm-svn: 344952 | ||||
* | Make the -b binary .data section rw. | Rafael Espindola | 2017-01-11 | 1 | -0/+1 |
| | | | | | | | This matches what bfd and gold do. It also matches the common flags of other .data sections. llvm-svn: 291674 | ||||
* | Fix error message for unknown -format argument. | Rui Ueyama | 2016-10-20 | 1 | -0/+4 |
| | | | | | | | | | | | -format=<foo>, -format <foo> and -b <foo> are all the same. Previous code was intended to produce an error message with the same spelling as given from the command line, but it actually always printed out this string: "unknown -format= value:". This is probably more confusing than "unknown -format value:". So I changed the message. llvm-svn: 284693 | ||||
* | Move the contents of test/elf to test/ELF | Hans Wennborg | 2016-09-09 | 1 | -0/+52 |
Having two directories with the same name modulo case does not work well on Windows. The new test/elf directory was added in r281108. I assume the intention was to add the test file to the existing test/ELF dir. llvm-svn: 281115 |