matt
cf510d3400
back out elf note changes since we can use e_flags to determine EABI usage
2012-08-05 01:44:43 +00:00
matt
910686b1a1
Use CRTI instead of __S
2012-08-04 14:57:46 +00:00
matt
f8fa482c66
Emit a note for EABI programs.
2012-08-03 08:01:42 +00:00
he
281cbfe50c
After christos@ latest re-structuring of includes and defines in
...
the various param.h files, STACKALIGNBYTES is now called STACK_ALIGNBYTES,
so adapt accordingly.
2012-01-25 13:29:58 +00:00
joerg
5c3ccd6eba
Pass down ELF Auxillary Vectors for static NetBSD binaries too.
...
Rename __libc_init to _libc_init and call it explicitly from CSU code.
This enforces the constructor run order for newly linked programs.
Keep it as constructor with run-once semantic for binary compatibility.
Implement dl_iterate_phdr for statically linked programs.
This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
2011-03-07 05:09:09 +00:00
joerg
9674b81ed9
Introduce __weakref_visible to handle the different required visibility
...
for weak references. GCC 4.2+ and Clang require static, older GCC wants
extern. Change __weak_reference to include sym. This requires changes
the existing users to not reuse the name of the symbol, but avoids
further differences between GCC 4.1 and GCC 4.2+/clang.
2011-02-22 05:45:05 +00:00
gmcgarry
38541e9dad
Remove old GCC bug work-around which relied on GCC extension.
2008-06-21 00:52:52 +00:00
martin
5d1469bd77
Backout previous: the license sweep touched these files in error, so
...
restore the old license.
2008-05-10 15:31:03 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
skrll
795d937239
All platforms are MD_DO_NOT_NEED_FALLTHRU now so no need to keep it
...
conditional.
2007-05-15 16:51:37 +00:00
skrll
61b77d1855
MD_DO_NOT_NEED_FALLTHRU for ARM.
2006-09-08 07:29:19 +00:00
christos
351fa65664
Instead of using -I- -I${.CURDIR} and #include "dot_init.h", use:
...
-I${.CURDIR} and #include <dot_init.h>, since -I- is obsoleted in gcc-4,
and it is too confusing anyway.
2006-05-19 19:11:12 +00:00
rearnsha
29efdff284
Temporary hack to work around ld problems when linking Thumb
...
applications where the linker does not correctly insert an
interworking veneer.
2004-08-21 12:12:28 +00:00
thorpej
d605da06f0
%progbits, not @progbits (@ is a comment character in ARM assembly).
2002-01-01 01:36:21 +00:00
thorpej
7050ac9aa9
Multi-line string literals are not supported by ANSI C.
2002-01-01 01:31:06 +00:00
bjh21
7723559395
Quiet GCC warnings.
2001-11-08 22:23:59 +00:00
skrll
6d6c931c5a
This is an a.out thing and doesn't belong here.
2001-10-26 16:05:25 +00:00
bjh21
751e6fa590
Ensure that the stack is aligned to an 8-byte boundary before calling C code.
...
(ATPCS B-01)
2001-08-17 00:14:38 +00:00
matt
ee6a16ad18
Add a secondary label called __start (makes gcc 2.95.3 happier) and rename
...
the internal __start to ___start. (Since -e is not supplied by default,
this has no effect on a native build.)
2001-08-05 00:01:27 +00:00
matt
ae9f64ff3b
Turn-on new init/fini processing.
2001-07-17 06:39:14 +00:00
matt
126898a2cd
Initial CSU for ARM with shared ELF.
2001-07-15 17:29:00 +00:00