This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259013 - in /branches/c++-modules: ChangeLog.m...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 02 Apr 2018 16:28:21 -0000
- Subject: r259013 - in /branches/c++-modules: ChangeLog.m...
Author: nathan
Date: Mon Apr 2 16:28:21 2018
New Revision: 259013
URL: https://gcc.gnu.org/viewcvs?rev=259013&root=gcc&view=rev
Log:
Read new .bindings section
gcc/cp/
* module.c (elf::get_num_sections): New.
(module_state::tng_{read,write}_namespaces): Serialize section range.
(module_state::tng_read_bindings): New.
(module_State::tng_{read,write}_bindings): Adjust.
(trees_in::define_enum, trees_in::tag_binding): Adjust.
* name-lookup.h (push_module_binding): Rename to ...
(set_module_binding): ... here.
(import_module_binding): Declare.
* name-lookup.c (import_module_binding): New.
(push_module_binding): Rename to ...
(set_module_binding): ... here. Adjust.
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/module.c
branches/c++-modules/gcc/cp/name-lookup.c
branches/c++-modules/gcc/cp/name-lookup.h