[PATCH 05/12] libiberty/ * configure: Add Microblaze PICFLAG
Michael Eager
eager@eagerm.com
Thu Oct 11 15:21:00 GMT 2012
On 10/09/2012 07:13 PM, david.holsgrove@xilinx.com wrote:
> From: David Holsgrove <david.holsgrove@xilinx.com>
>
> Microblaze requires libiberty to be compiled with -fPIC
Why?
> Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
> ---
> libiberty/ChangeLog | 4 ++++
> libiberty/configure | 3 +++
> 2 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
> index 6615047..4039873 100644
> --- a/libiberty/ChangeLog
> +++ b/libiberty/ChangeLog
> @@ -1,3 +1,7 @@
> +2012-10-10 David Holsgrove <david.holsgrove@xilinx.com>
> +
> + * configure: Add Microblaze PICFLAG
> +
> 2012-07-31 Mike Frysinger <vapier@gentoo.org>
Provide ChangeLog in plain text, not as a patch.
> * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
> diff --git a/libiberty/configure b/libiberty/configure
> index 6e98352..266d8b2 100755
> --- a/libiberty/configure
> +++ b/libiberty/configure
> @@ -4899,6 +4899,9 @@ case "${host}" in
> m68k-*-*)
> PICFLAG=-fpic
> ;;
> + microblaze*-*-*)
> + PICFLAG=-fPIC
> + ;;
> # FIXME: Override -fPIC default in libgcc only?
> sh-*-linux* | sh[2346lbe]*-*-linux*)
> PICFLAG=-fpic
Configure is a generated file.
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
More information about the Binutils
mailing list