SPARC config files cleanup 1/n
Eric Botcazou
ebotcazou@libertysurf.fr
Thu Jan 20 20:41:00 GMT 2005
In the process of untangling the dependencies on the Solaris config files
SPARC embedded targets have developped over the years, which will essentially
boil down to folding sol2.h and sparc/sol2.h into sparc/elf.h and sp64-elf.h,
I stumbled upon a difficulty: one of the native platforms (OpenBSD) is not a
good citizen in that it includes sp64-elf.h, which should be reserved for
embedded 64-bit targets. [Marc, when you have some time to kill... :-)]
As a few new macros will be added to sp64-elf.h, they probably will need to be
explicitly undefined for OpenBSD. So I'm doing a quick pass on the macros to
clean things up. And it starts with ASM_OUTPUT_INTERNAL_LABELREF, whose only
use was removed by
Wed Apr 10 18:39:52 1996 Doug Evans <dje@canuck.cygnus.com>
* sparc.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
(FUNCTION_PROFILER): Use ASM_GENERATE_INTERNAL_LABEL instead.
Tested by building a cross from Linux to every affected platfom, applied to
mainline.
2005-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/freebsd.h (ASM_OUTPUT_INTERNAL_LABELREF): Delete.
* config/sparc/linux.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
* config/sparc/linux64.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
* config/sparc/netbsd-elf.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
* config/sparc/sol2.h (ASM_OUTPUT_INTERNAL_LABELREF): Likewise.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sparc_cleanup-1.diff
Type: text/x-diff
Size: 4324 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050120/2793ef79/attachment.bin>
More information about the Gcc-patches
mailing list