matt
3243e35bad
Thumbify & optimize a little
2013-08-16 22:27:32 +00:00
matt
f013dd5175
Use _INVOKE_CERROR
...
use stmia instead of two str
add END
2013-08-16 22:21:59 +00:00
matt
9c2cd4b10a
Rework SYSTRAP for thumb.
...
Add END to PSEUDO_NOERROR and PSEUDO
2013-08-16 22:20:49 +00:00
matt
9ba4e12cec
Make _libc_arm_fpu_present hidden
2013-08-16 17:09:27 +00:00
christos
02dd244775
Add not advertised reentrant functions: {get,set,end}hostent_r,
...
gethostbyname{,2}_r, gethostbyaddr_r. Make getnameinfo(3) use
gethostbyaddr_r(3) so it is re-entrant (ahem __ypdomain). These
are not being advertised because there is a bunch of different
implementation of them that have a variety of type signatures.
If people want to follow someone's implementation, it is now easy.
2013-08-16 15:27:12 +00:00
christos
aef0332e31
CID 1060853: Negative array index read (REVERSE_NEGATIVE)
2013-08-06 05:48:39 +00:00
wiz
22815a188d
Use more markup and improve table formatting.
2013-08-02 20:13:09 +00:00
elric
845f0d2fb7
Update accept(2) to indicate that paccept honours SOCK_NOSIGPIPE in its
...
flags argument.
2013-08-02 14:10:46 +00:00
matt
29673540c6
Use vmrs instead of mrc
2013-08-02 02:07:00 +00:00
matt
14480f30a0
Only include <arm/aeabi.h> when __ARM_PCS_VFP is defined.
2013-08-01 23:21:19 +00:00
matt
f4797bbdbc
Make sure to <arm/aeabi.h> if we are doing using EABI.
2013-08-01 22:18:50 +00:00
matt
3eafa9878b
CERROR is now hidden so no need to call it via the PLT
2013-08-01 05:54:24 +00:00
matt
31fc835fe9
Make __minbrk, __curbrk, and CERROR hidden and avoid using the GOT to access
...
them.
2013-08-01 05:32:33 +00:00
joerg
49cecb845d
Don't depend on implicit rounding from non-integral float constant.
2013-07-30 15:30:37 +00:00
joerg
02bc918a66
Don't pass assembler flags to cpp for genassym.
2013-07-30 15:28:47 +00:00
njoly
9b6bbe2755
Add mknodat(2) specific errors.
2013-07-30 13:45:38 +00:00
njoly
31ec74aafc
Add mkfifoat(2) specific errors.
2013-07-30 13:15:07 +00:00
njoly
a8ca9489d6
Add fchownat(2) specific errors.
2013-07-30 12:38:16 +00:00
skrll
c026930a7e
include namespace.h - this fixes 48091
2013-07-30 10:47:44 +00:00
njoly
3d23719d01
Add chmodat(2) specific errors.
2013-07-29 19:18:37 +00:00
njoly
ff85dd2c24
Add openat(2) specific errors.
2013-07-29 18:37:16 +00:00
njoly
c37d15ffcf
Add utimensat(2) specific errors.
2013-07-29 14:34:59 +00:00
wiz
9a6c0ab37a
Bump date for previous.
2013-07-29 11:49:31 +00:00
njoly
3e084f2c58
Add symlinkat(2) specific errors.
2013-07-29 11:40:04 +00:00
njoly
2580dac907
Add readlinkat(2) specific errors.
2013-07-28 21:24:12 +00:00
njoly
5376926384
Add linkat(2) specific errors.
2013-07-28 18:40:40 +00:00
njoly
d878899f75
Add fstatat(2) specific errors.
2013-07-28 15:46:34 +00:00
njoly
82798aec15
Add mkdirat(2) specific errors.
2013-07-28 14:38:25 +00:00
njoly
85cc963274
Add unlinkat(2) specific errors.
2013-07-28 13:53:04 +00:00
njoly
dcea1bf790
Add renameat(2) specific errors.
2013-07-28 10:24:59 +00:00
wiz
d3cdb3f120
Fix punctuation formatting and sort errors.
2013-07-28 09:27:07 +00:00
njoly
53aa452fce
Adjust EFAULT error description to use arguments name from synopsis.
2013-07-28 09:07:55 +00:00
matt
7c78a65eeb
Fix some more CERROR inversions
2013-07-25 22:08:15 +00:00
matt
10392817ff
Only jump to CERROR if carry is set, not clear.
2013-07-24 15:38:07 +00:00
skrll
dd5eecf954
Bump date for previous.
2013-07-24 11:54:04 +00:00
skrll
9c3b844c69
Clarify msgsz.
2013-07-24 11:42:50 +00:00
msaitoh
56e70cb375
Both increment_overflow() and normalize_overflow() have two different
...
declarations. One must be *32(). Fixes compile error observed on sparc64.
2013-07-22 04:55:09 +00:00
wiz
a5684d07dd
Use Mt for email addresses.
2013-07-20 21:39:55 +00:00
matt
af4aa0e2b7
Don't use the fs* variants, just use the f* ones.
2013-07-19 22:32:04 +00:00
matt
8162b56a77
Adjust for coldfire
2013-07-18 21:37:47 +00:00
matt
78e6d1f298
Remove hardfloat now that it's someplace else.
2013-07-18 21:36:37 +00:00
matt
9c8222884d
Fix typo. Don't define map if it isn't used.
2013-07-18 21:36:08 +00:00
matt
097c4bc4f9
Cleanup. hardfloat stuff is now in its own directory
2013-07-18 21:34:33 +00:00
matt
5ef4c1b707
Move hardfloat support to its own directory
2013-07-18 21:31:22 +00:00
matt
7f6ec7c998
Coldfire doesn't do FLOATX80
2013-07-18 21:30:40 +00:00
matt
a66ddcbe13
Add the Makefile
2013-07-18 21:29:31 +00:00
matt
6125de07bf
Update to compile on coldfire.
2013-07-18 21:29:08 +00:00
matt
a25010752c
Add for softfloat compatibility
2013-07-18 21:25:11 +00:00
matt
003bb39b53
${MACHINE_ARCH} != "m68000" --> ${MACHINE_ARCH} == "m68k"
2013-07-18 21:19:50 +00:00
matt
434ca5fbec
Use stack adjustment in the lnk instruction to adjust the stack.
...
Saves one word on the following moveml
2013-07-18 21:18:36 +00:00
matt
9bc4e22366
Make __curbrk & __minbrk hidden.
2013-07-18 12:27:01 +00:00
matt
3aae98db4e
Remove non-__ELF__ defines
2013-07-18 12:21:52 +00:00
matt
0bcd9d746a
Use pcrel access and avoid GOT entries. Restructure a little to be more
...
efficient.
2013-07-18 12:20:41 +00:00
matt
90b4c890b1
Add more softfloat compatible functions
2013-07-18 12:05:30 +00:00
christos
2361750063
remove "register" in new code
...
fix backwards check for overflow
2013-07-17 23:09:26 +00:00
matt
88723221e0
Missed these. Convert to motorola format.
2013-07-17 21:29:01 +00:00
christos
a37624b5b0
welcome to 2013d
2013-07-17 20:13:04 +00:00
matt
c1bc7ededb
Use __HAVE_FPU__ instead __HAVE_68881__
2013-07-17 06:43:32 +00:00
matt
d35c388600
Move the hardfloat stuff to its own directory.
...
Rewrite fp{get,set}{mask,round,sticky} in C
2013-07-17 06:39:06 +00:00
matt
7a54509455
Use a more portable series of instructions.
2013-07-17 04:57:55 +00:00
matt
a4ef47e089
Use a more compact instruction sequence that also works on coldfire
2013-07-17 04:56:14 +00:00
matt
4c5ed3b22b
Use assym.h
2013-07-17 03:01:27 +00:00
matt
387bfc7df7
Add genassym / assym.h support
2013-07-17 01:41:17 +00:00
matt
2d913a7c7d
Use SYSTRAP.
...
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
2013-07-16 23:00:15 +00:00
matt
5c5fa67e4a
Use SYSTRAP
...
Use a branch for CERROR (avoid the PLT)
2013-07-16 22:20:35 +00:00
matt
4a2ab9f9a7
Add END(func)
2013-07-16 22:19:37 +00:00
matt
d4d3821c9c
Add END(func)
...
Use SYSTRAP
2013-07-16 22:19:16 +00:00
matt
e198e9ac6c
Make CERROR hidden. Use END() appropriately.
2013-07-16 22:18:14 +00:00
matt
942581824f
Add END(func)
2013-07-16 22:12:20 +00:00
matt
dd123293f0
Add END(func)
2013-07-16 21:49:45 +00:00
matt
440d829b3c
WEAK_ALIAS is always present
...
Use END(func)
2013-07-16 21:48:32 +00:00
matt
82416e4fed
Add END(func)
2013-07-16 21:46:42 +00:00
matt
07a0a32561
Convert to normal Motorola syntax for addressing.
...
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
2013-07-16 20:49:41 +00:00
njoly
dd3d742fd5
Switch a few remaining system/pathname configuration variables from
...
"Dv {xxx}" to "Brq Dv xxx".
2013-07-14 14:29:09 +00:00
joerg
5228cbf9e9
Build glue for including compiler-rt in libc, not hooked up yet.
2013-07-04 22:14:43 +00:00
wiz
0ed5815bd6
Strings are NUL-terminated, not NULL-terminated.
2013-06-30 19:19:12 +00:00
wiz
7b3d8f12ac
Fix second problem noted by Henning Petersen in PR 47975:
...
renameat is in unistd.h. Bump date.
2013-06-30 11:48:42 +00:00
wiz
4afb2cfe8c
Fix typo in SYNOPSIS. From Henning Petersen in PR 47975.
2013-06-30 11:47:00 +00:00
martin
6caac9d0e7
Rearrange to make lint deal with it (to unbreak the build).
...
Someone please (1) fix lint and then (2) back this out ;-)
2013-06-30 10:07:43 +00:00
matt
138bf8b9ef
When opening a ttys files, try path.<machine> first. This helps
...
machine archs which have multiple ttys files (arm, mips, powerpc, m68k, sh3)
2013-06-30 07:50:54 +00:00
matt
cd85a4cc3f
Use t1 instead of v1
2013-06-26 08:38:34 +00:00
joerg
5f5c1f0096
Fix header guard, courtesy of clang.
2013-06-24 17:28:35 +00:00
wiz
ec0c2a14eb
Fix xref.
2013-06-24 07:56:49 +00:00
riastradh
82db4b9858
Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.
...
consttime_memequal is the same as the old consttime_bcmp.
explicit_memset is to memset as explicit_bzero was to bcmp.
Passes amd64 release and i386/ALL, but I'm sure I missed some spots,
so please let me know.
2013-06-24 04:21:19 +00:00
riastradh
d1790daeea
Add consttime_bcmp(3) and explicit_bzero(3) to makefile and set lists.
2013-06-24 01:12:08 +00:00
riastradh
75f5a58349
Add man pages and xrefs for consttime_bcmp and explicit_bzero.
...
ok wiz
2013-06-23 16:44:06 +00:00
msaitoh
7af86a8aeb
Fix compile error.
2013-06-20 17:53:01 +00:00
matt
57df06aa6b
modsi3/umodsi3 is not needed for earm since __aeabi_*divmod takes care of it.
2013-06-20 07:18:40 +00:00
kardel
01ae5b4204
Bring description in sync with errors-section and implementation reality.
...
(changing super-user only flags is not silently ignored)
2013-06-08 06:05:03 +00:00
christos
8265b8412c
mark __libc_thr_exit_stub dead here too
2013-05-28 17:29:41 +00:00
joerg
85a67e61f7
Add mbsnrtowcs and wcsnrtombs. Approved by core.
2013-05-28 16:57:56 +00:00
wiz
15848daca9
More markup. Merge two error entries for the same error.
2013-05-24 09:35:11 +00:00
enami
d47f3c1bfa
Update ERRORS section:
...
- Remove some system calls from the list of functions which may set errno
during the execution of realpath(3) since they are no longer used
to implement it.
- Document some errno set by the realpath(3) itself.
2013-05-24 03:20:18 +00:00
christos
eb9ea33272
don't cast malloc
2013-05-19 21:45:00 +00:00
christos
d3a4e77c47
from kre: Don't fail if we are seeking on a pipe, clear the append bit
...
since we always append.
2013-05-19 17:07:04 +00:00
joerg
e0ac190e1e
Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
...
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.
2013-05-17 12:55:56 +00:00
christos
748fc2c7c9
CVE 1020946: Fix res leak.
2013-05-13 17:54:55 +00:00
christos
961429e30c
CVE 1020938: Fix memory leak
2013-05-13 13:59:39 +00:00
wiz
9da71ac3fd
conforms -> conform, since it's the verb for three nouns and thus plural.
2013-05-12 10:44:23 +00:00
rodent
f53b79ea5c
s/conform/conforms/1
2013-05-11 19:20:30 +00:00
wiz
ce13c0c0df
New sentence, new line. Fix minus. Avoid <>.
...
Remove trailing whitespace.
2013-05-08 18:18:32 +00:00
christos
814d1846cc
Clarify which functions are only in libresolv.
2013-05-08 18:06:46 +00:00
christos
f50e99db7e
welcome to 2013c!
2013-05-08 15:49:43 +00:00
christos
1eb9e03aa2
- add __clnt_sigfillset() that does not blindly block all signals but excludes
...
the tty generated ones (int, quit, tstp), plus term and hup. This makes
command line clients behave on connect(2) where before they would need
to be killed from a different tty. Much easier than making the file
descriptor non-blocking for the duration of connect and then using
pselect/pollts to detect when actual connection or timeout occured using
a different sigmask.
- factor out some of the error paths.
2013-05-07 21:08:44 +00:00
wiz
9ce1a24bd5
End sentence with a dot.
2013-05-06 13:29:12 +00:00
wiz
70daec796f
Grammar.
2013-05-04 19:17:38 +00:00
christos
b5fd8f5747
_ss improvements
2013-05-04 18:35:53 +00:00
christos
e72cf68c19
move prototypes to stdio.h
2013-05-04 18:31:47 +00:00
wiz
3a2c836a74
New sentence, new line.
2013-05-03 21:13:34 +00:00
christos
dfecb5b774
document AI_SRV
2013-05-03 19:34:54 +00:00
christos
c641632a69
PR/32373, PR/25827: Add SRV lookup in getaddrinfo(3)
...
Per DNS-SD (RFC 2782), but only enabled if AI_SRV is set.
2013-05-03 19:31:13 +00:00
christos
0a312e0850
KNF, whitespace police -- no code changes
2013-05-03 19:24:52 +00:00
skrll
361e2d0ba7
include assym.h
2013-04-30 19:42:56 +00:00
skrll
3e638bdccb
Don't hardcode offset in assembler. This ensures the return value in the
...
context is the correct value (0) on earm*
2013-04-30 15:59:34 +00:00
skrll
094d684a50
Don't hardcode offset in assembler. This ensures the return value in the
...
context is the correct value (0) on earm*
2013-04-30 12:24:31 +00:00
matt
9163f0b126
Include softfloat-for-gcc.h for __ARM_EABI__ to get aeabi aliases.
2013-04-30 01:44:07 +00:00
matt
780a5525be
ARM EABI needs left shift logical too.
2013-04-30 01:43:01 +00:00
matt
7d2c6b2414
Match against LIBC_MACHINE_ARCH for MKCOMPAT
2013-04-30 01:42:03 +00:00
joerg
81d0329e8d
Make that to process PATH_LOCALE the first time _find_category is
...
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.
2013-04-30 00:45:04 +00:00
joerg
eb3cdf8761
Provide stubs for pthread_detach/pthread_join.
2013-04-27 20:36:47 +00:00
matt
343c2f33c0
Just build the legacy stuff for earm (for now).
2013-04-27 08:00:40 +00:00
joerg
323be87542
Restore standalone strtol/strtoul for citrus for now.
2013-04-26 21:20:47 +00:00
wiz
55d364d35e
Bump date for adding the function to NetBSD. Fix xref.
2013-04-26 19:37:18 +00:00
wiz
afd815359c
Add commas in list.
2013-04-26 19:37:04 +00:00
wiz
0ccc09335e
Bump date after adding function to NetBSD.
2013-04-26 19:36:47 +00:00
christos
f5c1f2146c
add {at_,}quick_exit(3) from FreeBSD
2013-04-26 18:29:55 +00:00
matt
7b96d46463
for earm, make sure to build getdirentries man page
2013-04-25 15:39:26 +00:00
matt
ecaf413acf
Remove weak_alias since that's now in the compat_putenv.c
2013-04-25 07:08:56 +00:00
matt
79367e053c
Add CPPFLAGS+= -I${NETBSDSRCDIR}/sys for earm compat
2013-04-25 06:36:49 +00:00
matt
63ebdd4153
Add #include <stdint.h>
2013-04-24 18:04:46 +00:00
elric
a312c8b279
For pipe2(2), EINVAL won't be returned if the flag is O_NOSIGPIPE.
2013-04-23 23:39:13 +00:00
christos
a803d40076
PR/47757: Eric Radman: mktemp(3) mangles the pathname if not given an absolute
...
path
1. on error, gettemp() did not restore the path string
2. when emulating mktemp() it is not an error for the pattern not to represent
a real directory structure
XXX[1]: pullup-5, pullup-6
XXX[2]: the default pattern is the simplistic <pid><X> for mktemp.
2013-04-22 20:57:36 +00:00
joerg
6353e1f897
Add new line at the end.
2013-04-22 19:33:53 +00:00
joerg
99fac95b50
Store time-specific locale data directly in the locale.
...
Ad dstrftime_l, strftime_lz and strptime_l.
2013-04-21 17:45:46 +00:00
joerg
9790c07a61
Add scanf_l and wscanf_l families.
2013-04-19 23:32:16 +00:00
joerg
e81d3f1ebf
Add dummy strcoll_l and strxfrm_l.
2013-04-19 23:28:47 +00:00
matt
b0c992be1b
for EARM, just build __lwp_park50 compat for libpthread until the situation
...
is involved.
2013-04-19 22:24:10 +00:00
matt
4b9c2e46bb
Fix inverted test.
2013-04-19 21:02:43 +00:00
joerg
92ad0d098d
Add libc/locale to the search path.
2013-04-19 20:18:33 +00:00
matt
7d19b890df
Since earm is new, don't bother building the compat libc code since there
...
is nothing that can use it.
2013-04-19 16:53:18 +00:00
matt
a1629854ac
Ignore VFP bit in magic.
2013-04-19 16:50:22 +00:00
joerg
2561b63430
Add explicit locale versions for the printf family. Replace asprintf,
...
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.
2013-04-19 15:22:24 +00:00
joerg
3c1c8515c7
Add MB_CUR_MAX_L.
2013-04-19 14:35:31 +00:00
matt
92551f8725
A small optimization
2013-04-19 13:45:45 +00:00
skrll
5ea8d4cfd1
Actually fail if the magic number is found to be wrong in __longjmp.
...
Avoid overwriting the {,_}longjmp return value in __ARM_EABI__
ok matt@
2013-04-19 13:14:10 +00:00
joerg
0feb0f126e
Pass locale down to gethex as well.
2013-04-19 10:41:53 +00:00
joerg
10e0e4a06b
Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
...
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.
2013-04-18 23:24:26 +00:00
joerg
9a7fa6ff3c
Add wcstof_l, wcstod_l and wcstold_l.
2013-04-18 22:23:17 +00:00
joerg
ceb51ddcad
Add mblen_l, mbstowcs_l, wctomb_l, mbtowc_l and wcstombs_l.
2013-04-18 22:22:20 +00:00
joerg
c99aac45e5
Add strtof_l, strtod_l and strtold_l.
2013-04-18 21:54:10 +00:00