Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Position Independent Code - Linker Error

$
0
0
Hello there I'm trying to compile and link position independent code using the --apcs=/ropi compile option (C/C++: Read-Only Position Independent). Since I'm using --scatter I can't make use of the linker option "Make RO Sections Position Independent. Instead I mark the RO execution region in my scatter file with the PI option (as mentioned in this post: http://www.keil.com/forum/22514/position-indepedent-startup-function/). It compiles just fine, but I get the L6248

Viewing all articles
Browse latest Browse all 3049

Trending Articles