[PATCH][gold] Fix an internal error in the constructor of Target_arm.
Cary Coutant
ccoutant@gmail.com
Mon Dec 19 23:29:00 GMT 2016
More information about the Binutils mailing list
Mon Dec 19 23:29:00 GMT 2016
- Previous message (by thread): [PATCH][gold] Fix an internal error in the constructor of Target_arm.
- Next message (by thread): [PATCH][gold] Fix an internal error in the constructor of Target_arm.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> I think a much simpler fix is to move the code that initializes > target1_reloc_ and target2_reloc_ from the constructor into > Target_arm::do_select_as_default_target(). Also, the test case doesn't actually need the (empty) test script or a objdump -- all we want to do is make sure the link succeeds. I've committed your patch with modifications as follows. Thanks! -cary 2016-12-19 Igor Kudrin <ikudrin@accesssoftek.com> gold/ * arm.cc (Target_arm::Target_arm): Move initialization code ... (Target_arm::do_select_as_default_target): ... to here. * testsuite/Makefile.am (arm_target_lazy_init): New test case. * testsuite/Makefile.in: Regenerate. * testsuite/arm_target_lazy_init.s: New source file. * testsuite/arm_target_lazy_init.t: New linker script. -------------- next part -------------- A non-text attachment was scrubbed... Name: arm-lazy-init.patch Type: application/octet-stream Size: 7590 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20161219/cd594791/attachment.obj>
- Previous message (by thread): [PATCH][gold] Fix an internal error in the constructor of Target_arm.
- Next message (by thread): [PATCH][gold] Fix an internal error in the constructor of Target_arm.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list