xref: /netbsd-src/external/gpl3/binutils.old/dist/bfd/hosts/i386linux.h (revision e992f068c547fd6e84b3f104dc2340adcc955732)
1*e992f068Schristos /* Copyright (C) 2007-2022 Free Software Foundation, Inc.
216dce513Schristos 
316dce513Schristos    This file is part of BFD, the Binary File Descriptor library.
416dce513Schristos 
516dce513Schristos    This program is free software; you can redistribute it and/or modify
616dce513Schristos    it under the terms of the GNU General Public License as published by
716dce513Schristos    the Free Software Foundation; either version 3 of the License, or
816dce513Schristos    (at your option) any later version.
916dce513Schristos 
1016dce513Schristos    This program is distributed in the hope that it will be useful,
1116dce513Schristos    but WITHOUT ANY WARRANTY; without even the implied warranty of
1216dce513Schristos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1316dce513Schristos    GNU General Public License for more details.
1416dce513Schristos 
1516dce513Schristos    You should have received a copy of the GNU General Public License
1616dce513Schristos    along with this program; if not, write to the Free Software
1716dce513Schristos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
1816dce513Schristos    MA 02110-1301, USA.  */
1916dce513Schristos 
2016dce513Schristos /* Linux writes the task structure at the end of the core file.  Currently it
2116dce513Schristos    is 2912 bytes.  It is possible that this should be a pickier check, but
2216dce513Schristos    we should probably not be too picky (the size of the task structure might
2316dce513Schristos    vary, and if it's not the length we expect it to be, it doesn't affect
2416dce513Schristos    our ability to process the core file).  So allow 0-4096 extra bytes at
2516dce513Schristos    the end.  */
2616dce513Schristos 
2716dce513Schristos #define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096
28