Commit Graph

100 Commits

Author SHA1 Message Date
Andreas Jaeger 5e1f32525a * scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03  Andreas Jaeger  <aj@suse.de>

	* scripts/check-local-headers.sh: Allow $includedir/c++.
2006-01-03 19:00:59 +00:00
Roland McGrath 0c7c6d531f * sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
	* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
	* sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
	(gen-as-const-headers): Add it.
	* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
	* stdlib/tst-ucontext-off.c: File removed.
	* stdlib/Makefile (tests): Remove it.

	* scripts/gen-as-const.awk: Support generating a test program.
	* Makerules [gen-as-const-headers] (tests): Add test-as-const.
	[gen-as-const-headers] ($(objpfx)test-as-const.c): New target.
2005-12-22 05:18:34 +00:00
Ulrich Drepper 9b33781cad * scripts/check-c++-types.sh: Improve comments. 2005-11-25 07:34:21 +00:00
Ulrich Drepper 16feadf264 [BZ #1920]
005-11-24  Jakub Jelinek  <jakub@redhat.com>
	[BZ #1920]
	* sysdeps/pthread/pthread.h (__pthread_unwind_next): Use
	__attribute__ instead of __attribute.
	* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h
	(__cleanup_fct_attribute): Likewise.
2005-11-24 18:16:42 +00:00
Ulrich Drepper afd662ec27 ..
2005-11-21  Ulrich Drepper  <drepper@redhat.com>

	* locales/se_NO: Remove RCS ID line.
2005-11-21 15:45:19 +00:00
Ulrich Drepper 5ef5cbb620 Add rules to run scripts/begin-end-check.pl. 2005-09-17 17:15:50 +00:00
Ulrich Drepper 572028fa7e * scripts/config.guess: Update from upstream.
* scripts/config.sub: Likewise.
2005-04-28 15:32:56 +00:00
Roland McGrath 613d8d5290 * scripts/config.guess: Update from master, timestamp='2005-03-24'.
* scripts/config.sub: Update from master, timestamp='2005-02-10'.
2005-04-05 21:49:28 +00:00
Roland McGrath 8ac78e6062 * scripts/versions.awk: No errors for GLIBC_PRIVATE. 2005-03-23 01:46:42 +00:00
Roland McGrath 2fb9a65c22 * Versions.def (libdl, librt): Add GLIBC_2.3.4 version.
* scripts/versions.awk: Print all errors and die at the end.
	Use library name in versions array keys.
2005-03-22 23:52:59 +00:00
Roland McGrath 3220ccb687 * scripts/soversions.awk: Only record first WORDSIZE{32,64}
matching line.
2005-02-15 00:05:57 +00:00
Roland McGrath 9b382805e2 * scripts/soversions.awk: Fix default version set handling. 2005-02-11 09:54:46 +00:00
Roland McGrath a078a7eecd * scripts/lib-names.awk: Consider [0-9].* a "number", not just [0-9]+.
Reported by H.J. Lu <hongjiu.lu@intel.com>.
2005-02-10 21:16:55 +00:00
Roland McGrath 0a38b83521 * scripts/lib-names.awk: Always print WORDSIZE32 section first when
doing two.
2005-02-10 10:29:53 +00:00
Roland McGrath 91adb529b0 [BZ #632]
2005-02-10  Roland McGrath  <roland@redhat.com>
	[BZ #632]
	* scripts/soversions.awk: Expect cpu, vendor, os as separate variables
	from command line.
	Grok shlib-versions lines with WORDSIZE* in second column.
	Add new leading column to output, DEFAULT for existing output lines.
	Also emit lines with WORDSIZE* for alternate configurations.
	* Makeconfig ($(common-objpfx)soversions.i): Pass those variables.
	($(common-objpfx)soversions.mk): Grok new column, use only DEFAULT.
	($(common-objpfx)gnu/lib-names.stmp): Depend on soversions.i instead
	of soversions.mk; replace inline shell script with use of ...
	* scripts/lib-names.awk: New file.  If input has non-DEFAULT lines,
	emit multiple sets of macros under #if.
	* shlib-versions (x86_64-.*-.*): Add WORDSIZE32 line mapping to i686.
	(s390x-.*-.*): Likewise for s390.
	(powerpc64-.*-.*): Likewise for powerpc.
	(sparc64-.*-.*): Likewise for sparc.
2005-02-10 09:18:34 +00:00
Ulrich Drepper a334319f65 (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4. 2004-12-22 20:10:10 +00:00
Jakub Jelinek 0ecb606cb6 2.5-18.1 2007-07-12 18:26:36 +00:00
Roland McGrath 6d864d156d * Makeconfig ($(common-objpfx)shlib-versions.v.i): Check also
$(config-sysdirs) for shlib-versions files.

	* Makeconfig ($(common-objpfx)soversions.i): Replace shell loop with
	use of ...
	* scripts/soversions.awk: ... this new file.  Collect lib info and
	match any DEFAULT line before emitting anything, so DEFAULT can come
	later in the concatenation of shlib-versions files.
2004-10-21 01:29:31 +00:00
Ulrich Drepper 610e3e7f85 [BZ #407]
Update.
	* scripts/test-installation.pl: Fix ld.so recognition for new
	LD_TRACE_LOADED_OBJECTS output format.
	Patch by <jsberg04+computing.glibc@ftml.net>  [BZ #407].
2004-09-26 12:50:39 +00:00
Richard Henderson edbaf5e576 * sysdeps/alpha/fpu/libm-test-ulps: Update. * scripts/data/c++-types-alpha-linux-gnu.data: New file.
2004-09-15  Richard Henderson  <rth@redhat.com>

	* sysdeps/alpha/fpu/libm-test-ulps: Update.
	* scripts/data/c++-types-alpha-linux-gnu.data: New file.
2004-09-15 12:23:39 +00:00
Roland McGrath d2e75f652a * scripts/extract-abilist.awk: If `lastversion' variable defined, omit
later sets from output.
	* Makerules (check-abi): Pass option to set that with value of
	LIB-abi-frozen variable if one is set.

	* abilist/libcidn.abilist: New file (empty).
2004-08-31 06:17:48 +00:00
Roland McGrath c73f137c55 2004-08-13 Daniel Jacobowitz <dan@debian.org>
* scripts/output-format.sed: Handle default case of three-argument
	OUTPUT_FORMAT.
2004-08-14 06:54:39 +00:00
Ulrich Drepper 844a34a2ae Update.
2003-12-05  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* sysdeps/s390/s390-32/elf/setjmp.S (setjmp, __setjmp): Add END
	statements.
	* sysdeps/s390/s390-64/elf/setjmp.S (setjmp, __setjmp): Likewise.
	* sysdeps/s390/s390-32/sysdep.h (ENTRY): Add cfi_startproc directive.
	(END): Add cfi_endproc directive.
	* sysdeps/s390/s390-64/sysdep.h (ENTRY, END): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Remove
	cfi_startproc and cfi_endproc directive.
	* sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
	* sysdeps/s390/s390-32/addmul_1.S (__mpn_addmul_1): Add CFI directives.
	* sysdeps/s390/s390-32/add_n.S (__mpn_add_n): Likewise.
	* sysdeps/s390/s390-64/add_n.S (__mpn_add_n): Likewise.
	* sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
	Likewise.
	* sysdeps/s390/s390-64/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
	Likewise.
	* sysdeps/s390/s390-32/mul_1.S (__mpn_mul_1): Likewise.
	* sysdeps/s390/s390-32/sub_n.S (__mpn_sub_n): Likewise.
	* sysdeps/s390/s390-64/sub_n.S (__mpn_sub_n): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/mmap.S (__mmap): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S (__syscall_error):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S (__syscall_error):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Add CFI
	directives. Move thread_start out of ENTRY/PSEUDO_END block to
	make backchain terminate.
	* sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.

	* sysdeps/s390/s390-32/backtrace.c (trace_arg): New structure.
	(unwind_backtrace, unwind_getip): New variables.
	(init, __backchain_backtrace, backtrace_helper): New functions.
	(__backtrace): Use unwind info for backtrace instead of backchain
	walking if the unwind functions can be found.
	* sysdeps/s390/s390-64/backtrace.c: Likewise.

	* sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: New file.

	* sysdeps/unix/sysv/linux/s390/sys/procfs.h (ELF_NGREG32): New #define.
	(elf_greg_t32, elf_gregset_t32, elf_fpregset_t32): New types.
	(elf_prstatus32, elf_prpsinfo32): New structures.
	(prgregset32_t, prfpregset32_t, prstatus32_t, prpsinfo32_t): New types.

	* scripts/data/c++-types-s390-linux-gnu.data: New file.
	* scripts/data/c++-types-s390x-linux-gnu.data: New file.
2003-12-06 00:20:16 +00:00
Roland McGrath ecc26467a8 2003-12-02 Roland McGrath <roland@redhat.com>
* scripts/config.sub: Update from master, timestamp='2003-10-20'.
	* scripts/config.guess: Update from master, timestamp='2003-10-20'.
2003-12-03 01:30:27 +00:00
Ulrich Drepper 0a76d15e91 Update.
2003-10-09  Steven Munroe  <sjmunroe@us.ibm.com>

	* Makefile: Allow for c++-types-$(config-machine)-$(config-os).data in
	addition to c++-types-$(base-machine)-$(config-os).data.
	* scripts/data/c++-types-powerpc-linux-gnu.data: New file.
	* scripts/data/c++-types-powerpc64-linux-gnu.data: New file.
2003-11-29 06:51:23 +00:00
Ulrich Drepper 17c9ff7e68 Update.
2003-11-08  Andreas Schwab  <schwab@suse.de>

	* scripts/data/c++-types-ia64-linux-gnu.data: New file.
2003-11-11 07:25:45 +00:00
Ulrich Drepper 2750c39c44 Update.
2003-09-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/x86_64/register-dump.h: Undo last change.
	* sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Likewise.

	* scripts/data/c++-types-i386-linux-gnu.data: New file.
2003-09-09 02:42:46 +00:00
Ulrich Drepper 806e4a4a01 Update.
2003-09-08  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/generic/bits/types.h (__quad_t): Make long int if 64-bit.
	(__u_quad_t): Make unsigned long int if 64-bit.
	(__SQUAD_TYPE): Make long int if 64-bit.
	(__UQUAD_TYPE): Make unsigned long int if 64-bit.
	* sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Remove.

2003-09-08  Ulrich Drepper  <drepper@redhat.com>

	* Makefile (tests): Run check-c++-types.sh if possible.
	* scripts/check-c++-types.h: New file.
	* scripts/data/c++-ctypes-i386-linux-gnu.data: New file.

	contiguous case.  Bug report from Prem Gopalan <prem@mazunetworks.com>.
2003-09-09 00:07:08 +00:00
Ulrich Drepper 603368864c Script to check non-changing C++ type name mangling. 2003-09-08 23:11:09 +00:00
Ulrich Drepper ad316adfa6 Update.
2003-06-12  Ulrich Drepper  <drepper@redhat.com>

	* scripts/config.guess: Update from upstream version.
	* scripts/config.sub: Likewise.

2003-06-12  Jakub Jelinek  <jakub@redhat.com>

	* locale/programs/ld-time.c (time_output): Also copy the era format,
	not only the name.
2003-06-12 20:17:22 +00:00
Ulrich Drepper 5d4f57bd93 Update.
2003-05-30  Ulrich Drepper  <drepper@redhat.com>

	* scripts/config.guess: Update from master copy.
	* scripts/config.sub: Likewise.
2003-05-31 06:30:37 +00:00
Roland McGrath a9448c548d 2003-04-01 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Allow dots in soname suffix.
	* scripts/abilist.awk (emit): Fix bailout condition.
2003-04-02 04:00:03 +00:00
Roland McGrath d692f3f8c3 * scripts/abilist.awk: Grok .opd foo plus .text .foo as "foo F" alone. 2003-03-30 22:17:05 +00:00
Roland McGrath f0248ca59c * scripts/abilist.awk: If given -v filename_regexp and/or -v
libname_regexp when parsing names, then produce output only
	for those matching the given regexps.  In combine mode, save all
	stanzas for a final sorting by stanza header at the end.
	Emit a blank line between stanzas.
2003-03-28 22:25:57 +00:00
Roland McGrath 7e30918b78 * scripts/abilist.awk: When given -v combine=1, do parse_names and
emit a single output stream with lib name in stanza header lines.

	* scripts/abilist.awk: Emit A for all *ABS* regardless of type.
2003-03-28 11:41:52 +00:00
Roland McGrath abbedc3f81 2003-03-27 Roland McGrath <roland@redhat.com>
* scripts/rpm2dynsym.sh: New file.
	* Makefile (distribute): Add it.
2003-03-27 22:48:49 +00:00
Roland McGrath 374d9002ce Tweak redirection handling in last change. 2003-03-27 12:28:49 +00:00
Roland McGrath 15a686af58 * scripts/abilist.awk: If variable `parse_names' is set, grok the file
header lines and write out foo.symlist files for each foo.so.NN listed.

	* libio/libioP.h (_IO_wfile_jumps): Remove attribute_hidden.
	This symbol is exported, and we don't want to hide it.
	Add libc_hidden_proto instead.
	(_IO_file_jumps): Add libc_hidden_proto.
	* libio/wfileops.c (_IO_wfile_jumps): Add libc_hidden_data_def.
	Remove INTVARDEF.
	* libio/fileops.c (_IO_file_jumps): Likewise.
	* libio/stdfiles.c: Don't use INTUSE on them.
	* libio/iofdopen.c (_IO_new_fdopen): Likewise.
	* libio/iofopen.c (__fopen_internal): Likewise.
	* libio/freopen.c (freopen): Likewise.
	* libio/freopen64.c (freopen64): Likewise.
	* libio/iovdprintf.c (_IO_vdprintf): Likewise.
2003-03-27 11:54:09 +00:00
Roland McGrath f5d3159377 2003-03-02 Roland McGrath <roland@redhat.com>
* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.
2003-03-03 07:11:46 +00:00
Roland McGrath 620656a3ff 2003-03-02 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Reject data items with apparent 0 size.
2003-03-03 07:11:42 +00:00
Roland McGrath 8f3846a978 * scripts/merge-abilist.awk: More checks for bogus input.
Uniquify duplicate config names.

	* scripts/abilist.awk: Don't distinguish weak symbols in normal output.
2003-03-03 02:38:36 +00:00
Roland McGrath 44aeb4868c 2003-03-02 Roland McGrath <roland@redhat.com>
* scripts/abilist.awk: Don't distinguish weak symbols in normal output.
2003-03-03 02:38:21 +00:00
Roland McGrath 81043d1ad8 2003-01-16 Roland McGrath <roland@redhat.com>
Tweak merged .abilist file format to merge duplicate symbols in
	different sets into multi-version stanzas with new "| SET regexp..."
	header continuation lines.
	* scripts/merge-abilist.awk: Rewritten for new format.
	* scripts/extract-abilist.awk: Likewise.
2003-01-16 11:28:59 +00:00
Roland McGrath 9ae1033217 * Makerules (check-abi-%): Use two rules for $(common-objpfx) and
$(objpfx) directories, and get rid of vpath directives.  The previous
	arrangement resulted in files being written to the source directories
	when run in a clean build.  Find all .abilist files in $(..)abilist/.
	(update-abi-%): Likewise.
	(generated): Don't add .symlist files, they'll be intermediates.

	* sysdeps/generic/init-first.c: Add a comment.

	* elf/Makefile ($(objpfx)ld.so): Pass -z defs in link.

	* scripts/gen-as-const.awk: Grok lone "--" as a separator between
	#includes and expressions.

	* scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
	config list when it already contains cpu-.*-os.* without / part.

	* Makerules (sed-remove-dotdot): New variable.
	($(common-objpfx)%.make): Use it.  Depend on $(before-compile).
	($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.
	(check-abi-config): New variable, append /tls or /notls to the tuple.
	(check-abi-%): Use that for -v config value.
	Find .abilist files in abilist/libfoo.abilist, not in subdir.
	* Rules: Move bits/stdio_lim.h generation rules to Makerules.
2003-01-15 08:08:20 +00:00
Roland McGrath 6b06477180 2003-01-14 Roland McGrath <roland@redhat.com>
* scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged
	config list when it already contains cpu-.*-os.* without / part.
2003-01-15 08:04:25 +00:00
Roland McGrath aad08dbad9 2002-12-27 Roland McGrath <roland@redhat.com>
* scripts/gen-as-const.awk: New file.
	* Makefile (distribute): Add it.
	* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
	(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
	to the list.
	(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).
2002-12-27 23:05:53 +00:00
Roland McGrath c823a4d21b * scripts/abilist.awk: Produce a more compact format, divided into
stanzas for each version set, the set name listed only once.
	* scripts/extract-abilist.awk: New file.
	* scripts/merge-abilist.awk: New file.
	* Makerules (check-abi-%, update-abi-%): New pattern rules.
	(update-abi, check-abi): New targets.
	* Makefile (+subdir_targets): Add subdir_{check,update}-abi.

	* Makerules (%.symlist): Use LC_ALL=C when running awk script.
2002-12-23 11:17:18 +00:00
Ulrich Drepper bdb04f9220 Update.
* scripts/output-format.sed: Fix bug in one of the s expressions
	which used / for one too many things.
2002-12-08 08:25:05 +00:00
Roland McGrath cc1b826866 2002-12-07 Roland McGrath <roland@redhat.com>
* Makerules ($(common-objpfx)format.lds): New target.
	(common-generated): Add it.
	($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
	* scripts/output-format.sed: New file.
	* Makefile (distribute): Add it.
2002-12-07 21:55:12 +00:00
Roland McGrath 720efe005b * scripts/versions.awk: Don't pass -n flag to sort command. 2002-12-02 06:31:28 +00:00