r239281 - in /branches/hsa/gcc: ChangeLog.hsa h...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Tue Aug 9 13:53:00 GMT 2016


Author: jamborm
Date: Tue Aug  9 13:53:26 2016
New Revision: 239281

URL: https://gcc.gnu.org/viewcvs?rev=239281&root=gcc&view=rev
Log:
Make section::add return pointer to data

2016-08-09  Martin Jambor  <mjambor@suse.cz>

	* hsa-brig.c (hsa_brig_section): Make allocate_new_chunk, chunks
	and cur_chunk provate, add a default NULL parameter to add method.
	(hsa_brig_section::add): Added a new parameter, store pointer to
	output data there if it is non-NULL.
	(emit_function_directives): Use this new parameter instead of
	calculating the pointer itself, fix function comment.
	(hsa_brig_emit_function): Add forgotten endian conversion.


Modified:
    branches/hsa/gcc/ChangeLog.hsa
    branches/hsa/gcc/hsa-brig.c



More information about the Gcc-cvs mailing list