https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124090

            Bug ID: 124090
           Summary: powerpc* targets should use {as,ld}_{32,64}_opt in
                    configure.ac
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: segher at gcc dot gnu.org
  Target Milestone: ---
            Target: powerpc*-*-*

PowerPC targets currently have their own way of setting the linker emulations
and assembler options to use in gcc/configure.ac:

* emul_name is set differently in two different places

* the assembler tests hardcode -a32/-a64

I think it would be good to be consistent with the way SPARC and x86 targets
handle this instead:

* set gcc_cv_as_flags/as_32_opt/as_64_opt in acinclude.m4 (gcc_GAS_FLAGS), and

* set ld_32_opt/ld_64_opt in configure.ac

and use those instead.

Reply via email to