linux.h (ASM_SPEC): Add asm_pcrel_spec.
* config/m68k/linux.h (ASM_SPEC): Add asm_pcrel_spec. * config/m68k/m68k-none.h (ASM_SPEC): Don't override here. * config/m68k/m68k.h (ASM_PCREL_SPEC): New. (ASM_SPEC): Add asm_pcrel_spec. (EXTRA_SPECS): Add asm_pcrel_spec. From-SVN: r124937
This commit is contained in:
parent
c076e75f30
commit
bebb3a98ce
|
@ -1,3 +1,11 @@
|
||||||
|
2007-05-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* config/m68k/linux.h (ASM_SPEC): Add asm_pcrel_spec.
|
||||||
|
* config/m68k/m68k-none.h (ASM_SPEC): Don't override here.
|
||||||
|
* config/m68k/m68k.h (ASM_PCREL_SPEC): New.
|
||||||
|
(ASM_SPEC): Add asm_pcrel_spec.
|
||||||
|
(EXTRA_SPECS): Add asm_pcrel_spec.
|
||||||
|
|
||||||
2007-05-21 David Daney <ddaney@avtrex.com>
|
2007-05-21 David Daney <ddaney@avtrex.com>
|
||||||
|
|
||||||
* doc/install.texi (Building a cross compiler): Add requirements
|
* doc/install.texi (Building a cross compiler): Add requirements
|
||||||
|
|
|
@ -25,8 +25,8 @@ Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
/* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */
|
/* Add %(asm_cpu_spec) to the svr4.h definition of ASM_SPEC. */
|
||||||
#undef ASM_SPEC
|
#undef ASM_SPEC
|
||||||
#define ASM_SPEC \
|
#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec) \
|
||||||
"%(asm_cpu_spec) %{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}"
|
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*}"
|
||||||
|
|
||||||
/* for 68k machines this only needs to be TRUE for the 68000 */
|
/* for 68k machines this only needs to be TRUE for the 68000 */
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,3 @@ along with GCC; see the file COPYING. If not, write to
|
||||||
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||||
Boston, MA 02110-1301, USA. */
|
Boston, MA 02110-1301, USA. */
|
||||||
|
|
||||||
#undef ASM_SPEC
|
|
||||||
#define ASM_SPEC "%(asm_cpu_spec) %{fPIC:--pcrel} %{fpic:--pcrel} \
|
|
||||||
%{msep-data:--pcrel} %{mid-shared-library:--pcrel}"
|
|
||||||
|
|
|
@ -48,11 +48,15 @@ Boston, MA 02110-1301, USA. */
|
||||||
%{m68060}%{mcpu32}%{m68332}%{m5200}%{m5206e}%{m528x}%{m5307}%{m5407}%{mcfv4e}\
|
%{m68060}%{mcpu32}%{m68332}%{m5200}%{m5206e}%{m528x}%{m5307}%{m5407}%{mcfv4e}\
|
||||||
%{mcpu=*:-mcpu=%*}%{march=*:-march=%*}\
|
%{mcpu=*:-mcpu=%*}%{march=*:-march=%*}\
|
||||||
"
|
"
|
||||||
|
#define ASM_PCREL_SPEC "%{fPIC|fpic|mpcrel:--pcrel} \
|
||||||
|
%{msep-data|mid-shared-library:--pcrel} \
|
||||||
|
"
|
||||||
|
|
||||||
#define ASM_SPEC "%(asm_cpu_spec)"
|
#define ASM_SPEC "%(asm_cpu_spec) %(asm_pcrel_spec)"
|
||||||
|
|
||||||
#define EXTRA_SPECS \
|
#define EXTRA_SPECS \
|
||||||
{ "asm_cpu_spec", ASM_CPU_SPEC }, \
|
{ "asm_cpu_spec", ASM_CPU_SPEC }, \
|
||||||
|
{ "asm_pcrel_spec", ASM_PCREL_SPEC }, \
|
||||||
SUBTARGET_EXTRA_SPECS
|
SUBTARGET_EXTRA_SPECS
|
||||||
|
|
||||||
#define SUBTARGET_EXTRA_SPECS
|
#define SUBTARGET_EXTRA_SPECS
|
||||||
|
|
Loading…
Reference in New Issue