Date: Thu, 15 Jun 2000 20:29:42 -0700 (PDT) From: yakisoba@f2.dion.ne.jp To: freebsd-gnats-submit@FreeBSD.org Subject: gnu/19326: Fix GCC Target Macro 'i386/freebsd.h'. Message-ID: <20000616032942.775D737BD00@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 19326 >Category: gnu >Synopsis: Fix GCC Target Macro 'i386/freebsd.h'. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 15 20:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Naohiko Tsuji >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: __FreeBSD_version >= 400012 (GCC 2.95.X and later) >Description: GCC 2.95 or later, document 'description' field added to 'TARGET_SWITCHES' and 'TARGET_OPTIONS' structure. But 'i386/freebsd.h' is not added the field. === i386/i386.h with GCC 2.95.2 === ... #define TARGET_SWITCHES \ { { "80387", MASK_80387, "Use hardware fp" }, \ ^^^^^^^^^^^^^^^^^^^ { "no-80387", -MASK_80387, "Do not use hardware fp" },\ ... SUBTARGET_SWITCHES \ { "", MASK_SCHEDULE_PROLOGUE | TARGET_DEFAULT, 0 }} ... === i386/freebsd.h rev 1.34 === ... #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ { "profiler-epilogue", MASK_PROFILER_EPILOGUE}, \ { "no-profiler-epilogue", -MASK_PROFILER_EPILOGUE}, \ { "aout", MASK_AOUT}, \ { "no-aout", -MASK_AOUT}, \ { "underscores", MASK_UNDERSCORES}, \ { "no-underscores", -MASK_UNDERSCORES}, ... >How-To-Repeat: >Fix: Add Null field. === i386/freebsd.h === ... #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ { "profiler-epilogue", MASK_PROFILER_EPILOGUE, "" }, \ ... ^^^^ Or add pretty good 'description'. === i386/freebsd.h === ... #undef SUBTARGET_SWITCHES #define SUBTARGET_SWITCHES \ { "profiler-epilogue", MASK_PROFILER_EPILOGUE, "Function profiler epilogue" },\ ... So print it like below. yakisoba % gcc -v --help ... Target specific options: ... -mno-80387 Do not use hardware fp -m80387 Use hardware fp ... -mprofiler-epilogue Function profiler epilogue ... >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000616032942.775D737BD00>