This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld section name length


Nick Clifton <nickc@cambridge.redhat.com> writes:

> > Is there a way to make ld allow section name lengths longer than 8
> > chars? Has anyone taken a hack at this before? Thanks,
> 
> In which file format ?
> 
> ELF for example allows section names longer than 8 characters, as does
> XCOFF.  COFF and AOUT do not.

Actually, this is supported in COFF as a GNU extension.  Define
COFF_LONG_SECTION_NAMES in your coff-foo.c file, and something similar
in the assembler.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]