X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Ftracepoint-weak-test.c;h=dad2ece0cb76e04b71531e8efe28778a4f4a3ec3;hb=HEAD;hp=e691fbb1f352742460c17e29fbf22887882ca160;hpb=5517d34d4c242bb2a5233e08e21eec7fa12f3489;p=lttng-ust.git diff --git a/liblttng-ust/tracepoint-weak-test.c b/liblttng-ust/tracepoint-weak-test.c deleted file mode 100644 index e691fbb1..00000000 --- a/liblttng-ust/tracepoint-weak-test.c +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright (C) 2016 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -/* Test compiler support for weak symbols with hidden visibility. */ -char __tracepoint_test_symbol[9] __attribute__((weak, visibility("hidden"))); - -__attribute__((visibility("hidden"))) -void *lttng_ust_tp_check_weak_hidden(void) -{ - return __tracepoint_test_symbol; -}