Displaying 8 results from an estimated 8 matches for "__constructor".
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com>
Since we can't use __intcall() for EFI, and since we can now have the
ELF module code resolve all our symbols at runtime, we should delete
as many references to __intcall() as possible and just access the
symbols directly.
The most interesting patch is the support for weak symbols. We need to
be able to reference derivative-specific
2011 May 25
1
[GIT PULL] elflink ldlinux
...://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux
Matt Fleming (5):
hdt: libmenu.a no longer exists
ldlinux: Search in isolinux/ directory for config files
ldlinux: Add localboot support
ldlinux: Add support for Auxillary Data Vector
ldlinux: Remove __constructor attribute
com32/elflink/ldlinux/Makefile | 3 +-
com32/elflink/ldlinux/adv.c | 8 ++-
com32/{lib/syslinux => elflink/ldlinux}/advwrite.c | 0
com32/elflink/ldlinux/execute.c | 17 +++--
com32/elflink/ldlinux/ipappend.c...
2012 Aug 14
1
[GIT PULL] elflink fixes
...---------------------------- */
-
-/*
- * syslinux/features.c
- *
- * SYSLINUX feature flag query
- */
-
-#include <klibc/compiler.h>
-#include <syslinux/features.h>
-#include <string.h>
-#include <com32.h>
-
-struct __syslinux_feature_flags __syslinux_feature_flags;
-
-void __constructor __syslinux_detect_features(void)
-{
- static com32sys_t reg;
-
- memset(®, 0, sizeof reg);
- reg.eax.w[0] = 0x0015;
- __intcall(0x22, ®, ®);
-
- __syslinux_feature_flags.len = reg.ecx.w[0];
- __syslinux_feature_flags.ptr = MK_PTR(reg.es, reg.ebx.w[0]);
-}
diff...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
...com32/menu: vesamenu.c32 and menu.c32 require multiple obj files
core: Only adjust screen if we're in text mode
core: Delete the aux segment
core: Check for func key in getchar()
ldlinux: Fix detection of function keys
core: Shrink core/ldlinux.sys to be under 64K bytes
elf: Support __constructor and __destructor
ldlinux: Loading a config file should cause re-initialisation
elflink: Don't use strcmp on a non-NUL terminated string
com32: Delete execute.c and use the one from ldlinux
ldlinux: chdir to the APPEND str when parsing a CONFIG directive
ldlinux: Avoid initialised data...
2012 Nov 09
1
Syslinux-6.00-pre1
...: Don't statically initialise core_module.base_addr
ldlinux: Initialise 'p' before using it.
com32: Delete duplicate ipappend.c
firmware: Don't include disk.h
firmware: Add .get_config_file_name
firmware: Add .get_serial_console_info
com32: Remove __constructor tag from __syslinux_get_shuffer_size()
firmware: Move firmware code into core/bios.c
firmware: Add .ipappend_strings function pointer
linux: Move linux_header definition to header
com32: Move initramfs_size() into header file
ldlinux: Handle multiple arguments to initr...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...elflink: Fix build warnings
elflink: Fix module_load() compiler warnings
elflink: Add _module_unload() prototype to module.h
ldlinux: Include headers for function prototypes
ldlinux: parse_kernel_type() parameter should be const
ldlinux: Tag __syslinux_init() as __constructor
ldlinux: Match arg types to function prototypes
ldlinux: Fix check for last command line entry
ldlinux: Add print_labels() prototype to config.h
ldlinux: Silence gcc warning about uninitialized variable
ldlinux: Fix build warnings caused by refstrdup() usage
core...
2013 Jun 20
9
Syslinux 6.00 released
...: Don't statically initialise core_module.base_addr
ldlinux: Initialise 'p' before using it.
com32: Delete duplicate ipappend.c
firmware: Don't include disk.h
firmware: Add .get_config_file_name
firmware: Add .get_serial_console_info
com32: Remove __constructor tag from __syslinux_get_shuffer_size()
firmware: Move firmware code into core/bios.c
firmware: Add .ipappend_strings function pointer
linux: Move linux_header definition to header
com32: Move initramfs_size() into header file
ldlinux: Handle multiple arguments to initr...
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
...rectiveSectionSwitch("__TEXT","__literal16",
- MCSectionMachO::S_16BYTE_LITERALS,
- 16);
- if (IDVal == ".constructor")
- return ParseDirectiveSectionSwitch("__TEXT","__constructor");
- if (IDVal == ".destructor")
- return ParseDirectiveSectionSwitch("__TEXT","__destructor");
- if (IDVal == ".fvmlib_init0")
- return ParseDirectiveSectionSwitch("__TEXT","__fvmlib_init0");
- if (IDVal == "....