Join GitHub today
syntax for creating a symbol alias #420
I'm not sure if this is what you mean, but I'd really like a way to be able to refer to the elements of an array in a struct by another name (like with an anonymous union), where something like this would be valid:
Now that we have packed structs you can do this:
and memory layout is guaranteed to be exactly as you describe. That would solve your use case I believe.
As for this issue, it's referring to the ability for ELF files to have multiple symbols that point to the same address in virtual address space.