Re: RFA: RL78: Place zero-initialised data into the .bss section

2015-05-14 Thread Nicholas Clifton
Hi DJ, Ok but.. +case SECCAT_TBSS: + return default_select_section (decl, reloc, align); + +default: + gcc_unreachable (); Would it be better to just "default:" everything to default_select_section, instead of enumerating everything we know about today? Yes it would. :-}

Re: RFA: RL78: Place zero-initialised data into the .bss section

2015-05-13 Thread DJ Delorie
> OK to apply ? Ok but.. > +case SECCAT_TBSS: > + return default_select_section (decl, reloc, align); > + > +default: > + gcc_unreachable (); Would it be better to just "default:" everything to default_select_section, instead of enumerating everything we know about today?

RFA: RL78: Place zero-initialised data into the .bss section

2015-05-13 Thread Nick Clifton
Hi DJ, Currently the RL78 port does not place zero-initialised data in the .bss section. This is because of the rl78_select_section() function which does not handle bss data. The patch below updates the function to handle that and other types of data so that they end up in the expected