On Wed, 2011-03-09 at 10:12 -0800, Roland McGrath wrote:
/* Legal values for st_other field of Elf64_Sym. */ #define STO_ALPHA_NOPV 0x80 /* No PV required. */ #define STO_ALPHA_STD_GPLOAD 0x88 /* PV only used for initial ldgp. */
If you are using these, should ELF64_ST_VISIBILITY be extended?
No, these are not visibility flags. What we need here is a new ebl hook to let the backend accept more st_other bits.
Something like:
/* Check whether only valid bits are set on the st_other symbol flag. */ bool ebl_check_st_other_bits (Ebl *ebl, unsigned char st_other);
I got a patch for that on the mjw/ebl_special_other branch. Hope I hooked things up correctly.
Cheers,
Mark