]> git.ipfire.org Git - thirdparty/gcc.git/commit
* config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare.
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Mar 2004 12:00:26 +0000 (12:00 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Mar 2004 12:00:26 +0000 (12:00 +0000)
commit5b8aafe1d60a63d357b05a407b4c7a2c39c3398f
tree2b0da7ff6264fcf62fd7a46e411866aa45acc524
parent7746224a4b8634a5cd02d2ab5fe2ac7697425400
* config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare.

* config/m68hc11/m68hc11.c (m68hc11_handle_page0_attribute): New.
(m68hc11_attribute_table): New attribute "page0" to mark a global
variable as being allocated from within page0 section.
(m68hc11_encode_label): New function.
(m68hc11_strip_name_encoding): New function.
(m68hc11_page0_symbol_p): New function.
(m68hc11_indirect_p): Accept global variables marked in page0.
(m68hc11_encode_section_info): Lookup "page0" attribute.

* config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): 'R' constraint also
represents access to page0 variables.

* config/m68hc11/m68hc11.md ("*logicalsi3_zexthi"): Use gen_rtx_REG.
("*logicalsi3_silshl16_zext"): Likewise.
("*ashldi3_const32"): Likewise.
(peephole2 ashift): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80038 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m68hc11/m68hc11-protos.h
gcc/config/m68hc11/m68hc11.c
gcc/config/m68hc11/m68hc11.h
gcc/config/m68hc11/m68hc11.md