diff options
| author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-15 01:26:57 +0000 |
|---|---|---|
| committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-15 01:26:57 +0000 |
| commit | b6a063c67fd91190d9aa134f252ddb1fefca958d (patch) | |
| tree | 1058a000c95b680120e78ed42aaf416e98f523a7 | |
| parent | 6119a7d5bcea8e6ca338552972b7bfc48e1186df (diff) | |
| download | ppe42-gcc-b6a063c67fd91190d9aa134f252ddb1fefca958d.tar.gz ppe42-gcc-b6a063c67fd91190d9aa134f252ddb1fefca958d.zip | |
* config/h8300/h8300.c (h8300_handle_eightbit_data_attribute):
Remove the initialization requierment.
(h8300_handle_tiny_data_attribute): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48024 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/h8300/h8300.c | 16 |
2 files changed, 8 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3dba7c75231..2b13073c5f4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2001-12-14 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): + Remove the initialization requierment. + (h8300_handle_tiny_data_attribute): Likewise. + +2001-12-14 Kazu Hirata <kazu@hxi.com> + * config/h8300/h8300.md (udivqi3): Remove. (divqi3): Likewise. (udivhi3): Likewise. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 0a66235d822..a492d4a3f0a 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -3195,13 +3195,7 @@ h8300_handle_eightbit_data_attribute (node, name, args, flags, no_add_attrs) if (TREE_STATIC (decl) || DECL_EXTERNAL (decl)) { - if (DECL_INITIAL (decl) == NULL_TREE) - { - warning ("only initialized variables can be placed into the 8-bit area"); - *no_add_attrs = true; - } - else - DECL_SECTION_NAME (decl) = build_string (7, ".eight"); + DECL_SECTION_NAME (decl) = build_string (7, ".eight"); } else { @@ -3226,13 +3220,7 @@ h8300_handle_tiny_data_attribute (node, name, args, flags, no_add_attrs) if (TREE_STATIC (decl) || DECL_EXTERNAL (decl)) { - if (DECL_INITIAL (decl) == NULL_TREE) - { - warning ("only initialized variables can be placed into the 8-bit area"); - *no_add_attrs = true; - } - else - DECL_SECTION_NAME (decl) = build_string (6, ".tiny"); + DECL_SECTION_NAME (decl) = build_string (6, ".tiny"); } else { |

