diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-11 18:26:04 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2001-09-11 18:26:04 +0000 |
commit | d61a78a7afc8aff36e96a065460943aea80f39b4 (patch) | |
tree | c7f3f304c28df1b8cac970fbdaf6bd3343f357ca /gas/config/tc-ia64.c | |
parent | f94952df275cf6c0435a486a654476b0dac3f632 (diff) | |
download | gdb-d61a78a7afc8aff36e96a065460943aea80f39b4.zip gdb-d61a78a7afc8aff36e96a065460943aea80f39b4.tar.gz gdb-d61a78a7afc8aff36e96a065460943aea80f39b4.tar.bz2 |
* config/tc-alpha.c (alpha_elf_section_letter): New.
(alpha_elf_section_flags): New.
* config/tc-alpha.h (md_elf_section_letter): New.
(md_elf_section_flags): New.
* config/tc-ia64.c (ia64_elf_section_letter): New.
* config/tc-ia64.h (md_elf_section_letter): New.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r-- | gas/config/tc-ia64.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index d811aa9..c7b0ec9 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -916,6 +916,20 @@ set_section (name) input_line_pointer = saved_input_line_pointer; } +/* Map 's' to SHF_IA_64_SHORT. */ + +int +ia64_elf_section_letter (letter, ptr_msg) + int letter; + char **ptr_msg; +{ + if (letter == 's') + return SHF_IA_64_SHORT; + + *ptr_msg = _("Bad .section directive: want a,s,w,x,M,S in string"); + return 0; +} + /* Map SHF_IA_64_SHORT to SEC_SMALL_DATA. */ flagword |