xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ldlex-wrapper.c (revision e992f068c547fd6e84b3f104dc2340adcc955732)
1*e992f068Schristos /* Copyright (C) 2012-2022 Free Software Foundation, Inc.
275fd0b74Schristos 
375fd0b74Schristos    This file is part of the GNU Binutils.
475fd0b74Schristos 
575fd0b74Schristos    This program is free software; you can redistribute it and/or modify
675fd0b74Schristos    it under the terms of the GNU General Public License as published by
775fd0b74Schristos    the Free Software Foundation; either version 3 of the License, or
875fd0b74Schristos    (at your option) any later version.
975fd0b74Schristos 
1075fd0b74Schristos    This program is distributed in the hope that it will be useful,
1175fd0b74Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1275fd0b74Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1375fd0b74Schristos    GNU General Public License for more details.
1475fd0b74Schristos 
1575fd0b74Schristos    You should have received a copy of the GNU General Public License
1675fd0b74Schristos    along with this program; if not, write to the Free Software
1775fd0b74Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
1875fd0b74Schristos    MA 02110-1301, USA.  */
1975fd0b74Schristos 
2075fd0b74Schristos /* The flex output (ldlex.c) includes stdio.h before any of the C code
2175fd0b74Schristos    in ldlex.l.  Make sure we include sysdep.h first, so that config.h
2275fd0b74Schristos    can select the correct value of things like _FILE_OFFSET_BITS and
2375fd0b74Schristos    _LARGE_FILES.  */
2475fd0b74Schristos 
2575fd0b74Schristos #include "sysdep.h"
2675fd0b74Schristos #include "ldlex.c"
27