[quote user="fan Linlin"]the minimum size of a section allocated by SECTIONS directive is 4 bytes? Does the size must be a multiple of 4?[/quote]
No to both questions.
[quote user="fan Linlin"]Can I allocate a 2-bytes section in the device?[/quote]
Yes.
[quote user="fan Linlin"]How?[/quote]
I did it in a very small test case. I defined the data in this hand-coded assembly.
.global one_short, two_short .sect one one_short: .short 1 .sect two two_short: .short 2
I'm sure there are other ways to do it. How are you doing it?
Thanks and regards,
-George