summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <anton@korobeynikov.info>2018-11-16 19:20:51 +0000
committerAnton Korobeynikov <anton@korobeynikov.info>2018-11-16 19:20:51 +0000
commit883c70959d47cf8127b878b11c1fc6389d5eda66 (patch)
tree6292d0b8b17521b96ee8cdfc7629b7c4aa832e58 /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent74f5fd4e32b8761045c8c0187f7cdf9b03301838 (diff)
downloadbcm5719-llvm-883c70959d47cf8127b878b11c1fc6389d5eda66.tar.gz
bcm5719-llvm-883c70959d47cf8127b878b11c1fc6389d5eda66.zip
[MSP430] Use R_MSP430_16_BYTE type for FK_Data_2 fixup
Linker fails to link example like this (simplified case from newlib sources): $ cat test.c extern const char _ctype_b[]; struct _t { char *ptr; }; struct _t T = { ((char *) _ctype_b + 3) }; $ cat ctype.c char _ctype_b[4] = { 0, 0, 0, 0 }; LD: test.o:(.data+0x0): warning: internal error: unsupported relocation error We also follow gnu toolchain here, where 2-byte relocation mapped to R_MSP430_16_BYTE, instead of R_MSP430_16. Patch by Kristina Bessonova! Differential Revision: https://reviews.llvm.org/D54620 llvm-svn: 347074
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud