| OLD | NEW |
| 1 /* coff object file format | 1 /* coff object file format |
| 2 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, | 2 Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
| 3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 | 3 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 |
| 4 Free Software Foundation, Inc. | 4 Free Software Foundation, Inc. |
| 5 | 5 |
| 6 This file is part of GAS. | 6 This file is part of GAS. |
| 7 | 7 |
| 8 GAS is free software; you can redistribute it and/or modify | 8 GAS is free software; you can redistribute it and/or modify |
| 9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
| 10 the Free Software Foundation; either version 3, or (at your option) | 10 the Free Software Foundation; either version 3, or (at your option) |
| 11 any later version. | 11 any later version. |
| 12 | 12 |
| 13 GAS is distributed in the hope that it will be useful, | 13 GAS is distributed in the hope that it will be useful, |
| 14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 GNU General Public License for more details. | 16 GNU General Public License for more details. |
| 17 | 17 |
| 18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
| 19 along with GAS; see the file COPYING. If not, write to the Free | 19 along with GAS; see the file COPYING. If not, write to the Free |
| 20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA | 20 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
| 21 02110-1301, USA. */ | 21 02110-1301, USA. */ |
| 22 | 22 |
| 23 #define OBJ_HEADER "obj-coff.h" | 23 #define OBJ_HEADER "obj-coff.h" |
| 24 | 24 |
| 25 #include "as.h" | 25 #include "as.h" |
| 26 #include "safe-ctype.h" |
| 26 #include "obstack.h" | 27 #include "obstack.h" |
| 27 #include "subsegs.h" | 28 #include "subsegs.h" |
| 28 | 29 |
| 29 #ifdef TE_PE | 30 #ifdef TE_PE |
| 30 #include "coff/pe.h" | 31 #include "coff/pe.h" |
| 31 #endif | 32 #endif |
| 32 | 33 |
| 33 #define streq(a,b) (strcmp ((a), (b)) == 0) | 34 #define streq(a,b) (strcmp ((a), (b)) == 0) |
| 34 #define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0) | 35 #define strneq(a,b,n) (strncmp ((a), (b), (n)) == 0) |
| 35 | 36 |
| (...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1533 bfd_map_over_sections (stdoutput, coff_adjust_section_syms, NULL); | 1534 bfd_map_over_sections (stdoutput, coff_adjust_section_syms, NULL); |
| 1534 } | 1535 } |
| 1535 | 1536 |
| 1536 /* Implement the .section pseudo op: | 1537 /* Implement the .section pseudo op: |
| 1537 .section name {, "flags"} | 1538 .section name {, "flags"} |
| 1538 ^ ^ | 1539 ^ ^ |
| 1539 | +--- optional flags: 'b' for bss | 1540 | +--- optional flags: 'b' for bss |
| 1540 | 'i' for info | 1541 | 'i' for info |
| 1541 +-- section name 'l' for lib | 1542 +-- section name 'l' for lib |
| 1542 'n' for noload | 1543 'n' for noload |
error: old chunk mismatch |
None
| OLD | NEW |