elfos.h (52284) | elfos.h (60967) |
---|---|
1/* elfos.h -- operating system specific defines to be used when 2 targeting GCC for some generic ELF system | 1/* elfos.h -- operating system specific defines to be used when 2 targeting GCC for some generic ELF system |
3 Copyright (C) 1991, 1994, 1995, 1999 Free Software Foundation, Inc. | 3 Copyright (C) 1991, 1994, 1995, 1999, 2000 Free Software Foundation, Inc. |
4 Based on svr4.h contributed by Ron Guilmette (rfg@netcom.com). 5 6This file is part of GNU CC. 7 8GNU CC is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 2, or (at your option) 11any later version. --- 409 unchanged lines hidden (view full) --- 421{ \ 422 if (TREE_CODE (DECL) == STRING_CST) \ 423 { \ 424 if (! flag_writable_strings) \ 425 const_section (); \ 426 else \ 427 data_section (); \ 428 } \ | 4 Based on svr4.h contributed by Ron Guilmette (rfg@netcom.com). 5 6This file is part of GNU CC. 7 8GNU CC is free software; you can redistribute it and/or modify 9it under the terms of the GNU General Public License as published by 10the Free Software Foundation; either version 2, or (at your option) 11any later version. --- 409 unchanged lines hidden (view full) --- 421{ \ 422 if (TREE_CODE (DECL) == STRING_CST) \ 423 { \ 424 if (! flag_writable_strings) \ 425 const_section (); \ 426 else \ 427 data_section (); \ 428 } \ |
429 else if (TREE_CODE (DECL) == VAR_DECL) \ | 429 else if (TREE_CODE (DECL) == VAR_DECL \ 430 || TREE_CODE (DECL) == CONSTRUCTOR) \ |
430 { \ 431 if ((flag_pic && RELOC) \ 432 || !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \ 433 || !DECL_INITIAL (DECL) \ 434 || (DECL_INITIAL (DECL) != error_mark_node \ 435 && !TREE_CONSTANT (DECL_INITIAL (DECL)))) \ 436 data_section (); \ 437 else \ --- 267 unchanged lines hidden --- | 431 { \ 432 if ((flag_pic && RELOC) \ 433 || !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \ 434 || !DECL_INITIAL (DECL) \ 435 || (DECL_INITIAL (DECL) != error_mark_node \ 436 && !TREE_CONSTANT (DECL_INITIAL (DECL)))) \ 437 data_section (); \ 438 else \ --- 267 unchanged lines hidden --- |