This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, RX] Add target rx-*-linux
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- Cc: binutils at sourceware dot org
- Date: Wed, 01 Aug 2018 21:26:03 +0900
- Subject: Re: [PATCH, RX] Add target rx-*-linux
- References: <87d0v5rtfl.wl-ysato@users.sourceforge.jp> <1532955774.2884.3.camel@t-online.de> <87bmaorxoq.wl-ysato@users.sourceforge.jp> <1533041377.2884.27.camel@t-online.de> <87muu68yzq.wl-ysato@users.sourceforge.jp>
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