--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id 13AB6431FBD\r
+ for <notmuch@notmuchmail.org>; Sat, 12 Jul 2014 12:00:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id F16+yIuCMtaK for <notmuch@notmuchmail.org>;\r
+ Sat, 12 Jul 2014 12:00:26 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+ (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id 5207A431FBC\r
+ for <notmuch@notmuchmail.org>; Sat, 12 Jul 2014 12:00:26 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1X62Ww-0003Ou-4I; Sat, 12 Jul 2014 16:00:18 -0300\r
+Received: (nullmailer pid 20776 invoked by uid 1000); Sat, 12 Jul 2014\r
+ 19:00:14 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Charles Celerier <cceleri@cs.stanford.edu>, Notmuch Mail\r
+ <notmuch@notmuchmail.org>\r
+Subject: Re: [PATCH v2 5/5] T360-symbol-hiding: Use nm instead of objdump.\r
+In-Reply-To: <m24n0xy974.fsf@jane.lan>\r
+References: <1399395748-44920-1-git-send-email-cceleri@cs.stanford.edu>\r
+ <1399434615-28425-1-git-send-email-cceleri@cs.stanford.edu>\r
+ <1399434615-28425-2-git-send-email-cceleri@cs.stanford.edu>\r
+ <87d2fov2qj.fsf@maritornes.cs.unb.ca> <m2zjisnwie.fsf@jane.lan>\r
+ <87a9arvs9b.fsf@maritornes.cs.unb.ca> <m2iopfoihw.fsf@jane.lan>\r
+ <87lhua3qvv.fsf@maritornes.cs.unb.ca> <m24n0xy974.fsf@jane.lan>\r
+User-Agent: Notmuch/0.18.1+22~gbf82697 (http://notmuchmail.org) Emacs/24.3.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 12 Jul 2014 16:00:14 -0300\r
+Message-ID: <87d2dav1vl.fsf@maritornes.cs.unb.ca>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 12 Jul 2014 19:00:30 -0000\r
+\r
+Charles Celerier <cceleri@cs.stanford.edu> writes:\r
+\r
+> David Bremner <david@tethera.net> writes:\r
+>\r
+> $ objdump -t lib/*.o | sed -n '/\[\.text\] __\?notmuch/p' | tail\r
+> 00000000000009a0 g 0f SECT 01 0000 [.text] _notmuch_thread_get_authors\r
+> 0000000000000990 g 0f SECT 01 0000 [.text] _notmuch_thread_get_matched_messages\r
+> 0000000000000960 g 0f SECT 01 0000 [.text] _notmuch_thread_get_messages\r
+> 00000000000009d0 g 0f SECT 01 0000 [.text] _notmuch_thread_get_newest_date\r
+\r
+Here is some equivalent output from Linux\r
+\r
+$ objdump -t lib/*.o | sed -n '/[.]text.*notmuch/p' | tail -12\r
+\r
+0000000000000150 g F .text 000000000000095e .hidden _notmuch_thread_create\r
+0000000000000ab0 g F .text 0000000000000009 notmuch_thread_get_toplevel_messages\r
+0000000000000ac0 g F .text 0000000000000009 notmuch_thread_get_messages\r
+\r
+...\r
+\r
+Notice in particular the ".hidden" in the first line. Also, the lack of\r
+extra _ on the front. \r
+\r
+It may be that the visibility information is not accessible on OS-X\r
+using objdump; this is something different than whether a symbol is\r
+extern. The symbols marked .hidden can be used across compilation unit\r
+boundaries, but will not be exported from the shared library.\r
+\r