avr.c (asm_output_section_name): output section attributes.
* config/avr/avr.c (asm_output_section_name): output section attributes. * config/avr/libgcc.S (.text.libgcc): declare section attributes. From-SVN: r34445
This commit is contained in:
parent
7bf81eeefc
commit
3f8a8c683b
@ -1,3 +1,9 @@
|
||||
Wed Jun 7 20:34:33 2000 Denis Chertykov <denisc@overta.ru>
|
||||
|
||||
* config/avr/avr.c (asm_output_section_name): output section
|
||||
attributes.
|
||||
* config/avr/libgcc.S (.text.libgcc): declare section attributes.
|
||||
|
||||
2000-06-06 James E. Wilson <wilson@cygnus.com>
|
||||
|
||||
* frame.h (struct unwind_info_ptr): Collapse version, flags, and length
|
||||
|
@ -3206,16 +3206,20 @@ unique_section (decl, reloc)
|
||||
}
|
||||
|
||||
|
||||
/* Output section name to file FILE */
|
||||
/* Output section name to file FILE
|
||||
We make the section read-only and executable for a function decl,
|
||||
read-only for a const data decl, and writable for a non-const data decl. */
|
||||
|
||||
void
|
||||
asm_output_section_name(file, decl, name, reloc)
|
||||
FILE *file;
|
||||
tree decl ATTRIBUTE_UNUSED;
|
||||
tree decl;
|
||||
const char *name;
|
||||
int reloc ATTRIBUTE_UNUSED;
|
||||
{
|
||||
fprintf (file, ".section %s\n", name);
|
||||
fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", name, \
|
||||
decl && TREE_CODE (decl) == FUNCTION_DECL ? "ax" :
|
||||
decl && TREE_READONLY (decl) ? "a" : "aw");
|
||||
}
|
||||
|
||||
|
||||
|
@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
|
||||
#define __SP_H__ 0x3e
|
||||
#define __SP_L__ 0x3d
|
||||
|
||||
.section .text.libgcc
|
||||
.section .text.libgcc, "ax", @progbits
|
||||
|
||||
/*******************************************************
|
||||
Multiplication 8 x 8
|
||||
|
Loading…
Reference in New Issue
Block a user