diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 10:46:15 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-10-27 10:46:15 +0000 |
commit | e4f5eae8f004f236db11325df2adf338766c0543 (patch) | |
tree | 5de6d64665e7beeb7b755ed170521ce18ec1cf09 /Makeconfig | |
parent | f5659917f9cbdbd162870b858e527506687bfb1f (diff) | |
download | glibc-e4f5eae8f004f236db11325df2adf338766c0543.tar glibc-e4f5eae8f004f236db11325df2adf338766c0543.tar.gz glibc-e4f5eae8f004f236db11325df2adf338766c0543.tar.bz2 glibc-e4f5eae8f004f236db11325df2adf338766c0543.zip |
Remove configure test for needing -P for .S files.
There is a configure test for "whether we need to use -P to assemble
.S files".
I think this test is long obsolete. I don't have a specific reference
to a binutils change or version that obsoleted this test, but: (a) we
only support GNU binutils; (b) it looks like every architecture
supported by glibc has '#' as a line comment character in its gas
port; (c) in any case, if the (compiler, assembler) combination in use
cannot compile a .S file without special options, that would clearly
be a substantially broken combination, which I don't think we need to
allow for at all.
The test in question was added by:
Thu Jan 27 16:46:03 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* configure.in (asm-CPPFLAGS): Add new check to see if assembling
a .S file loses without -P. If so, set asm-CPPFLAGS=-P in config.make.
This patch removes the test and the reference to this issue in the
comment on the default empty definition of asm-CPPFLAGS. (Various
other settings of asm-CPPFLAGS remain in sysdeps Makefile fragments.)
Tested for x86_64 and x86 (testsuite, and that installed shared
libraries are unchanged by the patch).
* configure.ac (libc_cv_need_minus_P): Remove configure test.
* configure: Regenerated.
* Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig index f3668c616a..c0f5e64ef5 100644 --- a/Makeconfig +++ b/Makeconfig @@ -345,9 +345,7 @@ endif endif # Flags to pass the C compiler when assembling preprocessed assembly code -# (`.S' files). On some systems the assembler doesn't understand the `#' line -# directives the preprocessor produces. If you have troubling compiling -# assembly code, try using -P here to suppress these directives. +# (`.S' files). ifndef asm-CPPFLAGS asm-CPPFLAGS = endif |