#3307 closed defect (fixed)

PowerPC linkcmds.base missing wildcards on some sections

Reported by: Joel Sherrill Owned by: Joel Sherrill
Priority: normal Milestone: 5.1
Component: arch/powerpc Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Some sections were missing sections. Wildcards needed to be added.

Change History (5)

comment:1 Changed on Feb 16, 2018 at 5:21:29 PM by Joel Sherrill

Owner: set to Joel Sherrill
Status: newassigned

comment:2 Changed on Feb 19, 2018 at 7:12:21 PM by Joel Sherrill <joel@…>

Resolution: fixed
Status: assignedclosed

In 40c623a8/rtems:

powerpc/shared/startup/linkcmds.base: Add wildcards on some sections

Closes #3307.

comment:3 Changed on Mar 7, 2018 at 9:48:06 AM by Sebastian Huber

Resolution: fixed
Status: closedreopened

I reverted [40c623a8/rtems] and built the qoriq_e6500_32 with the -fPIC option. I got no linker failures in the test suite.

We should investigate what sections are not recognized before we add dangerous *.x wildcards.

See also [1fcdd639ee38a990e629fdaa670eeda9faae9beb/rtems].

comment:4 Changed on May 18, 2018 at 8:45:56 AM by Sebastian Huber <sebastian.huber@…>

In 7bf072b/rtems:

bsp/powerpc: Remove wildcards in linkcmds.base

This reverts commit 40c623a883da5dd80e4599cf4cd14097834706bd.

The use of postfix wildcards, e.g. of the form "*.x" is dangerous since
it circumvents the standard matching rules for sections.

Unknown input sections should be added explicitly to the desired output
section via "x.*" wildcards.

Update #3307.

comment:5 Changed on Sep 17, 2018 at 11:47:24 AM by Sebastian Huber

Resolution: fixed
Status: reopenedclosed

Is probably fixed.

Last edited on Sep 17, 2018 at 11:47:40 AM by Sebastian Huber (previous) (diff)
Note: See TracTickets for help on using tickets.