14d5abbe8Smrg /* Dummy _mcount when mixing profiling and non-profiling objects. 2*b1e83836Smrg Copyright (C) 2015-2022 Free Software Foundation, Inc. 34d5abbe8Smrg 44d5abbe8Smrg This file is part of GCC. 54d5abbe8Smrg 64d5abbe8Smrg GCC is free software; you can redistribute it and/or modify it under 74d5abbe8Smrg the terms of the GNU General Public License as published by the Free 84d5abbe8Smrg Software Foundation; either version 3, or (at your option) any later 94d5abbe8Smrg version. 104d5abbe8Smrg 114d5abbe8Smrg GCC is distributed in the hope that it will be useful, but WITHOUT ANY 124d5abbe8Smrg WARRANTY; without even the implied warranty of MERCHANTABILITY or 134d5abbe8Smrg FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 144d5abbe8Smrg for more details. 154d5abbe8Smrg 164d5abbe8Smrg Under Section 7 of GPL version 3, you are granted additional 174d5abbe8Smrg permissions described in the GCC Runtime Library Exception, version 184d5abbe8Smrg 3.1, as published by the Free Software Foundation. 194d5abbe8Smrg 204d5abbe8Smrg You should have received a copy of the GNU General Public License and 214d5abbe8Smrg a copy of the GCC Runtime Library Exception along with this program; 224d5abbe8Smrg see the files COPYING3 and COPYING.RUNTIME respectively. If not, see 234d5abbe8Smrg <http://www.gnu.org/licenses/>. */ 244d5abbe8Smrg 254d5abbe8Smrg void _mcount (void); 264d5abbe8Smrg 274d5abbe8Smrg /* A dummy profiling support routine for non-profiling executables, 284d5abbe8Smrg in case we link in some objects that have been compiled for profiling. */ 294d5abbe8Smrg 304d5abbe8Smrg void __attribute__((weak)) _mcount(void)314d5abbe8Smrg_mcount (void) 324d5abbe8Smrg { 334d5abbe8Smrg } 34