[ovs-git] Open vSwitch: Remove unused USE_LINKER_SECTIONS and OVS_LINK2_IFELSE (master)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 13 17:32:17 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  bca43eff7ded606cbebb89f1ba78f14694cf3a6d (commit)
       via  5521e08eb7a233129208a1c04ee11a0599f25879 (commit)
       via  86e504e102aa69c379cd465966daf197152618e6 (commit)
       via  6164839f3ee00436b32af3100c903ee152803117 (commit)
      from  42efb1dc451ebdd7a37ef27a4df7423df74d423c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bca43eff7ded606cbebb89f1ba78f14694cf3a6d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=bca43eff7ded606cbebb89f1ba78f14694cf3a6d
Author: Helmut Schaa <helmut.schaa at googlemail.com>
		
Remove unused USE_LINKER_SECTIONS and OVS_LINK2_IFELSE
		
They are unused and can be removed.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 5521e08eb7a233129208a1c04ee11a0599f25879
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=5521e08eb7a233129208a1c04ee11a0599f25879
Author: Helmut Schaa <helmut.schaa at googlemail.com>
		
coverage: Use OVS_CONSTRUCTOR to initialize the coverage counter array
		
Use a static array in coverage.c that gets initialized by constructor
functions per coverage definition.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 86e504e102aa69c379cd465966daf197152618e6
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=86e504e102aa69c379cd465966daf197152618e6
Author: Helmut Schaa <helmut.schaa at googlemail.com>
		
vlog: Use OVS_CONSTRUCTOR for vlog initialization
		
This allows to get rid of some special segment handling to allow
distributed registering of vlog modules.

Instead use a global list and vlog module constructor functions to
build up the list. That means vlog modules reside within the
compilation unit they are defined in and can be iterated upon
by using the global list vlog_modules.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


commit 6164839f3ee00436b32af3100c903ee152803117
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6164839f3ee00436b32af3100c903ee152803117
Author: Helmut Schaa <helmut.schaa at googlemail.com>
		
compiler: Add OVS_CONSTRUCTOR to mark functions as init functions
		
Functions marked with OVS_CONSTRUCTOR are called unconditionally
before main.

Tested with GCC. Untested with MSVC.

Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 configure.ac      |    1 -
 lib/automake.mk   |   22 ---------------
 lib/compiler.h    |   13 +++++++++
 lib/coverage.c    |   46 +++++++++++---------------------
 lib/coverage.h    |   20 +++++---------
 lib/vlog.c        |   63 ++++++++++++++++---------------------------
 lib/vlog.h        |   16 ++++++-----
 m4/openvswitch.m4 |   77 -----------------------------------------------------
 8 files changed, 66 insertions(+), 192 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list