[PATCH v2 03/37] dm: core: Add macros to access the new linker lists