Found that in the wild. Both gold and ld accepts integers instead of named constants
for PHDRS. For example older OpenBSD code had:
(https://lab.knightsofnii.com/kristaba/openbsd/blob/4a75b1afc24240f0320911070f95ddf644b8cac7/sys/arch/amd64/conf/kern.ldscript)
PHDRS { .... openbsd_randomize 0x65a3dbe6; /* PT_OPENBSD_RANDOMIZE */ }
Patch adds support for that.