diff options
author | Ian Lance Taylor <iant@google.com> | 2011-11-02 05:04:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-11-02 05:04:42 +0000 |
commit | 5743331e9d1e1168cab132e2021cfef4d91c3c0f (patch) | |
tree | a8945039b52fc173fcbdf531d5cfd5b326aeef8e /libgcc/enable-execute-stack-empty.c | |
parent | 1834883a343cb330ff22005cb078b12d1d94f2de (diff) | |
download | gcc-5743331e9d1e1168cab132e2021cfef4d91c3c0f.zip gcc-5743331e9d1e1168cab132e2021cfef4d91c3c0f.tar.gz gcc-5743331e9d1e1168cab132e2021cfef4d91c3c0f.tar.bz2 |
godump.c (struct macro_hash_value): Define.
* godump.c (struct macro_hash_value): Define.
(macro_hash_hashval): New static function.
(macro_hash_eq, macro_hash_del): New static functions.
(go_define): Use macro_hash_value to store values in macro_hash.
Replace an old value on a redefinition. Don't print anything to
go_dump_file.
(go_undef): Delete the entry from the hash table.
(go_output_typedef): For an enum, use macro_hash_value, and don't
print anything to go_dump_file.
(go_print_macro): New static function.
(go_finish): Traverse macro_hash with go_print_macro.
(dump_go_spec_init): Update macro_hash creation for
macro_hash_value.
From-SVN: r180762
Diffstat (limited to 'libgcc/enable-execute-stack-empty.c')
0 files changed, 0 insertions, 0 deletions