XCore target: fix const section handling

Robert Lytton robert at xmos.com
Mon Dec 9 10:03:02 PST 2013


Here is a patch for the xcore target

    XCore target: fix const section handling

    Xcore target ABI requires const data that is externally visible
    to be handled differently if it has C-language linkage rather than
    C++ language linkage.

    Clang now emits ".cp.rodata" section information.

    All other externally visible constant data will be placed in the DP section.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131209/d044dfd3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatchConst
Type: application/octet-stream
Size: 12294 bytes
Desc: PatchConst
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131209/d044dfd3/attachment.obj>

More information about the llvm-commits mailing list