diff options
author | Richard Henderson <rth@redhat.com> | 1999-06-05 23:15:34 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1999-06-05 23:15:34 +0000 |
commit | 9de8d8f1848f870605f4e94ffd9d2f1baa005c93 (patch) | |
tree | 8e6f6a20b2de6c7f1d91784f54b103d69774cffe /gas/config/tc-ppc.h | |
parent | 9894490542aa133d03f55b98fe59fabbfde335c0 (diff) | |
download | gdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.zip gdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.tar.gz gdb-9de8d8f1848f870605f4e94ffd9d2f1baa005c93.tar.bz2 |
* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
creation logic from obj_elf_create_section.
* config/obj-elf.c (elf_pseudo_tab): Add pushsection/popsection.
(section_stack): New.
(special_sections): Make const.
(obj_elf_section): Gut and rewrite parsing.
(obj_elf_change_section): New function broken out of obj_elf_section.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.
(obj_elf_section_type): Likewise.
(obj_elf_previous): Treat as a toggle.
(obj_elf_popsection): New.
* config/tc-ppc.c (ppc_section_word): Take str+len not ptr_str.
(ppc_section_type): Likewise.
* config/tc-ppc.h: Likewise.
* expr.h (struct expressionS): Don't make X_op a bitfield.
* config/tc-alpha.c: Update for symbol handling changes.
(md_apply_fix) [case GPREL]: Use now_seg instead of absolute_section.
(load_expression, emit_ir_load, emit_loadstore, emit_jsrjmp): Likewise.
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r-- | gas/config/tc-ppc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index 1b239bc..e6d32d6 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -208,13 +208,13 @@ extern void ppc_adjust_symtab PARAMS ((void)); /* Support for SHF_EXCLUDE and SHT_ORDERED */ extern int ppc_section_letter PARAMS ((int, char **)); -extern int ppc_section_type PARAMS ((char **)); -extern int ppc_section_word PARAMS ((char **)); +extern int ppc_section_type PARAMS ((char *, size_t)); +extern int ppc_section_word PARAMS ((char *, size_t)); extern int ppc_section_flags PARAMS ((int, int, int)); #define md_elf_section_letter(LETTER, PTR_MSG) ppc_section_letter (LETTER, PTR_MSG) -#define md_elf_section_type(PTR_STR) ppc_section_type (PTR_STR) -#define md_elf_section_word(PTR_STR) ppc_section_word (PTR_STR) +#define md_elf_section_type(STR, LEN) ppc_section_type (STR, LEN) +#define md_elf_section_word(STR, LEN) ppc_section_word (STR, LEN) #define md_elf_section_flags(FLAGS, ATTR, TYPE) ppc_section_flags (FLAGS, ATTR, TYPE) /* Add extra PPC sections -- Note, for now, make .sbss2 and .PPC.EMB.sbss0 a |