llvm-project/lld/test/pecoff
Rui Ueyama 3907f2a802 [ELF] Support --defsym option to define an absolute symbol.
This patch is to support --defsym option for ELF file format/GNU-compatible
driver. Currently it takes a symbol name followed by '=' and a number. If such
option is given, the driver sets up an absolute symbol with the specified
address. You can specify multiple --defsym options to define multiple symbols.

GNU LD's --defsym provides many more features. For example, it allows users to
specify another symbol name instead of a number to define a symbol alias, or it
even allows a symbol plus an offset (e.g. --defsym=foo+3) to define symbol-
relative alias. This patch does not support that, but will be supported in
subsequent patches.

Differential Revision: http://llvm-reviews.chandlerc.com/D3208

llvm-svn: 205029
2014-03-28 19:02:06 +00:00
..
Inputs [PECOFF] Use richer ways of describing auxiliary symbols 2014-03-19 04:55:14 +00:00
alignment.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
alternatename.test [PECOFF] Parse .drectve section before reading other file contents. 2013-12-27 07:05:04 +00:00
base-reloc.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
baseaddr.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
bss-section.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
comdat.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
common-symbol.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
dosstub.test [PECOFF] Infer subsystem from the entry point function. 2013-11-25 02:00:00 +00:00
drectve.test Revert "r193300 - [PassManager] add ReaderWriter{Native, YAML} to the Driver" 2013-10-24 18:22:16 +00:00
dynamic.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
dynamicbase.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
entry.test REQUIRES: debug doesn't actually do anything! 2013-12-20 22:01:26 +00:00
export-warning.test Add a blank line to FileCheck input. 2014-01-09 02:47:52 +00:00
export.test [PECOFF] Tests for DLL name in the export table. 2014-01-16 21:31:27 +00:00
exportlib.test [PECOFF] Add a test for r197803. 2014-01-09 01:11:48 +00:00
grouped-sections.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
hello.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
help.test [PECOFF] Fix /? option and add a test for the flag. 2013-09-24 17:59:30 +00:00
imagebase.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
importlib.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
include.test [ELF] Support --defsym option to define an absolute symbol. 2014-03-28 19:02:06 +00:00
lib.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
libarg.test [PECOFF] Fix arguments passed to lib.exe. 2014-03-14 05:04:08 +00:00
long-section-name.test [PECOFF] Truncate long section name. 2013-12-17 06:15:09 +00:00
machinetype.test [PECOFF] Handle objects with unknown machine type header value. 2014-03-13 05:12:36 +00:00
manifest.test [PECOFF] Remove extraneous command line options from tests. 2013-11-27 17:43:54 +00:00
merge-largest.test [PECOFF] Support yet another new type of weak symbol. 2014-03-18 19:37:50 +00:00
merge-same-size.test Add one more test for r203308. 2014-03-08 01:27:22 +00:00
multi.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
noentry.test [PECOFF] Add a test for /noentry. 2013-12-27 08:19:21 +00:00
nonstandard-sections.test [PECOFF] Writer: Remove NULL padding at the end of each section. 2013-12-11 04:06:26 +00:00
options.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
pe32plus.test [PECOFF] Fix DLLCharacteristics field. 2014-02-26 02:31:53 +00:00
reloc.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
reloc64.test [PECOFF] Convert more binary files to YAML. 2014-01-28 01:41:39 +00:00
resource.test [PECOFF] Fix the test to run. 2013-11-04 19:01:57 +00:00
responsefile.test [PECOFF] Print out command line if we have expanded response files. 2014-03-25 20:40:27 +00:00
safeseh.test [PECOFF] Add a test for /SAFESEH:NO for non-x86 machine type. 2014-02-27 00:05:43 +00:00
section-attribute.test [PECOFF] Set section characteristics based /section options. 2013-11-27 23:44:58 +00:00
section-renaming.test [PECOFF] Writer: Remove NULL padding at the end of each section. 2013-12-11 04:06:26 +00:00
seh.test [PECOFF] Sort SEH table entries according to its value. 2014-02-28 22:17:53 +00:00
seh64.test [PECOFF] Sort x64 exception handler table. 2014-03-04 18:39:12 +00:00
subsystem.test [PECOFF] Infer subsystem from the entry point function. 2013-11-25 02:00:00 +00:00
trivial.test [PECOFF] Emit Load Configuration and SEH Table for x86. 2014-02-26 08:27:59 +00:00
unknown-drectve.test [PECOFF] Report error if there's unknown flag in .drectve 2013-11-05 23:53:15 +00:00
weak-external.test [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00