]> git.ipfire.org Git - thirdparty/gcc.git/commit
gcc/
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2016 11:02:51 +0000 (11:02 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Oct 2016 11:02:51 +0000 (11:02 +0000)
commit2cd66116afe4a74474f7b628c9cd17fee50c8453
treeb7c4975fab294b75e604f23f0d4cc6a39addca46
parentdfa8b1b6ed3f68c4c6e6736180a0cf620900fb7e
gcc/
PR target/78093
* doc/extend.texi (AVR Variable Attributes) [absdata]: Document it.
* config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_ABSDATA): New macro.
(avr_address_tiny_absdata_p): New static function.
(avr_legitimate_address_p, avr_legitimize_address) [AVR_TINY]: Use
it to determine validity of constant addresses.
(avr_attribute_table) [absdata]: New variable attribute...
(avr_handle_absdata_attribute): ...and handler.
(avr_decl_absdata_p): New static function.
(avr_encode_section_info) [AVR_TINY]: Use it to add flag
AVR_SYMBOL_FLAG_TINY_ABSDATA to respective symbols_refs.
(avr_address_cost) [AVR_TINY]: absdata addresses cost 2.
gcc/testsuite/
PR target/78093
* lib/target-supports.exp (check_effective_target_avr_tiny): New proc.
* gcc.target/avr/torture/tiny-absdata-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241468 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/torture/tiny-absdata-1.c [new file with mode: 0644]
gcc/testsuite/lib/target-supports.exp