2011-09-27 Sriraman Tallam <tmsriram@google.com>
commitd801bb074dcbc805ad48b0ca496529226ee7ecdb
authortmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Sep 2011 00:31:35 +0000 (28 00:31 +0000)
committertmsriram <tmsriram@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 28 Sep 2011 00:31:35 +0000 (28 00:31 +0000)
tree50003ce51a9e3c476301e99dae5e25e0f8b18af1
parent99f459184fbbb75fa100f40e9ccb6184aae73dce
2011-09-27  Sriraman Tallam  <tmsriram@google.com>

       * plugin-api.h
       (ld_plugin_section): New struct.
       (ld_plugin_get_section_count): New typedef.
       (ld_plugin_get_section_type): New typedef.
       (ld_plugin_get_section_name): New typedef.
       (ld_plugin_get_section_contents): New typedef.
       (ld_plugin_update_section_order): New typedef.
       (ld_plugin_allow_section_ordering): New typedef.
       (ld_plugin_get_view): New typedef.
       (LDPT_GET_SECTION_COUNT): New enum value.
       (LDPT_GET_SECTION_TYPE): New enum value.
       (LDPT_GET_SECTION_NAME): New enum value.
       (LDPT_GET_SECTION_CONTENTS): New enum value.
       (LDPT_UPDATE_SECTION_ORDER): New enum value.
       (LDPT_ALLOW_SECTION_ORDERING): New enum value.
       (LDPT_GET_VIEW): New enum value.
       (tv_get_section_count): New struct member.
       (tv_get_section_type): New struct member.
       (tv_get_section_name): New struct member.
       (tv_get_section_contents): New struct member.
       (tv_update_section_order): New struct member.
       (tv_allow_section_ordering): New struct member.
       (tv_get_view): New struct member.

* Makefile.in: Regenerate.
* configure.ac: Add build for function_reordering_plugin.
* configure: Regenerate.
* Makefile.def: Add function_reodering_plugin.
* function_reordering_plugin: New directory.

* config.h.in: New file.
* callgraph.c: Ditto.
* callgraph.h: Ditto.
* configure: Ditto.
* Makefile.in: Ditto.
* configure.ac: Ditto.
* function_reordering_plugin.c: Ditto.
* aclocal.m4: Ditto.
* Makefile.def: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@179303 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
gcc-4_6/ChangeLog.google-4_6
gcc-4_6/Makefile.def
gcc-4_6/Makefile.in
gcc-4_6/configure
gcc-4_6/configure.ac
gcc-4_6/function_reordering_plugin/ChangeLog.google-4_6 [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/Makefile.am [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/Makefile.in [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/aclocal.m4 [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/callgraph.c [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/callgraph.h [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/config.h.in [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/configure [new file with mode: 0755]
gcc-4_6/function_reordering_plugin/configure.ac [new file with mode: 0644]
gcc-4_6/function_reordering_plugin/function_reordering_plugin.c [new file with mode: 0644]
gcc-4_6/include/ChangeLog.google-4_6 [new file with mode: 0644]
gcc-4_6/include/plugin-api.h