8sa1-gcc/gcc/config/m68k
Richard Henderson 7c262518a4 target.h (gcc_target): Add asm_out.named_section, section_type_flags, have_named_sections.
* target.h (gcc_target): Add asm_out.named_section,
	section_type_flags, have_named_sections.
	* target-def.h (TARGET_ASM_NAMED_SECTION): New.
	(TARGET_HAVE_NAMED_SECTIONS): New.
	(TARGET_SECTION_TYPE_FLAGS): New.

	* Makefile.in (toplev.o): Depend on TARGET_H.
	(varasm.o, dbxout.o): Likewise.
	* c-common.c (decl_attributes): Check targetm.have_named_sections
	instead of ifdef ASM_OUTPUT_SECTION_NAME.
	* dbxout.c (dbxout_function_decl): Likewise.
	(dbxout_function_end): Likewise.
	* toplev.c (compile_file): Likewise.
	* varasm.c (exception_section): Likewise.
	* cp/decl2.c (finish_objects): Likewise.

	* defaults.h (EH_FRAME_SECTION): Remove.
	(EH_FRAME_SECTION_ASM_OP): Remove.
	(EH_FRAME_SECTION_NAME): New.
	(UNIQUE_SECTION): Don't depend on ASM_OUTPUT_SECTION_NAME.
	(UNIQUE_SECTION_P): Remove.
	* dwarf2out.c (SECTION_FORMAT): Remove.
	(ASM_OUTPUT_SECTION): Remove.
	(output_call_frame_info): Use named_section_flags.
	(output_comp_unit, dwarf2out_start_source_file): Likewise.
	(dwarf2out_end_source_file, dwarf2out_define): Likewise.
	(dwarf2out_undef, dwarf2out_init, dwarf2out_finish): Likewise.
	* varasm.c (in_eh_frame, eh_frame_section): Remove.
	(named_section_flags): New.
	(named_section): Use it and targetm.section_type_flags.
	(resolve_unique_section): New.
	(assemble_start_function): Use it.
	(asm_emit_uninitialised, assemble_variable): Likewise.
	(default_section_type_flags): New.
	(default_no_named_section, default_elf_asm_named_section): New.
	(default_coff_asm_named_section, default_pe_asm_named_section): New.
	* output.h: Update varasm.c decls.
	(SECTION_*): New flags.

	* crtstuff.c: Check EH_FRAME_SECTION_NAME not EH_FRAME_SECTION_ASM_OP.
	(__EH_FRAME_BEGIN__, __FRAME_END__): Use attribute section.

	* config/elfos.h (UNIQUE_SECTION_P): Remove.
	* config/alpha/elf.h, config/arm/linux-elf.h: Likewise.
	* config/arm/pe.h, config/arm/unknown-elf.h: Likewise.
	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
	* config/i386/i386-interix.h, config/i386/win32.h: Likewise.
	* config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
	* config/mips/elf.h, config/mips/elf64.h: Likewise.
	* config/mips/iris6gld.h, config/mips/mips.h: Likewise.
	* config/pa/pa64-hpux.h,

	* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
	(TARGET_ASM_NAMED_SECTION): New.
	* config/psos.h, config/a29k/a29k.h, config/alpha/elf.h: Likewise.
	* config/alpha/vms.h, config/arm/coff.h: Likewise.
	* config/arm/conix-elf.h, config/arm/elf.h: Likewise.
	* config/arm/linux-elf.h, config/arm/pe.h: Likewise.
	* config/arm/unknown-elf.h, config/avr/avr.h: Likewise.
	* config/c4x/c4x.h, config/h8300/h8300.h: Likewise.
	* config/i386/cygwin.h, config/i386/djgpp.h: Likewise.
	* config/i386/i386-interix.h, config/i386/i386elf.h : Likewise.
	* config/i386/sco5.h, config/i386/win32.h: Likewise.
	* config/m68k/coff.h, config/mcore/mcore-pe.h: Likewise.
	* config/mcore/mcore.h, config/mips/elf.h: Likewise.
	* config/mips/elf64.h, config/mips/iris6.h: Likewise.
	* config/mips/netbsd.h, config/mips/openbsd.h: Likewise.
	* config/pa/pa64-hpux.h, config/rs6000/sysv4.h: Likewise.
	* config/rs6000/xcoff.h, config/sh/sh.h: Likewise.
	* config/sparc/sysv4.h: Likewise.

	* config/nextstep.h: Error until named sections implemented.

	* config/a29k/a29k.c (a29k_asm_named_section): New.
	* config/alpha/alpha.c (SECTION_VMS_OVERLAY): New.
	(vms_section_type_flags, vms_asm_named_section): New.
	* config/arm/arm.c (arm_elf_asm_named_section): New.
	* config/avr/avr.c (asm_output_section_name): Remove.
	* config/avr/avr-protos.h: Update.
	* config/c4x/c4x.c (c4x_asm_named_section): New.
	* config/h8300/h8300.c (h8300_asm_named_section): New.
	* config/i386/i386.c (sco_asm_named_section): New.
	* config/i386/winnt.c (SECTION_PE_SHARED): New.
	(i386_pe_section_type_flags): New.
	(i386_pe_asm_named_section): New.
	* config/i386/i386-protos.h: Update.
	* config/m68k/m68k.c (m68k_coff_asm_named_section): New.
	* config/mcore/mcore.c (mcore_asm_named_section): New.
	* config/mips/mips.c (iris6_asm_named_section): New.
	* config/mips/mips.h (ENCODE_SECTION_INFO): Use DECL_ONE_ONLY
	instead of UNIQUE_SECTION_P.
	* config/rs6000/rs6000.c (rs6000_elf_section_type_flags): New.
	(xcoff_asm_named_section): New.
	* config/sh/sh.c (sh_asm_named_section): New.
	* config/sparc/sparc.c (sparc_elf_asm_named_section): New.

	* config/i386/djgpp.h (EH_FRAME_SECTION_ASM_OP): Remove.
	* config/i386/sco5.h (EH_FRAME_SECTION_ASM_OP*): Remove.
	(EH_FRAME_SECTION_NAME): New.
	(EXCEPTION_SECTION): New.
	* config/ia64/ia64.h (EH_FRAME_SECTION_ASM_OP): Remove.
	(DEBUG_*_SECTION): Remove.
	* config/m68k/rtemself.h (EH_FRAME_SECTION_ASM_OP): Remove.
	* config/mips/iris6.h (DEBUG_*_SECTION): Remove.
	(EH_FRAME_SECTION_ASM_OP): Remove.

	* doc/tm.texi (UNIQUE_SECTION_P): Remove.
	(ASM_OUTPUT_SECTION_NAME): Remove.
	(TARGET_ASM_NAMED_SECTION): New.
	(TARGET_HAVE_NAMED_SECTIONS): New.
	(TARGET_SECTION_TYPE_FLAGS): New.
	(EH_FRAME_SECTION_ASM_OP): Remove.
	(EH_FRAME_SECTION_NAME): New.

From-SVN: r44623
2001-08-03 18:31:41 -07:00
..
3b1.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
3b1g.h
a-ux.h
altos3068.h
amix.h
apollo68.h
atari.h
aux-crt1.c
aux-crt2.asm configure.in: Kill tm.h. 2001-03-03 03:32:55 +00:00
aux-crtn.asm configure.in: Kill tm.h. 2001-03-03 03:32:55 +00:00
aux-exit.c
aux-low.gld
aux-mcount.c configure.in: Kill tm.h. 2001-03-03 03:32:55 +00:00
auxas.h
auxgas.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
auxgld.h
auxld.h
ccur-GAS.h
coff.h target.h (gcc_target): Add asm_out.named_section, section_type_flags, have_named_sections. 2001-08-03 18:31:41 -07:00
crds.h Makefile.in (final.o): Depend on target.h. 2001-07-06 18:40:17 +00:00
crti.s
crtn.s
ctix.h
dpx2.h Makefile.in (final.o): Depend on target.h. 2001-07-06 18:40:17 +00:00
dpx2.ifile
dpx2cdbx.h
dpx2g.h
fpgnulib.c
hp2bsd.h
hp3bsd44.h
hp3bsd.h
hp310.h
hp310g.h
hp320.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
hp320g.h
hpux7.h
isi-nfp.h
isi.h
lb1sf68.asm i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
linux-aout.h m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): Add missing doc strings 2001-07-30 14:30:40 -07:00
linux.h m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): Add missing doc strings 2001-07-30 14:30:40 -07:00
lynx-ng.h
lynx.h osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
m68k-aout.h
m68k-coff.h
m68k-none.h
m68k-protos.h Makefile.in (final.o): Depend on target.h. 2001-07-06 18:40:17 +00:00
m68k-psos.h
m68k.c target.h (gcc_target): Add asm_out.named_section, section_type_flags, have_named_sections. 2001-08-03 18:31:41 -07:00
m68k.h m68k.h (TARGET_SWITCHES/TARGET_OPTIONS): Add missing doc strings 2001-07-30 14:30:40 -07:00
m68k.md m68k.md: Replace all general_operand with nonimmediate_operand for all destinations. 2001-07-30 20:45:08 -07:00
m68kelf.h
m68kemb.h
m68kv4.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
m68020-elf.h
mot3300-crt0.S
mot3300.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
mot3300Mcrt0.S
netbsd.h
news3.h
news3gas.h
news.h Makefile.in (final.o): Depend on target.h. 2001-07-06 18:40:17 +00:00
newsgas.h
next21.h osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
next.h
openbsd.h
pbb.h
plexus.h
rtems.h
rtemself.h target.h (gcc_target): Add asm_out.named_section, section_type_flags, have_named_sections. 2001-08-03 18:31:41 -07:00
sgs.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
sun2.h
sun2o4.h
sun3.h osf.h: Standarize copyright statement. 2000-12-06 18:58:25 -07:00
sun3mach.h
sun3n3.h
sun3n.h
sun3o3.h
t-aux config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}. 2001-05-01 17:45:05 +00:00
t-crtstuff
t-linux
t-linux-aout
t-lynx i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-m68kbare i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-m68kelf i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-mot3300
t-mot3300-gald i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-mot3300-gas i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-mot3300-gld
t-next i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
t-openbsd config.gcc (*-*-openbsd*): Add fragment to compile libgcc correctly for shared configurations. 2001-07-13 18:12:22 +00:00
t-vxworks68 i * libgcc1-test.c, libgcc1.c, config/i386/perform.h: Delete file. 2001-05-17 03:16:18 +00:00
tower-as.h toplev.c (output_lang_identify): Delete. 2001-04-16 18:30:48 +00:00
tower.h
vxm68k.h
x-hp320 config.gcc: Set default for xmake_file at top, not bottom. 2001-04-07 20:44:56 +00:00
x-hp320g config.gcc: Set default for xmake_file at top, not bottom. 2001-04-07 20:44:56 +00:00
x-next config.gcc: Set default for xmake_file at top, not bottom. 2001-04-07 20:44:56 +00:00