Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 4 weeks ago

Closed 2 days ago

#750 closed defect (fixed)

Missing linker script inside HelenOS

Reported by: Vojtech Horky Owned by: Jiří Zárevúcky
Priority: major Milestone: 0.8.0
Component: ported-software Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also:


Userspace linker scripts were removed in 82d9087eea063a but it seems that we have not handled this inside running HelenOS.

In boot/Makefile we still pretend to create /inc/_link.ld but it cats non-existent file and the error is suppressed by next call to sed. So we create an empty file that, for example, PCC tries to read.

I am not sure whether we have to keep our linker scripts (i.e. re-introduce them) for this or simply copy the ones packed with binutils (i.e. make them come together with binutils harbour).

Change History (2)

comment:1 Changed 4 weeks ago by Jiří Zárevúcky

make them come together with binutils harbour

That's imo the best short term solution.

comment:2 Changed 2 days ago by Vojtech Horky

Resolution: fixed
Status: assignedclosed

Fixed (86aad6f88a57 and f32a5ca5e) by removing the reference to the linker script from PCC (and adding all the needed libraries there) and letting binutils use the built-in linker script.

Note: See TracTickets for help on using tickets.