diff options
author | Rui Ueyama <ruiu@google.com> | 2014-03-28 19:02:06 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2014-03-28 19:02:06 +0000 |
commit | 3907f2a802673bd7a52a802a7fac67db2f831732 (patch) | |
tree | 68d54fcaa9e411c2f77b998842b10aca4df05a90 /clang/docs/Modules.rst | |
parent | b59fb7347a9305bed76c074d6f7aca5233cf3106 (diff) | |
download | bcm5719-llvm-3907f2a802673bd7a52a802a7fac67db2f831732.tar.gz bcm5719-llvm-3907f2a802673bd7a52a802a7fac67db2f831732.zip |
[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
Diffstat (limited to 'clang/docs/Modules.rst')
0 files changed, 0 insertions, 0 deletions