summaryrefslogtreecommitdiffstats
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-12 10:06:46 +0000
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>2011-09-12 10:06:46 +0000
commitbf412f98ddb900fedd06b4a48371ac32368c3a4f (patch)
treefc7969f005f5c615d39984b3d09a13f6aa73b715 /gcc/expr.c
parent877cdec9bd6de6cbc584b2dcb9003a164f824eca (diff)
downloadppe42-gcc-bf412f98ddb900fedd06b4a48371ac32368c3a4f.tar.gz
ppe42-gcc-bf412f98ddb900fedd06b4a48371ac32368c3a4f.zip
gcc/
PR target/43746 * config/avr/avr.c (AVR_SECTION_PROGMEM): New Define. (progmem_section): New Variable. (avr_asm_init_sections): Initialize it. (TARGET_ASM_SELECT_SECTION): Define to... (avr_asm_select_section): ... this new Function. (avr_replace_prefix): New Function. (avr_asm_function_rodata_section): Use it. (avr_insert_attributes): Don't add section attribute for PROGMEM. (avr_section_type_flags): Use avr_progmem_p instead of section name to detect if object is in PROGMEM. (avr_asm_named_section): Set section name prefix for objects in PROGMEM. testsuite/ PR target/43746 * testsuite/gcc.target/avr/torture/avr-torture.exp (AVR_TORTURE_OPTIONS): Add test cases "-O2 -fdata-sections" and "-O2 -fmerge-all-constants". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178779 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud