[PATCH] D13104: Mips - Mark the section .eh_frame as writeable for pic

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 05:10:38 PDT 2015


> Yes.
>
> If you give me example of the code, I will show how it is exactly
> translated to an object file.

__attribute__((visibility ("hidden"))) void f(void);
void g(void) { f(); }

Compile with "-Os -S test.c -fPIC -ffunction-sections"

Cheers,
Rafael


More information about the llvm-commits mailing list