Commit Graph

9330 Commits

Author SHA1 Message Date
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