aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-06-20 01:51:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-06-20 01:51:50 +0000
commit9c0395e39e1ec90cf040f0428260f0ef363c50f8 (patch)
tree91c44874a2294ae7747bc7d333ae7a2ca4115f2a /lldb/scripts/Python/python-wrapper.swig
parentb5794ca90c4e1e236eb98bf84b3e3be5e31edc32 (diff)
downloadllvm-9c0395e39e1ec90cf040f0428260f0ef363c50f8.zip
llvm-9c0395e39e1ec90cf040f0428260f0ef363c50f8.tar.gz
llvm-9c0395e39e1ec90cf040f0428260f0ef363c50f8.tar.bz2
Prefer -Ttext over linker script values.
I found this while trying to build u-boot. It uses -Ttext in combination with linker scripts. My first reaction was to change the linker scripts to have the correct value, but I found that it is actually quite convenient to have -Ttext take precedence. By having just .text : { *(.text) } In the script, they can define the text address in a single Makefile and pass it to ld with -Ttext and for the C code with -DFoo=value. Doing the same with linker scripts would require them to be generated during the build. llvm-svn: 305766
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions