[Bug ld/15628] Cortex M4 incorrect blx instruction generated

2013-06-17 Thread matti at henttunen dot se
http://sourceware.org/bugzilla/show_bug.cgi?id=15628 Matias henttunen changed: What|Removed |Added CC||matti at henttunen dot se -- You

[Bug ld/15628] New: Cortex M4 incorrect blx instruction generated

2013-06-14 Thread matti at henttunen dot se
Component: ld Assignee: unassigned at sourceware dot org Reporter: matti at henttunen dot se It seems incorrect code is generated when I compile the following example ---mylib.c--- int test() { return 1; } arm-none-eabi-gcc -fPIC -mcpu=cortex-m4 -mthumb -O2 -ggdb