https://sourceware.org/bugzilla/show_bug.cgi?id=32675

--- Comment #17 from LIU Hao <lh_mouse at 126 dot com> ---
(In reply to Jeremy Drake from comment #16)
> I kind of got the impression that section names were limited to 8
> characters.  If that's not true, I could use better section names like in
> that merge request.  Actually, I vaguely remember that section names in
> objects can be longer but section names in images are limited to 8
> characters?

https://github.com/MicrosoftDocs/win32/blob/9b6259331717ade8385619de80b4a71017ca6294/desktop-src/Debug/pe-format.md?plain=1#L349

> 0
> 8
> Name
> An 8-byte, null-padded UTF-8 encoded string. If the string is exactly 8
> characters long, there is no terminating null. For longer names, this field
> contains a slash (/) that is followed by an ASCII representation of a decimal
> number that is an offset into the string table. Executable images do not use
> a string table and do not support section names longer than 8 characters.
> Long names in object files are truncated if they are emitted to an executable
> file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to