Displaying 20 results from an estimated 100 matches similar to: "[PATCH 0/2] Fixes for gcc 5"
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 Sep 29
0
[PATCH 2/2] bios: Don't try to guess the sections alignment
From: Sylvain Gault <sylvain.gault at gmail.com>
For the compression / decompression to succeed, the sections layout must
be the same between the virtual memory and load memory. The section
alignment was kept in sync by introducing aligment that should be
greater or equal to the actual section alignment.
This patch compute the load memory addresses of the sections so that
the layout is the
2015 Sep 29
0
[PATCH 1/2] bios: Fix alignment change with gcc 5
From: Sylvain Gault <sylvain.gault at gmail.com>
The section aligment specified in the ld scripts have to be greater or
equal to those in the .o files generated by gcc.
Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com>
---
core/i386/syslinux.ld | 6 +++---
core/x86_64/syslinux.ld | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com>
Some linker scripts were splitted into i386 and x86_64 versions in
commit d8eede3f2a360163235fad222a0190cd7c5bef38 but older scripts were
left there.
Signed-off-by: Sylvain Gault <sylvain.gault at gmail.com>
---
core/syslinux.ld | 414 ------------------------------------------------
core/x86_64/syslinux.ld | 389
2015 Nov 07
3
Heads up on syslinux breakage in Ubuntu
On 07/11/15 19:38, Ady via Syslinux wrote:
>
>>
>> Just a heads up that syslinux is broken in the current Ubuntu, syslinux
>> just shows "Boot error". Downgrading to syslinux from 15.04 works perfectly.
>>
>> Ubuntu bug is here:
>> https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1499746
>>
>> This is mostly in case anyone
2015 Nov 08
1
Heads up on syslinux breakage in Ubuntu
On Sun, Nov 08, 2015 at 01:34:26AM +0100, Celelibi via Syslinux wrote:
> 2015-11-07 23:00 UTC+01:00, Tim Fletcher via Syslinux <syslinux at zytor.com>:
> > On 07/11/15 19:38, Ady via Syslinux wrote:
> >>
> >>>
> >>> Just a heads up that syslinux is broken in the current Ubuntu, syslinux
> >>> just shows "Boot error". Downgrading
2013 Nov 03
3
[LLVMdev] Improving OCaml bindings
Hello folks.
I'm very interested in improving LLVM's OCaml bindings. I have
several nontrivial patches sitting on llvm-commits for several
weeks, and so far there's been little interest in them.
Could someone with a good understanding of OCaml please take
a look at these?
1) http://llvm-reviews.chandlerc.com/D1925
Every other function in OCaml bindings accepts context
2014 Dec 08
3
[LLVMdev] [lld] Handling multiple -init/-fini command line options
On Mon, Dec 08, 2014 at 10:21:49AM -0600, Shankar Easwaran wrote:
> The DT_INIT/DT_FINI correspond to one initializer function,where as
> DT_INIT_ARRAY/DT_FINI_ARRAY is used when there is more than one
> initalizer function/finalizer function respectively.
This is not true. The difference is that the DT_INIT / DT_FINI function
is responsible for calling into the .init / .fini block and
2017 May 16
5
[lld][ELF] Add option to make .dynamic read only
Hi,
This is a proposal to add an option to lld that forces .dynamic sections to
be read-only.
The .dynamic section is almost read-only except for the DT_DEBUG entry
which requires the dynamic linker to modify a word. MIPS has long since had
a solution to this using the DT_MIPS_RLD_MAP entry to give a pointer to
another section which is writable. It would be nice to have this
functionality on
2014 Dec 08
3
[LLVMdev] [lld] Handling multiple -init/-fini command line options
On Mon, Dec 8, 2014 at 8:39 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> On 12/8/2014 11:09 AM, Joerg Sonnenberger wrote:
>>
>> On Mon, Dec 08, 2014 at 10:21:49AM -0600, Shankar Easwaran wrote:
>>>
>>> The DT_INIT/DT_FINI correspond to one initializer function,where as
>>> DT_INIT_ARRAY/DT_FINI_ARRAY is used when there is more than one
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
Your understanding is correct. It saves a small number of physical pages.
It's strictly better even if it's only a little bit better.
On Tue, May 16, 2017, 5:14 PM Rui Ueyama <ruiu at google.com> wrote:
> Hi Jake,
>
> Thank you for sending this to llvm-dev!
>
> If I understand correctly, your motivation to add an option to make
> .dynamic sections read-only is to
2005 Aug 06
1
Cisco 7206 and Sample configs (Newbie)
Newbie to Asterisk
I've been looking around for a little while, can't seem to find some sample
configs for using a Cisco 7206 as a gateway. The below link is an initial
plan of an Asterisk solution that may replace our Cisco Call Manager 3.1/
IPCC / IVR setup. We currently have all of the hardware below. Just take a
peak and see if there is anything that is off base. I don't know
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
The motivation is not only memory savings but also security:
can-never-be-written is strictly better than RELRO in all cases. The
biggest win is when .dynamic is the sole reason for having a writable
segment at all. The distinction is fairly small for exploitability, but not
negligible.
LLD already has several command-line options that are not supported by or
are different from ld or gold, so
2019 Jan 16
2
[RFC] Adding support for dynamic entries in yaml2obj
The goal of this proposal is to introduce a new type of YAML section for
yaml2obj that allows the population of ELF .dynamic entries via a list of
tag and value pairs. These entries are interpreted (and potentially
validated) before being written to the .dynamic section. The simplest way
to satisfy this requirement is for all dynamic entry values to be numeric
values. Unfortunately, this
2007 Nov 25
2
[LLVMdev] Fibonacci example in OCaml
Here's my translation of the Fibonacci example into OCaml:
open Printf
open Llvm
let build_fib m =
let fibf =
define_function "fib" (function_type i32_type [| i32_type |]) m in
let bb = builder_at_end (entry_block fibf) in
let one = const_int i32_type 1 and two = const_int i32_type 2 in
let argx = param fibf 0 in
set_value_name "AnArg" argx;
let
2023 Mar 22
3
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On 3/21/23 18:28, Eric Blake wrote:
> it is indeed a bug in busybox now that POSIX is moving towards
> standardizing realpath, so I've filed it:
> https://bugs.busybox.net/show_bug.cgi?id=15466
I've found another busybox bug.
The "/bin/sh" utility is provided by busybox as well (via the usual symlinking).
Per POSIX, if
execvp(file, { argv[0], argv[1], ..., NULL })
2023 Mar 21
2
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On Tue, Mar 21, 2023 at 03:56:22PM +0100, Laszlo Ersek wrote:
> > $ podman build -f ci/containers/alpine-edge.Dockerfile -t libnbd-alpine-edge
> > $ podman run -it --rm --userns=keep-id -v .:/repo:z -w /repo libnbd-alpine-edge bash
> > $ ./configure
> > $ make check
> > $ grep tmpd= lib/test-suite.log
> > + tmpd=/tmp/tmp.EMgKeF
> > $ /tmp/tmp.EMgKeF/bin/f
2020 Nov 04
3
Fragmented DWARF
Great, thanks! Those results are about roughly what I was expecting. I
assume "compilation time" is actually just the link time?
I find it particularly interesting that the DWARFLinker rewriting solution
produces the same size improvement in .debug_line as the fragmented DWARF
approach. That suggests that in that case, fragmented DWARF output is
probably about as optimal as it can get.
2006 Jul 24
1
klibc parisc64
I hacked out a rough first implementation of parisc64 for klibc
last month, and only just got around to testing it now.
The good news, it compiled fine on the first shot. The bad news,
it failed to link usr/klibc/libc.so, and I'm not clueful enough
to know why.
hppa64-linux-gnu-ld -Ttext 0x40001000 -o usr/klibc/libc.so --start-group
[...]
usr/klibc/socketcalls/recvmsg.o
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
Hi,
I noticed that klibc started crashing on 64-bit MIPS and in my quest to fix the
bug I got a bit carried away and fixed a few other things as well. Here are
various miscellaneous MIPS patches, although the first patch is the important
one.
Thanks,
James
*** BLURB HERE ***
James Cowgill (5):
mips64: compile with -mno-abicalls
mips: use -Ttext-segment when linking shared library