By default linker would not create a separate segment to hold read only data. This option overrides that behavior by creating the a separate read only segment for read only data. llvm-svn: 217358
5 lines
66 B
C
5 lines
66 B
C
const unsigned char *str = "llvm";
|
|
int foo() {
|
|
return str[0];
|
|
}
|