v850.c (GHS_default_section_names): Change to const char * type.
authorNick Clifton <nickc@redhat.com>
Wed, 25 Jun 2014 09:21:59 +0000 (09:21 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 25 Jun 2014 09:21:59 +0000 (09:21 +0000)
commitcd47dfd0c5ab8ea6464454e75740a6715a19a41d
treedcb67ae11c5c515c729f01554c35f9e907b4014d
parentda6f124d8a567e410a2926f1cb4416ca620d271d
v850.c (GHS_default_section_names): Change to const char * type.

* config/v850/v850.c (GHS_default_section_names): Change to const
char * type.
(GHS_current_section_names): Likewise.
(v850_insert_attributes): Do not build strings, just assign the
names directly.  Change the type of 'chosen_section' to const
char*.
* config/v850/v850-c.c (ghs_pragma_section): Assign the alias
directly to the array entry.
* config/v850/v850.h (GHS_default_section_names): Change to const
char * type.
(GHS_current_section_names): Likewise.

From-SVN: r211972
gcc/ChangeLog
gcc/config/v850/v850-c.c
gcc/config/v850/v850.c
gcc/config/v850/v850.h