* Makefile.in (TARGET_H, TARGET_DEF_H): New. (c-decl.o, tree.o, c-typeck.o, $(out_object_file)): Update. * c-decl.c (duplicate_decls): Use function pointer. * c-typeck.c (common_type): Similarly. * tree.c (valid_machine_attribute): Similarly. (merge_machine_type_attributes): Rename merge_type_attributes. (merge_machine_decl_attributes): Rename merge_decl_attributes. (merge_dllimport_decl_attributes): New function. * tree.h (merge_machine_type_attributes): Rename merge_type_attributes. (merge_machine_decl_attributes): Rename merge_decl_attributes. (merge_dllimport_decl_attributes): New prototype. * target.h: New. * target-def.h: New. doc: (Joseph Myers) * doc/gcc.texi, doc/tm.texi: Update documentation. cp: Make-lang.in: Update dependencies. * spew.c: Include target.h. (duplicate_decls): Call target function. * decl2.c: include target.h (import_export_class): Use existence of target function pointer. * typeck.c: Include target.h. (qualify_type_recursive): Rename variable. Call target function. (type_after_usual_arithmetic_conversions): Similarly. (common_type): Similarly. config: * 1750a/1750a.c, a29k/29k.c, alpha/alpha.c, arc/arc.c, arm/arm.c, avr/avr.c, c4x/c4x.c, clipper/clipper.c, convex/convex.c, d30v/d30v.c, dsp16xx/dsp16xx.c, elxsi/elxsi.c, fr30/fr30.c, i370/i370.c, i386/i386.c, i860/i860.c, i960/i960.c, ia64/ia64.c, m32r/m32r.c, m68hc11/m68hc11.c, m68k/m68k.c, m88k/m88k.c, mips/mips.c, mn10200/mn10200.c, mn10300/mn10300.c, ns32k/ns32k.c, pa/pa.c, pdp11/pdp11.c, pj/pj.c, romp/romp.c, rs6000/rs6000.c, sh/sh.c, sparc/sparc.c, v850/v850.c, vax/vax.c, we32k/we32k.c) : Include target.h and target-def.h. Define target. * arc/arc-protos.h (arc_valid_machine_decl_attribute): Remove. * arc/arc.c (arc_valid_machine_decl_attribute): Rename arc_valid_decl_attribute, make static. * arc/arc.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * arm/arm-protos.h (arm_valid_machine_decl_attribute, arm_valid_type_attribute_p, arm_pe_valid_machine_decl_attribute, arm_pe_merge_machine_decl_attributes): Remove. * arm/arm.c (arm_valid_machine_decl_attribute_p): Rename arm_valid_decl_attribute_p, make static. (arm_pe_valid_decl_attribute_p): Move from pe.c. * arm/pe.c (arm_pe_valid_machine_decl_attribute_p): Move to arm.c. (arm_pe_merge_machine_decl_attributes): Move to tree.c. * arm/arm.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. * arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. * arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): New. (VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove. * avr/avr-protos.h (valid_machine_type_attribute, valid_machine_decl_attribute): Remove. * avr/avr.c (valid_machine_type_attribute, valid_machine_decl_attribute): Rename and make static. * avr/avr.h (VALID_MACHINE_TYPE_ATTRIBUTE, VALID_MACHINE_DECL_ATTRIBUTE): Remove. * c4x/c4x-protos.h (c4x_valid_type_attribute_p): Remove. * c4x/c4x.c (c4x_valid_type_attribute_p): Make static. * c4x/c4x.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * d30v/d30v.h: Remove obsolete comments. * h8300/h8300-protos.h (h8300_valid_machine_decl_attribute): Remove. * h8300/h8300.c (h8300_valid_machine_decl_attribute): Rename, make static. * h8300/h8300.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. * i386/cygwin.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. (i386_pe_merge_decl_attributes, MERGE_MACHINE_DECL_ATTRIBUTES, i386_pe_valid_type_attributes_p): Remove. * i386/i386-protos.h (ix86_valid_decl_attribute_p, ix86_valid_type_attribute_p): Remove. * i386/i386.c (ix86_valid_decl_attribute_p): Remove. (ix86_valid_type_attribute_p): Make static. * i386/i386.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * i386/winnt.c (i386_pe_merge_decl_attributes): Move to tree.c. * ia64/ia64-protos.h (ia64_valid_type_attribute): Remove. * ia64/ia64.c (ia64_valid_type_attribute): Make static. * ia64/ia64.h (VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * m32r/m32r-protos.h (m32r_valid_machine_decl_attribute): Remove. * m32r/m32r.c (m32r_valid_decl_attribute): Make static. * m32r/m32r.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. * m68hc11/m68hc11-protos.h (m68hc11_valid_decl_attribute_p, m68hc11_valid_type_attribute_p): Remove. * m68hc11/m68hc11.c (m68hc11_valid_decl_attribute_p): Remove. (m68hc11_valid_type_attribute_p): Make static. * m68hc11/m68hc11.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * mcore/mcore-protos.h (mcore_valid_machine_decl_attribute, mcore_merge_machine_decl_attribute): Remove. * mcore/mcore.c (mcore_valid_machine_decl_attribute): Rename, make static. (mcore_merge_machine_decl_attributes): Move to tree.c. * mcore/mcore.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. * ns32k/ns32k-protos.h (ns32k_valid_decl_attribute_p, ns32k_valid_type_attribute_p): Remove. * ns32k/ns32k.c (ns32k_valid_decl_attribute_p): Remove. (ns32k_valid_type_attribute_p): Make static. * ns32k/ns32k.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * rs6000/rs6000-protos.h (rs6000_valid_decl_attribute_p, rs6000_valid_type_attribute_p): Remove. * rs6000/rs6000.c (rs6000_valid_decl_attribute_p): Remove. (rs6000_valid_type_attribute_p): Make static. * rs6000/rs6000.h (VALID_MACHINE_DECL_ATTRIBUTE, VALID_MACHINE_TYPE_ATTRIBUTE): Remove. * sh/sh-protos.h (sh_valid_machine_decl_attribute): Remove. * sh/sh.c (sh_valid_machine_decl_attribute): Rename, make static. * sh/sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. * v850/v850-protos.h (v850_valid_machine_decl_attribute): Remove. * v850/v850.c (v850_valid_machine_decl_attribute): Rename, make static. * v850/v850.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove. From-SVN: r43585
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ch | Loading commit data... | |
config | Loading commit data... | |
cp | Loading commit data... | |
doc | Loading commit data... | |
f | Loading commit data... | |
fixinc | Loading commit data... | |
ginclude | Loading commit data... | |
intl | Loading commit data... | |
java | Loading commit data... | |
objc | Loading commit data... | |
po | Loading commit data... | |
testsuite | Loading commit data... | |
.cvsignore | Loading commit data... | |
ABOUT-GCC-NLS | Loading commit data... | |
ABOUT-NLS | Loading commit data... | |
COPYING | Loading commit data... | |
COPYING.LIB | Loading commit data... | |
ChangeLog | Loading commit data... | |
ChangeLog.0 | Loading commit data... | |
ChangeLog.1 | Loading commit data... | |
ChangeLog.2 | Loading commit data... | |
ChangeLog.3 | Loading commit data... | |
ChangeLog.4 | Loading commit data... | |
ChangeLog.lib | Loading commit data... | |
FSFChangeLog | Loading commit data... | |
FSFChangeLog.10 | Loading commit data... | |
FSFChangeLog.11 | Loading commit data... | |
LANGUAGES | Loading commit data... | |
Makefile.in | Loading commit data... | |
ONEWS | Loading commit data... | |
README-fixinc | Loading commit data... | |
README.Portability | Loading commit data... | |
SERVICE | Loading commit data... | |
acconfig.h | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
alias.c | Loading commit data... | |
basic-block.h | Loading commit data... | |
bb-reorder.c | Loading commit data... | |
bitmap.c | Loading commit data... | |
bitmap.h | Loading commit data... | |
build-make | Loading commit data... | |
builtin-types.def | Loading commit data... | |
builtins.c | Loading commit data... | |
builtins.def | Loading commit data... | |
c-aux-info.c | Loading commit data... | |
c-common.c | Loading commit data... | |
c-common.def | Loading commit data... | |
c-common.h | Loading commit data... | |
c-convert.c | Loading commit data... | |
c-decl.c | Loading commit data... | |
c-dump.c | Loading commit data... | |
c-dump.h | Loading commit data... | |
c-errors.c | Loading commit data... | |
c-format.c | Loading commit data... | |
c-lang.c | Loading commit data... | |
c-lex.c | Loading commit data... | |
c-lex.h | Loading commit data... | |
c-parse.in | Loading commit data... | |
c-pragma.c | Loading commit data... | |
c-pragma.h | Loading commit data... | |
c-semantics.c | Loading commit data... | |
c-tree.h | Loading commit data... | |
c-typeck.c | Loading commit data... | |
caller-save.c | Loading commit data... | |
calls.c | Loading commit data... | |
collect2.c | Loading commit data... | |
collect2.h | Loading commit data... | |
combine.c | Loading commit data... | |
conditions.h | Loading commit data... | |
config.gcc | Loading commit data... | |
config.guess | Loading commit data... | |
config.in | Loading commit data... | |
configure | Loading commit data... | |
configure.frag | Loading commit data... | |
configure.in | Loading commit data... | |
conflict.c | Loading commit data... | |
convert.c | Loading commit data... | |
convert.h | Loading commit data... | |
cppdefault.c | Loading commit data... | |
cppdefault.h | Loading commit data... | |
cpperror.c | Loading commit data... | |
cppexp.c | Loading commit data... | |
cppfiles.c | Loading commit data... | |
cpphash.c | Loading commit data... | |
cpphash.h | Loading commit data... | |
cppinit.c | Loading commit data... | |
cpplex.c | Loading commit data... | |
cpplib.c | Loading commit data... | |
cpplib.h | Loading commit data... | |
cppmacro.c | Loading commit data... | |
cppmain.c | Loading commit data... | |
cppspec.c | Loading commit data... | |
cross-make | Loading commit data... | |
crtstuff.c | Loading commit data... | |
cse.c | Loading commit data... | |
cselib.c | Loading commit data... | |
cselib.h | Loading commit data... | |
cstamp-h.in | Loading commit data... | |
dbxout.c | Loading commit data... | |
dbxout.h | Loading commit data... | |
dbxstclass.h | Loading commit data... | |
defaults.h | Loading commit data... | |
dependence.c | Loading commit data... | |
diagnostic.c | Loading commit data... | |
diagnostic.def | Loading commit data... | |
diagnostic.h | Loading commit data... | |
doloop.c | Loading commit data... | |
dominance.c | Loading commit data... | |
doprint.c | Loading commit data... | |
doschk.c | Loading commit data... | |
dostage2 | Loading commit data... | |
dostage3 | Loading commit data... | |
dwarf.h | Loading commit data... | |
dwarf2.h | Loading commit data... | |
dwarf2asm.c | Loading commit data... | |
dwarf2asm.h | Loading commit data... | |
dwarf2out.c | Loading commit data... | |
dwarf2out.h | Loading commit data... | |
dwarfout.c | Loading commit data... | |
dwarfout.h | Loading commit data... | |
emit-rtl.c | Loading commit data... | |
enquire.c | Loading commit data... | |
errors.c | Loading commit data... | |
errors.h | Loading commit data... | |
except.c | Loading commit data... | |
except.h | Loading commit data... | |
exgettext | Loading commit data... | |
explow.c | Loading commit data... | |
expmed.c | Loading commit data... | |
expr.c | Loading commit data... | |
expr.h | Loading commit data... | |
final.c | Loading commit data... | |
fix-header.c | Loading commit data... | |
fixproto | Loading commit data... | |
flags.h | Loading commit data... | |
floatlib.c | Loading commit data... | |
flow.c | Loading commit data... | |
fold-const.c | Loading commit data... | |
fp-test.c | Loading commit data... | |
function.c | Loading commit data... | |
function.h | Loading commit data... | |
future.options | Loading commit data... | |
gbl-ctors.h | Loading commit data... | |
gcc.c | Loading commit data... | |
gcc.h | Loading commit data... | |
gcc.hlp | Loading commit data... | |
gccbug.in | Loading commit data... | |
gccspec.c | Loading commit data... | |
gcov-io.h | Loading commit data... | |
gcov.c | Loading commit data... | |
gcse.c | Loading commit data... | |
gdbinit.in | Loading commit data... | |
gen-protos.c | Loading commit data... | |
genattr.c | Loading commit data... | |
genattrtab.c | Loading commit data... | |
gencheck.c | Loading commit data... | |
gencodes.c | Loading commit data... | |
genconfig.c | Loading commit data... | |
genemit.c | Loading commit data... | |
genextract.c | Loading commit data... | |
genflags.c | Loading commit data... | |
gengenrtl.c | Loading commit data... | |
genmultilib | Loading commit data... | |
genopinit.c | Loading commit data... | |
genoutput.c | Loading commit data... | |
genpeep.c | Loading commit data... | |
genrecog.c | Loading commit data... | |
gensupport.c | Loading commit data... | |
gensupport.h | Loading commit data... | |
ggc-callbacks.c | Loading commit data... | |
ggc-common.c | Loading commit data... | |
ggc-none.c | Loading commit data... | |
ggc-page.c | Loading commit data... | |
ggc-simple.c | Loading commit data... | |
ggc.h | Loading commit data... | |
glimits.h | Loading commit data... | |
global.c | Loading commit data... | |
gmon.c | Loading commit data... | |
graph.c | Loading commit data... | |
graph.h | Loading commit data... | |
gstab.h | Loading commit data... | |
gsyms.h | Loading commit data... | |
gsyslimits.h | Loading commit data... | |
gthr-aix.h | Loading commit data... | |
gthr-dce.h | Loading commit data... | |
gthr-posix.h | Loading commit data... | |
gthr-rtems.h | Loading commit data... | |
gthr-single.h | Loading commit data... | |
gthr-solaris.h | Loading commit data... | |
gthr-vxworks.h | Loading commit data... | |
gthr-win32.h | Loading commit data... | |
gthr.h | Loading commit data... | |
haifa-sched.c | Loading commit data... | |
halfpic.c | Loading commit data... | |
halfpic.h | Loading commit data... | |
hard-reg-set.h | Loading commit data... | |
hash.c | Loading commit data... | |
hash.h | Loading commit data... | |
hashtable.c | Loading commit data... | |
hashtable.h | Loading commit data... | |
hwint.h | Loading commit data... | |
ifcvt.c | Loading commit data... | |
input.h | Loading commit data... | |
insn-addr.h | Loading commit data... | |
integrate.c | Loading commit data... | |
integrate.h | Loading commit data... | |
intl.c | Loading commit data... | |
intl.h | Loading commit data... | |
jump.c | Loading commit data... | |
lcm.c | Loading commit data... | |
libgcc-std.ver | Loading commit data... | |
libgcc2.c | Loading commit data... | |
libgcc2.h | Loading commit data... | |
limitx.h | Loading commit data... | |
limity.h | Loading commit data... | |
listing | Loading commit data... | |
lists.c | Loading commit data... | |
local-alloc.c | Loading commit data... | |
longlong.h | Loading commit data... | |
loop.c | Loading commit data... | |
loop.h | Loading commit data... | |
machmode.def | Loading commit data... | |
machmode.h | Loading commit data... | |
main.c | Loading commit data... | |
make-l2.com | Loading commit data... | |
makefile.vms | Loading commit data... | |
mbchar.c | Loading commit data... | |
mbchar.h | Loading commit data... | |
mips-tdump.c | Loading commit data... | |
mips-tfile.c | Loading commit data... | |
mkconfig.sh | Loading commit data... | |
mkdeps.c | Loading commit data... | |
mkdeps.h | Loading commit data... | |
mkinstalldirs | Loading commit data... | |
mklibgcc.in | Loading commit data... | |
mkmap-flat.awk | Loading commit data... | |
mkmap-symver.awk | Loading commit data... | |
move-if-change | Loading commit data... | |
optabs.c | Loading commit data... | |
output.h | Loading commit data... | |
params.c | Loading commit data... | |
params.def | Loading commit data... | |
params.h | Loading commit data... | |
patch-apollo-includes | Loading commit data... | |
predict.c | Loading commit data... | |
predict.def | Loading commit data... | |
predict.h | Loading commit data... | |
prefix.c | Loading commit data... | |
prefix.h | Loading commit data... | |
print-rtl.c | Loading commit data... | |
print-tree.c | Loading commit data... | |
profile.c | Loading commit data... | |
protoize.c | Loading commit data... | |
real.c | Loading commit data... | |
real.h | Loading commit data... | |
recog.c | Loading commit data... | |
recog.h | Loading commit data... | |
reg-stack.c | Loading commit data... | |
regclass.c | Loading commit data... | |
regmove.c | Loading commit data... | |
regrename.c | Loading commit data... | |
regs.h | Loading commit data... | |
reload.c | Loading commit data... | |
reload.h | Loading commit data... | |
reload1.c | Loading commit data... | |
reorg.c | Loading commit data... | |
resource.c | Loading commit data... | |
resource.h | Loading commit data... | |
rtl.c | Loading commit data... | |
rtl.def | Loading commit data... | |
rtl.h | Loading commit data... | |
rtlanal.c | Loading commit data... | |
sbitmap.c | Loading commit data... | |
sbitmap.h | Loading commit data... | |
scan-decls.c | Loading commit data... | |
scan-types.sh | Loading commit data... | |
scan.c | Loading commit data... | |
scan.h | Loading commit data... | |
sched-deps.c | Loading commit data... | |
sched-ebb.c | Loading commit data... | |
sched-int.h | Loading commit data... | |
sched-rgn.c | Loading commit data... | |
sched-vis.c | Loading commit data... | |
sdbout.c | Loading commit data... | |
sdbout.h | Loading commit data... | |
sibcall.c | Loading commit data... | |
simplify-rtx.c | Loading commit data... | |
sort-protos | Loading commit data... | |
ssa-dce.c | Loading commit data... | |
ssa.c | Loading commit data... | |
ssa.h | Loading commit data... | |
stab.def | Loading commit data... | |
stack.h | Loading commit data... | |
stmt.c | Loading commit data... | |
stor-layout.c | Loading commit data... | |
stringpool.c | Loading commit data... | |
sys-protos.h | Loading commit data... | |
sys-types.h | Loading commit data... | |
system.h | Loading commit data... | |
target-def.h | Loading commit data... | |
target.h | Loading commit data... | |
timevar.c | Loading commit data... | |
timevar.def | Loading commit data... | |
timevar.h | Loading commit data... | |
tlink.c | Loading commit data... | |
toplev.c | Loading commit data... | |
toplev.h | Loading commit data... | |
tradcif.y | Loading commit data... | |
tradcpp.c | Loading commit data... | |
tradcpp.h | Loading commit data... | |
tree.c | Loading commit data... | |
tree.def | Loading commit data... | |
tree.h | Loading commit data... | |
tsystem.h | Loading commit data... | |
typeclass.h | Loading commit data... | |
unprotoize.c | Loading commit data... | |
unroll.c | Loading commit data... | |
unwind-dw2-fde.c | Loading commit data... | |
unwind-dw2-fde.h | Loading commit data... | |
unwind-dw2.c | Loading commit data... | |
unwind-pe.h | Loading commit data... | |
unwind-sjlj.c | Loading commit data... | |
unwind.h | Loading commit data... | |
unwind.inc | Loading commit data... | |
varasm.c | Loading commit data... | |
varray.c | Loading commit data... | |
varray.h | Loading commit data... | |
version.c | Loading commit data... | |
version.h | Loading commit data... | |
vmsconfig.com | Loading commit data... | |
xcoffout.c | Loading commit data... | |
xcoffout.h | Loading commit data... |