lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since b7fd2a0 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:
984 bytes
|
Line | |
---|
1 | STARTUP(LIBC_PATH/arch/UARCH/src/entry.o)
|
---|
2 | ENTRY(__entry)
|
---|
3 |
|
---|
4 | PHDRS {
|
---|
5 | #ifdef LOADER
|
---|
6 | interp PT_INTERP;
|
---|
7 | text PT_LOAD FLAGS(5);
|
---|
8 | #else
|
---|
9 | text PT_LOAD FLAGS(5);
|
---|
10 | #endif
|
---|
11 | data PT_LOAD FLAGS(6);
|
---|
12 | }
|
---|
13 |
|
---|
14 | SECTIONS {
|
---|
15 | #ifdef LOADER
|
---|
16 | . = 0x800000000 + SIZEOF_HEADERS;
|
---|
17 | #else
|
---|
18 | . = 0x4000 + SIZEOF_HEADERS;
|
---|
19 | #endif
|
---|
20 |
|
---|
21 | /* Workaround proper alignment of the .init section */
|
---|
22 | . = ALIGN(., 16);
|
---|
23 |
|
---|
24 | .init : {
|
---|
25 | *(.init);
|
---|
26 | } :text
|
---|
27 |
|
---|
28 | .text : {
|
---|
29 | *(.text .text.*);
|
---|
30 | *(.rodata .rodata.*);
|
---|
31 | } :text
|
---|
32 |
|
---|
33 | #ifdef LOADER
|
---|
34 | .interp : {
|
---|
35 | *(.interp);
|
---|
36 | } :interp :text
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | . = . + 0x4000;
|
---|
40 |
|
---|
41 | .got : {
|
---|
42 | /* Tell the linker where we expect GP to point. */
|
---|
43 | __gp = .;
|
---|
44 | *(.got .got.*);
|
---|
45 | } :data
|
---|
46 |
|
---|
47 | .data : {
|
---|
48 | *(.opd);
|
---|
49 | *(.data .data.*);
|
---|
50 | *(.sdata);
|
---|
51 | } :data
|
---|
52 |
|
---|
53 | .tdata : {
|
---|
54 | _tdata_start = .;
|
---|
55 | *(.tdata);
|
---|
56 | _tdata_end = .;
|
---|
57 | _tbss_start = .;
|
---|
58 | *(.tbss);
|
---|
59 | _tbss_end = .;
|
---|
60 | } :data
|
---|
61 |
|
---|
62 | _tls_alignment = ALIGNOF(.tdata);
|
---|
63 |
|
---|
64 | .bss : {
|
---|
65 | *(.sbss);
|
---|
66 | *(.scommon);
|
---|
67 | *(COMMON);
|
---|
68 | *(.bss);
|
---|
69 | } :data
|
---|
70 |
|
---|
71 | /DISCARD/ : {
|
---|
72 | *(*);
|
---|
73 | }
|
---|
74 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.