This is the mail archive of the binutils@sourceware.org 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: [PATCH, RX] Add target rx-*-linux


On Wed, 2018-08-01 at 13:58 +0900, Yoshinori Sato wrote:

> > Just for my understanding, why is it needed to create a new ELF
> > type
> > for that?  Why can't rx-elf be used as-is?

> Section name etc is different from general ELF.
> standard ELF | rx-elf
> .text        | P
> .data        | D
> .rodata      | C
> .bss         | B

Ah, OK.  In binutils GAS we've got 

-muse-conventional-section-names
-muse-renesas-section-names

Where Renesas section names (P, D, C, B ...) is the default.  Actually
I always build RX-anything with -Wa,--muse-conventional-section-names

Would that solve the problem?

Maybe that should be made the default, or selectable as a configure
option?

Cheers,
Oleg


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