[PATCH] ELF: make .struct interact with .previous
Jan Beulich
JBeulich@novell.com
Mon Apr 18 14:13:00 GMT 2005
>You are assuming .short will be aligned at 2. The example in document
>has
>
> .struct 0
> field1:
> .struct field1 + 4
> field2:
> .struct field2 + 4
> field3:
This usage seems ill to me anyway (and it kills what the test tests for - the use of .previous). Yes, I assume .short is (at most) 2-byte aligned; if that's too little, it could be further bumped.
Jan
More information about the Binutils
mailing list