Enable the workaround for the Loongson 2F bug by default. Patch by Mark H Weaver . --- binutils/gas/config/tc-mips.c.orig 2012-09-04 10:21:03.000000000 -0400 +++ binutils/gas/config/tc-mips.c 2013-10-06 02:23:21.651983768 -0400 @@ -910,10 +910,10 @@ }; /* ...likewise -mfix-loongson2f-jump. */ -static bfd_boolean mips_fix_loongson2f_jump; +static bfd_boolean mips_fix_loongson2f_jump = FALSE; /* ...likewise -mfix-loongson2f-nop. */ -static bfd_boolean mips_fix_loongson2f_nop; +static bfd_boolean mips_fix_loongson2f_nop = TRUE; /* True if -mfix-loongson2f-nop or -mfix-loongson2f-jump passed. */ static bfd_boolean mips_fix_loongson2f; --- binutils/gas/testsuite/gas/mips/mips.exp.orig 2012-09-04 10:17:13.000000000 -0400 +++ binutils/gas/testsuite/gas/mips/mips.exp 2013-10-06 02:23:21.663983768 -0400 @@ -91,6 +91,12 @@ # Catch because the variable won't be set the first time through. catch {unset mips_arches} + + # Disable the loongson2f nop fix by default, because most of the + # existing test cases for mips will fail otherwise. + global ASFLAGS + set old_ASFLAGS "$ASFLAGS" + set ASFLAGS "$ASFLAGS -mno-fix-loongson2f-nop" } # mips_arch_create ARCH GPRSIZE EXTENDS PROPS AS_FLAGS OBJDUMP_FLAGS \ cc0'>treecommitdiff
path: root/gnu/packages.scm
AgeCommit message (Expand)Author
2024-12-12packages: Optimize ‘all-packages’....On my laptop, wall-clock time for (all-packages) goes from 27s to 1s. * gnu/packages.scm (all-packages): Use a hash table to remember visited packages instead of calling ‘delete-duplicates’ on the final list. Change-Id: I4aae804656b56ef2095993e91f0572a5891f419f Ludovic Courtès
2024-12-01packages: Factorize ‘all-packages’....* gnu/packages.scm (all-packages): New procedure. * etc/source-manifest.scm (all-packages): Remove. * guix/scripts/graph.scm (all-packages): Remove. * guix/scripts/refresh.scm (all-packages): Remove. * guix/scripts/weather.scm (all-packages): Remove. Change-Id: I6072952c4b877b541037ce86402cfb7744eeb0a0 Ludovic Courtès