Displaying 4 results from an estimated 4 matches for "__module_start".
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
These patches basically remove unused linker scripts and port a change that was
made to an unused script.
Those are to be applied on top of the gcc 5 bug fixes as they would conflict
otherwise.
Sylvain Gault (4):
diag/mbr: fix dependency to linker script
Remove unused linker scripts
core: Make symbols defined in linker script HIDDEN
2015 Oct 08
1
[PATCH 0/4] Improve linker scripts
...art-group libcom32.a --whole-archive
> /home/gene/s/g/bios/com32/lib/libcom32core.a libldlinux.a --end-group
> \
> > ldlinux.map
> ld:/home/gene/s/g/core/syslinux.ld:29: syntax error
> make[3]: *** [ldlinux.elf] Error 1
>
>
> core/syslinux.ld:29: HIDDEN(__module_start = .);
>
> This would seem to indicate that the keyword HIDDEN is invalid in my
> version. A quick "git grep com32.ld" seems to show that com32.ld is
> unused.
>
I just checked, HIDDEN has been added in binutils 2.23 release in late
2012. Should I just not port the commit...
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
...-
-/*
- * Linker script for the SYSLINUX core
- */
-
-OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
-OUTPUT_ARCH(i386)
-EXTERN(_start)
-ENTRY(_start)
-
-STACK32_LEN = 65536;
-
-SECTIONS
-{
- /* Prefix structure for the compression program */
- . = 0;
- HIDDEN(__module_start = .);
- .prefix : {
- *(.prefix)
- }
-
- /* "Early" sections (before the load) */
- . = 0x1000;
-
- .earlybss (NOLOAD) : {
- HIDDEN(__earlybss_start = .);
- *(.earlybss)
- HIDDEN(__earlybss_end = .);
- }
- HIDDEN(__earlybss_len = ABSOLUTE(__earlybss_end) - ABSOLUTE(__earlybss_start));...
2015 Oct 08
0
[PATCH 0/4] Improve linker scripts
...x.elf ldlinux.o \
--start-group libcom32.a --whole-archive
/home/gene/s/g/bios/com32/lib/libcom32core.a libldlinux.a --end-group
\
> ldlinux.map
ld:/home/gene/s/g/core/syslinux.ld:29: syntax error
make[3]: *** [ldlinux.elf] Error 1
core/syslinux.ld:29: HIDDEN(__module_start = .);
This would seem to indicate that the keyword HIDDEN is invalid in my
version. A quick "git grep com32.ld" seems to show that com32.ld is
unused.
--
-Gene