diff options
author | Richard Sandiford <richard@codesourcery.com> | 2005-12-07 11:52:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2005-12-07 11:52:28 +0000 |
commit | 911ffe72bf858e635d7bee0c1548867503ae8d3c (patch) | |
tree | 3ee3715ad6dff553b6302be6783dbabd2aa274ca | |
parent | bd97af065992204bfc76c4c60723e1279f12e1d7 (diff) | |
download | gcc-911ffe72bf858e635d7bee0c1548867503ae8d3c.zip gcc-911ffe72bf858e635d7bee0c1548867503ae8d3c.tar.gz gcc-911ffe72bf858e635d7bee0c1548867503ae8d3c.tar.bz2 |
coretypes.h (section): Provide dummy definition for target files.
* coretypes.h (section): Provide dummy definition for target files.
* config/darwin.h: Revert previous change.
From-SVN: r108159
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.h | 2 | ||||
-rw-r--r-- | gcc/coretypes.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11eee71..8e8d310 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-12-07 Richard Sandiford <richard@codesourcery.com> + + * coretypes.h (section): Provide dummy definition for target files. + * config/darwin.h: Revert previous change. + 2005-12-07 Rafael Ávila de Espíndola <rafael.espindola@gmail.com> * doc/sourcebuild.texi (all.build, install-normal): Remove. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index ff220a2..8afae45 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -610,11 +610,9 @@ Boston, MA 02110-1301, USA. */ #define MAX_OFILE_ALIGNMENT 0x8000 /* Declare the section variables. */ -#ifndef IN_LIBGCC2 #define DEF_SECTION(NAME, FLAGS, DIRECTIVE, OBJC) extern section *NAME; #include "darwin-sections.def" #undef DEF_SECTION -#endif #undef TARGET_ASM_SELECT_SECTION #define TARGET_ASM_SELECT_SECTION machopic_select_section diff --git a/gcc/coretypes.h b/gcc/coretypes.h index 7942459..f060733 100644 --- a/gcc/coretypes.h +++ b/gcc/coretypes.h @@ -68,9 +68,11 @@ enum tls_model { struct _dont_use_rtx_here_; struct _dont_use_rtvec_here_; union _dont_use_tree_here_; +union _dont_use_section_here_; #define rtx struct _dont_use_rtx_here_ * #define rtvec struct _dont_use_rtvec_here * #define tree union _dont_use_tree_here_ * +#define section union _dont_use_section_here_ #endif |