diff --git a/binutils/ld/emulparams/ppcmacos.sh b/binutils/ld/emulparams/ppcmacos.sh index 9f02af404f..12e437ddd5 100644 --- a/binutils/ld/emulparams/ppcmacos.sh +++ b/binutils/ld/emulparams/ppcmacos.sh @@ -1,5 +1,5 @@ TEMPLATE_NAME=aix -SCRIPT_NAME=aix +SCRIPT_NAME=ppcmacos OUTPUT_FORMAT="xcoff-powermac" OUTPUT_FORMAT_32BIT="xcoff-powermac" OUTPUT_FORMAT_64BIT="xcoff-powermac" diff --git a/binutils/ld/scripttempl/ppcmacos.sc b/binutils/ld/scripttempl/ppcmacos.sc new file mode 100644 index 0000000000..5dd1f66d5e --- /dev/null +++ b/binutils/ld/scripttempl/ppcmacos.sc @@ -0,0 +1,75 @@ +# AIX linker script. +# AIX always uses shared libraries. The section VMA appears to be +# unimportant. The native linker aligns the sections on boundaries +# specified by the -H option. +# +# Copyright (C) 2014 Free Software Foundation, Inc. +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. + +cat <