nixpkgs/pkgs/stdenv
John Ericson b9acfb4ecf treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile

(cherry picked from commit ba52ae5048)
2018-04-25 15:50:41 -04:00
..
cross prebuilt android tools: Init using SDK 2018-02-27 14:15:39 -05:00
custom top-level: {build,host,target}Platform are defined in the stdenv instead 2017-07-07 12:55:02 -04:00
cygwin cygwin: rebase fixes 2017-06-26 09:26:10 -03:00
darwin fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
freebsd fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
generic treewide: isArm -> isAarch32 2018-04-25 15:50:41 -04:00
linux Merge pull request #35247 from telent/mips32 2018-02-27 14:01:15 -05:00
native fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
nix cc-wrapper: Use stdenvNoCC to build 2017-09-26 14:08:21 -04:00
adapters.nix lib, treewide: Add missing MIPS arches, and fix existing usage 2018-02-23 20:43:42 -05:00
booter.nix treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly 2017-11-05 17:10:53 -05:00
common-path.nix bzip2: split into multiple outputs, refactor 2015-04-18 19:32:52 +02:00
default.nix lib, treewide: Add missing MIPS arches, and fix existing usage 2018-02-23 20:43:42 -05:00