Skip to content
Snippets Groups Projects
Commit 039b7739 authored by Chris Packham's avatar Chris Packham Committed by York Sun
Browse files

powerpc: add --bss-plt to LDFLAGS


With some versions of gcc (that we know of 4.6.3 and 4.8.2 are affected)
it is necessary to specify --bss-plt to get the final blrl in the
_GOT2_TABLE_. Without this the last symbol does not get it's address
relocated.  For the P2041RDB board this ended up being
NetArpWaitTimerStart which caused the ARP packets to timeout
immediately.

Signed-off-by: default avatarJoakim Tjernlund <joakim.tjernlund@transmode.se>
Signed-off-by: default avatarChris Packham <judge.packham@gmail.com>
Acked-by: default avatarJoakim Tjernlund <joakim.tjernlund@transmode.se>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent 5273aa38
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment