• Jeffrey Lee's avatar
    When multiple CPU architectures are supported, allow dynamically linked... · f3f167bc
    Jeffrey Lee authored
    When multiple CPU architectures are supported, allow dynamically linked clients to be given optimal versions of routines where possible
    
    Detail:
      This set of changes adds support for representing architecture-specific variants of routines within the export tables which the shared C library uses to fill in the client's stubs.
      This allows builds of the module which target multiple architectures (e.g. IOMD, Raspberry Pi, or softloads) to offer the most optimal versions of routines to clients wherever multiple variants exist.
      If only one architecture is supported, only one version of each routine will be built, and no variant tables will be generated.
      Currently routine selection for staticly linked clients isn't supported - staticly linked targets will only use the most backwards-compatible version of the routines, as before. Also not all routines are catered for yet (e.g. _ll_udiv)
      File changes:
      - s/h_common - New file containing macros used during variant table construction
      - Makefile - Set SHAR...
    f3f167bc
k_body 115 KB