* elf32-xtensa.c (xtensa_get_property_section_name): Delete. (xtensa_get_property_section): New. (xtensa_read_table_entries): Use xtensa_get_property_section. (relax_property_section, xtensa_get_property_predef_flags): Handle group name suffixes in property section names. (match_section_group): New. gas/ * config/tc-xtensa.c (FINI_LITERAL_SECTION_NAME): Delete. (INIT_LITERAL_SECTION_NAME): Delete. (lit_state struct): Remove segment names, init_lit_seg, and fini_lit_seg. Add lit_prefix and current_text_seg. (init_literal_head_h, init_literal_head): Delete. (fini_literal_head_h, fini_literal_head): Delete. (xtensa_begin_directive): Move argument parsing to xtensa_literal_prefix function. (xtensa_end_directive): Deallocate lit_prefix field of lit_state. (xtensa_literal_prefix): Parse the directive argument here and record it in the lit_prefix field. Remove code to derive literal section names. (linkonce_len): New. (get_is_linkonce_section): Use linkonce_len. Check for any ".gnu.linkonce.*" section, not just text sections. (md_begin): Remove initialization of deleted lit_state fields. (xtensa_reorder_segments, xtensa_post_relax_hook): Remove references to init_literal_head and fini_literal_head. (xtensa_move_literals): Likewise. Skip literals for .init and .fini when traversing literal_head list. (match_section_group): New. (cache_literal_section): Rewrite to determine the literal section name on the fly, create the section and return it. (xtensa_switch_to_literal_fragment): Adjust for cache_literal_section. (xtensa_switch_to_non_abs_literal_fragment): Likewise. (xtensa_create_property_segments, xtensa_create_xproperty_segments): Use xtensa_get_property_section from bfd. (retrieve_xtensa_section): Delete. * doc/c-xtensa.texi (Xtensa Options): Fix --text-section-literals description to refer to plural literal sections and add xref to the Literal Directive section. (Literal Directive): Describe new rules for deriving literal section names. Add footnote for special case of .init/.fini with --text-section-literals. (Literal Prefix Directive): Replace old naming rules with xref to the Literal Directive section. ld/ * emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*. * scripttempl/elfxtensa.sc (.text): Add .literal.*. |
||
|---|---|---|
| .. | ||
| a29k.sc | ||
| aix.sc | ||
| alpha.sc | ||
| aout.sc | ||
| armaout.sc | ||
| armbpabi.sc | ||
| armcoff.sc | ||
| avr.sc | ||
| crisaout.sc | ||
| delta68.sc | ||
| dlx.sc | ||
| ebmon29k.sc | ||
| elf32cr16c.sc | ||
| elf32crx.sc | ||
| elf32msp430_3.sc | ||
| elf32msp430.sc | ||
| elf32sh-symbian.sc | ||
| elf32xc16x.sc | ||
| elf32xc16xl.sc | ||
| elf32xc16xs.sc | ||
| elf_chaos.sc | ||
| elf.sc | ||
| elfd10v.sc | ||
| elfd30v.sc | ||
| elfi370.sc | ||
| elfm68hc11.sc | ||
| elfm68hc12.sc | ||
| elfxtensa.sc | ||
| epocpe.sc | ||
| h8300.sc | ||
| h8300h.sc | ||
| h8300hn.sc | ||
| h8300s.sc | ||
| h8300sn.sc | ||
| h8300sx.sc | ||
| h8300sxn.sc | ||
| h8500.sc | ||
| h8500b.sc | ||
| h8500c.sc | ||
| h8500m.sc | ||
| h8500s.sc | ||
| hppaelf.sc | ||
| i386beos.sc | ||
| i386coff.sc | ||
| i386go32.sc | ||
| i386msdos.sc | ||
| i860coff.sc | ||
| i960.sc | ||
| ip2k.sc | ||
| iq2000.sc | ||
| m68kaux.sc | ||
| m68kcoff.sc | ||
| m68klynx.sc | ||
| m88kbcs.sc | ||
| maxqcoff.sc | ||
| mcorepe.sc | ||
| mips.sc | ||
| mipsbsd.sc | ||
| mmo.sc | ||
| nw.sc | ||
| or32.sc | ||
| pe.sc | ||
| pj.sc | ||
| ppcpe.sc | ||
| psos.sc | ||
| README | ||
| riscix.sc | ||
| sa29200.sc | ||
| sh.sc | ||
| sparccoff.sc | ||
| sparclynx.sc | ||
| st2000.sc | ||
| tic4xcoff.sc | ||
| tic30aout.sc | ||
| tic30coff.sc | ||
| tic54xcoff.sc | ||
| tic80coff.sc | ||
| v850.sc | ||
| vanilla.sc | ||
| w65.sc | ||
| xstormy16.sc | ||
| z80.sc | ||
| z8000.sc | ||
The files in this directory are linker script templates.
genscripts.sh sets some shell variables, then sources
EMULATION.sc, to generate EMULATION.{x,xr,xu,xn,xbn} -- the script
files for default, -r, -Ur, -n, -N.