xref: /netbsd-src/external/gpl3/binutils/dist/ld/ldlex-wrapper.c (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
1*cb63e24eSchristos /* Copyright (C) 2012-2024 Free Software Foundation, Inc.
29573673dSchristos 
39573673dSchristos    This file is part of the GNU Binutils.
49573673dSchristos 
59573673dSchristos    This program is free software; you can redistribute it and/or modify
69573673dSchristos    it under the terms of the GNU General Public License as published by
79573673dSchristos    the Free Software Foundation; either version 3 of the License, or
89573673dSchristos    (at your option) any later version.
99573673dSchristos 
109573673dSchristos    This program is distributed in the hope that it will be useful,
119573673dSchristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
129573673dSchristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
139573673dSchristos    GNU General Public License for more details.
149573673dSchristos 
159573673dSchristos    You should have received a copy of the GNU General Public License
169573673dSchristos    along with this program; if not, write to the Free Software
179573673dSchristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
189573673dSchristos    MA 02110-1301, USA.  */
199573673dSchristos 
20be9ac0eaSchristos /* The flex output (ldlex.c) includes stdio.h before any of the C code
21be9ac0eaSchristos    in ldlex.l.  Make sure we include sysdep.h first, so that config.h
22be9ac0eaSchristos    can select the correct value of things like _FILE_OFFSET_BITS and
23be9ac0eaSchristos    _LARGE_FILES.  */
249573673dSchristos 
25be9ac0eaSchristos #include "sysdep.h"
26be9ac0eaSchristos #include "ldlex.c"
27