Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for targeting glibc 2.39 #20207

Merged
merged 23 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8a4f583
update glibc headers to 2.39
andrewrk Jun 6, 2024
16d6535
musl: add missing entry to available_libcs
andrewrk Jun 6, 2024
c09f5f3
glibc: add riscv32 and loongarch64
andrewrk Jun 6, 2024
cbe9923
glibc patch: don't hardcode __GLIBC_MINOR__
andrewrk Oct 13, 2023
a4a88e4
glibc patch: version-gate _DYNAMIC_STACK_SIZE_SOURCE
andrewrk Jan 29, 2022
5af1471
glibc patch: add backwards compatibility for some symbols
motiejus Mar 28, 2023
7c4bf07
glibc patch: add a few dn_* functions
motiejus May 4, 2023
9f9fa2d
glibc patch: add backwards compatibility for strtol-family functions
xxxbxxx Oct 16, 2023
8a82496
glibc headers: reallocarray added to glibc in v2.26
rootbeer Oct 19, 2023
95a9053
glibc: strlcpy and strlcat arrived in glibc 2.38
rootbeer Nov 29, 2023
a8db261
glibc: move __GLIBC__ version defines to the top of the file
markus-oberhumer Jan 25, 2024
4c2e57d
glibc: use __GLIBC_USE_DEPRECATED_SCANF for glibc versions < 2.7
markus-oberhumer Jan 25, 2024
5313705
glibc: update abilists file
andrewrk Jun 6, 2024
ad34de3
update glibc start files to 2.39
andrewrk Jun 6, 2024
9e76385
glibc patch: add backwards compatibility for some symbols
motiejus Mar 28, 2023
4c068c3
glibc patch: inline x86-lp_size.h
andrewrk Oct 14, 2023
eead70f
glibc patch: make fstatat.c and fstatat64.c compile
andrewrk Dec 16, 2021
090025c
glibc patch: add missing includes for inttypes.h
andrewrk Dec 16, 2021
82ec333
glibc patch: don't check __LIBC macro
andrewrk Oct 14, 2023
fd8b50c
glibc patch: remove some static asserts from fstatat
andrewrk Jun 6, 2024
5293bdf
glibc patch: get correct files compiled into libc_nonshared.a
lifthrasiir Aug 24, 2023
d8fffee
glibc: restore "weak_hidden_alias" macro for older glibc versions
rootbeer Oct 23, 2023
1118ea2
glibc: add min version annotation for riscv32 and loongarch64
andrewrk Jun 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
21 changes: 21 additions & 0 deletions lib/libc/glibc/LICENSES
Original file line number Diff line number Diff line change
Expand Up @@ -389,3 +389,24 @@ Copyright 2001 by Stephen L. Moshier <moshier@na-net.ornl.gov>
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, see
<https://www.gnu.org/licenses/>. */

Copyright (c) 1995 IBM Corporation

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary file modified lib/libc/glibc/abilists
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/byteswap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Macros and inline functions to swap the order of bytes in integer values.
Copyright (C) 1997-2023 Free Software Foundation, Inc.
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/floatn-common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Macros to control TS 18661-3 glibc features where the same
definitions are appropriate for all platforms.
Copyright (C) 2017-2023 Free Software Foundation, Inc.
Copyright (C) 2017-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/libc-header-start.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Handle feature test macros at the start of a header.
Copyright (C) 2016-2023 Free Software Foundation, Inc.
Copyright (C) 2016-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/long-double.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Properties of long double type.
Copyright (C) 2016-2023 Free Software Foundation, Inc.
Copyright (C) 2016-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/select.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1997-2023 Free Software Foundation, Inc.
/* Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/signum-generic.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Signal number constants. Generic template.
Copyright (C) 1991-2023 Free Software Foundation, Inc.
Copyright (C) 1991-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/stat.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1992-2023 Free Software Foundation, Inc.
/* Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/stdint-intn.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Define intN_t types.
Copyright (C) 2017-2023 Free Software Foundation, Inc.
Copyright (C) 2017-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/stdlib-bsearch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Perform binary search - inline version.
Copyright (C) 1991-2023 Free Software Foundation, Inc.
Copyright (C) 1991-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/time64.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* bits/time64.h -- underlying types for __time64_t. Generic version.
Copyright (C) 2018-2023 Free Software Foundation, Inc.
Copyright (C) 2018-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/timesize.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Bit size of the time_t type at glibc build time, general case.
Copyright (C) 2018-2023 Free Software Foundation, Inc.
Copyright (C) 2018-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/types/struct_sched_param.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Sched parameter structure. Generic version.
Copyright (C) 1996-2023 Free Software Foundation, Inc.
Copyright (C) 1996-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/typesizes.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* bits/typesizes.h -- underlying types for *_t. Generic version.
Copyright (C) 2002-2023 Free Software Foundation, Inc.
Copyright (C) 2002-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/uintn-identity.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Inline functions to return unsigned integer values unchanged.
Copyright (C) 2017-2023 Free Software Foundation, Inc.
Copyright (C) 2017-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/waitflags.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Definitions of flag bits for `waitpid' et al.
Copyright (C) 1992-2023 Free Software Foundation, Inc.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/bits/waitstatus.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Definitions of status bits for `wait' et al.
Copyright (C) 1992-2023 Free Software Foundation, Inc.
Copyright (C) 1992-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/csu/errno.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Definition of `errno' variable. Canonical version.
Copyright (C) 2002-2023 Free Software Foundation, Inc.
Copyright (C) 2002-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/debug/stack_chk_fail_local.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2005-2023 Free Software Foundation, Inc.
/* Copyright (C) 2005-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
132 changes: 129 additions & 3 deletions lib/libc/glibc/elf/elf.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This file defines standard ELF types, structures, and macros.
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Copyright (C) 1995-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -791,9 +791,12 @@ typedef struct
Register */
#define NT_PPC_PKEY 0x110 /* Memory Protection Keys
registers. */
#define NT_PPC_DEXCR 0x111 /* PowerPC DEXCR registers. */
#define NT_PPC_HASHKEYR 0x112 /* PowerPC HASHKEYR register. */
#define NT_386_TLS 0x200 /* i386 TLS slots (struct user_desc) */
#define NT_386_IOPERM 0x201 /* x86 io permission bitmap (1=deny) */
#define NT_X86_XSTATE 0x202 /* x86 extended state using xsave */
#define NT_X86_SHSTK 0x204 /* x86 SHSTK state */
#define NT_S390_HIGH_GPRS 0x300 /* s390 upper register halves */
#define NT_S390_TIMER 0x301 /* s390 timer register */
#define NT_S390_TODCMP 0x302 /* s390 TOD clock comparator register */
Expand Down Expand Up @@ -832,6 +835,8 @@ typedef struct
#define NT_MIPS_DSP 0x800 /* MIPS DSP ASE registers. */
#define NT_MIPS_FP_MODE 0x801 /* MIPS floating-point mode. */
#define NT_MIPS_MSA 0x802 /* MIPS SIMD registers. */
#define NT_RISCV_CSR 0x900 /* RISC-V Control and Status Registers */
#define NT_RISCV_VECTOR 0x901 /* RISC-V vector registers */
#define NT_LOONGARCH_CPUCFG 0xa00 /* LoongArch CPU config registers. */
#define NT_LOONGARCH_CSR 0xa01 /* LoongArch control and
status registers. */
Expand All @@ -841,6 +846,8 @@ typedef struct
SIMD Extension registers. */
#define NT_LOONGARCH_LBT 0xa04 /* LoongArch Loongson Binary
Translation registers. */
#define NT_LOONGARCH_HW_BREAK 0xa05 /* LoongArch hardware breakpoint registers */
#define NT_LOONGARCH_HW_WATCH 0xa06 /* LoongArch hardware watchpoint registers */

/* Legal values for the note segment descriptor types for object files. */

Expand Down Expand Up @@ -1685,11 +1692,25 @@ typedef struct
#define EF_MIPS_PIC 2 /* Contains PIC code. */
#define EF_MIPS_CPIC 4 /* Uses PIC calling sequence. */
#define EF_MIPS_XGOT 8
#define EF_MIPS_64BIT_WHIRL 16
#define EF_MIPS_UCODE 16
#define EF_MIPS_ABI2 32
#define EF_MIPS_ABI_ON32 64
#define EF_MIPS_OPTIONS_FIRST 0x00000080 /* Process the .MIPS.options
section first by ld. */
#define EF_MIPS_32BITMODE 0x00000100 /* Indicates code compiled for
a 64-bit machine in 32-bit
mode (regs are 32-bits
wide). */
#define EF_MIPS_FP64 512 /* Uses FP64 (12 callee-saved). */
#define EF_MIPS_NAN2008 1024 /* Uses IEEE 754-2008 NaN encoding. */
#define EF_MIPS_ARCH_ASE 0x0f000000 /* Architectural Extensions
used by this file. */
#define EF_MIPS_ARCH_ASE_MDMX 0x08000000 /* Use MDMX multimedia
extensions. */
#define EF_MIPS_ARCH_ASE_M16 0x04000000 /* Use MIPS-16 ISA
extensions. */
#define EF_MIPS_ARCH_ASE_MICROMIPS 0x02000000 /* Use MICROMIPS ISA
extensions. */
#define EF_MIPS_ARCH 0xf0000000 /* MIPS architecture level. */

/* Legal values for MIPS architecture level. */
Expand All @@ -1703,6 +1724,38 @@ typedef struct
#define EF_MIPS_ARCH_64 0x60000000 /* MIPS64 code. */
#define EF_MIPS_ARCH_32R2 0x70000000 /* MIPS32r2 code. */
#define EF_MIPS_ARCH_64R2 0x80000000 /* MIPS64r2 code. */
#define EF_MIPS_ARCH_32R6 0x90000000 /* MIPS32r6 code. */
#define EF_MIPS_ARCH_64R6 0xa0000000 /* MIPS64r6 code. */
#define EF_MIPS_ABI 0x0000F000 /* The ABI of the file. Also
see EF_MIPS_ABI2 above. */
#define EF_MIPS_ABI_O32 0x00001000 /* The original o32 abi. */
#define EF_MIPS_ABI_O64 0x00002000 /* O32 extended to work on
64 bit architectures. */
#define EF_MIPS_ABI_EABI32 0x00003000 /* EABI in 32 bit mode. */
#define EF_MIPS_ABI_EABI64 0x00004000 /* EABI in 64 bit mode. */
#define EF_MIPS_MACH 0x00FF0000
#define EF_MIPS_MACH_3900 0x00810000
#define EF_MIPS_MACH_4010 0x00820000
#define EF_MIPS_MACH_4100 0x00830000
#define EF_MIPS_MACH_ALLEGREX 0x00840000
#define EF_MIPS_MACH_4650 0x00850000
#define EF_MIPS_MACH_4120 0x00870000
#define EF_MIPS_MACH_4111 0x00880000
#define EF_MIPS_MACH_SB1 0x008a0000
#define EF_MIPS_MACH_OCTEON 0x008b0000
#define EF_MIPS_MACH_XLR 0x008c0000
#define EF_MIPS_MACH_OCTEON2 0x008d0000
#define EF_MIPS_MACH_OCTEON3 0x008e0000
#define EF_MIPS_MACH_5400 0x00910000
#define EF_MIPS_MACH_5900 0x00920000
#define EF_MIPS_MACH_IAMR2 0x00930000
#define EF_MIPS_MACH_5500 0x00980000
#define EF_MIPS_MACH_9000 0x00990000
#define EF_MIPS_MACH_LS2E 0x00A00000
#define EF_MIPS_MACH_LS2F 0x00A10000
#define EF_MIPS_MACH_GS464 0x00A20000
#define EF_MIPS_MACH_GS464E 0x00A30000
#define EF_MIPS_MACH_GS264E 0x00A40000

/* The following are unofficial names and should not be used. */

Expand Down Expand Up @@ -1763,6 +1816,7 @@ typedef struct
#define SHT_MIPS_EH_REGION 0x70000027
#define SHT_MIPS_XLATE_OLD 0x70000028
#define SHT_MIPS_PDR_EXCEPTION 0x70000029
#define SHT_MIPS_ABIFLAGS 0x7000002a
#define SHT_MIPS_XHASH 0x7000002b

/* Legal values for sh_flags field of Elf32_Shdr. */
Expand Down Expand Up @@ -1931,10 +1985,68 @@ typedef struct
#define R_MIPS_TLS_TPREL_HI16 49 /* TP-relative offset, high 16 bits */
#define R_MIPS_TLS_TPREL_LO16 50 /* TP-relative offset, low 16 bits */
#define R_MIPS_GLOB_DAT 51
#define R_MIPS_PC21_S2 60
#define R_MIPS_PC26_S2 61
#define R_MIPS_PC18_S3 62
#define R_MIPS_PC19_S2 63
#define R_MIPS_PCHI16 64
#define R_MIPS_PCLO16 65
#define R_MIPS16_26 100
#define R_MIPS16_GPREL 101
#define R_MIPS16_GOT16 102
#define R_MIPS16_CALL16 103
#define R_MIPS16_HI16 104
#define R_MIPS16_LO16 105
#define R_MIPS16_TLS_GD 106
#define R_MIPS16_TLS_LDM 107
#define R_MIPS16_TLS_DTPREL_HI16 108
#define R_MIPS16_TLS_DTPREL_LO16 109
#define R_MIPS16_TLS_GOTTPREL 110
#define R_MIPS16_TLS_TPREL_HI16 111
#define R_MIPS16_TLS_TPREL_LO16 112
#define R_MIPS16_PC16_S1 113
#define R_MIPS_COPY 126
#define R_MIPS_JUMP_SLOT 127
#define R_MIPS_RELATIVE 128
#define R_MICROMIPS_26_S1 133
#define R_MICROMIPS_HI16 134
#define R_MICROMIPS_LO16 135
#define R_MICROMIPS_GPREL16 136
#define R_MICROMIPS_LITERAL 137
#define R_MICROMIPS_GOT16 138
#define R_MICROMIPS_PC7_S1 139
#define R_MICROMIPS_PC10_S1 140
#define R_MICROMIPS_PC16_S1 141
#define R_MICROMIPS_CALL16 142
#define R_MICROMIPS_GOT_DISP 145
#define R_MICROMIPS_GOT_PAGE 146
#define R_MICROMIPS_GOT_OFST 147
#define R_MICROMIPS_GOT_HI16 148
#define R_MICROMIPS_GOT_LO16 149
#define R_MICROMIPS_SUB 150
#define R_MICROMIPS_HIGHER 151
#define R_MICROMIPS_HIGHEST 152
#define R_MICROMIPS_CALL_HI16 153
#define R_MICROMIPS_CALL_LO16 154
#define R_MICROMIPS_SCN_DISP 155
#define R_MICROMIPS_JALR 156
#define R_MICROMIPS_HI0_LO16 157
#define R_MICROMIPS_TLS_GD 162
#define R_MICROMIPS_TLS_LDM 163
#define R_MICROMIPS_TLS_DTPREL_HI16 164
#define R_MICROMIPS_TLS_DTPREL_LO16 165
#define R_MICROMIPS_TLS_GOTTPREL 166
#define R_MICROMIPS_TLS_TPREL_HI16 169
#define R_MICROMIPS_TLS_TPREL_LO16 170
#define R_MICROMIPS_GPREL7_S2 172
#define R_MICROMIPS_PC23_S2 173
#define R_MIPS_PC32 248
#define R_MIPS_EH 249
#define R_MIPS_GNU_REL16_S2 250
#define R_MIPS_GNU_VTINHERIT 253
#define R_MIPS_GNU_VTENTRY 254
/* Keep this the last entry. */
#define R_MIPS_NUM 128
#define R_MIPS_NUM 255

/* Legal values for p_type field of Elf32_Phdr. */

Expand Down Expand Up @@ -3527,6 +3639,11 @@ enum
/* x86-64 sh_type values. */
#define SHT_X86_64_UNWIND 0x70000001 /* Unwind information. */

/* x86-64 d_tag values. */
#define DT_X86_64_PLT (DT_LOPROC + 0)
#define DT_X86_64_PLTSZ (DT_LOPROC + 1)
#define DT_X86_64_PLTENT (DT_LOPROC + 3)
#define DT_X86_64_NUM 4

/* AM33 relocations. */
#define R_MN10300_NONE 0 /* No reloc. */
Expand Down Expand Up @@ -4205,6 +4322,15 @@ enum
#define R_LARCH_TLS_GD_HI20 98
#define R_LARCH_32_PCREL 99
#define R_LARCH_RELAX 100
#define R_LARCH_DELETE 101
#define R_LARCH_ALIGN 102
#define R_LARCH_PCREL20_S2 103
#define R_LARCH_CFA 104
#define R_LARCH_ADD6 105
#define R_LARCH_SUB6 106
#define R_LARCH_ADD_ULEB128 107
#define R_LARCH_SUB_ULEB128 108
#define R_LARCH_64_PCREL 109

/* ARC specific declarations. */

Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/include/libc-pointer-arith.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Helper macros for pointer arithmetic.
Copyright (C) 2012-2023 Free Software Foundation, Inc.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
4 changes: 3 additions & 1 deletion lib/libc/glibc/include/libc-symbols.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Support macros for making weak and strong aliases for symbols,
and for using symbol sets and linker warnings with GNU ld.
Copyright (C) 1995-2023 Free Software Foundation, Inc.
Copyright (C) 1995-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -612,8 +612,10 @@ for linking")
#endif

#if IS_IN (libmvec)
# define libmvec_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
# define libmvec_hidden_def(name) hidden_def (name)
#else
# define libmvec_hidden_proto(name, attrs...)
# define libmvec_hidden_def(name)
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/libc/glibc/include/stap-probe.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Macros for defining Systemtap <sys/sdt.h> static probe points.
Copyright (C) 2012-2023 Free Software Foundation, Inc.
Copyright (C) 2012-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.

The GNU C Library is free software; you can redistribute it and/or
Expand Down
Loading