
Dear Chunhe Lan,
In message 1334719161-3500-1-git-send-email-Chunhe.Lan@freescale.com you wrote:
The -fPIC/-fpic flag belongs with -mrelocatable. The -fpic flag can limit the size of the GOT and produce smaller binaries, so it causes some GOT entries to be lost in the gcc 4.6 version. But -fPIC flag allows the maximum possible size of the GOT entries.
However, currently -mrelocatable promotes -fpic flag to -fPIC flag.
This reverts that portion of the commit 33ee4c92339ee386662c0ee2d221098c5cc8b07e.
As you state yourself, your modification has the negative impact of increasing the image size. What would be the benefits of it?
Are you trying to fix any specific problem? Which one? I am not aware of any related isses for any of the mainline PowerPC systems...
Best regards,
Wolfgang Denk