source: mainline/uspace/lib/c/arch/abs32le/_link.ld.in@ 1b20da0

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 1b20da0 was eca820c, checked in by jzr <zarevucky.jiri@…>, 8 years ago

Revert change to the way startup file is referenced.

The path is not actually referenced in the output object itself.
It is only visible in the map generated by the linker, which
does not matter for reproducibility. Also, it would be infeasible
to provide reproducible map files with a proper HelenOS-targeted
toolchain. Coastline breakage begone!

  • Property mode set to 100644
File size: 808 bytes
Line 
1STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
2ENTRY(__entry)
3
4PHDRS {
5#ifdef LOADER
6 interp PT_INTERP;
7 text PT_LOAD FILEHDR PHDRS FLAGS(5);
8#else
9 text PT_LOAD FLAGS(5);
10#endif
11 data PT_LOAD FLAGS(6);
12}
13
14SECTIONS {
15#ifdef LOADER
16 . = 0x70001000 + SIZEOF_HEADERS;
17#else
18 . = 0x1000 + SIZEOF_HEADERS;
19#endif
20
21 .text : {
22 *(.text .text.*);
23 *(.rodata .rodata.*);
24 } :text
25
26#ifdef LOADER
27 .interp : {
28 *(.interp);
29 } :interp :text
30#endif
31
32 . = . + 0x1000;
33
34 .data : {
35 *(.data);
36 *(.data.rel*);
37 } :data
38
39 .tdata : {
40 _tdata_start = .;
41 *(.tdata);
42 *(.gnu.linkonce.tb.*);
43 _tdata_end = .;
44 _tbss_start = .;
45 *(.tbss);
46 _tbss_end = .;
47 } :data
48
49 _tls_alignment = ALIGNOF(.tdata);
50
51 .sbss : {
52 *(.scommon);
53 *(.sbss);
54 }
55
56 .bss : {
57 *(COMMON);
58 *(.bss);
59 } :data
60
61 /DISCARD/ : {
62 *(*);
63 }
64}
Note: See TracBrowser for help on using the repository browser.