Commit c7d8f446 by Michael Meissner Committed by Michael Meissner

re PR target/57589 (Linux powerpc -mcpu=native returns pointer to variable on…

re PR target/57589 (Linux powerpc -mcpu=native returns pointer to variable on stack in driver-rs6000.c)

2013-06-11  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/57589
	* config/rs6000/driver-rs6000.c (elf_platform): Make buffer static
	to allow returning address to AT_PLATFORM name.

From-SVN: r199972
parent 08346abd
2013-06-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/57589
* config/rs6000/driver-rs6000.c (elf_platform): Make buffer static
to allow returning address to AT_PLATFORM name.
2013-06-11 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_create_function_alias): Set weakref flag.
......@@ -24,7 +30,7 @@
(symtab_make_decl_local): Remove duplicated code.
(symtab_alias_ultimate_target): Simplify.
* varpool.c (varpool_create_variable_alias): Set weakref flag.
2013-06-11 DJ Delorie <dj@redhat.com>
* config/rl78/rl78.c (TARGET_UNWIND_WORD_MODE): Define.
......
......@@ -167,7 +167,7 @@ elf_platform (void)
if (fd != -1)
{
char buf[1024];
static char buf[1024];
ElfW(auxv_t) *av;
ssize_t n;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment